Reshape fb0bb55 boot-counter to be immutability-safe (stop per-boot tombstone accrual) #106

Open
opened 2026-08-03 18:55:05 +00:00 by will.anderson · 1 comment
Owner

Tag: POST-BETA · ORTHOGONAL
Owner: @tim.lingo

Why

The boot counter added in fb0bb55 does an HTTP DELETE + create every boot, so it accrues one tombstone per boot for what is just a plumbing counter. That quietly pollutes the immutability arc (tombstones are meant to record real deletions of real content, not restart bookkeeping).

Fix

Replace the delete+create pattern with either:

  • an idempotent soul-state counter (in-place state that isn't part of the immutable memory graph), or
  • a supersede of a single counter node (one live node, history preserved) instead of delete+recreate.

Whichever keeps the memory graph honest: no tombstone should be generated by a normal boot.

Acceptance criteria

  • Booting the soul N times produces zero new tombstones from the counter.
  • The counter still reports an accurate boot count.
  • Reference commit: fb0bb55.
**Tag:** POST-BETA · ORTHOGONAL **Owner:** @tim.lingo ## Why The boot counter added in `fb0bb55` does an HTTP **DELETE + create every boot**, so it accrues **one tombstone per boot** for what is just a plumbing counter. That quietly pollutes the immutability arc (tombstones are meant to record real deletions of real content, not restart bookkeeping). ## Fix Replace the delete+create pattern with either: - an **idempotent soul-state counter** (in-place state that isn't part of the immutable memory graph), or - a **supersede** of a single counter node (one live node, history preserved) instead of delete+recreate. Whichever keeps the memory graph honest: no tombstone should be generated by a normal boot. ## Acceptance criteria - Booting the soul N times produces **zero new tombstones** from the counter. - The counter still reports an accurate boot count. - Reference commit: `fb0bb55`.
will.anderson added the POST-BETAORTHOGONAL labels 2026-08-03 18:55:05 +00:00
tim.lingo was assigned by will.anderson 2026-08-03 18:55:06 +00:00
Author
Owner

@tim.lingo Design decision is yours: replace the fb0bb55 delete+create boot counter with (a) an idempotent soul-state counter outside the immutable graph, or (b) a single-node supersede? Which do you want to take?

@tim.lingo Design decision is yours: replace the fb0bb55 delete+create boot counter with (a) an idempotent soul-state counter outside the immutable graph, or (b) a single-node supersede? Which do you want to take?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/neuron#106