Skip to content

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

Merged
danielrispler merged 3 commits into
mainfrom
issue-1054-studio-a-round-s
Dec 2, 2026
Merged

danielrispler merged 3 commits into
mainfrom
issue-1054-studio-a-round-s

Conversation

@danielrispler

Copy link
Copy Markdown
Owner

Closes #1054

Summary

writer reply
  question
    ask, options, recommendation
+   context            quoted from the reply; code checks it like an option quote, a failed one is dropped
step (ui/rounds.ts)
  title, dilemma, example
+ context              quoted, folded to two lines (Show more / Show less past ~90 chars)
  options
  why line
+ no recommendation    "The agent gave no recommendation" + [Ask for a recommendation]
      click → round_follow_up → "What do you recommend for Q7?"
              Herdr past the guard: send; else copy (+ jump)
read_prompts / daniels_prompt_after(after, skip)
+ a follow-up prompt is passed over, so the round stays open
joining
  a follow-up still counts as asking anew: the next turn's round replaces the open one (replace_open)

Evidence

  • Before: a question with no recommendation lost its "Why" line and showed nothing; a question built on a proposal above it showed none of it.
    After: npm run check green: 2159 Rust tests, 1109 node tests.
  • New rows, each shown red by breaking the behaviour it guards:
    • verbatim_cases: a quoted context is kept; a made-up one is dropped and its question stays checked.
    • prompt_cases: a follow-up (bare, and sent by Herdr) leaves the round open.
    • a_follow_up_names_its_question…: label, else title, else position; a later prompt still answers; the next turn's round replaces the open one, not joins it (red with is_follow_up in joining).
    • UI: context above the options, folded; typed answer survives Show more (red with the stale answer); the no-recommendation line and Ask, by Herdr and by copy.
  • Stored: new frozen sample understanding/tests/fixtures/stored/full-9/, no existing sample touched; full-4 to full-7 read with an empty context. An older build ignores the new field (no deny_unknown_fields on RoundQuestion).
  • Not run: snap fixtures (CI renders them).

Outside review

Gemini (gemini-4-neon-medium), one round. cost: 4.4 min, 230864 tokens; Gemini quota left: weekly 69% to 67%, 5h 79% to 71%. The correctness pass (/code-review) had reported none of these four.

  • Fixed: "Show more" spread a stale answer and wiped text typed since the last draw. Now it reads form.answers[i], with a test.
  • Fixed: "Ask for a recommendation" could be clicked twice while sending. It now ignores a click while form.sending.
  • Rejected: the full-size view closes once the follow-up's turn starts (liveRound keeps an open round only across wake-ups). That is the rule for any later prompt of Daniel's; the round stays open in the store and the next turn's round replaces it. A reply with no new question leaves it open but not shown, until his next prompt answers it.
  • Rejected: a follow-up queued during a wake-up's turn stops that turn's round joining the open one. The ticket says the next round closes this one; the case is rare and the follow-up's own turn makes a new round.

Standards review: no breach found. Spec review's finding (the next round joined instead of replacing) was fixed in cd034515a.

Merge Danger

Door: two-way

A new field with a serde default on a stored type, and one new command; an older build reads the file and ignores the field.

Blast Radius: the planning view's step and how a prompt is read against an open round

  • Session::daniels_prompt_after takes a skip closure: a typed prompt of the form "What do you recommend for X?" no longer answers a round.
  • Merging needs a rebuild: stop plotkeeper and npm run start from the main checkout.

🤖 Generated with Claude Code

danielrispler and others added 3 commits December 2, 2026 11:13
…s what the agent left out, and asks for it in one click (#1054)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ow-up send asks the guard again (#1054)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…a recommendation ignores a click while sending (#1054)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@danielrispler
danielrispler merged commit bb7b7e9 into main Dec 2, 2026
9 checks passed
@danielrispler
danielrispler deleted the issue-1054-studio-a-round-s branch December 2, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant