Separate Soul verification from repo closure

This commit is contained in:
Meta Vens 2026-07-12 10:44:06 +01:00
commit 88f5dce697
7 changed files with 161 additions and 32 deletions

View file

@ -117,6 +117,15 @@ request and matches its verified consequence. The current close command writes
both phase documents from explicit CLI cargo; scheduler launch and asynchronous
result collection remain the next cut.
Soul verification is now an explicit phase of the shared closure pipeline.
`epiphany-work verify` and the first post-execution scheduler pulse run only
that phase: deterministic verification, immutable Soul verdict, and immutable
Self-to-Modeling request. Modeling absence or a non-passing Modeling verdict can
no longer make Soul report failure. The partial closure artifact is
`status=awaiting-modeling`; overview and later scheduler pulses preserve that
gate rather than mistaking file existence for Mind admission. The scheduler
source contains neither the Modeling finding writer nor map admission.
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
Split Soul verification from repo-work closure. Let Self emit the existing
typed, immutable `epiphany.modeling.repo_work_request.v0`, route it to the
Modeling daemon, and await the matching finding before the existing Mind/map
admission runs. Prove the fresh-repository path reaches Bifrost while Self
cannot synthesize Modeling evidence. The request/finding persistence boundary
and unsolicited-finding refusal already exist; do not add a parallel route.
Route the persisted `epiphany.modeling.repo_work_request.v0` through the real
Modeling worker/daemon and consume its matching typed finding before existing
Mind/map admission. Soul verification is already a separate scheduler phase;
do not rejoin it to Modeling or introduce CLI cargo as scheduler truth. Prove a
fresh-repository scheduler timeline reaches Bifrost while Self cannot author
Modeling evidence.

View file

@ -2047,6 +2047,20 @@ tests prove unsolicited findings are refused; all 248 library tests pass. The
close command still creates both documents from explicit CLI cargo, so the next
cut is to split Soul verification from close and let the scheduler route this
request through the Modeling daemon before immutable closure admission.
Soul is now structurally separated from that later admission. The shared
closure pipeline has a `SoulOnly` phase exposed as `epiphany-work verify`; the
first scheduler pulse after Hands execution runs it, persists a passing or
failing Soul verdict, emits the typed Modeling request only after a pass, and
stops. Modeling is no longer part of Soul's pass/fail equation. A non-passing
Modeling verdict leaves `work-close-<item>.json` at `awaiting-modeling` with
Soul still `passed`; overview reports the same gate instead of treating any
close-shaped artifact as publication-ready. Disposable smoke
`.epiphany-smoke/closure-model-gate-20260712-094208` proved a passing Modeling
result closes and a `needs-work` result remains at the Modeling gate with
family/path checks passed and no private-state exposure. Authority tests pass
3/3 and all 248 library tests pass. Next route the persisted request through a
real Modeling worker/daemon and consume its typed result without CLI-supplied
finding cargo.
## Immediate Re-entry Instruction