Repository navigation
feat(web): Prism settings in the Providers layout, lanes only for Worker - #35
Merged
Merged
Conversation
…ion switchable (#26) Only the worker keeps easy/medium/hard lists; every other role has one ordered list under models, and a saved per-lane list keeps its medium entry as that list. Retry (correction) and Escalation (recovery) gain enabled. The snapshot still repeats each single list in every lane until toolboxmd/model-router#127 reads single lists. spawn_thread accepts retry and escalation next to the old names. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A role list (icon, name, description, toggle) and a detail pane with one ordered model list per role, reorderable by drag or arrows and saved on every change. Only Worker shows easy/medium/hard tabs. Retry and Escalation can be switched off; Dispatcher, Worker and Reviewer show locked on with the reason. Planner is no longer on the page. The Agents panel shows each Prism job as a heading without a status dot. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…one line (#26) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
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 Sep 25, 2026
lukemaj
added a commit
that referenced
this pull request
Sep 27, 2026
…ker (#26) (#35) * feat(contracts): single model lists outside Worker, Retry and Escalation switchable (#26) Only the worker keeps easy/medium/hard lists; every other role has one ordered list under models, and a saved per-lane list keeps its medium entry as that list. Retry (correction) and Escalation (recovery) gain enabled. The snapshot still repeats each single list in every lane until toolboxmd/model-router#127 reads single lists. spawn_thread accepts retry and escalation next to the old names. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * feat(web): Prism settings in the Providers layout with autosave (#26) A role list (icon, name, description, toggle) and a detail pane with one ordered model list per role, reorderable by drag or arrows and saved on every change. Only Worker shows easy/medium/hard tabs. Retry and Escalation can be switched off; Dispatcher, Worker and Reviewer show locked on with the reason. Planner is no longer on the page. The Agents panel shows each Prism job as a heading without a status dot. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(web): show locked Prism roles with a lock and keep model rows on one line (#26) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * chore(web): drop unused applyPrismRoleUpdate export flagged by knip (#26) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 (1M context) <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.
This closes #26. The Prism settings page showed a 5x3 grid of lanes, and most of those lanes were never used. The page now uses the Providers layout. On the left is a list of roles, each with an icon, a one-line description and a toggle. On the right is a detail pane with one ordered model list for the selected role. Every change saves on its own, so there are no Save buttons.
Changes
correction) and Escalation (keyrecovery). Planner is gone from the page. Only Retry and Escalation can be switched off. The other roles show a locked toggle with the reason in a tooltip and in the detail pane: Dispatcher is needed until router Wight mode: keep a thread working on continue #117 decides, Reviewer because independent review is required, Worker because it is required.models, andcorrection/recoveryaddenabled(default true). Saved per-lane lists still load: the medium list becomes the single list, and the next save writesmodels./api/prism/snapshotstill sendslanes.easy/medium/hardfor every role. A role other than Worker repeats its single list in all three lanes and also sends it asmodels. Onlycorrectionandrecoverycarryenabled.spawn_thread: acceptsretryandescalation, and still acceptscorrectionandrecovery. A role other than Worker uses its single list and ignoreslane.Job <id> · <status> <route>), so it no longer looks like a second agent.Proof
vp test runpassed forpackages/contracts/src/prism.test.ts(6), for the server testsroles.test.tsandsnapshotRoute.test.ts(21), and for the web testsPrismSettings.logic/state.test.tsandAgentThreadTree.logic.test.ts(21).tsc --noEmitpassed for contracts, server and web.vp lintis clean on the changed files, andscripts/fork-check.shreports OK..t3state, seeded with old per-lane lists. The page migrated them. Turning Retry off savedcorrection.enabled: false.GET /api/prism/snapshotreturned three lanes for every role,modelson every role except Worker, andenabledonly on correction (false) and recovery (true).Screenshots were taken with Playwright's bundled Chromium (headless shell 1243) against that instance. They are cropped to the roles section.
Page (Dispatcher selected, migrated list):

Worker lanes (Hard tab):

Retry switched off:

Not captured: the Agents panel heading. It needs a live Prism job, and the isolated instance has none.
Done with Claude Opus 5.5 in Claude Code.
🤖 Generated with Claude Code