Repository navigation
Agent demo: open questions with a plan to approve, recordings per question, Stop - #155
Merged
Merged
Conversation
The insurance scenario now takes any question about its two files. Its CONTEXT.md holds the fixed setting (the analyst, the files, the team's conventions); the asker brings a question, a quick model call drafts a plan of a few plain steps (planner.py), and the asker edits and approves it before the agent starts. The brief's sections follow the approved plan. A run keeps its question and plan, so replays show them too. Stop ends a live run (its whole process group) or a replay, and frees the slot so a new run can start at once. The brief now ranks the predict on the due rows (not a held-back slice of the history), says "likely to leave", and shows at most six what-ifs per row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… over Opus 5 make_showcase.py --question <id> --from <run> keeps a recording per suggested question (showcase/<scenario>/questions/<id>/<agent>), and the page replays the one for the card in the box. In testing on open questions, Opus 5.5 answered best, then Fable 5.2, so a key without Opus 5.5 gets Fable 5.2 before Opus 5. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each went through the new flow: a drafted plan, then the run. Checked against what happened: the 50-call list had 16 leavers (model said about 15, base rate 12%); premium at risk $21.5M (90% range $19-33M) against $19.6M; the review list held only unreviewed plans, 22% of which left. make_showcase.py also masks Claude Code's temp folders, which name the user id and home folder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ore a run Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A visitor now writes the question and plan, so the agent can be told to leave a process running. When a run ends, every process of its uid is killed before the uid can go to another visitor's run, and a run counts as live (holding its uid and folder) until that cleanup is done. - Stop no longer deletes the folder itself: the run's watcher does, in order (kill leftovers, delete, take ownership back), so it can't race the hand-back or delete a run started after it. _own skips files that vanish mid-walk. - A run's question and plan come from what it was started with, not a file its agent can write; a showcase run's from inside it. - The brief takes a cleaned copy of the current rows (80-105% of them) as the ranking, puts a predict it rejects back to idle, keeps the what-ifs that move a row most either way, and ignores Enter once a plan is up. Watch again shows after stopping a card's replay. - make_showcase.py --from takes the ask.json inside that run only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
amrit110
force-pushed
the
demo-open-questions
branch
from
November 22, 2026 21:15
1efdd9a to
b267c96
Compare
…core Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your changes status has failed because you have indirect coverage changes. Learn more about Unexpected Coverage Changes and reasons for indirect coverage changes. Additional details and impacted files@@ Coverage Diff @@
## main #155 +/- ##
==========================================
- Coverage 87.78% 87.74% -0.05%
==========================================
Files 67 67
Lines 6723 6723
==========================================
- Hits 5902 5899 -3
- Misses 821 824 +3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
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.
The demo no longer runs one fixed brief. The audience asks any question about the two exports, approves a short plan, and the agent answers.
What changed
scenarios/insurance/CONTEXT.md,ui/planner.py): the scenario's fixed setting (the analyst, the files, the team's conventions, and a line asking for uncertainty on threshold and no-effect claims) plus the asker's question. A quick model call (Sonnet 5.5, about 2 s) drafts 3 to 6 plain steps; the asker edits or removes steps and approves. The run gets context + question + approved plan; the brief's sections follow the plan. Four question cards to start from.make_showcase.py --question): Opus 5.5 runs of the four cards, replayed from the card in the box.make_showcase.pymasks Claude Code's temp folders (they name the user id and home folder).How it was checked
🤖 Generated with Claude Code