Repository navigation
Inside The summary table in the issue
Every comment of its own that sclaude writes on an issue, and the summary it
writes on a pull request, opens with a heading that names its kind and
nothing of the feature — ## Sessions and progress, ## User request, ## Acceptance criteria, ## Current status,
## Ready to merge, ## QA Accepted, ## Production rolled back, and the
## Handed over a pull-request step writes for another issue — so a reader,
or a tool, finds the same kind of comment the same way on every issue. What
belongs to the feature (its name and step, a time, the issue a hand-over comes
from) goes on the lines below. The summary's own marker,
<!-- sclaude:<feature> -->, stays above the heading: it is how sclaude finds
its comment to rewrite it. The local review's findings on a pull request
are another kind: each is about a line, titled by the finding, and found by
its thread rather than by a heading.
The table lists every Claude session of the feature, in the order they
began, whatever their kind — a step not reached yet goes last: the steps'
own, the friction reviews, the fixing sessions, the sync, the epilogue, the
demo refresh (claude -p, demo_refresh in demo.sh, which rewrites the
table itself once it ends, and shows exit <n> when claude failed after
the conversation began — one that died before its first answer was no
session and has no row), the
retrospective, and each pass of the local review (claude -p) that the
journal recorded. A friction log of proposals alone is put off with no
session (friction_defer_proposals): its row has no id and is timed by the
put-off's commit; the claude -p call that may match the proposals to the
rules put off before runs just before it, keeps no conversation and has no
row of its own. In a feature built in parts the rows of the steps, the
friction reviews, the syncs, the status updates, the retrospective and the
demo refresh say the part their session worked on, or the whole. The local review's passes are read from
review-rounds.jsonl beside the state — the review's one journal, which
also holds the workflow's runs in Actions (source: github, added by
github_runs as the report is made, and left out here) — with the findings it posted and
its times in the machine's own clock. A pass is started with a session id of
its own, which the journal keeps; a pass journaled before that has a dash for
its id. A pass in which no model ran — a head with nothing open to check — is
no session and has no row; one stopped half-way, or whose answer could not
be recorded, ran all the same and has its row, stopped, not recorded. The summary is written
again as the retrospective starts, which run_retro marks as running, so the
friction review before it and the retrospective itself are on it while it
runs, rather than only after the clean-up. It is written once more as the
retrospective ends, once its run is closed: the clean-up that would rewrite it
may not follow — declined, or cut short — and the "in progress" of the start
would stand.
The summary's Friction column says what became of the review for each step and each fixing session. Several answers, because one dash used to stand for four different things and a reader could not tell them apart — a step nobody had reached yet looked exactly like a step that ran into nothing. Each value is written by the orchestrator at the moment it happens; none is inferred when the comment is assembled:
| Value | What it means |
|---|---|
queued |
The cycle has not reached this step. Nobody has looked yet — not "there was no friction". |
nothing |
The log was empty, so no session was launched. The ordinary case: most steps run into no ban worth reporting. |
`id` open |
Interrupted, with a conversation to return to. It holds the cycle until sclaude friction or sclaude reset closes it. |
`id` stalled |
claude exited at the door. The id names a transcript with nothing in it, so there is nothing to resume — clear it rather than return to it. |
`id` fixed |
The review ran and committed a rule change to the product, on the feature's branch: the tree's HEAD moved while it was open. |
`id` reviewed |
The review ran and changed nothing — it read the entries and found every ban deliberate. |
`id` unread |
Closed by hand through sclaude reset. The entries stayed in .reviewed with nobody reading them. |
held |
Held while [g] ran step 4 by itself (friction_hold): the entries stay in the log for a later review. |
read in <key> |
Held, then read by the review of <key>, whose cell says what it came to. |
The Status column says how each fixing session ended. It was a dash for every one of them until it became clear what that cost: a stage with four sessions showed four identical cells, and one of those four was the one that made it green. A fixing session has no step status — it is not a step — but it does have an outcome, and the orchestrator knows it exactly:
| Value | What it means |
|---|---|
green |
The re-run passed after this session. It is the one that fixed the stage. |
red |
The session finished and the stage failed again. The attempt was counted. |
blocked |
The cause was outside the branch. Nothing was changed and the attempt was given back — deliberately not red, or the row numbers would disagree with attempts. The gate runs the stage once more by itself, and a green run then keeps blocked here: the session did not fix it. The note itself is appended to regression.notes whenever it is taken off (blocked_note_keep), and the retrospective reads it: what it says would have to change is not done by a green run. |
stalled |
claude exited at the door, leaving no assistant record. Nothing ran, so the stage was not left red by it. |
open |
Interrupted, with a conversation to return to. |
— |
No record: the feature predates the field. Nothing is guessed backwards from how the stage ended. |
A stage that went green on the rerun the gate makes before its first fixing
session has no row here: no session ran. The gate runs a red stage once more
by itself before spending a session on it (a deploy that failed aside, since
preview_ship retried it already), because the commonest red is a test that
flaked on a loaded machine; one session spent half an hour to conclude just
that. The flake stays on record as a line in regression.notes, so a stage
green by itself is not taken for one that never went red.
The rerun starts at the part that went red, with the parts after it, which
never ran (regression_rerun_from): the parts before it went green on the
same tree a minute earlier, and a full run red on e2e alone used to cost the
whole stage again — lint, build, typecheck — to ask two specs once more. A red
e2e (Playwright the testRunner) asks only its failed specs: the run keeps
every one, path and line, in regression.<stage>.failed_tests
(regression_failed_specs … all, not from a run cut off at its cap of
failures), and the rerun hands them to the suite's command after --. A rerun
after build serves the build the red run made rather than building again,
and still queues and restarts the server as a whole run does. A green rerun
records the tree green: no session ran between. The rerun after a session
that ended blocked starts at the red part the same way, while the tree is the
one that went red; moved, the stage runs whole.
Every run keeps its own log, so the rerun leaves the red run before it in
place (see "Logs" under the worktree). The fixing prompt names the folders and
the file the failing set went red with (log_red_since), so the session
compares the runs from then on — a spec red in every one is no flake — and
skips the older ones.
The outcomes live in regression.<stage>.fix_status, space-joined and aligned
with fixes position for position — state_set writes scalars, which is what
made fixes a string too. Writer and reader derive the row from the same place.
The id is the review's own session, kept under was once the review closes, and
claude --resume <id> in sclaude's checkout opens it again. It is a separate field
from session on purpose: run_friction reads session to decide whether to
resume, and an id left there would send the next review into the closed
conversation instead of starting a new one.
A line under the table appears when a step ran in the background. By design that
cannot happen — a step with no terminal is refused — so it only shows on
features started by an earlier sclaude, and it explains why the cycle stopped
there: a backgrounded step never reaches after_step, so it got no next step
and no friction review.
Underneath stands a second table: what the friction reviews actually changed.
The column above says that a review changed something; it cannot say what,
and a reader was left to work out which commits fell between two steps of a
feature. So run_friction keeps the feature tree's HEAD from either side of
a review that committed (ranges, one for each review of the key) — it already compares
the two to decide whether to push — and the summary turns that range into
commit subjects with git log. A review no longer commits to sclaude itself:
what it would change there goes through the workshop (see "The workshop").
A row is one commit, and the step is named once per review, so a review with four commits reads as one piece of work rather than four unrelated ones.
| Verdict | What it means |
|---|---|
lifted |
A restriction was loosened or removed. |
deliberate |
Nothing changed, on purpose: every entry was a ban working as intended. |
mixed |
Both happened in the same review. |
The verdict is the one thing no amount of reading the commits recovers. git log describes a lift and is silent about the opposite — a review that read
every entry, found each ban correct and changed nothing leaves no commit at
all, and so had no row here. The review therefore says it in words: the two
prompts ask for a last line, sclaude-verdict: <kind> — <clause>, and
friction_verdict reads it back out of the review's transcript once the
session exits.
Only the kinds in the table are accepted, so a model quoting the instruction back cannot land a word in the issue as though it were a decision; the last line wins, so a review interrupted and resumed reports what it finally left behind. A review that printed no line keeps its commits and shows a dash — the table behaves as it did before the verdict existed.
The section is absent entirely when no review has committed or left a verdict,
which is what every feature already in flight will show: their reviews recorded
neither. That is accepted rather than repaired, for the same reason the
queued back-fill was: inferring the values now would put back exactly the
guessing this removes.
The status is a comment, not a part of the description, on every issue in the
chain — whoever wrote it. There used to be one concession to the rule "we do not
touch somebody else's body": this section was appended to it. It is gone; a
Current status a human wrote into a description stays there, and the session
takes what is still true from it into its comment.
It is deliberately not one of the four steps the state tracks, although the
menu numbers it 6 (cycle_number in steps.sh: the sync with main is 5, the
retrospective 7). It runs before the clean-up, while the worktree is still
there, but by then the feature is already done, and an epilogue that broke
off may be finished later with sclaude epilogue — after sclaude done has
removed the worktree and its state.json. So it keeps its own record outside
every repository, in ~/.claude/sclaude/epilogue/<feature>.json. The
session runs in the feature's worktree, as every step does, so that its
transcript is where the process map reads the feature's conversations; only
when the tree is already gone does it run from the main repository, and then
it starts afresh rather than resume a conversation kept under the other
directory. In its construction this is closest to
the friction review — a session outside STEPS, with a prompt of its own.
A friction review reads its own entries. Before it starts, the fresh log is
appended to friction.log.reviewed and kept apart as
friction-<key>.log, which is what the review is handed: .reviewed holds
every review's entries, and a review handed all of it read the earlier steps'
again and put the same refusal off twice. sclaude friction, a re-read, still
reads everything. A log of nothing but proposed CLAUDE.md rules needs no
session: sclaude puts them off to the monthly review itself. When a step of
that fails once the rows are on the screen — the deferred file, the append,
the commit — it says which, git's first line included, before the log goes to
a session after all: on one feature the screen said "put off", a session
opened, and nothing said why. It no longer
asks by default: the question held the cycle between a fix session and the
review of its fixes until it was answered, and the answer was nearly always
"put off". SCLAUDE_FRICTION_ASK=on asks again, for a rule a decision of the
same cycle rests on that should not wait a month; a "no" hands the log to a
review told to write them in now.
Before they are put off, they are matched (friction_classify.py). Each
step's session names its proposal's class itself, and on one feature four
sessions proposed one rule under four classes, one of them a rule the
project's CLAUDE.md already stated: the monthly review, which decides by
how often a class comes back, would have read one rule seen four times as
four rules seen once. So one call of a small model (SCLAUDE_CLASSIFY_MODEL,
haiku) reads the proposals, the classes already put off and CLAUDE.md, and
says of each: the same rule as a class already there (it takes that class),
a rule CLAUDE.md states (put off under claude-md-already-stated, the line
quoted, for the monthly review to read as a rule sessions do not follow,
or a match that was wrong), or new. The answer is checked, not
trusted — a class must exist, a quote must be CLAUDE.md's word for word
and share at least two words with the proposal, so that a real line about
something else does not put a new rule off as stated —
no row is dropped, and any failure leaves the rows as they came. The call is
capped at a minute: it stands between a fix session and the review of its
fixes.
Each class is counted as it goes in: "2nd time since the last monthly
review, in 2 features". The count is worked out from the rows, one per
occurrence, rather than kept in a field: each feature has a file of its own
so that two branches never edit the same lines, and a counter two branches
raised would conflict at every merge. SCLAUDE_FRICTION_CLASSIFY=off skips
the matching. Each such put-off is
a review of the key's own, numbered in its commit and kept in the key's runs.
Generated from docs/sclaude.md; edit it there, then rebuild with wiki/build.py.
SClaude is open source under MIT · Repository · Landing page · Contact
Why
How it works
- The cycle
- Big features in parts
- Limits in code
- Fewer tokens
- Feedback loops
- Metrics and the replay
- For a team
- Working from the phone
- Stack and costs
- Privacy
Guide
- Getting started
- Setting up
- Using sclaude
- The config, key by key
- When something goes wrong
- Glossary
- Gates and rules
- Team setup
- Privacy in full
- The tools
- Decks and the map
- Contributing
Inside
Links