Delete unowned executable surfaces

This commit is contained in:
Meta Vens 2026-08-23 01:32:47 +02:00
commit 1d5a1f1793
51 changed files with 87 additions and 19339 deletions

View file

@ -1,94 +0,0 @@
# Epiphany Role Memory
Epiphany's lane dossiers are Ghostlight-shaped persistent memory reliquaries
stored in `state/agents.msgpack` through CultCache. They are not project truth.
The active objective, graphs, checkpoint, scratch, planning records, evidence,
and job bindings still live in authoritative `EpiphanyThreadState`; role memory
is a lane's soul-polish, not a counterfeit throne.
Specialists may request bounded self-memory updates through `selfPatch`.
The coordinator reviews those petitions and accepts only role-matched mutations
that improve a lane's future judgment, memory, values, goals, or personality
pressure. Project facts, code edits, graph changes, objective changes, raw
transcripts, and authority requests belong on their explicit Epiphany control
surfaces instead. Smuggling project truth into personality memory is heretek
behavior with better stationery.
All standing lanes use the same Ghostlight-shaped protocol, including the
coordinator/Self and Persona. Persona is the public interactive surface for Epiphany
agents: it translates useful agent thought-weather into #aquarium chat or drafts
and is not a moderator. The native `epiphany-heartbeat-store` scheduler borrows
Ghostlight initiative timing: each lane carries speed, readiness, reaction bias,
interrupt threshold, load, status, and constraints. The harness sets a target
heartbeat rate, pending coordinator work may pull its owning lane through a
reaction window, and otherwise the earliest ready lane wins the slot. This is
physiology, not a meeting calendar.
If a heartbeat wakes a lane and there is no coordinator-approved work for it,
the lane must ruminate on its own role and distill memory rather than invent
project work. Bounded rumination can write a normal `selfPatch`; the coordinator
review rules still apply. Idle organs dream; they do not declare crusades.
Newborn Epiphanies get two separate birth rites. Repo personality initialization
sets subtle temperament pressure once; repo memory initialization pre-fills each
organ with mission-relevant knowledge from doctrine, docs, state, research,
contracts, verification, runtime, and source. The native
`epiphany-repo-personality memory-packet` command renders the role-specific
memory distiller packet. It is a petition to Self, not a direct mutation, and it
must not reset a living lane's learned memory after startup.
When Self reviews a generated distiller result, run
`epiphany-repo-personality accept-init --result ... --agent-store ... --apply-self-patches true`
to apply accepted birth-memory petitions through the same coordinator-reviewed
`selfPatch` machinery used by living lanes.
For the personality birth packet, add
`--heartbeat-store ... --apply-heartbeat-seeds true` after review to seed
initiative speed, reaction bias, cooldown multiplier, and birth mood pressure
in the typed heartbeat store. That seed is a one-time physiology nudge, not a
license to rerun personality initialization whenever the repo mood changes.
Persona's public mouth is a Bifrost crossing, not local OAuth improvisation.
`state/persona-discord.toml` confines Discord speech to #aquarium and
`state/persona-reddit.toml` confines Reddit organizing posts to the configured
subreddit. If a channel, subreddit, bridge path, Bifrost identity, or
surface-shaped Heimdall-backed capability/account reference is missing, Persona
writes candidate artifacts through the native draft commands instead of
posting. The public mouth does not invent new pulpits.
`epiphany-persona-discord post` and `epiphany-persona-reddit post` audit speech
at the mouth edge, then ask Bifrost to perform the external crossing. Bifrost is
the GameCult identity provider and bridge receipt owner; native Bifrost
registration does not require OAuth, and a Bifrost identity is the default
authenticating identity for GameCult services that accept Bifrost trust. Heimdall
is the external-account association and token-custody organ: it links Discord,
Reddit, GitHub, or other provider accounts to the Bifrost identity and
contributes surface-shaped capability/account references such as
`heimdall:discord:*` or `heimdall:reddit:*`. Bifrost must know the Persona's
registered identity and same-account Heimdall link before authorizing an
outside-provider crossing. Persona nickname, avatar, and Reddit flair are
presentation metadata only, not authority, voting power, or a separate platform
identity.
Void memory access lives behind `state/void-memory.toml` and the native
`epiphany-void-memory` bridge. It checks Void's Docker Postgres state spine,
queries Qdrant history/source collections with the configured Ollama embedding
model, and fetches raw Discord archive context for exact message windows. Persona
may use those surfaces to ground speech; raw archive rows are evidence, not the
speech itself.
Use:
```powershell
cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-agent-memory-store -- validate --store .\state\agents.msgpack
cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-agent-memory-store -- smoke --store .\state\agents.msgpack
cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-agent-memory-store -- status --store .\state\agents.msgpack
cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-heartbeat-store -- tick --store .\state\agent-heartbeats.msgpack --artifact-dir .\.epiphany-heartbeats --coordinator-action continueImplementation --urgency 0.95 --agent-store .\state\agents.msgpack --apply-rumination
cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-heartbeat-store -- smoke --agent-store .\state\agents.msgpack
cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-persona-discord -- draft --content 'Persona notices the organs are arguing about evidence again.'
cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-persona-discord -- post --content 'Persona has entered the aquarium.' --persona-name 'Epiphany Persona'
cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-persona-discord -- smoke
cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-persona-reddit -- draft --title 'Epiphany status' --content 'Persona has a bounded public update.'
cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-persona-reddit -- post --title 'Epiphany status' --content 'Persona has a bounded public update.'
cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-persona-reddit -- smoke
cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-void-memory -- status
cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-void-memory -- search-history --query 'Epiphany Aquarium Persona Discord' --limit 3
```

