Repository navigation
Studio: a turn card at Your turn: one line, what's next, what was done, and a box that sends (#1062) - #1070
Merged
Conversation
…rompts (#1067) The turn summary gains next, did and prompts, optional on the stored type and on the wire, each item held to grounded, its word limit, agent_says (did) and the word-for-word quote check (agent prompts), dropped not cut. The summary's reply-parsing tests become one table; a new frozen sample full-10 carries the fields. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-1067-turn-writer-fields # Conflicts: # understanding/tests/fixtures/stored/README.md
…rn and Idle (#1068) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The turn card gains its Reply row: up to two agent pills (solid) then one suggested pill (dashed, muted, after a ✦), each hover naming who wrote it and holding the whole text. A pill fills and focuses the box, a one-line textarea that grows (field-sizing). Enter sends the box past send_guard with the generic send, after see_session; Shift+Enter and an input method's Enter don't. Where Send can't type, the box has Copy & Jump or Copy reply and Enter only says why. A failed send keeps the text. The box is one held node per session, so a draft and its focus survive the card being drawn anew as its summary arrives. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A list the writer filled whose every item is dropped is stored as none, so a turn that asked things never reads "Nothing waiting on you"; a suggested prompt's quote is emptied. A turn's send_guard answer that lands after the guard was asked again is dropped. The box's Enter goes through onEnter, whose new lines option leaves Shift+Enter to the field; inHerdr is one function in jump.ts for the planning view and the card; the held import no longer shadows a local name, and the response fold's key part is passed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… review of spec #1062) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
danielrispler
marked this pull request as ready for review
December 2, 2026 11:38
… map check (spec #1062) The turn card moves the timeline down, so the › button's "Next step" hint reached the bare map the shared check tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
At Your turn or Idle, the session panel (Context mode) leads with a turn card: the Headline, what's next for Daniel, what the agent did, a Reply row of pills, and a box that sends through Send.
The box's draft (and focus) is one node per session, kept through the keyed patch like an Ask box, and dropped when the session leaves the list (
forgetReplies).Evidence
After: snap fixture
mapSessionPanelTurnCard(README'sspotlit.png, regenerated):npm run checkpasses on the tip (Rust + 1118 node tests, lint, knip, clippy, system-map check);windows.ymlgreen on x64 and arm64 for every merge.full-10/) and the pureturnCardOftable were written after their code and not seen red.Tests merged
Four writer tests became rows of
a_summary_reply_reads_into_its_headline_body_and_lists(understanding/tests/writer.rs), exact inputs kept; none was@law:-tagged:typed_lines_parse_and_a_line_of_an_unknown_type_is_dropped→ 1 rowa_fix_with_no_passed_check_is_the_agents_claim_and_one_with_a_passed_check_is_not→ 4 rowsa_line_with_a_number_or_id_the_turn_lacks_is_stripped_and_true_numbers_stay→ 3 rowsa_reply_with_a_null_or_missing_quiz_gives_the_summary_alone_and_logs_nothing→ 2 rowsNotes
understanding/tests/fixtures/stored/full-10/(notfull-9/as Studio: the turn writer writes what's next, what was done and reply prompts, stored and on the wire #1067 said: Studio: a round's step quotes the context its question builds on, says what the agent left out, and asks for it in one click #1066 tookfull-9). No frozen sample was edited.inHerdrmoved toui/jump.ts(shared with rounds);onEntergained alinesflag for Shift+Enter. The twoaskGuards stay separate: rounds words a failure asString(e)("CommandError: …"), the panel as the bare reason.see_sessionis fired, not awaited, beforesend(as the planning view's Send); Copy & Jump shows beside Send in Herdr (as the planning view); the box keeps its text into the next turn.Correctness pass
/code-review highon the whole branch (standards, spec and a correctness reviewer that ran the tests and mutated rows). Fixed: anextlist whose every item was dropped read "Nothing waiting on you"; a suggested prompt kept its quote; a latesend_guardanswer could overwrite the next turn's; the duplicatedinHerdr/Enter handling; theheld as keptname clash; the fold key derived from its title. Rejected: "the card shows the whole reply when unsummarised" (turn.messageis already the first line,core/src/studio/take.rs:911-915).Snap
snap (2/2)failed onmapSessionPanelReplay("DIV.hint covers the map at 410,570 with the session panel open"), and failed again on its one rerun. It reproduced locally at the map fixtures' 1900x1180 (red on the branch, green onmain): the fixture presses the replay's ›, whose "Next step (→)" hint stays open; the turn card moves the timeline down, so that hint now reaches the bare map the shared check tests. The fixture now lets go of the focus before the check (53f468e); the product behaves as onmain.Outside review
gemini-4-neon-medium — cost: 5.6 min, 252527 tokens; Gemini quota left: weekly 63% to 62%, 5h 58% to 52%
turnCardOfstripped "Agent says:" from a guarded Headline, so the card showed an unbacked claim as fact whiledidkept the prefix (d433dcd). The correctness pass's spec reviewer had reported it; I had rejected it then because the timeline row strips it too.Merge Danger
Door: two-way
The stored summary gains three optional fields; the previous build reads them (no
deny_unknown_fields), but a previous build that rewrites a stored summary would drop them.Blast Radius: session panel
The card sits above the session card at Your turn/Idle, pushing the timeline down. The box sends real prompts into a Herdr session, behind the existing
send_guard.Closes #1062
Closes #1067
Closes #1068
Closes #1069
🤖 Generated with Claude Code