Preflight Modeling runtime schemas
This commit is contained in:
parent
abce2aaf0a
commit
e76676642b
13 changed files with 284 additions and 12 deletions
|
|
@ -165,6 +165,16 @@ review mouth. Scheduler job IDs include the route generation and derive the
|
|||
stable route key from the item, so neither close JSON nor an old completed job
|
||||
can select current work.
|
||||
|
||||
Before any Modeling runtime job is opened, the exact consumer executable runs
|
||||
`preflight` against the actual runtime store. Its own schema registry must read
|
||||
the store and advertise the required route, request, finding, and worker-launch
|
||||
types. Preflight hashes both executable bytes and the ordered supported schema
|
||||
catalog. Idunn refuses a typed launch without the passing schema flag,
|
||||
executable SHA-256, schema-catalog SHA-256, witness ID, and required document
|
||||
list; all are persisted in the daemon service lifecycle receipt. The preflight
|
||||
ID is correctly a witness, not a fake independent receipt. Preflight precedes
|
||||
`open_runtime_spine_heartbeat_job`, so stale consumers leave no queued corpse.
|
||||
|
||||
The
|
||||
accepted interpretation is persisted as
|
||||
`epiphany.modeling.repo_work_finding.v0`; it references the passing Soul verdict,
|
||||
|
|
|
|||
|
|
@ -204,9 +204,8 @@ Delete or demote:
|
|||
|
||||
## Immediate Next Action
|
||||
|
||||
Expose the launched worker executable's build/schema fingerprint in Idunn's
|
||||
lifecycle receipt and preflight required runtime document registration before
|
||||
launch. A stale `epiphany-openai-runtime` binary already proved it can otherwise
|
||||
impersonate a Modeling failure after the producer adds a schema. Keep the new
|
||||
typed route owner and reviewed generation transition intact; do not repair
|
||||
stale consumers by mutating requests or findings.
|
||||
Add a native end-to-end generation-one repo-work Modeling smoke. Begin with a
|
||||
non-passing runtime-authored generation-zero finding, exercise the explicit
|
||||
Mind-reviewed `revise-modeling` mouth, launch generation one through Idunn and
|
||||
runtime-schema preflight, admit only the generation-one finding, and prove
|
||||
generation zero cannot close or regain current authority.
|
||||
|
|
|
|||
|
|
@ -2115,6 +2115,21 @@ runtime lacked the new route schema; rebuilding the consumer made v2 pass.
|
|||
Next expose executable build/schema fingerprint in the Idunn lifecycle receipt
|
||||
and refuse launch before work when the consumer cannot register required typed
|
||||
documents.
|
||||
That preflight is now live. `epiphany-openai-runtime preflight` reads the actual
|
||||
store with the consumer's own registry, requires named document types, and
|
||||
hashes both the executable and ordered supported schema catalog. An impossible
|
||||
required type returned exit 1. The scheduler runs preflight before opening a
|
||||
runtime job. Idunn's typed lifecycle receipt persists `executableSha256`,
|
||||
`schemaCatalogSha256`, `preflightWitnessId`, `requiredDocumentTypes`, and
|
||||
`schemaPreflightPassed`; the supervisor refuses incomplete typed launch cargo.
|
||||
Authenticated live item `runtime-preflight-witness` carried executable SHA-256
|
||||
`dd36334e993c64290a0e3ffcf76965fdd2ac1819e84fb37e4be65735ce47f64b`,
|
||||
returned a passing runtime finding, and closed through Mind/map admission.
|
||||
Authority tests pass 4/4, core library 248/248, runtime 8/8, and all core bins
|
||||
type-check. Next add a native end-to-end generation-one smoke that begins with
|
||||
a non-passing runtime finding, exercises `revise-modeling`, launches `g1`
|
||||
through Idunn/preflight, and proves generation zero cannot close or regain
|
||||
current authority.
|
||||
|
||||
## Immediate Re-entry Instruction
|
||||
|
||||
|
|
|
|||
Reference in a new issue