Binary file not shown.

View file

@ -48,9 +48,9 @@ current_status:
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.
summary: The keyed RepoModel hard cut, decision-context foundation, Model Atlas code slice, complete Body, Proposal, frontier-verdict Modeling, frontier Research, frontier Verification, frontier Planning/PlanMind, Reorientation, and Persona decision-context lifecycles are landed on codex/epiphany-shakedown-live. Keyed Mind plus exact runtime receipts own coordinator presence, work discovery, deterministic launch, job-bound continuation, review, typed failure, semantic admission, and retained decision reachability. Exact 07d891ba and ec1431ff delete the persisted/global thread aggregate and its generic coordinator/prompt/revision surfaces. Exact f7948795 deletes MindGatewayReview, MindStateCommitReceipt v0, the generic interpreter prompt, runtime registration/read APIs, false thought/state-effect/adoption CultNet mouths, and stale launch proof profiles. CultMesh now projects only reasoning basis, decision context, and exact Mind commit receipt, read-only. Exact 1c9aafd8 seals the terminal decision context before model-backed frontier-Planning failure and binds the typed failure plus generic job result to it. Exact e0e75a30 deletes the residual aggregate role patch/parser/policy surface, gives Research one closed typed decision, and deletes the unowned generic Imagination planning patch. Exact 12b1b285 makes runtime model/tool binding validation the shared owner for execution and decision sealing; hostile provider, receipt, and stored-binding substitutions refuse, while retained basis/context audit survives transcript-delta deletion. Exact 01602fd3 advances Mind/runtime to v2/v1 and refuses historical or split writable identity pairs before registered writers see them. Exact 26b6a5bf proves simultaneous disjoint Modeling writes, simultaneous Verification+Modeling admission, same-identity conflict, exact replay, and reopened graph assembly; raw mutation primitives are crate-private. Exact 7c2ebd81 moves Persona state-note admission from the legacy agent-memory aggregate into keyed Mind documents and proves a concrete Hands consequence can commit simultaneously. Exact 79c0e373 seals the assembled Persona input and observed source versions in Mind before inference. Exact d3300bba authenticates that input through its one exact Mind commit, refuses naked typed documents, re-enters without external observation or model inference, and proves current-work reconstruction is identical and read-only across Launch, Wait, completed, and post-Research boundaries. No compatibility reader, bootstrap aggregate, schema migrator, or dual reader survives. The source-level Decision-Auditable Concurrent Mind migration is accepted; the fresh exact-package capstone remains open. The machine remains a supervised engineering alpha; Model Atlas operational Gate 1 stays paused.
public_positioning: docs/positioning.md is the current public claim owner. Epiphany is the organizational layer above frontier AI workers; global coherence collapse is the primary failure; prompts are bounded projections of governed organizational state; humans retain purpose, judgment, authority, disagreement, exceptions, and acceptance. GameCult is the forge and longitudinal evidence program for a target federation of one locally owned Epiphany project organism per living project Body. Model Atlas carries typed offers, claims, evidence, and derived technical relationships; Bifrost is the intended external work, membership, governance, attribution, and identity-linked receipt rail. Public Persona relationships and visitor surfaces are intended social infrastructure, while private Mind and consequence authority remain local. The fleet, real three-repository Gate 1, complete Bifrost attribution, sustained autonomous production, visitor experience, and external design-partner pilots remain gated alpha targets.
latest_phase: Exact 749d977e proved in private Ox16 that direct Body Modeling launches without Eyes while Persona runs concurrently and that a completed historical direction decision remains valid across later disjoint RepoModel changes. Planning then remained structurally unavailable because Modeling used inspected evidence paths as future path authority, omitted OX-CAPSTONE.md, and emitted an unordered scope. Exact 5b799b12 hard-cuts the overloaded source_scope/sourceScope contract: repository_scope is the canonical sorted repository-relative ceiling that Planning may narrow, Hands receives only authorized_paths, and generic RepoModel validation refuses an invalid unresolved routed frontier before any graph write. Inspected files and evidence remain separate reasoning cargo. Mind/runtime/RepoModel epochs advance to v4/v5/v2 without compatibility reads. Local core 494/494, OpenAI runtime 26/26, coordinator 12/12, swarm 10/10, and model-runtime 13/13 pass. Ox16 is sealed historical evidence and must never resume.
latest_phase: The fresh-package Ox17 lane is paused for source subtraction. Yggdrasil exposed and then released 96 GiB of dead native Cargo targets. The first causal cut removes 19,252 net non-vendor lines: 21 duplicate core/release binary declarations, 19 generic repo-request smoke executables that cargo test compiled but never executed as tests, the forbidden runtime-store migrator CLI, and the unshipped repo-personality birth subsystem with its parallel agents.msgpack/heartbeat initialization, prompt fields, schemas, and stale contract plans. epiphany-core falls from 75 to 30 binary targets and duplicate executable ownership is zero. Focused core library acceptance remains 494/494; Hands under its sole release-package owner remains 5/5; the CultNet schema catalog and local PowerShell syntax parse. Build-profile and janitor patches remain deferred. The next cut audits the legacy agent-memory aggregate, runtime migration library/tests, and local PowerShell operator control plane against keyed Mind and Eve ownership. Exact 103e8510 remains pushed but is not authorized for another Idunn build. Ox16 remains sealed historical evidence and must never resume.
operational_state:
local_worktree: source_head_5b799b12_committed_and_pushed_repository_scope_authority_cut_docs_and_ox17_preparation_in_progress
local_worktree: source_head_103e8510_pushed_first_subtraction_cut_verified_uncommitted_ox17_and_deployment_paused
docker_engine_access: starfire_compiler_retired_all_yggdrasil_epiphany_transient_containers_volumes_package_roots_and_per_run_test_target_removed_future_idunn_epiphany_builds_native_rust_1_95_0_via_gamecult_ops_89f0d78
operator_wireguard: restored
starfire_persona_permit_firewall: persistent_exact_gamecult_ops_6ee08a4
@ -90,8 +90,8 @@ current_status:
starfire_linux_modeling_peak: 109887488_bytes_resident_body_plus_modeling_circuit
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: The Decision-Auditable Concurrent Mind cut, explicit OpenRouter/Ox provider boundary, and repository-scope ownership cut are source-complete; fresh exact-package Ox17 remains open. Bifrost remains Persona and governed external-consequence transport; Eve/CultUI and local typed tools remain human and enginseer surfaces. Model Atlas Gate 1 remains paused. Historical c011 and partial Gate roots stay untouched/read-only.
next_action: Let Idunn natively compile, test, and seal exact 5b799b12 without triggering another target or moving the historical production store. Use only that exact package in private fresh-store Ox17; stop after three provider failures and prove direct Body Modeling without Eyes, concurrent Persona, typed refusal-to-retry if exercised, Planning-Mind-Hands-Verification-Modeling, exact decision audit, and restart/re-entry without public speech. Never resume Ox10, Ox12, Ox13, Ox15, or Ox16, transplant decisions, restore event/coordinator authority, trigger non-Epiphany targets, or compile on Starfire.
unresolved_authority: The first executable-ownership cut is coherent, but `agent_memory` and `state/agents.msgpack` still expose a parallel durable role-memory aggregate beside keyed Mind, `runtime_store_migration` still preserves a forbidden writable migration law after its CLI was deleted, and the 2,000-line local PowerShell operator wrapper still keeps unshipped direct Persona/operator paths alive beside Eve and the packaged runtime. Fresh exact-package Ox17 and Model Atlas Gate 1 remain paused until those owners are resolved. Bifrost remains Persona and governed external-consequence transport. Historical c011 and partial Gate roots stay untouched/read-only.
next_action: Map and cut the legacy agent-memory aggregate, runtime-store migration module/tests, and local PowerShell operator control plane. A test survives only when it falsifies a named live invariant at its owning boundary; green serialization mirrors, manual main-only smokes, and tests that preserve deleted authorities do not. Do not run a full-workspace compile, package, deployment, or Ox root before this subtraction audit closes.
active_subgoals:
- Complete the fresh exact-package Decision-Auditable Concurrent Mind capstone before any further operational Gate run.

