7.2 KiB
7.2 KiB
Working here
Decisions live in docs/decisions.md:
- larv-review: a project lifting itself to the comprehension floor starts at the lowest dimension
- loop-claude: a judge decides each interrupt and each quoted answer from the transcript, the README's premises,
AGENTS.md,docs/decisions.md,~/.claude/CLAUDE.md,~/.claude/rules/and larv-review's standards, and holds a chunk open while an answer the human typed in it is recorded nowhere; the worker's own account of which goal settles a choice decides nothing - loop-claude: one session per project, its id derived from the checkout's path relative to
~/code, or to/outside it - loop-claude: before an interrupt, it marks the checkout and each of its worktrees trusted in
~/.claude.json - bin/: the tests rerun themselves on a
uv-fetched Python at README Install's floor - bin/: the tools and their tests run on the host's Python, with no container
- comprehension floor: every dimension and the overall at 7.0 or above is the target, and blocks no merge or release
- loop-claude: each project's model lives in
~/.claude/loop-claude-models.json, which only loop-claude writes - review: a pass gets at most three rounds per chunk; instead of a fourth, the run asks the human
- review: a fix for a 🔴 or 🟡 reruns the pass that found it and each pass whose trigger names fixes like it; from round 2 a pass reviews only the answers to its last round's findings and any other pass's fix that re-entered it; a fix for a 🟢, a ❓ or a prose finding reruns none
- review: the comprehension check records how hard a project is to read and blocks no merge: a paired ruling against the last measured commit where the architecture pass ran, and the four-seat scoring run when a release's items run out or an item names the floor
- review: a project decision may suspend the comprehension check for the plan items it names
- review: a project decision may opt every chunk out of the architect, the product-owner pass or the comprehension check
- review: a pass skips only on a precedent: a decision, or a plan item crediting the pass, that the repo held before the chunk began
- loop-claude: the archive keeps the raw transcript, and a failed archive stops the loop
- loop-claude: a
claudethat cannot start is a failed worker run, retried - review: an ask no user answers leaves the PR unmerged
- loop-claude: every claude it starts bypasses permissions inside its sandbox
- review:
/security-reviewis the security pass of record, except where the full scan runs on the same change and replaces it - review: the premises chunk's whole review is the human's approval
- workflow-bench/: the remote may show the bench cases' names and commit SHAs
- settings.json: Claude Code runs in auto mode with the dangerous-mode prompt skipped
- the repo may name bender, bender-infra and ai-sandbox
- 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 - todo.md: only a session or subagent on the project's rung or above scores or reshapes the plan; one below it drafts new items and changes to filed ones for a subagent at or above that rung to apply and score, and removes finished ones
- reading cost: larv-review measures each finished chunk from loop-claude's archive and appends the figure to
docs/reading-cost.mdin the next chunk's PR - reading cost: a rise is the last 5 chunks' median above the 5 before them, and files or refreshes one plan item
- rule-hook: a PreToolUse hook enforces each rule a program can check, a
# rule-override <rule>: <reason>marker overrides one, and larv-review's overrides pass rules on each override before merge - rules/:
CLAUDE.mdholds the worker's rules that no file path can scope, and each topic's rules for the worker live in arules/file that Claude Code loads by itspaths:frontmatter - worker: a chunk's worker writes the simplest change that solves its item, test first wherever a test can check the change, and reads a technical principle only where the item, a finding or its own record names it; larv-review's reviewers hold the change to the principles and to the standards in
skills/larv-review/standards/ - review: stability and product-owner report only a defect, a broken requirement of the plan or the goals, a breach of a technical principle, or for stability a hard place the change touches; each architect finding names a later change the PR makes harder; prose runs only on a chunk that changes prose
- review: the stability pass mutation-tests the lines a chunk changes, in place of measuring test coverage
- routing: one ladder of (model, effort) rungs, ordered by the Artificial Analysis Intelligence Index with Fable 5.1 at max on top; a task's R + C picks a rung by fixed bands, counted from the cheapest rung of the project's model, and a chunk's worker may run below that rung, launching its reviewers on that rung; the worker routes each subagent it delegates to by the R + C of the subagent's task
- routing: a worker hands a task one rung up on each escalation trigger, up to two rungs above the rung its item picks unless the human agrees, and opens the subagent's prompt with the trigger so the routing figures count it
- routing: on a model judge-replay covered, the judge runs on the rung its chunk's item picks, never below the project's rung
Working rules
routing-calls-raised.mdsits at the root of loop-claude's archive ($LOOP_CLAUDE_TRANSCRIPTS, default~/.claude/loop-claude-transcripts). Each of its lines is a call or aReset, with a stamp. A call is new when it is stamped after the latestResetand after the latest stamp thattodo.mdordocs/decisions.md→routing:cites. When there are new calls, file onetodo.mditem to settle them, or refresh the item already filed. Its detail quotes those calls with their stamps, and the routed-chunks table ofrouting-figures.mdbeside it, never the project names its other tables hold. A change to the ladder, its bands or the delegation rule is the human's. The chunk that settles the calls cites the latest stamp it settled indocs/decisions.md→routing:, whatever the human decided, so they are not filed again. Once a chunk that changes the ladder, its bands or the delegation rule has merged, append- <UTC time> Resettorouting-calls-raised.md: the figures then count only chunks finished after it, and its calls may be raised again.- When
~/.claude/settings.jsonhas uncommitted changes, commit them on a branch of their own and merge them through a PR: Claude Code writes that file from any session. Read their diff first. When it holds a credential, such as a token inenvormcpServers, ask the human to move it out of the file, and commit only once it is gone. A token inenvmoves to the shell profile; a server inmcpServersmoves to~/.claude.jsonwithclaude mcp add --scope user.
Scoring run
The project values for skills/comprehension-panel/seat-prompts.md:
{language}: Python{kind}: a Claude Code configuration with an agent loop and review skills{domain}: driving headless Claude Code sessions, agent review workflows{domain docs}: the Claude Code documentation{3am question}: a loop-claude run exits 1 overnight after the judge returned a verdict the loop rejected, or a larv-review run looped a reviewer a fourth time