Answer architecture round 1: move the base only past a scoring run or a ruling of better, take it from the default branch, run the scoring run when a release's items run out or an item names the floor, rename the seat prompts, and fold the changelog's comprehension entries into the paired ruling

This commit is contained in:
2026-10-08 20:41:13 +02:00
parent 26826685e2
commit fbe753e1b5
8 changed files with 39 additions and 30 deletions
+3 -3
View File
@@ -95,16 +95,16 @@ the end. Tell everyone not to manufacture confusion.
A scoring run needs four seats — Junior A, Mid A, the maintainability senior and the inherited
architect — plus the calibration seat ("The score") when more than one project is in play. Build
the four seats' prompts from `scoring-run.md`, filled in from the project's `AGENTS.md` → "Scoring
the four seats' prompts from `seat-prompts.md`, filled in from the project's `AGENTS.md` → "Scoring
run". Change neither between runs, or the scores are not comparable. A project without that
section gets it at its first scoring run.
section gets it at its first scoring run or paired ruling.
## The paired ruling
A paired ruling asks whether a change makes a project read better, the same or worse. Each seat
reads both versions, so what the two versions share cannot move the ruling. Check out the older
version as a detached worktree in your scratchpad, and remove it afterwards. Build each seat's
prompt from `scoring-run.md` → "Paired ruling"; the seats and the rule for adding one are the
prompt from `seat-prompts.md` → "Paired ruling"; the seats and the rule for adding one are the
caller's.
## What the seven report
@@ -1,10 +1,12 @@
# The comprehension seats' prompts
Each scoring-run seat's prompt is the four parts below, in order: the opening, the seat's background, the shared brief, and the report for its kind of seat. Copy the text verbatim and replace each `{placeholder}`:
A scoring-run seat's prompt is the opening, the seat's background, the shared brief, and the report for its kind of seat, in that order; a paired seat's is "Paired ruling" below. Copy the text verbatim and replace each `{placeholder}`:
- `{checkout}` and `{branch}`: the worktree the seats read, and its branch.
- `{main}`: the project's main checkout.
- `{files}`: every tracked non-test file the shared brief does not forbid, from `git -C {checkout} ls-files`, listed as one recursive glob per top-level source directory, such as `bin/loop_claude/**/*.py`.
- `{forbidden}`: `todo.md, docs/decisions.md, docs/comprehension-history.md or docs/reading-cost.md (the plan, the decision log, past panels' records and past chunks' reading cost)`.
- `{git}`: `git -C {checkout} ls-files`, and for a paired seat also `git -C {base checkout} ls-files`, each in backticks.
- `{files}`: every tracked non-test file but those `{forbidden}` names, from `git -C {checkout} ls-files`, listed as one recursive glob per top-level source directory, such as `bin/loop_claude/**/*.py`.
- `{preloaded}`: the files the harness pre-loads into a seat, found per `SKILL.md` → "What makes the result trustworthy".
- `{anchors}` and `{dimensions}`: the six anchor bullets and the four dimension bullets in `SKILL.md` → "The score", verbatim, without bold and each on one line.
- `{language}`, `{kind}`, `{domain}`, `{domain docs}` and `{3am question}`: the project's `AGENTS.md` → "Scoring run".
@@ -12,7 +14,7 @@ Each scoring-run seat's prompt is the four parts below, in order: the opening, t
## Opening
```
You are one seat of a comprehension panel. Tools: Read, Grep, Glob, and Bash only for `git -C {checkout} ls-files` and `ls`. Never write, edit, run, build or test anything.
You are one seat of a comprehension panel. Tools: Read, Grep, Glob, and Bash only for {git} and `ls`. Never write, edit, run, build or test anything.
```
## Backgrounds
@@ -27,7 +29,7 @@ You are one seat of a comprehension panel. Tools: Read, Grep, Glob, and Bash onl
```
Target: the project checked out at {checkout} (branch `{branch}`). Read ONLY there — never {main}, which is a different version.
Depth 1, the whole project: read README.md, AGENTS.md and CLAUDE.md (the charter), then every non-test tracked file: {files}. Do NOT open todo.md, docs/decisions.md, docs/comprehension-history.md or docs/reading-cost.md (the plan, the decision log, past panels' scores and past chunks' reading cost), nor any review output. You may open a test file when the code does not answer a question; say when you did.
Depth 1, the whole project: read README.md, AGENTS.md and CLAUDE.md (the charter), then every non-test tracked file: {files}. Do NOT open {forbidden}, nor any review output. You may open a test file when the code does not answer a question; say when you did.
Your harness pre-loads these files into your context before your first tool call, from a DIFFERENT version (main): {preloaded}. Treat the worktree's own copies as the ones under review. A pre-loaded AGENTS.md may list decision titles; do not use them as evidence.
@@ -66,19 +68,17 @@ Report: the verbatim map; where it was wrong and how costly each correction was;
## Paired ruling
A paired seat's prompt is the opening, the seat's background, and the paired brief below, with these placeholders besides those above:
A paired seat's prompt is the opening, the seat's background, and the paired brief below. Its placeholders besides those above:
- `{base}` and `{head}`: the commits of the older and the newer version; `{base checkout}`: the worktree holding `{base}`.
- `{changed}`: `git -C {checkout} diff --name-status {base} {head}`, less the files the paired brief forbids.
In the opening, Bash also allows `git -C {base checkout} ls-files`.
- `{changed}`: `git -C {checkout} diff --name-status {base} {head}`, less those `{forbidden}` names.
```
Target: two versions of one project. The older, commit {base}, is checked out at {base checkout}; the newer, commit {head}, at {checkout}. Read ONLY there — never {main}, which is a different version.
Depth 1, the whole project in both versions: read README.md, AGENTS.md and CLAUDE.md (the charter), then every non-test tracked file at {checkout}: {files}. These files differ between the versions; read each at {base checkout} too, where it exists there:
{changed}
Do NOT open todo.md, docs/decisions.md, docs/comprehension-history.md or docs/reading-cost.md (the plan, the decision log, past panels' rulings and past chunks' reading cost), nor any review output. You may open a test file when the code does not answer a question; say when you did.
Do NOT open {forbidden}, nor any review output. You may open a test file when the code does not answer a question; say when you did.
Your harness pre-loads these files into your context before your first tool call, from main, which may match either version or neither: {preloaded}. Treat the two worktrees' own copies as the ones under review. A pre-loaded AGENTS.md may list decision titles; do not use them as evidence.