Delete the heartbeat scheduler authority

This commit is contained in:
Meta Vens 2026-08-23 06:21:38 +02:00
commit 4d0db2c7b4
36 changed files with 280 additions and 4303 deletions

View file

@ -266,9 +266,9 @@ authority.
These are distinct authorities and must not be collapsed into one state enum:
- Heartbeat owns scheduling pressure and terminal acknowledgement consumption.
- Resident Self owns grant, coordinator lease, settlement, cooldown, and
requeue.
- Resident Self owns typed pressure, exact grant creation, prepared and active
launch exclusion, coordinator lease, settlement, cooldown, retry, terminal
receipts, and bounded lifecycle retention.
- Coordinator process owns its incarnation receipt or exact-death closure.
- Runtime worker attempt owns immutable launch, process claim, activation,
typed result, job result, and terminal attempt classification.
@ -279,19 +279,13 @@ The attempt aggregate centralizes exact request association and typed terminal
classification. Archived fulfilled attempts must retain recoverable decision
authority, not merely an ID/digest tombstone.
Heartbeat is scheduling physiology only. Exact `d1685df8` deletes its
personality, appraisal, rumination, dreaming, void-routine cognition, and
memory-graph paths. Exact `39dd9fdb` deletes the parallel agent-memory
identity/generation store, utterance vector, and generic self-patch admission.
When no explicit typed pressure exists, heartbeat sleeps and authors no Mind
state.
Exact `2164bd0a` removes the unowned scheduler generality. Heartbeat has one
live participant: Resident Self. Ghostlight scene scheduling, generic
tick/pump/heat/complete controls, adaptive pacing, initiative heat, and their
public intent schemas are gone. Modeling, Eyes, Hands, Soul, and Imagination
route from typed current-work obligations and never acquire idle heartbeat
lanes.
The heartbeat scheduler does not exist. Resident Self directly selects the
oldest pending pressure when no grant, prepared launch, or active lease exists.
Grant creation consumes that exact pressure through one batch CAS. Terminal
settlement writes the final receipt and terminal grant state atomically; there
is no acknowledgement consumer, scheduler history, pacing head, stale repair,
or cross-store reconciliation loop. A loop iteration is physiology only and
authors no state when there is no unresolved obligation.
Persona owns a separate keyed social corpus. Each mention, immutable turn
request, terminal receipt, quarantine record, retention head, and retention
@ -299,7 +293,8 @@ plan has its own CultCache identity. The Persona daemon derives an exact request
from pending mentions, reserves them through batch CAS, and cites that request
envelope as the observed source of its admitted pass input. Failed turns make
the mention pending with the terminal receipt bound into its next deterministic
request identity. Heartbeat cannot launch, block, or terminalize Persona work.
request identity. Resident Self cannot launch, block, or terminalize Persona
work.
## RepoModel and semantic projection

View file

@ -3,7 +3,7 @@
Updated: 2026-08-23
Branch: `codex/epiphany-shakedown-live`
Latest committed implementation cut: `39dd9fdb`
Current worktree: heartbeat concurrency-domain audit; Ox17 remains paused
Current worktree: final heartbeat deletion and behavioral-test audit; Ox17 remains paused
## Orientation
@ -28,8 +28,8 @@ authorize the next capstone or Gate 1.
`de0fc6b360ce03493b13208d917dc8349801f03364617d966152c85846c47482`.
- Model provider: OpenRouter `stealth/ox-alpha`, selected explicitly and
injected through the root-owned systemd credential boundary.
- `epiphany.service`, `epiphany-heartbeat.service`, and
`epiphany-swarm.service` are inactive with zero restarts after the hard epoch
- `epiphany.service` and `epiphany-swarm.service` are inactive with zero
restarts after the hard epoch
refusal rollback. The d2ca stores and swarm brake remain historical
production state; no newer package is admitted there.
- Idunn source `8b972715c47731f2418d0c423cb0dd2076940bd7` is provenance-exact and
@ -44,6 +44,30 @@ authorize the next capstone or Gate 1.
## What just landed
The current uncommitted subtraction removes the final heartbeat scheduler.
- Resident Self directly owns typed pressure selection, pressure-to-grant
batch CAS, prepared and active launch exclusion, leases, terminal receipts,
retry, and bounded retention. Terminal receipts are final records; no second
daemon consumes acknowledgements.
- Persona owns its separate keyed social store. The swarm receives that store
directly and cannot use a scheduler singleton to launch, block, retain, or
terminalize Persona work.
- The heartbeat Rust module, six submodules, CLI binary, release role, schema,
store contract, systemd unit, deployment lifecycle, readiness checks,
artifact directory, pacing/history state, stale repair, and old cross-store
reconciliation are deleted. Old heartbeat grants, acknowledgements, and
Resident Self v0 stores fail the writable epoch check.
- Native core passes 426/426 after the first fake-test pruning slice. Twenty-
one tests across library and runtime targets that only inspected source
spelling, copied removed fields, or exercised one-line helper truth tables
are gone. Daemon supervisor passes 29/29, coordinator 8/8, status 1/1, and
swarm 4/4. Exact CAS, hostile substitution, concurrency, lifecycle,
readiness, and re-entry proofs remain.
- The gamecult-ops contract removes 52 net lines, and Git Bash syntax plus the
deployment outage-order check pass. Bootstrap retains one deliberate cleanup
line to remove an obsolete installed heartbeat unit.
The global thread-state authority is gone.
- `1662a012` makes coordinator policy a pure projection over keyed Mind,