Skip to content

Keep AGENTS branch-worktree policy current across repos during setup#75

Closed
NagyVikt wants to merge 1 commit intomainfrom
agent/codex/thedailyscooby-gmail-com-dup-2-agents-setup-subbranch-policy-all-repos
Closed

Keep AGENTS branch-worktree policy current across repos during setup#75
NagyVikt wants to merge 1 commit intomainfrom
agent/codex/thedailyscooby-gmail-com-dup-2-agents-setup-subbranch-policy-all-repos

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by scripts/agent-branch-finish.sh (PR flow).

Setup previously stopped updating AGENTS.md once the managed marker existed, so older repos could keep outdated branch-handling rules. This change refreshes the marker-bounded block from the latest template and updates the managed policy text to explicitly require sub-branch reuse/new creation without touching the local base checkout.\n\nConstraint: Preserve user-authored AGENTS content outside the multiagent managed marker block\nRejected: Rewrite full AGENTS.md file on every setup run | would overwrite repo-specific instructions\nConfidence: high\nScope-risk: narrow\nReversibility: clean\nDirective: Keep marker-bounded replacement logic aligned with template marker names when evolving AGENTS policy text\nTested: npm test; node --check bin/multiagent-safety.js; npm pack --dry-run\nNot-tested: Manual run against a repository containing malformed AGENTS markers (start without end)
@NagyVikt NagyVikt closed this Apr 13, 2026
@NagyVikt NagyVikt deleted the agent/codex/thedailyscooby-gmail-com-dup-2-agents-setup-subbranch-policy-all-repos branch April 13, 2026 19:30
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