Remove Epiphany helpers from Codex core

This commit is contained in:
Meta Vens 2026-07-12 01:51:44 +01:00
commit 00a09e251f
9 changed files with 34 additions and 20 deletions

View file

@ -1903,7 +1903,11 @@ app-server's `legacy_epiphany_rollout` quarantine module owns historical parsing
and its latest-surviving/rollback tests; `codex-core` has no parser module or
export and treats the legacy rollout variant as inert. Next remove the two
Epiphany-named `CodexThread` convenience methods by deriving compatibility paths
and reference context at the app-server boundary.
and reference context at the app-server boundary. That cut is complete:
app-server derives runtime-spine paths from generic config snapshots and uses
generic `reference_turn_id`; `CodexThread` exposes no `epiphany_*` async API.
Next audit the broad Epiphany re-export slab in `codex-protocol` and make
compatibility code import native state contracts directly where possible.
## Immediate Re-entry Instruction

View file

@ -299,3 +299,9 @@ where two migration tests prove latest-surviving selection and rollback
rejection. `codex-core` no longer declares or exports an Epiphany rollout
parser. The legacy `RolloutItem` variant remains readable so old files do not
become undecodable, but normal core reconstruction treats it as inert cargo.
`CodexThread` is now generic again at the remaining host seam. Its
Epiphany-named reference-turn and runtime-spine-path helpers are deleted;
app-server derives the compatibility store path from the generic config
snapshot and calls a generic `reference_turn_id` accessor. The core source guard
rejects any `pub async fn epiphany_*` API on `CodexThread`.