From 9465075d3eecb3d8fb43ad905c793b716bed2b43 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sat, 3 Oct 2026 01:10:37 +0200 Subject: [PATCH] Answer the stability pass: principle only where no other reason fits, and watch the items it marks --- CLAUDE.md | 2 +- docs/decisions.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 312c4cc6..0de9efa7 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -26,7 +26,7 @@ How work proceeds in any repo, unless the repo's `AGENTS.md` says otherwise. The - **A** — its value to the audience in `README.md` → `## Audience`. - **G** — its value to the goals it cites in the Goals column; W is the weight of the heaviest of them. - **An item scoring under the bar is deleted, with every item that needs it, and a finding under the bar is not filed.** The chunk's summary names each, with its score. -- **The Exempt cell keeps an item whatever its score:** `security` for a security finding, `defect` for a ðŸ”ī finding, `question` for a question only the human can answer, `decision` for an item `docs/decisions.md` cites, `principle` for a ðŸŸĄ finding against a file under `~/.claude/principles/`, its detail naming the principle. Where two fit, the earlier listed wins. Every item `docs/decisions.md` cites carries one of these reasons. +- **The Exempt cell keeps an item whatever its score:** `security` for a security finding, `defect` for a ðŸ”ī finding, `question` for a question only the human can answer, `decision` for an item `docs/decisions.md` cites, `principle` for a ðŸŸĄ finding against a file under `~/.claude/principles/`, its detail naming the principle, where no other reason fits. Every item `docs/decisions.md` cites carries one of these reasons. - Open each item 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`. - A security finding — a leaked credential, secret or PII, an auth bypass, an injection — is filed the moment it is found, under the next release, marked `security`, naming the exposure and the path it reaches. `rank_todo.py` ranks it first in its release. 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. - **Unless the project has a reason to differ, weigh goals by position, the first heaviest.** When the weights stop listing the README's goals, `rank_todo.py` fails and prints those weights. diff --git a/docs/decisions.md b/docs/decisions.md index e6cce60e..a7974900 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -78,4 +78,4 @@ ## todo.md: one table of items scored by the formula and goal weights it states, held to its bar, ranked by `bin/rank_todo.py` -2026-10-02, lilleman. Serves goal 4: findings were filed faster than chunks closed them, so the plan grew without telling what mattered. Each item is scored as `CLAUDE.md` → "Todo items" says; this repo's formula counts value highest and size least. An item under the bar is not kept; this repo's bar started at 10 and was set to 9 the same day, purging the 17 items under it. An Exempt cell keeps a row past the bar where a rule needs it kept. lilleman retired the two decisions whose plans the purge removed: the stats line in the transcript archive, and three benches before a workflow change merges. A finding under the bar is recorded nowhere, so a later review may raise it again, and the run rescores it. That costs one scoring; a ledger of dropped findings would regrow the list the bar caps. larv-review's Round cap rule 5 counts a finding named under the bar as settled, so one raised again holds no pass open. `rank_todo.py --check` is part of larv-review's gate, since only a check keeps the stored Score from going stale. The format is mandatory in every project, as the premises are (goal 4.3); the formula, bar and weights are each project's own. A script ranks the table so a re-rank after each addition or edit is deterministic and cheap. A ðŸŸĄ against a technical principle is exempt as `principle`: its audience value scores low by nature, so the bar would drop every such finding, while a ðŸŸĒ one is scored like any other. Valid while one human sets the bar and reads the ranking, and while the ðŸŸĄs the principles audit files stay few enough to rank. +2026-10-02, lilleman. Serves goal 4: findings were filed faster than chunks closed them, so the plan grew without telling what mattered. Each item is scored as `CLAUDE.md` → "Todo items" says; this repo's formula counts value highest and size least. An item under the bar is not kept; this repo's bar started at 10 and was set to 9 the same day, purging the 17 items under it. An Exempt cell keeps a row past the bar where a rule needs it kept. lilleman retired the two decisions whose plans the purge removed: the stats line in the transcript archive, and three benches before a workflow change merges. A finding under the bar is recorded nowhere, so a later review may raise it again, and the run rescores it. That costs one scoring; a ledger of dropped findings would regrow the list the bar caps. larv-review's Round cap rule 5 counts a finding named under the bar as settled, so one raised again holds no pass open. `rank_todo.py --check` is part of larv-review's gate, since only a check keeps the stored Score from going stale. The format is mandatory in every project, as the premises are (goal 4.3); the formula, bar and weights are each project's own. A script ranks the table so a re-rank after each addition or edit is deterministic and cheap. A ðŸŸĄ against a technical principle is exempt as `principle`: its audience value scores low by nature, so the bar would drop every such finding, while a ðŸŸĒ one is scored like any other. Valid while one human sets the bar and reads the ranking, and while the items marked `principle` stay few enough to rank.