M0: ACP bridge spike (S2.2) #14
Notifications
Due Date
No due date set.
Blocks
Depends on
#24 M2: Run a Pass (S3.1)
AlexKucera/museion
#28 Sessions: Session lifecycle UI (S2.3)
AlexKucera/museion
#13 M0: Profile provisioning & skill seeding (S2.1)
AlexKucera/museion
Reference: AlexKucera/museion#14
Reference in new issue
Block a user
Destination
Every decision the ACP bridge spike needs is made — transport framing, lifecycle, rendering, fix-card strategy, credentials — so a build session implements the acceptance criteria below without deciding anything.
Notes
Museion/AGENTS.md(engine-gate & provisioning seams),hermes-acp-clientskill (spawn/gate/capabilities; adapter 0.20.6 verified 2026-09-05).connection.py/stdio.pyreadline). stdout is the wire; stderr is engine logs, never parsed.EngineGateModel.currentBinaryPath/EngineProbemachinery); no re-probe.initialize()returnsagent_info.version; compare withstate.json'sengineVersion. Mismatch = one os_log line + both versions visible in the pane; never blocks (matches state.json's advisory posture).session/updatetool_call; the Swift client parses and renders it as a card (data, not prose). Extends the fake-binary Process pattern from EngineGateTests. No live provoked tool call; no museion-tools stub at M0 (that is #23 / M2).~) — no Museion Home or Piece folders until M1; neutral for a resident mentor with no Piece context.agent_message_chunk(and thought) render as text; tool_call / fix-card renders as a card; every other update type a collapsible raw-JSON row. Freeform input; multiple prompts per session.session/cancel.session/request_permissionhandler at M0 — a conversational turn asks nothing dangerous; the adapter always offers a deny option if one ever arrives.initialize,session/new,session/prompt,session/cancelout;session/updatenotifications in (ponytail: no Swift SDK exists; revisit if one appears).Decisions so far
readywith zero config changes. Serving: Z.AI / GLM glm-5.3 via inherited shell-env key; profile config untouched. Live-turn AC unblocked.Not yet specified
<empty — the fog is clear; the way to the destination is decided>
Out of scope
What to build
The app spawns the Engine as a child process (hermes acp -p museion, stdio JSON-RPC) through a hand-rolled thin Swift ACP client — initialize, session new/prompt/update, cancel. It opens a Session, sends a prompt, and renders the streamed reply live in a debug pane. A fix-card-shaped structured message round-trips (received and displayed as data, not prose). App quit tears down the child; a child crash surfaces a restart prompt, never data loss. (PRD S2.2, M0; ponytail: hand-rolled thin client until a Swift SDK appears)
Acceptance criteria
[ ] Child spawned under the museion profile; initialize handshake completes against the actually-installed Hermes version
[ ] Session opens; prompt sent; streamed updates render live in a debug pane
[ ] A fix-card-shaped message round-trips and renders as structured data
[ ] Quit tears down the child cleanly; crash surfaces a restart prompt; no data loss
[ ] Engine version verified against the recorded one from the gate
Blocked by
• #13 — M0: Profile provisioning & skill seeding (S2.1)
[Generated by AI]