Skip to content

Desktop: show what each Fusion worker was told (ATO-1754) - #1758

Closed
sosidudku1 wants to merge 2 commits into
rel/xp-buildfrom
fix/ato-1754-fusion-worker-brief-desktop
Closed

sosidudku1 wants to merge 2 commits into
rel/xp-buildfrom
fix/ato-1754-fusion-worker-brief-desktop

Conversation

@sosidudku1

@sosidudku1 sosidudku1 commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Why

Discord (guxar, 21.11; kerry6312, 23.11): a Fusion worker is a black box in the desktop. Its chat line says "worker X · model: started" and nothing about the task it was handed, or why it ran on a model other than the one its role asked for.

What

  • New renderer/fusion-brief.js (loaded before renderer.js, like fusion-panel.js): reads brief and model_note from the worker's started frame and draws a quiet "What it was told" toggle under that line.
  • Open, it shows the model the worker ran on, the model note when there is one, and the full brief in a scrolling box (max 320 px). Closed by default, and the brief is only put in the page while open, so a large fan-out adds short buttons, not walls of text.
  • The started line itself names the model note, as the TUI does.
  • An agent without the new fields: no toggle, same line as before.

Needs the agent change on main: #1757.

Tests

test/fusion-brief.test.mjs: payload parsing and caps, closed and open markup (escaping, note line only when present), nothing drawn without a brief, and the renderer wiring.

Refs ATO-1754

Verification

  • Reviewer and skeptic (fresh agents, read only) went through both PRs. One minor finding from both: in the desktop, two consecutive started lines with the same text were folded into one row, hiding the second brief. Fixed in Desktop: show what each Fusion worker was told (ATO-1754) #1758 (the fold now also compares the brief).
  • Checked by reading, no finding: the brief is set before every place the started event can fire; role-leg and split tasks get the note; no existing test compares the full key set of a started event or frame; desktop smoke frames without the new fields keep the old line text.
  • Added after review: a test that the started line carries the clipped brief for an oversized task.
  • Waiting on CI here; the live run is part of the combined desktop run.

A worker's started line in the chat gets a quiet "What it was told"
toggle when the agent sends the brief (agent change for ATO-1754). Open,
it shows the model the worker ran on, why it is not on the model it
asked for when that happened, and the full brief in a scrolling box.
Closed by default; the brief is only in the page while open. The started
line also names the model note, as the TUI does.

Refs ATO-1754
@sosidudku1

Copy link
Copy Markdown
Collaborator Author

Merged into rel/xp-build via #1763 (all commits are in rel/xp-build). GitHub did not mark it merged because of the outage during the merge.

@sosidudku1 sosidudku1 closed this Nov 25, 2026
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.

1 participant