Skip to content

feat(workbench): show bounded live Steward step details - #10258

Open
steven-kid wants to merge 1 commit into
loopx-project:mainfrom
steven-kid:roadmap-auto/20261206-turn-step-details
Open

steven-kid wants to merge 1 commit into
loopx-project:mainfrom
steven-kid:roadmap-auto/20261206-turn-step-details

Conversation

@steven-kid

Copy link
Copy Markdown
Collaborator

Goal and delivered outcome

Workbench Steward currently receives Core agent.phase.payload.step but keeps only its label. While waiting for an answer, a person cannot inspect the supplied command/tool result or exit status. This PR adds a bounded, collapsed-by-default live detail reader to that existing conversation. It advances the turn-step portion of Workbench F2; it does not complete F2.

Written by: model_agent (OpenAI Codex), for steven-kid.

Base: 6ad15836857b8536ea1bb747540cff7794f553f4.
Tested implementation: a8f704dc186347310f208f86af8cc227ed681f6d (checks ran on these source bytes before the commit).

Acceptance and boundaries

  • Preserve the existing public TurnStep DTO through a dependency-free shared type; read only command/tool/search/file-change fields already supplied by Core. No raw reasoning, extra fetch, new route, persistence or permission.
  • Keep the latest 80 steps, update an existing ID in place, and do not regress a completed/failed item on a late running event.
  • Expand by pointer or keyboard; failure count remains visible when collapsed. Long details wrap at 390px.
  • Terminal events clear the live view and existing stored-history readback remains authoritative. A broken transport does not turn an unfinished step into success. Leaving/reopening does not restore this transient detail or accept an old stream.
  • Deferred: persistent step history/recovery, Goal-wide host drill-down and local/SSH switching.

The two retained images serve the existing Workbench usage guide, not a capture archive. The interaction borrows collapsed tool-detail presentation from Open WebUI and LibreChat; detail is plain text, not executable markup.

Actual verification

  • Before: this new packaged browser scenario against the unmodified base build failed waiting for the missing detail button after a real SSE subscription.
  • After: node --test packages/e2e/test/steward-work-steps.spec.mjs passed through the built Workbench and real daemon proxy, with a synthetic loopback Core SSE server. Tested 1280/390px × light/dark, keyboard expansion, detail/exit readback, duplicate and stale updates, terminal history, transport loss, and late events after leaving.
  • Workbench npm run typecheck, npm run build: passed; final Web typecheck/build passed after presentation refinement.
  • Web suite: 868 passed. Committed Manager tests: 12 passed. An additional local differential check compared all 4 supported kinds × 3 states with the existing Dashboard parser: passed.
  • Dashboard tsc --noEmit: passed for the shared DTO extraction.
  • git diff --check: passed.
  • Standard loopx canary premerge --from-git-diff --git-diff-base <base> --format json: 4 direct checks and 19 selected checks, 0 failures; result manual_review_required, 2 holds. Not a merge approval.

Limits and baseline failure

The full Workbench npm test was attempted but did not complete: multiple daemon fake-Codex cases failed creating their default account rollout directory (ENOENT). The exact unmodified base, using the same installed dependencies, independently fails CodexAppServerAdapter: prompt streams steps and text, then ends the turn at the same fixture mkdir. The full failed run was stopped; remaining daemon tests and chained suites are not claimed passed, and other failures are not blanket-attributed to upstream.

No real model, remote SSH source, installed desktop or production configuration was used. Browser Core behavior is synthetic; live provider integration and durable history are not qualified.

Visual evidence

Synthetic packaged Workbench, same tested implementation. Before: only activity labels; after: requested detail with failed host-step status. “Finished” describes the host item, not task acceptance.

Desktop dark:
Desktop live step reader

Narrow light:
Narrow live step reader

Signed-off-by: Yuchao Wang <stevenkid404@gmail.com>

This branch has not been deployed

No deployments
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