From cce2b8acbd1af24678e2690b0b207891e1764a5a Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Mon, 10 Aug 2026 02:03:39 +0100 Subject: [PATCH] Keep test-only tool import out of releases --- epiphany-tool-mcp-runtime/src/main.rs | 2 +- notes/epiphany-current-algorithmic-map.md | 6 ++++++ notes/fresh-workspace-handoff.md | 14 ++++++++++++++ state/map.yaml | 6 +++--- 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/epiphany-tool-mcp-runtime/src/main.rs b/epiphany-tool-mcp-runtime/src/main.rs index 6a65568a..b69d506b 100644 --- a/epiphany-tool-mcp-runtime/src/main.rs +++ b/epiphany-tool-mcp-runtime/src/main.rs @@ -3,7 +3,6 @@ use epiphany_tool_adapter::{ EPIPHANY_TOOL_RUNTIME_ADAPTER_ID, EpiphanyToolInvocationIntent, EpiphanyToolInvocationReceipt, TOOL_ADAPTER_CAPABILITY_SCHEMA_ID, TOOL_ADAPTER_INVOCATION_INTENT_SCHEMA_ID, TOOL_ADAPTER_INVOCATION_RECEIPT_SCHEMA_ID, tool_invocation_intent_key, - tool_invocation_receipt_key, }; use epiphany_tool_mcp_runtime::{ McpRuntimeConfig, execute_epiphany_source, invoke, validate_intent, @@ -233,6 +232,7 @@ fn bound(value: &str, limit: usize) -> String { #[cfg(test)] mod tests { use super::*; + use epiphany_tool_adapter::tool_invocation_receipt_key; #[test] fn parses_production_cli_without_legacy_codex_flags() -> Result<()> { diff --git a/notes/epiphany-current-algorithmic-map.md b/notes/epiphany-current-algorithmic-map.md index de71fb29..6875302e 100644 --- a/notes/epiphany-current-algorithmic-map.md +++ b/notes/epiphany-current-algorithmic-map.md @@ -2458,6 +2458,12 @@ shared no-active/no-prepared authority gate. The default retained window is the newest remains live. Exact package and copied-state proof remain required; conversation-wide sessions and semantic history remain separate owners. +Source commit `c137e16b` packages the owner but is not an accepted release: its +24-binary build emitted one unused-import warning in the tool-runtime binary. +That import belonged exclusively to `cfg(test)` and has been moved there; the +production check and all four tool-runtime binary tests pass. Exact repackaging +of the follow-up commit is required before live archive evidence. + The coordinator receipt accumulator is implemented in source. Runtime owns the typed head, cumulative status counts, chained digest, and full-snapshot-fenced replacement/deletion. Resident Self supplies the cross-store preservation set diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 44e12079..3ad020dc 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -1538,3 +1538,17 @@ parse. This cut is not yet committed, packaged, or exercised on copied live state. Next commit/push it, package only that exact commit with Starfire's persistent Linux cache, then prove tombstone non-resurrection and byte identity on copied state. Active c005 remains untouchable. Yggdrasil never builds. + +Commit `c137e16b` contains that cut and is pushed. Exact packaging completed in +7m17s with 24 binaries, release +`sha256-44cdf05f7f2e4830702d211006914e9ac27875f1340abd74b72756e262beddce`, +and witness +`sha256-c7ecb23021a49d63f2893053c5653146688c0884f3eac0c6808bb29b6489abdf`, +but the candidate is rejected: production compilation emitted one unused +`tool_invocation_receipt_key` import warning from the tool-runtime binary. Logs +are under `.epiphany-run/linux-package-c137e16b`. + +The import was used only by binary tests and now lives inside `cfg(test)`. +Production `cargo check` and all four tool-runtime binary tests pass without +warnings. Commit/push this follow-up and package that new exact source; do not +accept or publish the warning-bearing c137 package as shakedown evidence. diff --git a/state/map.yaml b/state/map.yaml index a975bb2b..f13e7405 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -36,9 +36,9 @@ invariants: current_status: summary: Epiphany is a supervised engineering alpha on Starfire, not deployment-ready. Exact b8138a6b active-child SIGTERM and restart, exact 9f369528 deterministic warm packaging, exact c930f505 cross-container ownership, exact ed15f83a resident lifecycle retention, and exact 16c4b19f coordinator receipt and Heartbeat artifact retention are proven. Gamecult-ops 059821f makes journald the sole Yggdrasil supervisor/projector stream-retention owner. Exact 16c4b19f genuine idle and exact a987d2f7 active cognition both completed 900-pulse bounded plateaus with clean direct-PID exits. Runtime-owned typed fulfillment is accepted live under exact 6dd9b132. Runtime spine now owns source-proven model/tool execution membership and a narrow completed-model-session tombstone; exact packaging and copied-state archive proof remain open. Stable Starfire firewall ownership also remains open. Yggdrasil is the small public crossing body, never the release forge. - latest_phase: The narrow runtime archive owner is implemented in source. A completed model-generation session can retire only when every model-adapter job has one binding and terminal result, native/provider streams agree and are terminal, and every bound tool intent has an immutable terminal receipt. One full-snapshot transaction replaces those exact inner execution envelopes with an ID-bearing digest tombstone; outer worker, semantic, coordinator, unknown, and unrelated runtime rows are excluded. Resident Self invokes bounded retention only with no active or prepared launch and keeps at least the newest generation. Focused archive, retention-window, and all eight swarm tests pass; packaging/live proof is next. + latest_phase: Commit c137e16b implements the narrow runtime archive owner and is pushed. Its exact 24-binary package completed, but release inspection rejected it because the tool runtime carried one test-only receipt-key import into production, emitting one unused-import warning. The import now lives under cfg(test); production check and all four tool-runtime binary tests pass. Commit/push this warning fix and package the new exact source before any copied-state archive proof. operational_state: - local_worktree: archived_model_session_source_proven_uncommitted + local_worktree: archived_model_session_pushed_package_rejected_one_warning_followup_uncommitted operator_wireguard: restored yggdrasil: canonical_small_public_crossing_body starfire: temporary_epiphany_cognition_body @@ -69,7 +69,7 @@ current_status: yggdrasil_epiphany_service_contract: repaired_in_gamecult_ops_812b427_not_installed resident_physiology: authenticated_9b8df0b4_c005_bound_to_eyes_tools_nervous_system_with_217dd_and_bd96305e_helpers_running unresolved_authority: Coordinator receipt, Heartbeat pulse-artifact, deployed supervisor/projector log retention, genuine-idle and active resource plateaus, exact-grant terminality, restart-persistent cooldown refusal, schedule/action issuance cardinality, and runtime-owned typed fulfillment are accepted. Narrow model-generation retention is source-proven but not yet packaged or exercised against copied live state; semantic and conversation-wide runtime histories remain outside its authority. Repository Body observation still performs two authenticated full-tree Git index/manifest passes. Execute-mode workers require a persistent process body. Keyed storage has not earned live migration. One Discord consequence remains blocked by the absent Yggdrasil credential. - next_action: Commit and push the narrow archived-model-session owner, package that exact commit using Starfire's persistent Linux cache, authenticate all 24 binaries and witness, then exercise bounded retention only on copied state. Prove the older fully closed generation becomes one exact tombstone, the newest survives, unrelated/outer/semantic envelopes remain byte-identical, ID reuse and work resurrection fail, and replay is stable. Preserve active c005. Yggdrasil never builds. + next_action: Commit and push the tool-runtime warning fix, refresh the Linux source volume to that exact commit, and run one warm package with Starfire's persistent cache. Require 24 binaries, exact source/witness authentication, and zero warnings. Then exercise bounded retention only on copied state and prove tombstone non-resurrection, newest preservation, unrelated/outer/semantic byte identity, ID-reuse refusal, and stable replay. Preserve active c005. Yggdrasil never builds. active_subgoals: - Prove Persona, Self, Eyes, Modeling, Imagination, Hands, Soul, Mind, Continuity, and nervous-system behavior individually.