Skip to content

Allow guarded Codex-only AGENTS/.gitignore commits on protected branches#38

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/20260411-204001-mate-edix-hu-allow-agents-md-gitignore-local-branch-commit-policy
Apr 11, 2026
Merged

Allow guarded Codex-only AGENTS/.gitignore commits on protected branches#38
NagyVikt merged 1 commit intomainfrom
agent/codex/20260411-204001-mate-edix-hu-allow-agents-md-gitignore-local-branch-commit-policy

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

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

Guardrail maintenance on protected branches needs a narrow exception so Codex can land managed AGENTS.md and .gitignore updates while still blocking other protected-branch commits. Setup/doctor also self-repair critical guardrail files from templates.

Constraint: Protected branches must continue blocking general Codex commits outside agent/* branches

Rejected: Disable protected-branch Codex guard entirely | weakens branch safety policy

Confidence: medium

Scope-risk: moderate

Reversibility: clean

Directive: Keep template and live pre-commit hook logic in lockstep

Tested: node --check bin/multiagent-safety.js

Not-tested: fully passing suite in this environment
@NagyVikt NagyVikt force-pushed the agent/codex/20260411-204001-mate-edix-hu-allow-agents-md-gitignore-local-branch-commit-policy branch from 349f189 to 5f119e0 Compare April 11, 2026 22:53
@NagyVikt NagyVikt merged commit f95b83f into main Apr 11, 2026
7 checks passed
@NagyVikt NagyVikt deleted the agent/codex/20260411-204001-mate-edix-hu-allow-agents-md-gitignore-local-branch-commit-policy branch April 11, 2026 22:55
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