Repository navigation
Description
What happened
2026-09-09, dev@52ff7dde2 + test/task-states-e2e, on a Linux/arm64 box with
tmux 3.4 and a real OPENROUTER_API_KEY:
go test -tags e2e -run 'TestTUIE2E/a_refused_landing_is_incomplete' -count=1 -timeout 15m -v ./internal/e2e/
The landing card comes up as its own question and then stops:
? ◆ Review the pull request diff · your call · 42s · 1 file
nobody could check it
─ main ─────────────────────────────────────────────
›
There is no third row. No [a] accept, no [n] not right, no [s] tell it, no
[d] let aforge decide this one. The tier is right and the reason is right; the
answers are absent, which is the shape docs/design/task-states/DESIGN.md was
written to close — "a card with no choices" — in its other half.
The subtest fails at internal/e2e/tui_e2e_test.go:213, waiting twenty seconds
for [n] not right, and then three presses of n walk six rows up the
conversation and type themselves into the box, because the key is correctly
refused on a card that is not offering that answer.
Replication
Deterministic (no model). The fixture is in the repository and the graph is
seeded, so nothing here asks a model anything:
make build
go test -tags e2e -run 'TestTUIE2E/a_refused_landing_is_incomplete' -count=1 -timeout 15m -v ./internal/e2e/
seedUndecidedRoot (internal/e2e/tmux_test.go) writes ONE top-level node,
"state": "unverified", "merge": "inplace", and the surface replays it on
attach. What a developer sees today is the two-row card above and the twenty
second wait.
The comparison that makes it a defect and not a fixture. In the same binary,
in the same run, seedUnchecked (internal/e2e/taskstates_e2e_test.go) writes a
node of the same state and merge and its card draws all four columns:
? ◆ Port the parser · your call · 42s · 1 file
nobody could check it
[a] accept · [n] not right · [s] tell it · [d] let aforge decide this one
go test -tags e2e -run 'TestTaskStatesE2E/your_call' -count=1 -timeout 15m -v ./internal/e2e/ # passes
What has been ruled out, by measurement rather than by reading.
- Not the keyboard. The row is absent from the frame, not merely unanswered.
- Not the setup screen or the greeting. Both were real and both are fixed on
test/task-states-e2e(rig.skipSetup,statesAnswerKey), and the failure
survives them. - Not the node naming no changed file. That was the one structural difference
between the two fixtures; adding"changed": ["diff-review.md"]put· 1 file
on the head and left the answers row absent. - Not the title's width.
app.settleRowsat width 150 draws
[a] accept · [n] not right · [d] let aforge decide this onefor both titles
and for both changed lists when driven directly ininternal/tui3, so the row
the real binary is not drawing is a row the layout will draw.
So app.settleChoices is coming back empty for this node through the real door
and not through the unit one, which points at what card.status.Ask is filled
with on a REPLAYED root — tasksettle.go's canSettleYes/canSettleNo answer
only for TaskAskCheck, TaskAskHeld and TaskAskConflict.
Acceptance
End to end, through the door a person uses:
go test -tags e2e -run 'TestTUIE2E/a_refused_landing_is_incomplete' ./internal/e2e/
passes on internal/e2e/tmux_test.go's own seedUndecidedRoot fixture — the
frame carries [n] not right beside nobody could check it, and n leaves
you said it is not finished and a second card reading · incomplete.
A internal/tui3 unit test is welcome beside it and is not the acceptance: the
same card already draws its chips in that package today.
🤖 Generated with Claude Code
Drafted with CodeAF · reviewed and owned by the author
Activity
tests: the two reds name the issues that own them
tests: the two reds name the issues that own them
tests: the two reds name the issues that own them
tests: the two reds name the issues that own them
tests: the six task-state shapes, measured on a real screen (#698)
chat: a landing on an engine host can be answered (#706)
tests: the conflict shape is reachable, and two stale needles
tests: the refused-landing subtest records what actually caught #706
chat: a landing on an engine host can be answered (#706)
tests: the conflict shape is reachable, and two stale needles
tests: the refused-landing subtest records what actually caught #706
chat: a landing on an engine host can be answered (#706)
tests: the conflict shape is reachable, and two stale needles
tests: the refused-landing subtest records what actually caught #706
Fix the task-states acceptance: a landing on an engine host can be an…