Remove legacy Epiphany state from Codex protocol
This commit is contained in:
parent
d6ebed2c01
commit
febef826c0
20 changed files with 147 additions and 828 deletions
|
|
@ -1931,6 +1931,13 @@ listing, state extraction, and agent control. Next remove the named variant
|
|||
entirely by making app-server's migration quarantine read raw rollout lines,
|
||||
recognize only `type=epiphany_state`, and strictly decode ordinary Codex
|
||||
lifecycle items needed for rollback-aware migration.
|
||||
That deletion is complete: Codex `RolloutItem` and every core consumer have no
|
||||
Epiphany legacy variant. App-server migration alone scans raw JSONL for the
|
||||
exact old tag, validates typed payloads fail-closed, and combines them with
|
||||
strictly decoded lifecycle items for rollback-aware recovery. Four migration
|
||||
tests pass; obsolete core fixtures and its state-model dev dependency are gone.
|
||||
Next audit app-server `epiphany_automation` and route dispatch for surviving
|
||||
Codex-owned coordinator or scheduler decisions.
|
||||
|
||||
## Immediate Re-entry Instruction
|
||||
|
||||
|
|
|
|||
|
|
@ -342,3 +342,15 @@ The deletion path is narrower: app-server's migration quarantine should read
|
|||
raw rollout lines, recognize only `type=epiphany_state`, decode its payload,
|
||||
and combine those migration records with strictly decoded Codex lifecycle items.
|
||||
Then `LegacyEpiphanyState` can leave Codex protocol and all core consumers.
|
||||
|
||||
That final deletion is complete. `RolloutItem` has no Epiphany variant, and
|
||||
protocol/core/rollout/state/app-server-protocol contain no legacy-state match.
|
||||
App-server's migration quarantine reads raw JSONL, recognizes only the exact
|
||||
historical `type=epiphany_state` tag, validates its payload into native
|
||||
`EpiphanyStateItem`, and strictly decodes ordinary `RolloutLine` items needed
|
||||
for turn and rollback semantics. Unknown ordinary lines remain parse failures
|
||||
for the normal Codex loader; the migration scan ignores them without teaching
|
||||
Codex global tolerance. Four quarantine tests prove raw-tag recognition,
|
||||
latest-surviving selection, rollback rejection, and malformed-payload refusal.
|
||||
Obsolete core legacy fixtures and the final core state-model dev dependency are
|
||||
deleted.
|
||||
|
|
|
|||
Reference in a new issue