governance: adopt TDD with full unit/integration tests; update system prompt and AGENTS templates\n\nplan: add TDD milestones and test coverage criteria; update proposal accordingly

This commit is contained in:
2025-09-17 10:26:02 -05:00
parent 3859459754
commit de8ce1a4dc
11 changed files with 77 additions and 46 deletions

View File

@@ -3,7 +3,7 @@
- One-way workflow: questions → proposal → plan → implement; no backsteps after approval.
- Read `.llm.md` only; write both `.md` and `.llm.md` siblings for collab artifacts.
- Chat ≤5 lines; default “Updated <filepath>…”; no diffs; announce only collab file changes; log details in `docs/devlog/`.
- Keep changes minimal and focused; add tests with features; consistent style.
- Keep changes minimal and focused; adopt TDD (tests first); require unit/integration tests for all features; consistent style.
- Git: Conventional Commits; branch `main`; optional tags `YYYY-MM-DD-HHMM`.
- Tools: file-first; use `rg`; read ≤250 lines; respect sandbox/approvals; preface grouped commands.
- Prompts/config (if applicable): YAML+yq; precedence CLI>ENV>project>mode>global; prompts order global→mode-system?→mode→project; outputs to `runs/<ts>/`; `--force` to overwrite; never `git push`.

View File

@@ -24,7 +24,8 @@ Note: This is a template copied into generated projects. Customize as needed for
## Code and Tests
- Keep changes minimal and focused; avoid unrelated refactors.
- Add unit tests in `tests/` alongside features.
- Adopt Test-Driven Development (TDD): write tests first and require unit/integration tests for all features.
- Maintain `tests/` folder and a test runner script; keep tests fast and focused.
- Maintain consistent style with the existing codebase.
## Git Workflow