fix: agent tidy up

This commit is contained in:
4gl
2026-08-09 17:39:33 +01:00
parent bdddfac52a
commit 14b745e2e7
17 changed files with 212 additions and 389 deletions
+36
View File
@@ -0,0 +1,36 @@
# Domain Docs
How to consume this repo's domain documentation when exploring the codebase.
## Before exploring, read these
- **`CONTEXT.md`** at the repo root - the domain glossary and orientation.
- **`.agents/adr/`** - read the Architecture Decision Records that touch the area you're about to work in.
If any of these files don't exist, proceed silently. Don't flag their absence or suggest creating them upfront; they are created lazily when terms or decisions actually get resolved.
## File structure
```
/
├── CONTEXT.md
├── .agents/
│ ├── adr/
│ │ ├── 0001-<decision-slug>.md
│ │ └── 0002-<decision-slug>.md
│ ├── docs/
│ └── skills/
└── src/
```
## Use the glossary's vocabulary
When your output names a domain concept (an issue title, a refactor proposal, a hypothesis, a test name), use the term as defined in `CONTEXT.md`. Don't drift to synonyms the glossary avoids.
If the concept you need isn't in the glossary yet, that's a signal - either you're inventing language the project doesn't use (reconsider), or there's a real gap (note it).
## Flag ADR conflicts
If your output contradicts an existing ADR, surface it explicitly rather than silently overriding:
> _Contradicts ADR-0001 (...) - but worth reopening because..._