feat(crm-client-workspace): v5 -- the widgets follow the specialist, and the agent sees them - #5782
Merged
Merged
Conversation
…and the agent sees them A widget is the client's (shown under anybody) or one specialist's (shown only while chosen): the content widget is the Blogger's, templates are each specialist's. One menu in the left column, one open, the drafts pinned above it, the Queen not a widget (widget_shown, open_after_switch). A client thread's request carries `widgets` -- ids shown, the open one, their state -- capped per value and as a whole and put beside the client's brief as context; a hidden widget is not reported and the self thread ignores it (widget_reported, capped). 15/15, 0 vacuous, 17/17 controls. Closes #5779 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> phi^2 + 1/phi^2 = 3 | TRINITY
Contributor
|
📓 NotebookLM Notebook linked to this PR
This notebook contains session context, decisions, and artifacts for this work. |
Contributor
This was referenced Oct 3, 2026
Open
This was referenced Oct 3, 2026
Merged
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.
Closes #5779
v5 of
specs/automation/crm-client-workspace.t27. The host is the client chat in gHashTag/999-multibots-telegraf. The 999 PR, which binds every test below to the host, follows and will link back here.The widgets follow the specialist
widget_shown(belongs_to_specialist, owner_is_chosen). A client widget shows under anybody; a specialist's widget shows only while that specialist is chosen.CONTENT_WIDGET_AGENT = "blogger". It had been on the card "always" since 2026-09-29.WIDGET_IDSlists the eight widgets;CLIENT_WIDGETS = 6of them are the client's.WIDGETS_IN_ONE_MENU,WIDGET_MENU_SIDE = "left",OPEN_WIDGETS = 1.DRAFTS_PINNED_ABOVE_MENU).QUEEN_IS_NOT_A_WIDGET).open_after_switch(chosen_has_widgets, open_still_shown)returns one of:OPEN_SPECIALISTS_FIRSTOPEN_KEEPSOPEN_FALLS_TO_CLIENTThe agent sees the widgets
WIDGET_CONTEXT_PARAM = "widgets"on a client thread's chat request carries the ids shown, the open one, and their state.capped(length, cap)withWIDGET_TEXT_MAX_CHARS = 600per value,WIDGET_LIST_MAX = 8, andWIDGET_CONTEXT_MAX_CHARS = 4000for the whole block.CONTEXT_INJECTEDgains+widgets.widget_reported(shown, client_thread),HIDDEN_WIDGET_NOT_REPORTED,WIDGET_CONTEXT_ONLY_IN_CLIENT_THREAD.Gate
From the 999 checkout,
tri spec-checkreported:apps/vibee-editor/render/src/spec/crm-client-workspace.controls.json.PANELS = 7is unchanged.phi^2 + 1/phi^2 = 3 | TRINITY
🤖 Generated with Claude Code