Put the release's tools on PATH of every claude the loop starts, and name them bare in the prose
CI / tests (pull_request) Successful in 4m36s

This commit is contained in:
2026-12-03 12:49:56 +01:00
parent fb1dd763e2
commit 0653c2744e
64 changed files with 306 additions and 169 deletions
+3 -3
View File
@@ -6,21 +6,21 @@ from failure import Failure
from text_files.markdown_text import FENCE, sections
from plan.release import parsed, Release, release_of, version, VERSION
# Each score a Shape names, and each goal's move, runs from 1 to TOP_SCORE, but for the levels L, E and I, which run from 1 to their LEVELS: ~/.claude/rules/todo-items.md defines each level.
# Each score a Shape names, and each goal's move, runs from 1 to TOP_SCORE, but for the levels L, E and I, which run from 1 to their LEVELS: the setup's rules/todo-items.md defines each level.
TOP_SCORE = 10
LEVELS = {"L": 4, "E": 3, "I": 5}
# The least R each impact level I allows, since a severe enough consequence outranks how unlikely it is.
RISK_FLOOR = {4: 5, 5: 7}
# The highest R an item may have and still share a chunk; `docs/decisions.md` → `chunks:` says why 5.
BUNDLE_MAX_R = 5
# What an Exempt cell may hold: empty, or a reason ~/.claude/rules/todo-items.md defines.
# What an Exempt cell may hold: empty, or a reason the setup's rules/todo-items.md defines.
Exempt = typing.Literal["", "decision", "defect", "owner", "principle", "question", "security"]
EXEMPTIONS: tuple[Exempt, ...] = typing.get_args(Exempt)
# The column naming the items that block an item: each must be done before the item starts.
BLOCKED_BY = "Blocked by"
# The column naming each achieve goal an item moves and how far, such as `1.1 by 8, 1.2 by 5`.
MOVES = "Moves"
# The achieve goal every project shares, which ~/.claude/CLAUDE.md → "Shared goal" states, and a Moves cell names by these words, since it has no number in any goals file.
# The achieve goal every project shares, which the setup's CLAUDE.md → "Shared goal" states, and a Moves cell names by these words, since it has no number in any goals file.
CODE_HEALTH = "code health"
# The scope that opens a goal's name in the Moves of an epic's item, since the epic and the item's repo both number their goals from 1: `epic 1.1 by 8, code health by 5, repo 2 by 4`. Three readers, seated as the human who writes these cells, picked a scope word on both goals, 3-0, over one on either alone and over the repo's name. A todo.md's item may name neither.
EPIC_GOAL = "epic "