Repository navigation
Description
Status (checked 2026-09-12)
Landed
- L1 — feed extraction: PR #259 —
internal/tui3/feed.go; chat on the feed. Change entry:docs/changes/unreleased/259-lens-l1-feed.md.
Still open
- L2 — room adopts feed; delete
room.gomirrors. - L3 — one shaper + elbows.
- L4 — lens + altitude.
(Lane checkboxes in the body below still list L1 open — treat L1 as done; L2–L4 remain.)
The chat and the task room were meant to be one conversation surface pointed at two speakers. The renderer is genuinely shared (deckRows has exactly three callers), but everything upstream drifted: room.go mirrors eleven event-ingestion functions from app.go and is the copy that fell behind — a room never learns a tool finished (EventToolFinished unhandled, so no "took 4s"), never sees retries or notices, pairs tool-ends by a different rule than chat, parses raw JSONL itself with hand-copied caps, and renders a steer as an ordinary new question so that on replay a correction is indistinguishable from the brief.
The full design — philosophy, decisions, rejected alternatives, and the owner's four rulings (2026-09-01) — is docs/design/lens/DESIGN.md (lands with lane L1).
The one-sentence design: one reducer and one renderer produce every transcript; a page differs from another only by a declared lens — the participant's (chat: dialogue at full fidelity, work folded) or the overseer's (task: trajectory at a glance, machinery one gesture down) — and a correction typed into running work is an elbow on both.
Rulings, settled:
- The task page folds settled work into phase chips by default; the machinery stays one keypress away (reverses the written no-fold law in
workfold.go:26-52and its three pinning tests). - A room steer is an elbow (
└, drawn where said, opens no turn); the node journal gains a steer mark so replay stops lying. - Args-match tool-end pairing on both surfaces (chat drops oldest-of-name).
- Every task steer confirms delivery: a short fading
· deliveredclause (the woke-a-parked-node sentence when that is the truer fact).
Lanes:
- L1 — feed extraction. A
feedtype owns event →[]entryfor chat; no behavior change; tests stay green. Ships with the design doc. - L2 — room adopts feed. Delete the
room.go:1098-1485mirrors; room gains the missing events, durations, args-match pairing (ruling 3); the salience contract test lands ("a lens may lower salience; it may never drop a fact"). - L3 — one shaper + elbows. Journal steer mark, room shaping moves beside the engine's rebuild,
shapeRoomJournaland the copied caps die, room steers render as elbows with the delivery clause (rulings 2, 4). - L4 — lens + altitude. The
lensstruct replaces the scattered deck knobs; phase folds, header instrument, room spend into the HUD walk (ruling 1); rewritesroomwork_test.gowith the design.
Each lane owes its docs/changes/unreleased/ entry and manual pages in the same change — the corpus currently describes the no-fold room and chat-only steering, and both claims stop being true along the way.
Drafted with CodeAF · reviewed and owned by the author
Activity
lens L1: one feed reduces events to entries
lens L1: one feed reduces events to entries (#252) (#259)
santoshkumarradha commentedon Sep 1, 2026
L1 merged: #259 (design doc + feed extraction, dev @ ea25a27) with follow-up findings recorded on the PR. The steer-swallow fix (#273/#275) is also merged — its 'every task state answers a steer' law feeds Decision 2. L2-L4 remain open.
changelog: room steers are elbows and the engine reads the record (#351)
santoshkumarradha commentedon Sep 2, 2026
Headless benchmark of this issue's L2–L4 brief (2026-09-02, dev @ 779ed01)
Question asked: does
aforge doon the dev binary land L2–L4 cheaper and faster than the Opus lanes (#337, #351, L4 pending)? Answer: no on both axes; nothing usable was produced. Crew: planmoonshotai/kimi-k3:high, workdeepseek/deepseek-v4-pro,--yes-spend, 90-minute wall, stopped by hand at 32 minutes once the shape was clear.compile intent: empty goal(#335)The first attempt failed on brief shape. A brief in the form a person actually pastes did not compile; "headless is cheaper" means nothing when the ordinary brief does not get past the door.
Where attempt 2's 32 minutes went
Logged spend: kimi-k3 $1.29 (planning and five gate calls), deepseek-v4-pro $0.89 (113 calls, 44.6K output tokens). Between-call gaps inside a leaf were 0.1 s; no time was lost to routing or waiting.
Findings, by cost (handed to the coordinator for assignment, not filed here)
feed.goandworkfold.goread six times each, the design doc and the issue three times each. Three budgets bought zero writes.Side findings from the same run, filed before the standing order: #334 (call log silently drops end rows carrying +Inf), #335 (blank goal ends the run instead of using the person's words).
Comparison point
The Opus lanes running the same three lanes in parallel opened draft PRs for L2 (#337) and L3 (#351) in the same window, each with real diffs against the design. The headless arm is the lower bound this issue's work should never be compared against favourably: it is the measurement that the harness, on this brief and this crew, does not write.
🤖 Generated with Claude Code
https://claude.ai/code/session_01QM1syvGCs7y5wRiXDD9xzy
lens: the elbow's clause is last, so the context mark stays with the …
lens: the room steer walked end to end, scripted and against the ship…
lens: the live room-steer walk is approved on the model the product s…
lens: the way into a node's page asserts a frame instead of sleeping …
lens: a reading opens no picture, keeps what it could read, and draws…
changelog: the two beliefs the reading door's fixes invalidate (#351)
exec: an observation is retired when it stops being needed, and a re-…
lens: the session owns the reading of its own record, and a line deli…
lens: one shaping for both transcripts — the view never parses a reco…
lens: a room steer is an elbow, and it confirms delivery
5 remaining items
lens: a reading opens no picture, keeps what it could read, and draws…
changelog: the two beliefs the reading door's fixes invalidate (#351)
lens: one shaper for both transcripts, and a room steer is an elbow (#…
lens: one declared posture per page, and the task page folds its sett…
lens: one declared posture per page, and the task page folds its sett…
lens: one posture per page, and the task page folds its settled work (#…
santoshkumarradha commentedon Sep 3, 2026
L2, L3 and L4 merged into dev on 2026-09-02, in that order, each squash-merged after a full
-count=1suite on the rebased tip and a real-model e2e against the shipped default:checkpoint/2026-09-02/pr337-room-adopts-feed— the room embeds the one reducer, thirteen mirrors deleted, args-match tool-end pairing on both surfaces (ruling 3), the salience contract test (it already caught jobs: background work gets its own column section, its own name, and a page you can stop it from #439's new event kind).checkpoint/2026-09-02/pr351-room-steers-are-elbows— steer mark in the node journal,session.ReadTranscript/ReadTranscriptBytesreturning aRecord, room shaper and copied caps deleted, room steers are elbows with an engine-authored delivery clause (rulings 2, 4); plus the over-long-line and newer-format readings now say so on the page instead of going blank.checkpoint/2026-09-02/pr355-room-folds-the-past—lens.gowithparticipantLens/overseerLens(andtranscriptLens, argued in its header as a limitation), phase folds by default with the no-fold law struck (ruling 1), header instrument, room calls in the shared spend walk,inplacenever reaches a screen (merge-word map with a structural guard).Manual pages and change entries landed in each PR. Follow-ups recorded for after the freeze: #398 (hold-hint keys) and the missing decline on the
switch to auto?offer. Once #341 puts the call id on tool-end events,feed.claimRunningcan retire its by-order fallback.🤖 Generated with Claude Code
exec: an observation is retired when it stops being needed, and a re-…
exec: an observation is retired when it stops being needed, and a re-…
AbirAbbas commentedon Sep 16, 2026
Closing as completed. The four lens lanes landed as #259, #337, #351 and #355, and this issue's own 2026-09-02 comment records L2–L4 merged in that order.
Checked on
devat77293538c: the shared event reducer isinternal/tui3/feed.go, the participant and overseer projections areinternal/tui3/lens.go, and the task room draws a steer as a delivered elbow throughinternal/tui3/room.go. The salience, pairing, folding, elbow and delivery rulings are each pinned by a test (TestALensLowersSalienceAndNeverDropsAFact,TestAnEndPairsByArgumentsInTheConversationToo,TestATaskPageIsOneTurnWithElbowsAndTheConversationCountsQuestions,TestALandedRoomFoldsItsStretchOfWorkAndKeepsTheReply,TestEveryTaskSteerConfirmsDelivery). No acceptance item remains open.