Implementation Plan: Workbench UI

Provide an operator/developer “Workbench” UI for inspecting semantic state and operating the system: KGS explorer, manifest inspector, adapter/gateway console, governance console, and simulation cockpit.

Provenance & Traceability

Architectural Decisions (ADRs)

ADR ID Decision Title Impact on This Plan
ADR-033 Kernel-Shell Architecture Workbench is a shell; kernel remains authoritative.
ADR-029 Observability Stack Architecture Workbench consumes telemetry and evidence safely.

Product Requirements (PRDs)

PRD ID Requirement Title Satisfied By (SDS) Acceptance Criteria
PRD-025 Workbench UI SDS-054 Inspect KGS/manifests, view governance evidence, operate safely

Software Design Specifications (SDS)

SDS ID Service/Component Bounded Context SEA-DSL Spec File Implementation Status
SDS-054 Workbench UI Service developer-tooling N/A Draft

Dependencies (Existing Specs This Plan Builds On)


Architecture and Design

Design Principles Applied

Expected Filetree

1
2
3
/
├── docs/specs/**                             # (new) PRD/SDS for workbench UI
└── apps/**/src/gen/**                        # generated UI shell code (if applicable)

Proposed Cycles

Cycle Branch Wave Files Modified Files Created Specs Implemented
C1A cycle/p014-c1a-specs 1 docs/specs/*/prd/*-workbench-ui.md, docs/specs/*/sds/*-workbench-ui.md NEW PRD/SDS
C1B cycle/p014-c1b-read-only-console 1 docs/specs/shared/sds/048-platform-ui-integration.md (if needed) generated apps/**/src/gen/** Read-only dashboards
C1C cycle/p014-c1c-case-console 1 docs/specs/shared/sds/054-workbench-ui-service.md Case Management Console
C2A cycle/p014-c2a-ops-actions 2 docs/specs/shared/sds/031-authority-ownership-boundaries.md generated adapters under **/src/gen/** Guarded operational actions

Task Breakdown

Wave 1 (Parallel)

Wave 2 (Depends on Wave 1)


Validation & Verification

Spec Validation

Implementation Validation

Note: SDS-043 (Risk & Evidence Service) has been superseded by SDS-047 per ADR-031.


Open Questions

  1. Is Workbench a web app inside this repo (apps/*) or an external UI (like Zed/LibreChat)? apps/workbench (internal)
  2. What is the minimal read-only surface to ship first (KGS explorer vs governance console)? KGS explorer
  3. Should simulation cockpit be part of Workbench or a separate shell/service? Part of Workbench

Risks & Mitigation

Risk Likelihood Impact Mitigation Strategy
Workbench becomes a “backdoor” for privileged actions Medium Critical Enforce SDS-031/035; deny-by-default; log all actions to evidence/ledger.
Workbench leaks sensitive semantic/provenance data Medium High Use SDS-030 payload modes and sensitivity hashing; RBAC on read-time.

Rollback Strategy

  1. Ship read-only mode only until authority and audit are fully enforced.

Reference Documents