Move response projection out of app server

This commit is contained in:
Meta Vens 2026-05-20 13:50:45 +01:00
commit 4dcfa90c21
6 changed files with 281 additions and 252 deletions

Binary file not shown.

View file

@ -393,6 +393,11 @@ current_status:
(`EpiphanyReorientLaunchRequestInput` -> `EpiphanyJobLaunchRequest`);
bridge supplies only the prompt instruction and retained compatibility
binding/owner constants before performing host side effects.
Freshness/job/reorient response projection moved out of vendored app-server
into `epiphany-codex-bridge::protocol_edge`: app-server gathers host facts,
invokes Epiphany bridge services, and sends Codex JSON-RPC responses, while
the bridge owns the enum/DTO conversion from typed Epiphany surfaces into
`ThreadEpiphany*` edge payloads.
The bridge still depends on vendored Codex for app-server protocol DTOs and
absolute path validation, so the purification is not done.
next_action: Continue Codex starvation and CultNet liberation by cutting bridge-internal response/projection authority. Prioritize the next coordinator/view seam that still composes policy-shaped facts instead of merely loading host facts and projecting core surfaces; keep MCP/OpenAI JSON only at their true protocol/text edges. Do not add compatibility adapters unless they protect a named ownership invariant.