fix(execution): on the default flow the ladder shows each slice's recorded status and says when nothing records a build #2872
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #2872"
general
weight: 0.35
mvschwarz
Refs #2761. Thanks to @ziadeh for the careful report, which proved the mechanism by adding the missing rows by hand. This
takes the report's second suggestion (the view says which answers come from missing records) and its third in part
(a stated limit for work that isn't a Git commit). Teams aren't asked to record more, so the issue stays open for the
reporter to judge.
What changes
On the default flow a team records each slice's
status:word, not plan lock,candidate:<sha>rows, review artifactsor a
worktree_path=row. The execution view reads only those heavier records, so a finished mission read as allfalseorINDETERMINATE. Built, reviewed and merged already readINDETERMINATE("not recorded"), notfalse; planlock read
falsewithout saying why.q4_ladder[].recorded_statusis{ word, bucket, basis }: thestatus:word from the slice's own node file (SPEC.md, or a legacyREADME.md), and the bucket that word falls in(
done,shipped,promoted,closed… aredone).- It's testimony: it never turns a rung true and never makes a slice next-up, which still reads the merged rung.
- With no
status:, it's{ word: null, bucket: null, basis: "no status: in SPEC.md frontmatter" }, not "draft" andnot "not done".
- The bucket comes from the slice indexer's own table, now exported as
sliceStatusBucket, so a word buckets the sameeverywhere.
- Like the scopes views, it never reads
PROGRESS.md.GET /api/sliceslets astatus:inPROGRESS.mdfrontmatteroverride the node file's, so a status kept only there shows in that list and not here. The scaffold's
PROGRESS.mdhas no frontmatter, and
rig scope slice shipandclosewrite the node file.q4_recordscounts slices with acandidate:<sha>row and with amerged:<pr>report,names the repository context, and says in its basis when nothing records a build: "built, reviewed and merged read
INDETERMINATE: not recorded, which is not the same as not done".
false here whatever its recorded status. The value is unchanged: nothing but the display reads it, and a team that
does plan-lock keeps the real "not approved" signal.
doneas declared done, so slices markedshipped-to-<mission>(
rig scope slice ship),closed-<reason>(rig scope slice close) orpromotedread "planned".- It now uses the served bucket. An older daemon that serves none keeps the old rule.
- The slice strip's "next" says "none — declared <word>" for the same words.
- The evidence page shows the mission's records line.
sdlc-conventions.mdPart A says what the view shows on this flow, and that built means aGit commit.
Cost
-
daemon/src/domain/execution-view.ts+28/−3;-
daemon/src/domain/slices/slice-indexer.ts+13/−8 (the bucket rule moved into an exported function, unchanged);-
tui/src/execution/execution-model.ts+13/−2.or renamed.
Tests
packages/daemon/test/execution-view-default-flow.test.ts, 5 cells: a mission finished on the default flow(
done,shipped-to-release-1,Closed, and one slice with no status), with rows that name the mission and carry nobuild records.
- recorded status and bucket per slice, and the no-status case;
- a status kept only in
PROGRESS.mdisn't read;- the mission's records line;
- every rung and next-up unchanged by the status, and plan lock's basis;
- the counts when a team does record a candidate and a merge report.
packages/tui/test/execution-default-flow.test.ts, 4 cells:- done-bucket words read declared done;
- the strip's next for a shipped slice;
- the evidence page's records line;
- an older daemon keeps the old rule (the control).
e15cebdf) added the cells alone.- Daemon: the 4 cells failed on their first assertions (no
recorded_status; noq4_records, twice; plan lock'sold basis). The other 1,381 files passed.
- TUI: 3 cells failed, with the mission view reading "3 slices · 3 planned" and the strip and evidence lines missing.
The older-daemon control passed, as did the other 130 files.
e086fd34: all 15 checks. Daemon 1,382 files (26,645 tests), TUI 131 files (1,212 tests), CLI, UI,typecheck, build and the installed scenario.
9f40c2ffnames the status's file and adds thePROGRESS.mdcell; its run is in progress.Limits
candidate:<sha>row and aworktree_path=row) toread true; this change says they're missing rather than reading them from somewhere else.
slice:tags don't join a slice folder (#2725, separate).🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
New Features
The execution view now shows each slice’s recorded status and bucket separately from ladder progress. Recorded status does not change plan-lock or next-up information.
Evidence details now show candidate and merge-report counts, repository context, and the basis for build-record availability. Declared-done statuses are reflected in the execution view.
Documentation
Clarified how recorded statuses, ladder progress, repository context, and build records are represented.
Tests
* Expanded coverage for status display, record counts, evidence details, and behavior when records are unavailable.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->