Record provider transport boundary cut

This commit is contained in:
Meta Vens 2026-08-24 13:41:54 +02:00
commit f532c3ad00
5 changed files with 62 additions and 10 deletions

View file

@ -646,6 +646,18 @@ Codex-derived code remains only where an OpenAI provider needs its earned
authentication or transport. Neither owns Epiphany Mind, scheduler, route, or
interface authority.
Exact `a6cf9383` makes that boundary physical in the package graph. The pure
`epiphany-openai-runtime` library opens the exact model execution, derives the
provider request, normalizes typed provider events, emits governed tool
intents, and records terminal physiology/audit without depending on a Codex
crate. One shared source module at the release-bundle edge owns concrete
Codex/OpenRouter authentication, credential reading, and network calls for the
model and Persona entrypoints. Persona keeps its three-stage family executor;
the service owns its concrete runner. Workers have one governed tool-capable
route, not a tool route plus a parallel no-tools opinion. The remaining broad
`codex-login` graph is therefore isolated supply-chain liability, not hidden
runtime-library anatomy.
## Canonical authority map
| Owner | Inputs | Outputs | Invariant |
@ -657,7 +669,7 @@ interface authority.
| `current_work.rs` | keyed Mind view and exact runtime request/job/result/decision families | pure family scheduling and continuation projections | Events, timestamps, role lanes, and thread provenance cannot create or suppress work. |
| coordinator policy/status | keyed Mind presence, exact current work, and the accepted continuity decision | one action/reason pair plus operator-readable role lanes | Coordinator presence is derived; no mutable coordinator head, pressure tableau, or duplicate policy wrapper exists. |
| runtime worker attempt owner | immutable launch, exact process claim, typed result, job result, archival evidence | one terminal attempt authority | Scheduling, process liveness, and semantic admission remain distinct authorities. |
| model-provider boundary | sealed native model request plus explicit provider configuration and injected credential | exact internally derived provider request and transport result | Provider selection cannot author a second request truth or admit Mind state. |
| model-provider boundary | sealed native model request plus explicit provider configuration and injected credential | exact internally derived provider request and transport result | The pure runtime owns request/event admission; only release entrypoints own auth/network transport. Provider selection cannot author a second request truth or admit Mind state. |
| OpenAI Responses schema projector | full native typed output schema | one provider-legal strict generation schema | Provider formatting preserves useful supported constraints but never replaces native decoding or Mind admission. |
| model-pass terminal owner | sealed reasoning basis/context and typed failure class | exact transport closure plus `EpiphanyModelPassFailure` and terminal session/job result in one batch CAS | The caller cannot nominate a job/session; the context-derived binding closes role, reorient, and Persona failures without granting generic transport results decision authority. |
| Substrate Gate | exact worker/job authority and requested operation | scoped grant or refusal | Access permission does not admit Mind state. |

View file

