Ask code health to hold for years and debugging, and goal 1.4 to keep lowering cost, with reading cost as its first counter-signal
CI / tests (pull_request) Successful in 2m14s

This commit is contained in:
2026-11-09 21:47:32 +01:00
parent 82eb8ffd14
commit 299862c70d
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -2,6 +2,7 @@
## Unreleased
- The shared goal every project pursues, code health, now asks that code stay easy to read, change safely and debug, tomorrow and after seven years of development.
- `rank_todo.py` now lets an item that adds a test, a gate leg or a probe name the maintain goal it guards, by how much more confident the project becomes that the goal holds, 1 to 10. Each point is worth 0.5.
- `chunk-preflight` now quotes the detail of each item that may join the chunk, so a worker no longer opens `todo.md` to read it.
- `command-patterns [<version>]` prints a table of the shell command patterns a release's chunks ran.
+1 -1
View File
@@ -24,7 +24,7 @@ How work proceeds in any repo, unless the repo's `AGENTS.md` says otherwise. The
Every project pursues the achieve goal below, ranked above every achieve goal its README states. A project whose code nobody will maintain voids it with one line under `## Goals`, before the numbered goals: `**Void:** code health, since <reason>.` So does a project that opts out of the comprehension check, since the goal then has no signal. An item's Moves cell names it as in `code health by 6`, and `rank_todo.py --help` says how much it weighs.
**Achieve:** Code health: the code is easy to understand and change safely.
**Achieve:** Code health: the code stays easy to read, change safely and debug, tomorrow and after seven years of development.
- 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.
+3 -3
View File
@@ -17,10 +17,10 @@ My personal `~/.claude`, version controlled: `CLAUDE.md`, `AGENTS.md` and `rules
- Counter-signal: decisions I reverse rise.
- Why: guessing instead of asking saves an interrupt only if the guess holds.
3. **Maintain:** The same rules in every project and every session.
4. **Achieve:** Add cost only where it meaningfully raises quality; otherwise work to lower cost.
4. **Achieve:** Keep lowering cost, except where that would cut quality meaningfully.
- Signal: tokens per finished chunk fall.
- Counter-signal: review rounds or unfinished verdicts per chunk rise.
- Why: a cheaper run that needs more rounds costs more.
- Counter-signal: reading cost per chunk rises, as work needs ever more reading before its first change and a change grows likelier to break what nobody saw; or review rounds or unfinished verdicts per chunk rise.
- Why: a cheaper chunk that leaves the project harder to read moves the cost to every later chunk, and one that needs more rounds costs more.
5. **Achieve:** Delivery speed.
- Signal: hours from a chunk's start to its merge fall.
- Counter-signal: 🔴 findings per chunk rise.