View file

@ -2,84 +2,64 @@
Disposable working memory for one bounded rite.
## Current Subgoal
## Current subgoal: subtraction audit
Continue organ shakedown after accepting exact braked resident physiology.
Keep actual c006 alive and cognitively braked; Yggdrasil never builds.
The fresh-package Ox17 deployment lane is paused. Do not compile, package,
deploy, or resume a historical Ox root until this audit has made the source
machine smaller and the canonical map explicitly reopens that lane.
## Accepted braked physiology cut
## Triggering evidence
Exact pushed `3f37503e` blocks cognition ingress under brake; exact pushed
`f04abd6b` makes runtime maintenance follow startup, resident revision, or a
60-second deadline rather than poll cadence. Exact `f04abd6b` release
`sha256-544b95404d9445b2af0fdd67495bcff5f284ab2d2a29e16450e90d50f72a3f84`
and witness `sha256-79639e35da79f7038111234fa33e21829e88eddcb77eb702f8f53f5369e9def3`
passed 24-binary inspection. Braked copied state held 0.29-0.33% CPU at
one-second cadence; released sleeping state used 91 process ticks over 30
seconds at five-second cadence (about 3.0% of one core). Revision 66, runtime
hash, and no-grant state stayed exact; the brake was restored and both proofs
exited zero. The readiness-pacing hypothesis did not move CPU and was reverted.
- Idunn's interrupted native build left three commit-keyed test targets of
24 GiB, 27 GiB, and 27 GiB plus 19 GiB of release construction caches.
All were dead compiler scratch and were removed on Yggdrasil; the Cargo
target root returned to 4 KiB.
- One target consisted of 19 GiB `debug/deps`, 4.9 GiB incremental state, and
388 MiB build-script output. Several individual test harnesses were
500--700 MiB.
- `epiphany-core` declared 75 binary targets. The root release bundle declared
another 26 targets, many by pointing at the same source files. The first cut
reduces core to 30 binaries with zero duplicate owners and removes 19,252 net
non-vendor lines.
## Accepted live boundary
The storage failure is evidence of source-shape failure. Build-profile flags
and janitors may reduce the symptom but cannot substitute for deleting code.
Exact packaged `31dcd351` gave Modeling governed directory inventory and it
measured the copied actual Heartbeat artifact family as 72 directories, 74
files, and 3,975,362 regular-file bytes with `complete=true`. It correctly
refused to infer post-brake grant terminality from pulse names. Self settled the
proposal grant and two receipt-bound continuations, ended sleeping at revision
54 with 57/57 runtime jobs/results and zero open jobs, then both copied owners
stopped cleanly under the restored brake. Actual c006 was untouched.
## Authority map
## Accepted lifecycle sight
- Owner: each live organ or operator tool owns one executable boundary only
when process isolation, privilege isolation, lifecycle ownership, or an
independently deployable contract requires it.
- Inputs: the canonical runtime/service maps, Idunn's immutable release bundle,
current systemd manifests, operator-tool call sites, and source-grounded test
coverage.
- Outputs: a minimal release binary set and library/integration tests for
verification that does not need a separately shipped process.
- Derived state: smoke runners, fixtures, benchmarks, and migration probes are
test/development surfaces. They do not become runtime organs merely because
Cargo can compile them as binaries.
- Forbidden writers: historical docs, stale smoke commands, and previous
package manifests cannot preserve an executable that no live authority uses.
- Shared paths: development verification and Idunn acceptance must exercise the
same library/runtime contracts without compiling duplicate wrappers.
- Cut line: delete unowned legacy executables; collapse table-shaped smoke
families into ordinary tests; give each surviving production entrypoint one
Cargo package owner; remove root/core duplicate bin declarations; then
reassess crate boundaries and the release list. Do not add build cleanup or
cache machinery as a substitute for this cut.
Exact pushed `34d75d05`, release
`sha256-718316c4372f3caf127579cd8a185fe11717f2370f1418d9a1f465a0efa54b8c`,
witness
`sha256-58d4c05c3de5b9c07ea76e06a2f60af94571a0f053da49de65629f413e0cbd92`
exposes only the explicitly bound resident store. The exact grant envelope and
resident state own lifecycle truth; scheduling and projection share
`resident_self_grant_is_pending`. Artifact names and terminal acks do not own
launchability.
## Immediate audit order
Copied live Modeling invoked this organ. Attempts one through three failed
strict typed admission because the model duplicated `checkpointSummary` or
`verdict`; resident Self requeued them without consequence. Attempt four
completed and reported sampled older terminal grants `launchable=false` and
the active consumed grant `launchable=false`. Under an engaged copied brake,
Self reconciled the completed evidence, cleared the active turn at revision 74,
and remained braked. No new grant appeared; both copied owners exited zero.
## Accepted first-result publication
Exact pushed `9f82ee38` replaces the generic full-patch proposal mouth with a
closed semantic draft and runtime-owned causal composition. Exact pushed
`e723058a` adds the missing provider-required type beside schema constants.
Release `sha256-6428f9194c261806a8859ccff9efeb9bb041a0103c5bbd8fac617aae265a651e`,
witness `sha256-7ee2e14548bad526e946fbd79b555b7891d2eb6e2917856fefb1ebb7aeebd995`,
passed 24-binary inspection. Fresh copied live request
`repo-frontier-proposal-modeling-c6e584188580f373360a1b9d5113e2df67a22dd16c7cefcd97361067862b6d4b`
completed through one outer job on attempt one, bound one runtime-owned
frontier, terminalized its proposal grant, and ended with zero open jobs and no
Hands/Eyes frontier. Both owners exited zero under the restored brake.
## Review continuation authority map
- Owner: exact runtime-linked role-result terminality decides review readiness;
resident Self converts one exact receipt into one deterministic pressure.
- Inputs: the exact completed result, proposal binding/admission state, prior
review receipt, and resident continuation lifecycle.
- Output: no pending-result continuation; at most one review continuation for one exact result, followed by one
terminal settled projection.
- Forbidden cut: do not suppress review with a cooldown, ack tombstone, log
heuristic, or retry ceiling; move the consumed fact to the exact result or
its owning typed review transaction.
- Verification: fresh copied proposal produces one proposal grant, one outer
Modeling job, at most one review continuation, exact settlement, zero open
jobs, and no Hands, Persona, or deployment consequence.
Exact packaged `d4907ee8` proves the complete cut. Fresh copied request
`repo-frontier-proposal-modeling-507ad0a7dda5c8cc076b910f02d19c196b4cd5bb63e06ab25724aaac148897f8`
launched one outer Modeling job, received one terminal review, and then
published `awaitFrontierProposal`. No second review grant appeared. Runtime
ended with zero open jobs, Hands/Eyes false, and both owners exited zero under
the restored copied brake. Actual c006 was untouched.
1. Map `agent_memory` and every `state/agents.msgpack` consumer against keyed
Mind. Delete memories, social state, migrations, projections, and tests whose
only purpose is to preserve the parallel aggregate.
2. Delete `runtime_store_migration` and its tests unless a live fresh-epoch path
proves an owner; the approved migration explicitly has no writable migrator.
3. Map the local PowerShell operator wrapper and its direct Persona/operator
binaries against Eve, Bifrost, and the packaged runtime. Delete the parallel
control plane rather than repairing its modes.
4. Continue classifying remaining smoke/fixture/benchmark executables. A test
must falsify a named live invariant; compilation or a green mirror assertion
is not enough.
5. Run focused tests after each cut. Only after source subtraction stabilizes
should Idunn's build scratch contract be reconsidered.