supli6669 commited on
Commit
01c63b4
·
1 Parent(s): d6d0cbd

docs: add Rule 12 & Rule 13 to AGENTS.md enforcing strict plan compliance and zero-bug empirical verification

Browse files
Files changed (1) hide show
  1. .agents/AGENTS.md +11 -0
.agents/AGENTS.md CHANGED
@@ -69,3 +69,14 @@ All AI agents working on this codebase must adhere strictly to these rules:
69
  - At the end of every session, task completion, or whenever significant code/documentation changes are made, agents MUST stage, commit, and push all modified files (`git add .`, `git commit -m "..."`, `git push origin main` and `git push hf main` if applicable).
70
  - Always ensure `handover.md` and project documentation are updated and committed alongside code changes so that future agents and sessions maintain seamless continuity.
71
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  - At the end of every session, task completion, or whenever significant code/documentation changes are made, agents MUST stage, commit, and push all modified files (`git add .`, `git commit -m "..."`, `git push origin main` and `git push hf main` if applicable).
70
  - Always ensure `handover.md` and project documentation are updated and committed alongside code changes so that future agents and sessions maintain seamless continuity.
71
 
72
+ 12. **Strict Plan & Implementation Alignment Rule**:
73
+ - All future agents MUST strictly execute according to approved implementation plans (`implementation_plan.md`) and task roadmaps (`task.md`).
74
+ - Agents MUST NOT skip steps, deviate from approved architecture, or introduce unverified scope creep.
75
+ - Mark tasks `[/]` when starting, and only mark `[x]` after empirical verification confirms full functionality.
76
+
77
+ 13. **Mandatory Empirical Verification & Zero-Bug Guard**:
78
+ - Agents MUST NOT claim a task is resolved, a bug is fixed, or a feature is working without running verification scripts (e.g. `python tools/test_pipeline.py`, test harnesses) and confirming `exit code 0`.
79
+ - NEVER mask symptoms, swallow exceptions with silent `try...except: pass`, or return fake fallback data.
80
+ - Always inspect error stack traces before attempting code fixes.
81
+
82
+