Record authenticated Body snapshot cut
This commit is contained in:
parent
79292fe36a
commit
62963631dc
4 changed files with 26 additions and 11 deletions
|
|
@ -1100,12 +1100,20 @@ test that never exercised continuation, a private Unix credential-mode test
|
|||
duplicated by file-level permission proof, and a same-call cache equality.
|
||||
Release construction remains 15/15, coordinator 5/5, and core checks cleanly.
|
||||
|
||||
The next test-liability pass audits `repository_body_observer` by the external
|
||||
Body claim each of its 23 tests protects. Authentication, read-only basis
|
||||
loading, no repository-object writes, hostile Git/config refusal, raw-byte
|
||||
visibility, binding immutability, stale-head conflict, tamper refusal, and
|
||||
generation reuse remain invariants. Private-helper spelling and duplicate
|
||||
fixture proof do not.
|
||||
Exact `79292fe3` replaces Repository Body's repeated validate/reopen/reconstruct
|
||||
flows with one authenticated snapshot loader over the runtime route, Body
|
||||
binding, historical observation, and manifest. Basis validation, Mind
|
||||
admission, Modeling projection, and manifest consumers now use that single
|
||||
snapshot. The private scanner-session spelling test and fixture-wide route
|
||||
assertions are gone; public Body behavior remains 22/22, reasoning context 8/8,
|
||||
RepoModel 5/5, Atlas runtime 2/2, and affected current-work proofs pass.
|
||||
|
||||
The next cut audits `epiphany-core/src/runtime_spine.rs`. At 11,678 lines it is
|
||||
the largest remaining central liability. Inventory every public surface by
|
||||
non-test caller, persistent document, and external consequence; delete
|
||||
callerless readers/writers/DTOs and collapse repeated store paths while
|
||||
preserving immutable identity, exact job/session terminality, decision audit,
|
||||
conflict/replay, and retention that prevents resurrection.
|
||||
|
||||
## Competitive Eyes/Imagination pass
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -45,7 +45,7 @@ invariants:
|
|||
current_status:
|
||||
decision_audit_cut: Exact f8412b69 adds a read-only context-ID audit projection over the sealed basis, decoded reasoning projection, exact terminal native/provider requests, governed tool observations, structured terminal records, and exact Mind commit receipts. Exact 5f66d6c9 adds deterministic read-only discovery of fully auditable terminal context IDs through the existing packaged model runtime; sealed but nonterminal contexts remain physiology and are omitted. Worker archive v1 retains the typed role and generic result family; runtime schema v2 refuses the prior digest-only writable archive shape. Yggdrasil CI then falsified five portable-test assumptions and accepted their source repairs through exact ebc0ffe4. Its sealed Linux package predates the operator-control-plane deletion and is now historical package evidence, not a deployable current release.
|
||||
provider_schema_cut: Exact 553f79d9 makes one OpenAI Responses dialect compiler own every role and Persona output schema. Provider-illegal conditional and parent-relative structure is removed, literal-only schemas receive explicit types, supported standard-model constraints remain generation guidance, and UUID formats lower to exact patterns. Full native decoding and family Mind admission remain final authority. Preserved packaged falsifications at 55fb4cf8, edd664db, and 1e01c339 prove refusal before inference, typed failure without Mind writes, successful concurrent Persona cognition, and transcript-free failure audit.
|
||||
repo_model_body_cut: Exact a8f3c1f0 makes the authenticated runtime Body route own initial keyed RepoModel binding. Bootstrap derives the digest from the admitted RepositoryBodyObservationBasis, initialization reauthenticates runtime, swarm, workspace, and Body binding before any write, and a hostile seed refuses with the whole store byte-identical. The exact 553f79d9 package exposed this root after concurrent Persona and terminal Modeling cognition; its result is not transplanted.
|
||||
repo_model_body_cut: Exact a8f3c1f0 makes the authenticated runtime Body route own initial keyed RepoModel binding. Bootstrap derives the digest from the admitted RepositoryBodyObservationBasis, initialization reauthenticates runtime, swarm, workspace, and Body binding before any write, and a hostile seed refuses with the whole store byte-identical. The exact 553f79d9 package exposed this root after concurrent Persona and terminal Modeling cognition; its result is not transplanted. Exact 79292fe3 makes one authenticated Repository Body snapshot load own runtime route, Body binding, historical observation, and manifest validation. Basis validation, Mind admission, Modeling projection, and manifest consumers no longer validate, reopen, and reconstruct the same head against a second store read.
|
||||
semantic_cache_cut: Exact 856648de deletes the unused semantic-memory and workspace-coverage projection subsystem rather than preserving a second derived model of Mind. Four binaries, the local daemon supervisor, Qdrant/Ollama/Postgres configuration, projector policy/lifecycle/heartbeat/recovery state, semantic query/context packets, aggregate model revision/hash cargo, workspace file-cache reader, and Persona's always-empty semantic-recall fields are gone. No agent request builder or sealed reasoning projection consumed this cache. Modeling now reads the exact typed Body and keyed RepoModel projection directly; future retrieval evidence must enter through an earned typed provider receipt. Idunn remains the sole deployment and daemon-survival authority. Core 165/165, OpenAI runtime 25/25, and release construction 19/19 pass.
|
||||
repo_model_vocabulary_cut: Exact 6ea4ff3c deletes the redundant generic memory profile, dead SHA-1 ID factory, empty profile module, cache-only node/edge kinds, and impossible lifecycle variants. Exact 5218cf2c deletes the producerless RepoModel lifecycle-receipt family. Exact 8bb039af makes domains seed-owned and deletes the unreachable summary mutation/document/validation/registry path plus the test cargo that alone produced it. Exact ab1afc27 removes node salience/confidence and edge confidence because no owner read, validated, routed, or displayed those values. Modeling can author only the keyed repository operations advertised by its provider schema. Affected targets check cleanly; core remains 165/165, RepoModel 5/5, and reasoning-context 8/8.
|
||||
package_baseline: Exact d2ca66301fb6af4e7d2d27fff0b772b0f0fccdf4 remains the admitted production source and current symlink target. Its native serialized full-workspace gate passed with receipt SHA-256 de0fc6b360ce03493b13208d917dc8349801f03364617d966152c85846c47482. Idunn sealed 26 root-owned non-writable binaries plus release-witness.ccmp as release sha256-46407552b4a0937f63d2b7f2bd09a1dacb89d671a6e3807c97209159541aef06; witness-file SHA-256 is 348785ffb0fc3130d3b4538329870c6e6f8442a8da4a01b32fa9b7ffb1f01357. Source 9b9b5c85 also passed Idunn's native test gate under receipt SHA-256 6c6a71359f8c31297419665d2872f6982a89f84e197d71fc5b36a7fc86216093 and remains sealed as release sha256-30a910785a380224bbdbd56a7b742c8d058fa70cb72dab3562e3907903e0d191 with witness-file SHA-256 75bf52d31c56ea3b08e1a702273301c1db12a4b1ffae45e3d948ce8a29b50e1d. A foreign-target helper restarted Idunn during the Epiphany transaction; rollback restored d2ca, removed deployment.env, and left production Epiphany units inactive. OpenRouter model stealth/ox-alpha and its systemd-injected credential are readiness-proven. Idunn is active with zero restarts and its deployment brake is engaged.
|
||||
|
|
@ -61,7 +61,7 @@ current_status:
|
|||
runtime_registry_authority_cut: Exact 03140a47 deletes the 649-line epiphany-runtime-spine operator/debug CLI, its packaged release role, its callerless Hello/schema-catalog service facsimile, the 600-line hand-maintained mutation-contract mirror, and the source-shape test that guarded that mirror. CultCache exact fdbf3bf exposes its registered type identities, so runtime status and model preflight derive accepted documents from the same registration used to open the Mind store. Executable targets fall from 22 to 21 with zero duplicate source owners. Core checks without warnings and release construction passes 17/17. Editor actuation remains entirely provider-owned: Brokkr owns Unity through CultMesh/Eve and a future Rider daemon owns Rider.
|
||||
coordinator_status_cut: Exact 500125d5 deletes the unconsumed packaged epiphany-mvp-status executable. Its live projection and operator-sanitization functions move from a binary source textually included by the coordinator into one epiphany-core module. The dead CLI parser, default store, result-file writer, release role, and redundant release assertion are gone. Cargo has 20 executable targets and zero duplicate binary-source owners; the release-owned coordinator checks, the operator thought-sealing test passes, and release construction remains 17/17.
|
||||
persona_language_tribunal_cut: Exact 63939fa2 deletes Persona's keyword-based projector-output tribunal, its test-only no-transcript prompt wrapper, and two tests that blessed prompt phrases and forbidden words rather than a consequence. Projector and Persona outputs remain inert private cognition sealed into exact stage contexts. Only the Interpreter's closed typed effect enum can propose state or speech; its channel, cardinality, size, schema, and exact-context validation remain. The three-stage execution/replay, channel-escape refusal, substituted provider/model refusal, retained typed-effect validation, and OpenAI-runtime all-target checks pass.
|
||||
test_authority_cut: Exact bf2f39eb deletes a causal-ID test that compared identical calls and mislabeled the equality provenance independence, plus a duplicate unknown-field test for an already deleted generic patch field. Exact 104bf390 deletes the tool runtime's duplicate immutable-GitHub identity test and a permanently ignored live-network probe pinned to historical README prose. Exact f3360248 deletes a redundant release-cache prefix/determinism assertion, a Git submodule argument-vector mirror plus its single-use helper, and a raw repeated-round predicate test. Exact keyed request identities remain exercised through family lifecycle and admission tests; strict ingress unknown-field refusal remains exercised by runtime-owned Body identity substitution; immutable GitHub parsing remains tested once in epiphany-core; source-cache recovery, cache separation, tool-loop transition, and terminal failed-worker receipts remain proven. Focused owning-package tests pass for each cut. Exact ede5c669 deletes a single-use coordinator runtime-options factory plus the test that merely asserted its field assignments, a literal-membership stop-policy test that never exercised coordinator continuation, a private Unix mode predicate test duplicated by file-level credential permission proof, and a same-call source-cache equality assertion. Release construction remains 15/15, coordinator 5/5, and core checks cleanly.
|
||||
test_authority_cut: Exact bf2f39eb deletes a causal-ID test that compared identical calls and mislabeled the equality provenance independence, plus a duplicate unknown-field test for an already deleted generic patch field. Exact 104bf390 deletes the tool runtime's duplicate immutable-GitHub identity test and a permanently ignored live-network probe pinned to historical README prose. Exact f3360248 deletes a redundant release-cache prefix/determinism assertion, a Git submodule argument-vector mirror plus its single-use helper, and a raw repeated-round predicate test. Exact keyed request identities remain exercised through family lifecycle and admission tests; strict ingress unknown-field refusal remains exercised by runtime-owned Body identity substitution; immutable GitHub parsing remains tested once in epiphany-core; source-cache recovery, cache separation, tool-loop transition, and terminal failed-worker receipts remain proven. Focused owning-package tests pass for each cut. Exact ede5c669 deletes a single-use coordinator runtime-options factory plus the test that merely asserted its field assignments, a literal-membership stop-policy test that never exercised coordinator continuation, a private Unix mode predicate test duplicated by file-level credential permission proof, and a same-call source-cache equality assertion. Release construction remains 15/15, coordinator 5/5, and core checks cleanly. Exact 79292fe3 also deletes the private scanner-session spelling test and fixture-wide route assertions already covered by public observation and dedicated immutable-route proofs; Repository Body remains 22/22.
|
||||
tool_runtime_status_cut: Exact 777dd1a5 deletes the callerless epiphany-tool-mcp-runtime smoke command, its fixed JSON self-description, parser branch, and self-affirming branding test. Exact 0bb6a883 removes the run summary's fixed adapter/schema catalogue and caller-supplied store echo; stdout now carries only intent ID, receipt ID, and terminal status. Signed daemon health owns liveness; typed invocation intents and exact receipts own tool execution. With one live command remaining, the one-variant CLI enum collapses into a direct run parser. The four retained release-owned tests pass and exercise typed execution, receipt persistence, Resident-state binding, and unbound refusal.
|
||||
repository_body_smoke_cut: Exact 013c3bf1 deletes the callerless epiphany-repository-body smoke command and its temporary-store self-test path. The shipped Body binary retains bootstrap, bind, observe, and status. Authenticated Body binding, exact projection, generation, Git worktree semantics, no repository mutation, and tamper refusal remain proven by 23 focused owner tests.
|
||||
model_runtime_smoke_cut: Exact ce90f911 deletes the callerless epiphany-model-runtime smoke route. It opened no provider transport; it wrote a synthetic model request, tool call, completed receipt, and smoke_no_network marker into a writable runtime store, then reported not-opened. Real model-turn, worker, follow-up, decision discovery, and decision audit commands remain. The release-owned model-runtime suite passes 12/12.
|
||||
|
|
@ -115,7 +115,7 @@ current_status:
|
|||
yggdrasil_epiphany_service_contract: idunn_source_change_owner_eve_and_local_typed_operator_surfaces_no_discord_control_plane
|
||||
resident_physiology: historical_c011_exact_465af24d_zero_zombie_proof_accepted_current_containers_exited_255
|
||||
unresolved_authority: Generic command, legacy lineage, caller-authored identity, behaviorless policy fields, global lifecycle latest state, timestamp election, Windows Task Scheduler authority, and their false proofs are gone. Semantic and workspace launch owners are separate over shared process mechanics. The remaining daemon supervisor still combines the service loop, aggregate signed-health publication, semantic reconciliation, and the large workspace recovery state machine. Continue decomposing only where ownership becomes smaller; do not create family frameworks or adapters. The false persisted cluster-topology bootstrap sentinel is gone; supervisor admission remains bound to exact runtime/store identity, packaged release, brake, service policy, process identity, and signed health. The current gamecult-ops Epiphany unit has retired agent-store and daemon-id argv that its owning lane must fix before deployment. Fresh exact-package Ox17 and Model Atlas Gate 1 remain paused until subtraction closes. Bifrost remains Persona and governed external-consequence transport. Its Discord delivery path is a real consumer of Epiphany's short-lived request-bound permit signature, so the distinct permit identity/process is retained as an earned privilege boundary; current Ygg deployment doctrine still points that crossing at the old Starfire endpoint and installs no issuer unit, which the Idunn lane must repair before Persona consequence readiness. Historical c011 and partial Gate roots stay untouched/read-only.
|
||||
next_action: Continue the test-liability audit after exact ede5c669. Audit repository_body_observer's 23 tests and their private helpers by externally consequential Body claims: exact authenticated manifest, read-only basis loading, no repository-object writes, hostile Git/config refusal, raw-byte visibility, binding immutability, stale-head conflict, tamper refusal, and generation reuse. Delete repeated fixture setup, private-helper spelling, equality against the same call, or tests whose only surviving effect is to preserve an implementation seam. The executable audit is closed at nine earned targets. Retain the Bifrost-consumed Persona permit boundary; its missing Ygg lifecycle is Idunn deployment drift. Do not run a local full-workspace compile, package, deployment, or Ox root.
|
||||
next_action: Audit epiphany-core/src/runtime_spine.rs after exact 79292fe3. At 11,678 lines it is the largest remaining central liability. Inventory every public type/function, its non-test callers, registered persistent document, and external consumer. Delete exported readers, writers, DTOs, archives, status projections, retention branches, and tests with no live admission/routing/re-entry/deployment consequence; collapse repeated store-open/load/validate sequences only when one exact transactional owner can replace them. Preserve immutable runtime identity, job/session authority, exact model/tool bindings and receipts, terminal failure/decision audit, conflict/replay, retention that prevents resurrection, and callers in the nine earned binaries. Do not run a local full-workspace compile, package, deployment, or Ox root.
|
||||
|
||||
runtime_event_cut: Exact 27fe11ae deletes persisted generic runtime events, their registry and CultNet contract, CLI/status surfaces, coordinator and lifecycle shadows, archival dependencies, and the obsolete legacy coordinator repair path. Exact d66baa27, 058751fb, and 573ddc8b first removed provider-event duplication, the arbitrary event writer, and paired lifecycle events. Runtime session/job state plus exact typed results, failures, coordinator run receipts, and coordinator death recoveries solely own terminal facts. Events cannot route work, authenticate terminality, or resurrect authority because no runtime-event document remains.
|
||||
|
||||
|
|
|
|||
|
|
@ -110,8 +110,15 @@ and janitors may reduce the symptom but cannot substitute for deleting code.
|
|||
17. Done: delete the coordinator runtime-options factory and its field-assignment
|
||||
test, the literal-membership stop test, the credential predicate test
|
||||
duplicated by file-level permissions proof, and same-call cache equality.
|
||||
18. Next: audit `repository_body_observer` tests and private helpers by exact
|
||||
18. Done: audit `repository_body_observer` tests and private helpers by exact
|
||||
Body consequence. Preserve authentication, read-only loading, raw-byte and
|
||||
hostile-Git sight, immutable binding, conflict, tamper, and generation proof.
|
||||
19. Run focused tests after each cut. Only after source subtraction stabilizes
|
||||
Exact `79292fe3` makes one authenticated snapshot own route, binding,
|
||||
observation, and manifest validation; duplicate store reopens, a private
|
||||
scanner-session test, and fixture-wide route assertions are gone.
|
||||
19. Next: audit the 11,678-line `runtime_spine.rs` public surface by live
|
||||
non-test caller, persisted document owner, and external consequence. Delete
|
||||
callerless exports and duplicate store/validation paths without weakening
|
||||
identity, terminality, audit, conflict/replay, or anti-resurrection proof.
|
||||
20. Run focused tests after each cut. Only after source subtraction stabilizes
|
||||
should Idunn's build scratch contract be reconsidered.
|
||||
|
|
|
|||
Reference in a new issue