Remove Epiphany app-server compatibility surface

This commit is contained in:
Meta Vens 2026-07-12 07:30:03 +01:00
commit 5f6f2441c8
174 changed files with 8747 additions and 48296 deletions

View file

@ -7,20 +7,9 @@ handler itself do not count as clients.
## Living explicit compatibility clients
| Route | Executable consumer | Compatibility purpose |
|---|---|---|
| `view` | phase-6 scene/reorient/pressure/planning smokes; `epiphany-mvp-status --codex` | old aggregate read projection |
| `roleResult` | `epiphany-mvp-status --codex` | old worker-result read projection |
| `freshness` | phase-6 freshness smoke | old freshness projection |
| `context` | phase-6 context smoke | old context projection |
| `graphQuery` | phase-6 graph-query smoke | old graph projection |
| `reorientResult` | `epiphany-mvp-status --codex` | old reorientation-result projection |
| `jobInterrupt` | `epiphany-mvp-status --codex` | explicit delegated interruption fallback |
| `update` | phase-6 scene/context/freshness/graph/reorient/planning smokes | explicit delegated state-update fallback |
These are retained only while the named compatibility binaries remain. They do
not justify route-local policy, implicit triggers, Codex state ownership, or new
clients.
None. The phase-6 app-server smokes and `epiphany-mvp-status --codex` fallback
were the final clients and are deleted. MVP status and interruption now use the
native coordinator/state stores exclusively.
## Removed unconsumed routes

View file

@ -1963,6 +1963,14 @@ and TypeScript fixtures were regenerated; their two fixture-equivalence tests,
protocol/bridge compilation, and full app-server compilation pass. Next map the
real invariant behind each phase-6 smoke and `epiphany-mvp-status --codex`, then
migrate or retire those clients rather than preserving JSON-RPC for its own tests.
That cut is complete. All phase-6 app-server smokes plus the app-server MVP
status smoke are deleted; MVP status and interruption are native-only. The final
eight request methods, two notifications, dispatch/handlers, `ThreadEpiphany*`
DTO slab, generated exports, Codex thread-state projection, and legacy rollout
migration are gone. Schema fixture equivalence, full app-server compilation,
and native status interruption tests pass. `epiphany-codex-bridge` now contains
only the file-watcher invalidation manager; move that host-owned organ into
app-server and delete the bridge crate next.
## Immediate Re-entry Instruction

View file

@ -391,3 +391,13 @@ hierarchy and retrieval result/index projection shapes. Bridge-only distill,
propose, job-document, index, and retrieve conversions plus the entire
`retrieve_protocol` module are deleted. Regenerated JSON/TypeScript fixtures
contain none of those types; their in-memory fixture comparison passes.
The final eight-route compatibility surface is gone too. Seven phase-6
app-server smoke binaries and the app-server-backed MVP status smoke were
deleted; `epiphany-mvp-status` has one native status/interruption path and no
Codex transport client. App-server request/notification registrations,
dispatch, route modules, all `ThreadEpiphany*` DTOs, generated exports, generic
Codex `Thread.epiphanyState`, and legacy rollout-state migration are deleted.
`codex-app-server-protocol` no longer depends on `epiphany-state-model`.
`epiphany-codex-bridge` has collapsed to its only living consumer surface: the
Codex-hosted file-watcher invalidation manager.