core/docs/workbench/ui-component-map.md
Shay 7945bffc86
docs(workbench): reconcile living docs with shipped state (#754)
Bring the four living workbench docs up to date with what actually
shipped, and document the TruncatedCell full-content reveal.

- README: route count 14 -> 16; add Lived Life (Evidence) and CORE-Logos
  (Substrate) to the shipped-surfaces table; full Trace tab list; add the
  TruncatedCell reveal to cross-cutting; link the visual-evidence handoff;
  bump status date.
- UI-UX-GUIDE: §12 now reflects the built read-only /logos reader vs the
  unbuilt Studio; §13 moves the cognitive-pipeline visualizer, field/
  versor_condition reader, and identity-continuity items from "absent" to
  "shipped"; new §14 documents the truncated-cell reveal pattern + the
  <a>/<Link> non-nesting boundary; bump date.
- ui-component-map: add TruncatedCell to shared data viewers.
- design-system: add the Truncated Cell Reveal shared-component note.

Docs only; no code change.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 17:46:54 -07:00

5.8 KiB

CORE Workbench v1 — UI Component Map

This document maps conceptual modules to concrete UI components.

The purpose is to keep the implementation coherent and prevent uncontrolled UI sprawl.


Global Layout

+---------------------------------------------------------------+
| TopBar                                                        |
+-------------+-------------------------------------------------+
| SideNav     | MainContent                                     |
|             |                                                 |
|             |                                                 |
+-------------+-------------------------------------------------+
| StatusBar                                                     |
+---------------------------------------------------------------+

TopBar

Responsibilities

  • runtime status
  • backend indicator
  • replay health
  • revision warning badge
  • active session id
  • current branch/revision

Components

  • RuntimeBackendBadge
  • ReplayHealthBadge
  • RevisionWarningBadge
  • SessionIndicator
  • GitRevisionPill

Anti-goals

  • giant metrics wall
  • animated status spam
  • streaming logs

Side Navigation

Sections

  • Chat
  • Replay
  • Proposals
  • Evals
  • Artifacts
  • Runtime

Components

  • NavItem
  • NavSection
  • UnreadIndicator (optional future)

Navigation should feel closer to Linear/Raycast than a cloud admin portal.


Chat Screen

Layout

+------------------------------------------------+
| Conversation                                   |
|                                                |
|  Prompt                                        |
|  Response                                      |
|  Trust badges                                  |
|                                                |
+----------------------+-------------------------+
| Composer             | TraceDrawer             |
+----------------------+-------------------------+

Components

Conversation

  • ConversationTimeline
  • PromptBubble
  • ResponseSurface
  • TrustBadgeRow

Composer

  • PromptInput
  • SubmitButton
  • RuntimeModeIndicator

Trace Drawer

Collapsed by default.

Components:

  • TraceHashCard
  • GroundingCard
  • ReplayDigestCard
  • ProposalReferenceCard
  • AdmissibilityCard
  • RawTraceViewer

Replay Theater

Layout

+--------------------+---------------------------+
| Artifact Selector  | Replay Comparison         |
|                    |                           |
|                    | Original vs Replay        |
|                    |                           |
+--------------------+---------------------------+

Components

  • ArtifactList
  • ReplayComparisonPanel
  • ReplayStatusBadge
  • ReplayDiffViewer
  • ReplayMetadataTable

Important

No fake “thinking” animations.

Replay evidence should feel:

  • precise,
  • quiet,
  • inspectable.

Proposal Queue

Layout

+----------------------+--------------------------+
| Proposal List        | Proposal Detail          |
|                      |                          |
| pending              | replay evidence          |
| accepted             | proposed chain           |
| rejected             | downstream effect        |
|                      | provenance               |
+----------------------+--------------------------+

Components

List

  • ProposalTable
  • ProposalStateBadge
  • ProposalReplayBadge

Detail

  • ProposalSummaryCard
  • ReplayEvidenceCard
  • ProposalChainViewer
  • ProposalProvenanceViewer
  • SuggestedCLIBox

Forbidden

  • accept button
  • reject button
  • workflow trigger

Eval Center

Layout

+--------------------+----------------------------+
| Eval Lane List     | Eval Result Viewer         |
|                    |                            |
| cognition          | metrics                    |
| contemplation      | failures                   |
| learning-arc       | artifacts                  |
+--------------------+----------------------------+

Components

  • EvalLaneCard
  • EvalRunButton
  • EvalMetricGrid
  • EvalFailureViewer
  • EvalArtifactLink

UX Rule

Failures should be easier to inspect than successes.


Artifact Explorer

Layout

+--------------------+----------------------------+
| Artifact Tree      | Artifact Viewer            |
+--------------------+----------------------------+

Components

  • ArtifactTree
  • ArtifactMetadataPanel
  • ArtifactJSONViewer
  • ArtifactTextViewer
  • DigestBadge

Runtime Screen

Components

  • EngineStateCard
  • CheckpointCard
  • RevisionMismatchAlert
  • RebootEventTimeline
  • BackendStatusCard

Shared Components

Badges

  • replay passed/failed
  • grounded
  • pending review
  • refusal
  • mutation state
  • revision warning

Data viewers

  • StableJsonViewer
  • DigestValue
  • MetadataTable
  • Timestamp
  • TruncatedCell — every truncated table/rail cell. Keeps the compact display but attaches one hover/focus-revealed trigger that opens an accessible popover with the full value (selectable) + copy, and "Open full view" → modal for long values. stopPropagation keeps the reveal independent of row selection. Used across proposal queue, eval case ledger, CORE-Logos contents, proposal artifacts, trace propagation edges, and the single-column selection rails. Digests keep DigestBadge (already copy + full-value title).

UX Principle

All shared components should prefer:

  • stable layout,
  • low motion,
  • readable density,
  • deterministic ordering.

Components intentionally deferred

Not allowed in v1:

  • AI avatar system
  • agent marketplace
  • plugin panels
  • node graph builders
  • workflow automation canvas
  • hidden background orchestration
  • animated cognition theater