[P0][Workbench] Shared typed protocol client + canonical state projection #32

Open
opened 2026-09-19 04:27:36 +00:00 by nsaspy · 0 comments
Owner

Parent: #undefined

Build the shared frontend client used by desktop and Android.

Scope

  • consume canonical prolog_agent_ui_v1 snapshot/event/command semantics;
  • typed command/event models;
  • event sequencing, dedupe, replay and reconnect;
  • request/approval/question correlation;
  • canonical session/conversation identity;
  • requested/effective mode + context inspection;
  • run/agent/tool/effect/verification projections;
  • offline/disconnected/error states;
  • deterministic fixture client tests.

Hard rule

No frontend-owned reconstruction from pretty logs and no second runtime state machine.

Acceptance

  • Golden fixtures pass against upstream protocol.
  • Duplicate/out-of-order events fail or reconcile deterministically.
  • Reconnect rebuilds state from canonical snapshot + replay.
  • Same package is consumed by desktop and Android UI.
Parent: #undefined Build the shared frontend client used by desktop and Android. ### Scope - consume canonical `prolog_agent_ui_v1` snapshot/event/command semantics; - typed command/event models; - event sequencing, dedupe, replay and reconnect; - request/approval/question correlation; - canonical session/conversation identity; - requested/effective mode + context inspection; - run/agent/tool/effect/verification projections; - offline/disconnected/error states; - deterministic fixture client tests. ### Hard rule No frontend-owned reconstruction from pretty logs and no second runtime state machine. ### Acceptance - [ ] Golden fixtures pass against upstream protocol. - [ ] Duplicate/out-of-order events fail or reconcile deterministically. - [ ] Reconnect rebuilds state from canonical snapshot + replay. - [ ] Same package is consumed by desktop and Android UI.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nsaspy/agentProlog#32
No description provided.