You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unblock protected-base branch finish flows without weakening main safeguards (#10)
This rebases the old protected-branch PR on top of current main and keeps only the still-useful delta: template pre-push guardrails plus branch-finish PR fallback modes. The AGENTS template line is updated so generated guidance matches the actual finish behavior.
Constraint: Keep current main hook policy intact while making legacy PR branch mergeable
Rejected: Merge old branch content wholesale | reintroduced stale protections and broke current tests
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep AGENTS template text synchronized with actual script behavior when finish-flow options change
Tested: npm test (41/41 pass)
Not-tested: live GitHub protected-base merge under required-review policy
Co-authored-by: NagyVikt <nagy.viktordp@gmail.com>
Copy file name to clipboardExpand all lines: templates/AGENTS.multiagent-safety.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
- Before deleting/replacing code, each agent must read the latest session comments/handoffs first and confirm the target code is in their owned scope.
11
11
- If ownership is unclear or overlaps, stop that edit, post a blocker comment, and let the leader/integrator reassign scope.
12
12
- For git isolation, each agent must start on a dedicated branch via `scripts/agent-branch-start.sh "<task-or-plan>" "<agent-name>"`.
13
-
- Agent completion must use `scripts/agent-branch-finish.sh` (merge into `dev`, push, delete agent branch).
13
+
- Agent completion must use `scripts/agent-branch-finish.sh` (direct merge to base when allowed; auto PR fallback for protected bases, then cleanup after merge).
0 commit comments