Split retrieval protocol projection

This commit is contained in:
Meta Vens 2026-05-20 15:08:06 +01:00
commit d32136531a
8 changed files with 95 additions and 83 deletions

Binary file not shown.

View file

@ -439,6 +439,10 @@ current_status:
Scene derivation follows that boundary too: `scene.rs` now returns the
typed core `EpiphanyScene`, and `scene_protocol.rs` owns projection into
`ThreadEpiphanyScene` plus scene-action DTOs for view responses.
Retrieval follows the boundary too: `retrieve.rs` executes normalization,
indexing, state lookup, and typed retrieval responses; `retrieve_protocol.rs`
owns Codex JSON-RPC retrieve/index response projection and absolute-path DTO
validation.
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.