Outcome
Route Psyche Build provider launches through Coven as a bounded, compatibility-negotiated product adapter without exposing composer prompts in process arguments, persisted pane launch metadata, or unsupported provider choices.
Control metadata
Current gap
PR #277 replaces direct Codex, Claude, Copilot, and Grok launches with coven run <provider> -- <prompt>. That establishes the desired runtime direction, but the current slice also:
- places the full composer prompt in
thread.launch.args, which is retained in the in-memory/persisted launch model and exposed through process argv;
- makes every provider launch depend on any discovered
coven executable without negotiating a compatible CLI/profile version;
- renders provider options without querying Coven's installed/available adapter capabilities;
- treats PTY creation as launch success even when Coven may immediately reject an unavailable harness or incompatible command;
- removes the direct-provider path without an explicit migration, fallback, or rollback contract;
- includes unrelated Git-inspection test hardening in the same PR.
Required design
Authority boundary
Psyche Build selects a project/worktree and requests a launch. Coven owns runtime/session execution and adapter capability. Neither executable discovery, UI selection, tmux/PTY identity, nor a provider-local session ID proves protocol identity or authority. This issue does not claim Psyche conformance; the immutable protocol profile remains gated by #253 and upstream Psyche publication/ownership decisions.
Acceptance criteria
Non-goals
- Making Psyche Build the runtime authority.
- Reimplementing Coven's adapter registry.
- Treating executable presence as compatibility.
- Keeping prompts in argv merely because the interactive CLI supports positional prompt text.
- Blocking current stabilization, diagnostics, or iOS delivery on this P2 convergence slice.
Evidence
Link the approved design, Coven capability/profile artifact, focused implementation PRs, prompt-leak regression tests, exact-head CI, rollback proof, and a live reference launch with canonical Coven session/receipt identity.
Outcome
Route Psyche Build provider launches through Coven as a bounded, compatibility-negotiated product adapter without exposing composer prompts in process arguments, persisted pane launch metadata, or unsupported provider choices.
Control metadata
OpenCoven/covenOpenCoven/psyche-buildCurrent gap
PR #277 replaces direct Codex, Claude, Copilot, and Grok launches with
coven run <provider> -- <prompt>. That establishes the desired runtime direction, but the current slice also:thread.launch.args, which is retained in the in-memory/persisted launch model and exposed through process argv;covenexecutable without negotiating a compatible CLI/profile version;Required design
spawned,accepted,running, terminal failure, andrecovery_required; PTY creation alone is not execution acceptance.Authority boundary
Psyche Build selects a project/worktree and requests a launch. Coven owns runtime/session execution and adapter capability. Neither executable discovery, UI selection, tmux/PTY identity, nor a provider-local session ID proves protocol identity or authority. This issue does not claim Psyche conformance; the immutable protocol profile remains gated by #253 and upstream Psyche publication/ownership decisions.
Acceptance criteria
thread.launch.args, persisted workspace/session metadata, process listings, diagnostics, or support bundles.Non-goals
Evidence
Link the approved design, Coven capability/profile artifact, focused implementation PRs, prompt-leak regression tests, exact-head CI, rollback proof, and a live reference launch with canonical Coven session/receipt identity.