Skip to content

Commit e9aee64

Browse files
committed
Clarify git progression safety gate
1 parent 1bcda69 commit e9aee64

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ To ensure long-running safe autonomous execution, the following rules are strict
3737
6. **Proposal Mutability Boundary**: Proposal outputs (in `proposals/`) must never mutate active source files until approved and applied through the apply gate.
3838
7. **Subagent Restrictions**: Subagents may validate, search, or inspect codebase assets but must never be used to bypass network, API key, browser, or write restrictions.
3939
8. **Browser Sandbox**: Browser use is denied by default and requires explicit phase permission.
40-
9. **Network Sandbox**: Network socket connections are denied by default and require explicit phase permission.
40+
9. **Network Sandbox**: Network socket connections are denied by default and requires explicit phase permission.
4141
10. **Provider Isolation**: Live provider LLM calls are denied by default and require explicit phase permission.
4242
11. **Secrets Redaction**: Private keys, `.env` file details, passwords, and API credentials must never be read, printed, packed, proposed, or committed.
43-
12. **Git Progression Pipeline**: After completing a phase successfully (all checks green), the agent must validate the build, update `PROJEKT.md` status, commit the modifications, and push changes to origin.
43+
12. **Git Safety Gate**: After completing a phase successfully, the agent may update project status and report local validation evidence. `git commit` is allowed only when the phase prompt explicitly requests a commit. `git push`, remote branch creation, PR creation, and merge actions require separate explicit user authorization. If authentication, network access, or remote Git interaction is needed without that authorization, halt and report `BLOCKED`.
4444
13. **Explicit Halt**: If blocked by stop conditions, the agent must immediately stop execution and report the precise reason to the user.
4545

4646
---
@@ -96,7 +96,7 @@ FILES_CHANGED: <list of changed files>
9696
COMMANDS_RUN: <list of commands executed>
9797
VALIDATION: <validation output summary>
9898
ARTIFACTS: <list of generated artifacts>
99-
GIT: <git commit and push hash/result>
99+
GIT: <commit only if explicitly requested; push/remote action only if separately explicitly authorized>
100100
NETWORK: <network status during phase>
101101
SECRETS: <secrets status>
102102
POLICY_DECISIONS: <policy status>

0 commit comments

Comments
 (0)