Repository navigation
feat(web): Goal and Plan chips in the composer - #926
Merged
Merged
Conversation
yaacovcorcos
force-pushed
the
claude/mode-chips-20261114
branch
from
November 14, 2026 18:34
6fb8f9c to
72c04a2
Compare
yaacovcorcos
force-pushed
the
claude/plan-mode-20261113
branch
from
November 14, 2026 18:34
5de821f to
47cb592
Compare
Contributor
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosAll 64 scenario measurements match All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
This was referenced Nov 14, 2026
yaacovcorcos
enabled auto-merge
November 14, 2026 18:35
Picking /goal or /plan changed nothing on screen until the message was sent. Picking either from the command menu now shows a small chip beside the attach button, with its own placeholder; the next message is sent as that command, and the chip's x cancels it. The chips show only while they mean something. A goal still being worked on keeps the Goal chip, with its state and Resume, a new goal and Clear. While Scient Agent is planning, the Plan chip reads Planning and offers to leave plan mode. Scient Agent reports plan mode with plan_updated, and Desktop keeps it on the provider thread as planMode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
yaacovcorcos
force-pushed
the
claude/mode-chips-20261114
branch
from
November 14, 2026 20:04
72c04a2 to
8415f0e
Compare
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.
#923, #924 and #925 are merged; this is rebased on
main(one conflict inChatView.tsxwith alignment #921, resolved by keeping main's line and adding the chips' two lines).Platforms: web UI and server code with no platform-specific parts; the same on macOS, Windows and Linux. Tested live on macOS only.
What
Picking
/goalor/planchanged nothing on screen until the message was sent. Now:/goalor/planfrom the/menu shows a small chip beside the attach button instead of typing the command. The placeholder says what to write ("Describe the goal…", "Describe what to plan…"). The next message is sent as/goal …or/plan …. The chip's × cancels it.xslabel and icon.plan_updated(feat(rpc): plan mode for RPC hosts scient-agent#60). Desktop keeps it on the provider thread asplanMode(one optional contract field), the same path the goal row uses./goalor/plan(Codex, Claude and Scient Agent for goals; Scient Agent for plans), using the existing commands.Scient-owned:
ComposerModeChips.tsx. T3 files change only inside SCIENT-FORK seams (ChatComposer.tsx,ChatView.tsx,NativeSessionAdapterV2.ts,OmpAdapterV2.ts,OmpSessionRuntime.ts,orchestrationV2.ts).Older agents: today's agent (0.1.10) never sends
plan_updated, so no Planning chip appears;/plananswers "Update Scient Agent to use /plan".Tests
OmpPlan.test.ts:plan_updateddecoding.OmpPlan,OmpSessionRuntime,NativeSessionAdapterV2,OmpAdapterV2,ComposerCommandMenutests (239 pass), rootpnpm run typecheck,vp fmt --check,vp lint, seam check and provenance./goalshowed the Goal chip with its placeholder, at the attach button's height; the Plan chip sent/plan <task>and the plan card and question appeared; choosing Refine surfaced the agent bug fixed in Fix voice composer transcript routing #60. Checked by the owner in the same dev app.🤖 Generated with Claude Code