Add typed Modeling request generations

This commit is contained in:
Meta Vens 2026-07-12 11:39:11 +01:00
commit abce2aaf0a
9 changed files with 629 additions and 43 deletions

View file

@ -152,6 +152,19 @@ artifacts, and publishes an
process identity. Self receives that receipt ID as routing evidence only. Live
item `idunn-owned-modeling` crossed this boundary and reached the Bifrost gate.
The current Modeling request is owned by
`epiphany.modeling.repo_work_route.v0`, not the filesystem closure projection.
Generation zero lands atomically with its Soul-backed request. A later
generation can advance only through `advance_repo_work_modeling_route`: the
current finding must exist and be non-passing, the new request must preserve
item/Soul/commit/paths, and a Mind acceptance must grant only
`repoWork.modelingRoute`. Request, Mind review, and stable route pointer commit
in one CultCache batch; old request/finding documents remain immutable.
`epiphany-work revise-modeling --review-ref ... --rationale ...` is the explicit
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.
The
accepted interpretation is persisted as
`epiphany.modeling.repo_work_finding.v0`; it references the passing Soul verdict,

View file

@ -204,9 +204,9 @@ Delete or demote:
## Immediate Next Action
Design and implement a typed Mind-reviewed request-generation pointer for
non-passing immutable repo-work Modeling findings. Idunn now owns detached
worker launch through its existing lifecycle receipt mouth. Preserve the old
request/finding as immutable evidence, make one typed owner select the current
generation, and keep filesystem closure artifacts and Self from becoming
mutable routing authorities.
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.

View file

@ -2097,6 +2097,24 @@ admission, and overview gate `awaiting-publication` with
`bifrost-publication-missing`. Next design the typed Mind-reviewed generation
pointer for a non-passing immutable finding; do not mutate the old request or
let a filesystem close artifact become the new routing authority.
That typed owner is now implemented. `RepoWorkModelingRoute` is registered in
runtime CultCache/CultNet. Generation zero is atomically committed with the
Soul-backed request. `revise-modeling` requires explicit review reference and
rationale, reads the current non-passing finding, creates a Mind acceptance
whose only allowed effect is `repoWork.modelingRoute`, and atomically commits
the next request, review, and stable route pointer. The transition preserves
item, Soul receipt, commit, and changed paths; passing findings cannot retry;
stale repeat advancement is refused; prior requests/findings remain readable.
Scheduler job IDs are generation-scoped and scheduler reads the stable typed
route rather than `work-close-*.json` request cargo. Authority tests pass 4/4,
core library 248/248, and model runtime 8/8. Authenticated live item
`typed-modeling-route-v2` proved generation zero through Idunn, model-authored
finding, Mind/map admission, and closure. The preceding
`typed-modeling-route` probe correctly failed because the already-built model
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.
## Immediate Re-entry Instruction