Record provider transport boundary cut
This commit is contained in:
parent
a6cf9383d8
commit
f532c3ad00
5 changed files with 62 additions and 10 deletions
|
|
@ -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. |
|
||||
|
|
|
|||
Reference in a new issue