From 7be3df3be5f8812a6c1843d57bef270c5e707da0 Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Sun, 8 Nov 2026 16:11:01 -0500 Subject: [PATCH] meta(agents): allow direct edits on main with explicit commit approval --- AGENTS.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 80292b1..a70c18e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -200,6 +200,15 @@ In this repository, commit types directly reflect the Brain's semantic taxonomy --- +### Branching & Direct Commits to `main` + +In this repository, direct edits and commits on `main` are permitted for knowledge curation, documentation updates, and vault maintenance (overriding the global branch-before-editing rule). However, **all commits to `main` strictly require explicit human approval**. Every proposed commit must: +1. Pass `python scripts/validate-brain.py` and `python scripts/test_validator.py`. +2. Stage explicit files only (no blanket `git add -A`). +3. Present the diff, semantic message, and rationale to the user for explicit confirmation before executing `git commit`. + +--- + ## Structural Validator & Tests Run before committing changes: