Skip to content

Unified single-screen workspace replacing four routed views (DEC-011) - #2

Merged
AG9898 merged 1 commit into
mainfrom
unified-workspace-dec-011
Jul 9, 2026
Merged

Unified single-screen workspace replacing four routed views (DEC-011)#2
AG9898 merged 1 commit into
mainfrom
unified-workspace-dec-011

Conversation

@AG9898

@AG9898 AG9898 commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Restructure the frontend from four keyboard-routed views (Builder / Live Run / Replay / Library) into one workspace: an always-visible workflow sidebar (library + run history), a shared top bar (editable name, Save/Validate, persisted workspace root, one-click Run), and a single stage showing either the design surface or the run surface.

Live monitoring and replay are now the same surface: RunPanel derives all state from the event log at an index — following the live tail or scrubbing back through the same timeline. Fixes several disconnects: sidebar selection actually loads the workflow onto the canvas, runs opened mid-flight backfill their persisted events (deduped against the stream), replay renders the real graph instead of a text list, and the token-usage derivation is shared instead of duplicated.

  • delete BuilderView/LibraryView/LiveRunView/ReplayView
  • add WorkflowSidebar, DesignSurface, RunPanel, deriveTokenPcts
  • rewrite App.tsx as the workspace shell; add ipc.validateWorkflow
  • new layout CSS incl. previously missing toolbar-btn/scrubber styles
  • replace view test suites (174 vitest tests green, tsc clean)
  • port all six E2E specs to the new selectors (syntax-checked only)
  • docs: ARCHITECTURE §10, DESIGN_SPEC §4 banner, DECISIONS DEC-011 (includes remaining-work checklist), AGENTS.md §7 + discovery entry

Restructure the frontend from four keyboard-routed views (Builder /
Live Run / Replay / Library) into one workspace: an always-visible
workflow sidebar (library + run history), a shared top bar (editable
name, Save/Validate, persisted workspace root, one-click Run), and a
single stage showing either the design surface or the run surface.

Live monitoring and replay are now the same surface: RunPanel derives
all state from the event log at an index — following the live tail or
scrubbing back through the same timeline. Fixes several disconnects:
sidebar selection actually loads the workflow onto the canvas, runs
opened mid-flight backfill their persisted events (deduped against the
stream), replay renders the real graph instead of a text list, and the
token-usage derivation is shared instead of duplicated.

- delete BuilderView/LibraryView/LiveRunView/ReplayView
- add WorkflowSidebar, DesignSurface, RunPanel, deriveTokenPcts
- rewrite App.tsx as the workspace shell; add ipc.validateWorkflow
- new layout CSS incl. previously missing toolbar-btn/scrubber styles
- replace view test suites (174 vitest tests green, tsc clean)
- port all six E2E specs to the new selectors (syntax-checked only)
- docs: ARCHITECTURE §10, DESIGN_SPEC §4 banner, DECISIONS DEC-011
  (includes remaining-work checklist), AGENTS.md §7 + discovery entry

Co-Authored-By: Claude Fable 5 <[email protected]>
@AG9898
AG9898 merged commit 7649db3 into main Jul 9, 2026
2 of 3 checks passed
@AG9898
AG9898 deleted the unified-workspace-dec-011 branch July 9, 2026 22:35
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