Bound resident lifecycle retention
This commit is contained in:
parent
e8707b524e
commit
ed15f83a67
6 changed files with 338 additions and 10 deletions
|
|
@ -2129,6 +2129,12 @@ work.
|
|||
`gamecult-ops` drive is unavailable in this workspace, so this branch remains
|
||||
deliberately uncut rather than guessed.
|
||||
|
||||
The next implementation slice is resident lifecycle retention. It must use
|
||||
CultCache's exact-envelope atomic deletion surface, publish typed non-authority
|
||||
evidence, and prove negatively that retired history cannot re-enter scheduling.
|
||||
Resident lifecycle retention now follows this map. Resident Self's production
|
||||
serve/once owner applies a configurable closed-lifecycle bound (default 256).
|
||||
CultCache commit `fecc17c` adds a complete-snapshot-fenced single-file
|
||||
replace-and-delete transaction, so exact pressure/grant/ack/claim deletion and
|
||||
replacement of the one digest/count retention head cannot split. The head is
|
||||
not read by scheduling. Twenty resident Self tests and six swarm tests pass,
|
||||
including refusal of live/requeued authority and negative proof that retained
|
||||
history cannot create pending work. Exact packaged copied-state proof remains
|
||||
the acceptance boundary.
|
||||
|
|
|
|||
|
|
@ -1038,3 +1038,19 @@ must wait for the infrastructure runbook rather than being guessed.
|
|||
Next: implement the resident lifecycle retention organ and its negative tests,
|
||||
then audit coordinator references, packaged Heartbeat retention, supervisor log
|
||||
ownership, and the measured idle/active endurance plateau.
|
||||
|
||||
Resident lifecycle retention is now implemented in source. Resident Self's
|
||||
serve/once owner invokes a configurable `--retained-closed-lifecycles` bound
|
||||
(default 256). Only Heartbeat-consumed terminal lifecycles whose pressure still
|
||||
binds the consumed grant and which have no prepared/active lease are eligible.
|
||||
The exact pressure/grant/ack/claim envelopes are deleted in the same
|
||||
snapshot-fenced CultCache write that replaces the single retention head. The
|
||||
head carries only cumulative counts and a chained digest; scheduling readers do
|
||||
not consume it. Requeued brake/shutdown/failure pressure remains live.
|
||||
|
||||
CultCache commit `fecc17c` on
|
||||
`codex/resident-retention-compaction` adds the missing single-file atomic
|
||||
replace-and-delete primitive and its stale-snapshot refusal proof. Twenty
|
||||
resident Self tests and six swarm binary tests pass, including negative proof
|
||||
that retention cannot create pending pressure/grants/acks or resurrect state.
|
||||
Package and copied-state proof remain before this slice is accepted.
|
||||
|
|
|
|||
Reference in a new issue