Skip to content

fix: handle ruleset during AGENTS sync - #9

Merged
philippwallrafen merged 1 commit into
mainfrom
fix/agents-sync-ruleset-handling
Oct 6, 2026
Merged

philippwallrafen merged 1 commit into
mainfrom
fix/agents-sync-ruleset-handling

Conversation

@philippwallrafen

Copy link
Copy Markdown
Contributor

Fix scripts/sync-pheaz-agents-by-sha.sh so organization rules do not reject direct synchronization writes.

  • load the ruleset-baseline organization ruleset
  • preserve its original enforcement state
  • temporarily disable it before repository writes
  • verify the disabled state
  • restore and verify the original state on completion and via EXIT cleanup
  • retain the three hardcoded AGENTS.md paths and blob-SHA comparisons

Validation: bash -n scripts/sync-pheaz-agents-by-sha.sh

@philippwallrafen
philippwallrafen merged commit abaeb50 into main Oct 6, 2026
1 check passed
@philippwallrafen
philippwallrafen deleted the fix/agents-sync-ruleset-handling branch October 7, 2026 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant