Answer architecture round 1: the worker writes the test first and reads a principle a finding or its record names; findings name their principle; one regex for citable rule files

This commit is contained in:
2026-10-13 01:27:05 +02:00
parent ed1c62ac8a
commit 4ebe36edef
14 changed files with 36 additions and 21 deletions
+2
View File
@@ -12,6 +12,8 @@ A reviewer reads and reports; it edits nothing. Read `docs/decisions.md` and `to
- ❓ **question** for the author: a finding you could not confirm goes here, not above.
- 🔀 **escalation** — names the reviewer whose concern it is (`product-owner-reviewer`, `systems-architect` or `/security-review`) and why, in one line.
A finding against a technical principle names it and the file under `~/.claude/principles/` it lives in.
## Verdict
A review's first line, derived from the findings:
+2 -2
View File
@@ -2,9 +2,9 @@
How a reviewer applies each priority of `~/.claude/CLAUDE.md` → "Prose".
1. **Easy to understand.** Never fold a clause into a noun phrase to save words. Explain a term before using it, or use a plainer word. BANNED: `An empty earliest unreleased release with nothing shipped toward it is planned as this chunk`. GOOD: `When the next release has no items and no work has landed towards it, plan it.`
1. **Easy to understand.** Never fold a clause into a noun phrase to save words, and prefer a plainer word to a term that needs explaining. BANNED: `An empty earliest unreleased release with nothing shipped toward it is planned as this chunk`. GOOD: `When the next release has no items and no work has landed towards it, plan it.`
2. **Most important first.** Put the most important section first. Within each section, put the most important paragraph first, and within each list the most important item. Order matters most in long documents; in a short one, don't spend a fix on it.
3. **Default to delete.** Adding words is a deliberate act: name what a reader could not understand without them.
- **Write the thing, not an introduction to it.** A sentence announcing what follows, or flagging that it deserves attention, carries nothing — if it matters, it is in what follows. A bare label is fine. BANNED: `Here's the new audience text, which is the part that needs your eye:`, `One thing I changed that deserves your attention.`, `One judgment call I'd flag rather than bury.`, `Three things came along that would otherwise have been left false.` GOOD: `New audience text:`, or the list alone.
- **No contrastive tail.** `X rather than Y`, `not Y but X`, `instead of Y`: state X and stop. The rejected alternative is noise unless naming it stops a reader doing Y. BANNED: `verified in CI rather than asserted`. GOOD: `verified in CI`.
- **No contrastive tail**, such as `X rather than Y`, `not Y but X` or `instead of Y`. BANNED: `verified in CI rather than asserted`. GOOD: `verified in CI`.