diff --git a/Cargo.toml b/Cargo.toml index dc4aae29..3e5ce877 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,6 +42,9 @@ zeroize = "1" semantic-recovery-smoke = [] workspace-coverage-recovery-smoke = [] +[profile.release] +incremental = true + [target.'cfg(windows)'.dependencies] windows-sys = { version = "0.59", features = ["Win32_Foundation", "Win32_Security", "Win32_Security_Cryptography", "Win32_Storage_FileSystem", "Win32_System_Diagnostics_ToolHelp", "Win32_System_Threading"] } diff --git a/notes/epiphany-current-algorithmic-map.md b/notes/epiphany-current-algorithmic-map.md index bad1ac0b..4d129e51 100644 --- a/notes/epiphany-current-algorithmic-map.md +++ b/notes/epiphany-current-algorithmic-map.md @@ -1342,8 +1342,31 @@ after a complete mutation, verification, Soul verdict, and Modeling incorporation chain. Hands must gain a typed refusal/relinquish consequence before the checkpoint repair can continue without fabricating work. +The repair boundary is split deliberately. Hands owns an immutable refusal +receipt bound to the exact route, action intent, review, adopted-plan digest, +and current model/frontier hashes; it may state that inspection proved the +authorized path ceiling insufficient, but it may not revise RepoModel. Mind +owns the companion frontier transition: after validating exactly one matching +Hands refusal against the still-current route and model, it may retire or +supersede that frontier item and admit the revised model through the normal +model CAS. The route remains historical selection evidence and is not mutated +into a second lifecycle owner. Evolution remains forbidden from bypassing a +current route, and the full consequence/Soul path remains the only route to a +`Resolved` frontier. The old route can neither authorize edits after +relinquishment nor be hidden by a later repair loop. + ## Exact release build cache ownership +The root release-bundle manifest owns release profile policy. Measured on the +exact 21-binary bundle after touching `epiphany-core/src/lib.rs`, release +incremental reduced rebuild time from 7m04s to 31.47 seconds and is therefore +enabled in `[profile.release]`. An independent `rust-lld` trial reached 29.34 +seconds, only 2.13 seconds faster, while depending on host-specific Windows +linker discovery; it remains an experiment rather than repository policy. +Fresh-target timings (1226.69 seconds with the default linker, 1097.14 with +`rust-lld`) calibrate clean-build cost but do not override the iteration-path +decision. + Release construction has two serialized cache authorities. The graph cache is identified only by the frozen root `Cargo.lock`, target triple, and installed toolchain fingerprint. It owns Cargo outputs and holds an exclusive graph lock diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 07f1b878..28738274 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -3,7 +3,7 @@ ## Live boundary — 2026-08-08 The active branch is `codex/epiphany-shakedown-live`; pushed state is -`dae006a0`. Exact cognition source `ecfff489fe7e46f6ddcc9d58f0723411e8d94c13` +`ced86e7e`. Exact cognition source `ecfff489fe7e46f6ddcc9d58f0723411e8d94c13` is packaged as `sha256-6e5cd9827ab6a659c8a29f1147daf8ebec52ea3d148a16905a1401c539059d79` with witness @@ -38,13 +38,19 @@ by hand. ## Active work -A detached release-incremental benchmark runs under PID `8368`. It writes cold -and invalidated-core timings to -`.epiphany-run/build-benchmarks/incremental-20260808/result.json`, with Cargo -logs beside it. Poll that artifact; do not launch another Cargo process. After -it completes, benchmark `rust-lld` independently in a different target -directory. The baseline core-change package took 7m04s; a warm unchanged -package took 1.48s of Cargo work. +The exact root release bundle has now proved release incremental compilation: +its fresh-target build took 1226.69 seconds, then a touched-core rebuild took +31.47 seconds versus the 7m04s baseline (about 13.5x faster). Evidence is in +`.epiphany-run/build-benchmarks/incremental-root-20260808/result.json`. + +The independent incremental-plus-`rust-lld` trial completed at 1097.14 seconds +cold and 29.34 seconds after touching core. Its evidence is under +`.epiphany-run/build-benchmarks/lld-incremental-root-20260808`. The linker saved +only 2.13 seconds (about 6.8 percent) on the iteration path and required a +toolchain-specific Windows linker location, so it is not repository policy. +Root `[profile.release] incremental = true` is the adopted portable change. +This build-configuration edit is an explicit operator-requested supervisor +intervention, not evidence that the sealed v44 Hands route performed it. After the build benchmark, first give adopted Hands work a typed refusal/relinquish path that preserves Mind's plan authority, records why Hands diff --git a/state/ledgers.msgpack b/state/ledgers.msgpack index 8d2c7874..9ab09f8b 100644 Binary files a/state/ledgers.msgpack and b/state/ledgers.msgpack differ diff --git a/state/map.yaml b/state/map.yaml index 9ad5d259..b4257122 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -36,7 +36,7 @@ invariants: current_status: summary: Epiphany is a supervised engineering alpha on Starfire, not deployment-ready. Exact ecfff489 packages as sha256-6e5cd9827ab6a659c8a29f1147daf8ebec52ea3d148a16905a1401c539059d79 with witness sha256-8d53746348eecf2afd2a5def5539dfb544e260104fb33e3e7d0eec83573ce3dc. Fresh v44 proves proposal Modeling, canonical Imagination, dedicated Mind adoption, and exact Hands gating without overrides. Hands inspection then falsified the adopted path ceiling: it omits the status-composition owner required by the checkpoint repair. The gate held, but adopted Hands work has no typed refusal or relinquish transition, leaving the frontier unable to return lawfully to planning. Persona consequence, retention, endurance, and Linux/Yggdrasil cognition remain open. operational_state: - local_worktree: clean_at_ecfff489_live_v42_checkpoint_authority_shakedown + local_worktree: clean_at_ced86e7e_v44_planning_boundary operator_wireguard: restored yggdrasil: canonical_small_public_crossing_body starfire: temporary_epiphany_cognition_body @@ -53,7 +53,7 @@ current_status: yggdrasil_epiphany_services: absent resident_physiology: heartbeat_and_self_running unresolved_authority: v44 proved the native planning circuit and exact Hands gate. The adopted plan omitted epiphany-core/src/bin/epiphany-mvp-status.rs, so truthful implementation is forbidden. The cataloged Hands action-refusal receipt has no typed persistence or route-lifecycle transition; a falsified adopted plan therefore cannot return authority to planning without fabricating a consequence chain. - next_action: Finish the detached release-incremental benchmark under PID 8368, then benchmark rust-lld separately. Add and prove a typed Hands refusal/relinquish transition through a fresh lawful plan, replay v44 to retire the incomplete route, adopt a corrected checkpoint-authority plan including the status-composition owner, and prove CRRC advances through accepted Reorientation, Continuity recovery, and Soul closure. + next_action: Release incremental is now the root workspace policy after a touched-core build fell from 7m04s to 31.47s. rust-lld was rejected as a repo default because its 29.34s rebuild saved only 2.13s while requiring host-specific linker discovery. Verify the adopted profile through exact packaging, then add and prove a typed Hands refusal/relinquish transition through a fresh lawful plan, replay v44 to retire the incomplete route, adopt a corrected checkpoint-authority plan including the status-composition owner, and prove CRRC advances through accepted Reorientation, Continuity recovery, and Soul closure. active_subgoals: - Prove Persona, Self, Eyes, Modeling, Imagination, Hands, Soul, Mind, Continuity, and nervous-system behavior individually.