State code health as every project's first achieve goal, weighed four times while the comprehension overall is under 7.0, unless a README voids it

This commit is contained in:
2026-10-18 19:29:09 +02:00
parent e6223f7126
commit 2a961f267c
15 changed files with 375 additions and 216 deletions
+9
View File
@@ -20,6 +20,15 @@ How work proceeds in any repo, unless the repo's `AGENTS.md` says otherwise. The
- **Open each `todo.md` item or ticket with a bold one-sentence tagline**, so the taglines alone say what a release holds. The tagline states the target state, checkable when done: an imperative verb plus what holds afterwards. A present-tense fact reads as the current state and says nothing about what to do. Add "today X" only where the direction is otherwise ambiguous. GOOD: `**Accept undefined in MetadataValue and drop such keys on output.**` BANNED: `MetadataValue accepts undefined; such keys are dropped on output`.
- **File a security finding the moment it is found.** A security finding — a leaked credential, secret or PII, an auth bypass, an injection — goes under the next release, marked `security`, naming the exposure and the path it reaches. `~/.claude/bin/rank_todo.py` ranks it first in its release, after only the open questions, which wait for me. Never among additive or nice-to-have items, never only in a chunk's summary, and never as a question about where it belongs: file it, say you did, and I will unmark it if I disagree. Fixing it inside an unrelated change is a separate call — say whether it is in the blast radius.
## Shared goal
Every project pursues this achieve goal, ranked first among its README's achieve goals. A project whose code nobody will maintain voids it with one line under `## Goals`, before the numbered goals: `**Void:** code health, since <reason>.` An item's Moves cell names it as `code health by 4`, and `rank_todo.py --help` says how much it weighs.
**Achieve:** Code health: the code is easy to understand and change safely.
- Signal: the comprehension panel's overall score rises, always. Under 7.0 it is very important.
- Counter-signal: defects keep reappearing in functionality that already shipped, or reviewers raise blockers because the implementer misunderstood the current system.
- Why: a score that rises while changes still misread the code measures the wrong thing. Fewer items shipped per release is a price this goal accepts.
## Prose
Everything written — chat, commit messages, comments, docs, code — is in **English**. Prose meets four priorities, in this order. When two pull against each other, the higher one wins.