@ -224,7 +224,7 @@ Delete or demote:
Keep the five-day shakedown, Ox17 deployment, and Model Atlas operational Gate
1 paused. Continue the source-subtraction and test-authority audit from exact
`ce6bff12`. The current sequence has deleted the semantic-memory/workspace-coverage
`a6cf9383`. The current sequence has deleted the semantic-memory/workspace-coverage
projection system, its local daemon supervisor, and the surviving generic
RepoModel profile, impossible lifecycle, producerless receipt/summary, and
decorative scoring axes. Modeling consumes typed Body and keyed RepoModel state
@ -235,6 +235,14 @@ Eve/CultMesh capabilities, and a future Rider daemon will own Rider. Do not
admit a fresh package until the remaining production surfaces and tests have
earned their authority under the same audit.
The immediate comparison is now explicit. The release-edge `codex-login`
dependency still imports configuration, app-server protocol, telemetry,
Starlark, image, and clipboard anatomy; a pure runtime consequence test still
costs 1.869 GiB because `epiphany-core` remains broad. Audit those as owned
behavior, not as cleanup chores. A narrower OpenAI auth/refresh boundary must
preserve exact provider capability and refresh-token authority; a core split
must expose an existing semantic owner rather than invent a package taxonomy.
Model Atlas has component proofs but no live inter-swarm collaboration run.
Preserve its publication, trust, transport, projection, Soul verification, Self
admission, wake, brake, and Eve path until Gate 1 exercises the complete crossing.
@ -451,6 +459,18 @@ Cut in this order:
net source lines. One focused OpenAI test generated 12.713 GiB across 19,134
files, so its provider/runtime dependency boundary is the next source-shape
audit. Atlas remains protected for its first live inter-swarm run.
Exact `a6cf9383` resolves that boundary: concrete Codex/OpenRouter auth,
credential reading, and transport move to one release-entrypoint source
module, while `epiphany-openai-runtime` retains pure exact-request opening,
event admission, tool intent emission, and durable audit with no Codex
dependency. Persona's concrete runner moves to the Persona service. The
duplicate no-tools worker route, DTOs, CLI mode, and coordinator switch are
deleted; one governed tool-capable path remains. Provider strict-shape tests
move to the release owner. The cut removes 176 net source lines with no new
target, process, schema, or epoch. The same runtime consequence proof now
uses 1.869 GiB/2,942 files instead of 12.713 GiB/19,134. The release edge
still reaches 10.473 GiB/16,483 files through `codex-login`, which is the
next provider-edge liability. Atlas remains untouched and unaccepted.
3. **Baseline transaction landed at `9f7b164f`; operator routing at `587c56d2`; Resident continuation and keyed acceptance at `478fb923`:** baseline Body Modeling is now thread-free from unresolved Body obligation through Launch/Wait/Review and exact Mind admission. Resident and operator callers consume the same family projection and acceptance owner. Thread ID remains immutable pass provenance only.
4. **Proposal Modeling landed at `d1b031cb`:** its immutable request, worker launch, runtime attempt/result, and `Modeling.proposal_frontier` commit now own Launch/Wait/Review and admission. The aggregate launcher refuses proposal cargo; the old selector, validator, context builder, and generic-launch hint are deleted. Body and Proposal share only the exact-envelope launch CAS invariant, not a mutable family registry. Exact `b0a4978d` deletes the later duplicate launch-binding document entirely; the worker launch is the sole launch owner.
5. **Continuation vocabulary landed at `e404c105` and was named truthfully at `fc5d1a4a`:** concrete pass families share one pure `EpiphanyAgentPassContinuationAction`; their semantic requests, projections, validators, and admission owners remain separate.

View file

@ -2,9 +2,9 @@
Updated: 2026-08-24
Branch: `codex/epiphany-shakedown-live`
Latest committed implementation cut: `ce6bff12`
Current pass: execution bindings reduced to identity edges; Ox17 and Atlas Gate
1 remain paused
Latest committed implementation cut: `a6cf9383`
Current pass: Codex transport quarantined at release entrypoints; Ox17 and
Atlas Gate 1 remain paused
## Orientation
@ -15,7 +15,7 @@ Idunn's Yggdrasil CI/CD task with local compiler work, or wake resident
cognition without an explicit operator resumption.
Epiphany is a supervised engineering alpha. Exact source `d2ca6630` remains the
production symlink body and is inactive. Exact `ce6bff12` is the current
production symlink body and is inactive. Exact `a6cf9383` is the current
build-affecting source. Historical live proofs remain evidence; they do not
authorize the next capstone or Gate 1.
@ -45,6 +45,25 @@ authorize the next capstone or Gate 1.
## What just landed
Exact `a6cf9383` quarantines concrete Codex/OpenRouter authentication,
credential reading, and network transport at the two release entrypoints that
perform inference. `epiphany-openai-runtime` now owns only exact native-request
lowering, model-execution opening, typed provider-event admission, tool intent
emission, terminal physiology, and durable audit. Its normal dependency graph
contains no Codex crate. Persona retains its three-stage/replay owner while the
concrete runner moves into the Persona service. The worker runtime has one
governed tool-capable route; the duplicate no-tools route, DTOs, CLI mode, and
coordinator switch are gone. Provider strict-shape proofs now live with the
release-owned lowering edge. The cut removes 176 net source lines without a
new crate, executable, process, schema, or epoch. Focused runtime, model,
Persona, and coordinator checks pass. The pure runtime consequence-test root
falls from 12.713 GiB/19,134 files to 1.869 GiB/2,942 files. The release-edge
test still reaches 10.473 GiB/16,483 files because `codex-login` imports config,
app-server protocol, telemetry, Starlark, image, and clipboard anatomy; that is
the next named provider-edge liability. Cleanup removed 10.5 GiB and restored
the exact 1,776,640-byte state inspector. Atlas is untouched; no live
inter-swarm collaboration has run.
Exact `ce6bff12` makes execution bindings identity edges instead of miniature
copies of their owners. A model binding carries only request, session, and job
identity; provider, source worker, and reasoning basis are loaded from the