Skip to content

SuperBench v0.0.1

Choose a tag to compare

@github-actions github-actions released this 22 Nov 07:35
· 107 commits to main since this release

Summary

SuperBench v0.0.1 is the first release, and the changelog calls it an experimental single-host prototype, not a production system. A bench is one task's git worktree, kept warm between cooperating agents. The bench CLI and the local daemon benchd create it, hand it over under a cooperative lease, checkpoint its commits to the remote, and recover it into fresh host state. The changelog highlights a new root-only bench workspace renew_admin KEY, which frees a ready workspace whose stopped owner left stray files behind. It also highlights bench workspace reclaim KEY, which frees the space of a released Fresh bench, and idle reclaim by benchd after fresh_reclaim_idle_hours (24 hours by default while fresh_payload is on). Fresh workspaces now run their whole lifecycle on an installed service. A Fresh create that failed or stalled no longer holds its key for good, and a create from a branch already pushed past main works. Other themes are Linux storage with per-bench byte and inode caps on XFS, cgroup-supervised runs, SQLite state, and the default-off v2 switches read from /etc/superbench/activation.json.

Operators should read docs/pilot-installation.md before installing anything. The archive is Linux amd64 only and holds bench, benchd, bench-quota and bench-payload, with SHA256SUMS and a build-provenance attestation. A ledger initialized by an earlier revision is refused, and the message points to "Reinitialize the indexed ledger". The data volume must not be mounted with nouuid. To upgrade the four executables, use install.py --upgrade with --previous, --sums and --backup. The quota ledger becomes format 4 the first time a reclaimed key is created again, and older binaries then refuse it. A bench already stuck at materializing still needs the steps in docs/fresh-bootstrap-recovery.md. A dirty stopped lease is freed with stop_admin, then renew_admin, then a bench workspace run using the new token that commits or removes the files. After that, run release if the lease is still held, and optionally reclaim.

Users will notice that a checkpoint or release refused for uncomm

Highlights

First release. SuperBench is an experimental single-host prototype, not a production system, and
nothing here has been proven beyond what the repository's docs describe. A bench is one task's git
worktree, kept warm between cooperating agents: the bench CLI and the local Unix-socket daemon
benchd create it, hand it from one agent to the next under a cooperative lease, checkpoint its
commits to the remote, and recover it into fresh host state. On Linux, managed storage adds
per-bench byte and inode caps on a dedicated XFS mount, supervised runs in cgroups, and the
default-off v2 workspace API, whose Fresh layout keeps each member's tree private to a separate
payload account that benchd reaches only through the payload helper.

The release carries the four commands the managed installer needs: bench, benchd,
bench-quota and bench-payload, in one archive built for Linux amd64 with CGO off, so every
binary is static (bench-payload must be). The archive is reproducible from the tag, and
SHA256SUMS and a build-provenance attestation come with it. bench version and
benchd version print the release version; a build from a branch prints dev. Read
docs/pilot-installation.md before installing anything.

  • A ready workspace whose owner was stopped with stray files in its tree could not be freed: the
    checkpoint refused the files, and a stopped owner can never launch the run that removes them. New
    root-only bench workspace renew_admin KEY retires the stopped token and prints a new one
    (grant_token) for the same holder, with fresh launch authority. The old token stays stopped and
    is refused. It requires real and effective UID 0, a stopped owner whose run is stopped, no
    archive, transfer, initialization repair or pending checkpoint, and no active daemon operation on
    the key; every refusal is a fixed message. It is local only, not a socket operation. The operator
    path for a dirty stopped lease is: stop_admin, then renew_admin, then
    BENCH_LEASE_TOKEN=NEW_TOKEN bench workspace run --holder HOLDER KEY -- COMMAND, where the command
    commits or removes the files and the run checkpoints. Then release if the lease is still held,
    and optionally reclaim.

  • A checkpoint or release refused because the tree has uncommitted or untracked files now says
    so: 409 conflict with "workspace has uncommitted or untracked files; commit or remove them
    before checkpoint or release" (v1: "bench has …"), instead of the generic "workspace state
    conflicts with this operation". The code and status are unchanged and the message stays static:
    it names no path or file.

  • A Fresh create whose source commit the mirror held only under refs/remotes/origin/* failed
    with bench-quota: exit status 128 and stayed at materializing. That was any branch already
    pushed past main: the next generation of a reclaimed key whose bench had pushed work, or a
    create on a card branch with commits. Each member's clone now fetches exactly the source
    commit from the daemon's mirror before the checkout; nothing is fetched from the network, no
    other branch is copied into the bench and the mirror is not written. A bench already stuck at
    materializing from this still needs the recovery steps in docs/fresh-bootstrap-recovery.md.

  • A Fresh create whose initialization stalled after its bootstrap completed (the workspace stays
    initializing) no longer holds its key for good either. Once its initialization owner is
    stopped (stop or stop_admin), a create on the key with a new request ID has the helper
    reclaim the bench, with root's own in-use, containment and leaf checks, and makes the key's
    next generation. A failed create's recovery approvals are now named per generation
    (KEY@N), so a key whose create fails a second time is recovered the same way.

  • A Fresh create that failed no longer holds its key for good. Once root has recovered it
    (denied its operation with bench-quota cancel-operation, cleaned, removed the empty leaf and
    retired the allocation; this covers a create still materializing with no quota project), a
    create on the key with a new request ID asks the helper's
    read-only inspect-retired-payload and, on root's proof, makes the key's next generation with
    a new bench_id and a new quota project. Without that proof it is a conflict, as before. The
    recovery docs now say how to deny the original operation.

  • benchd reclaims a released Fresh bench by itself once it has been idle longer than
    fresh_reclaim_idle_hours in /etc/superbench/activation.json (default 24 hours while
    fresh_payload is on; 0 turns it off). Its sweep runs the same reclaim as
    bench workspace reclaim, and a reclaim that fails is resumed by the next sweep. Idle time
    starts when the last writer releases; a bench released before the upgrade starts its grace
    at the first sweep.

  • A create on a reclaimed key makes a new bench: the key's next generation, cloned again from
    its branches, with a new bench_id, a new quota project and a fresh tree. The old project is
    never reused and the old evidence is kept. The quota ledger becomes format 4 the first time a
    key is created again; older binaries refuse to read it.

  • A released Fresh bench can be reclaimed: bench workspace reclaim KEY (v2 operation
    reclaim) deletes its payload-private tree as the payload account, removes the empty leaf
    and retires its quota project, so a later create can use the space. Before, every Fresh
    create kept its reservation for good and a host filled up after a few cards. The bench ends
    reclaimed; reclaiming never returns to ready, and after any failure the same command
    continues. A legacy workspace is refused and keeps archive and reap.

  • A Fresh workspace now runs its whole lifecycle on an installed service. bench workspace create stopped at initializing with registered payload allocation requires its retained bootstrap authority, because setup, runs and lease reapplied the bench quota through the
    ordinary allocation that the helper refuses for a Fresh bench. They now check its pinned
    allocation read-only with bench-quota verify bench KEY.

  • A Fresh create past the volume's reservations now answers 422 capacity_exhausted with the
    logical quantities, as a non-Fresh create does, instead of operation_failed.

  • install.py --upgrade --previous SHA256SUMS --sums SHA256SUMS --backup DIR replaces the
    four installed executables with a newer revision's, while the unit is stopped.

    • Each executable must be the previous reviewed build, as a plain root-owned file. It is
      backed up to the new directory and then renamed atomically over the old one.
    • A foreign or changed executable, or any differing configuration file, refuses before any
      effect.

    A plain rerun still refuses differing files. "Reinitialize the indexed ledger" now uses this
    mode, unmounts before mkfs.xfs and reruns configure-host.

  • A Fresh workspace now initializes. With fresh_payload on, bench workspace create used to
    stop at initializing with lstat …/benches/<key>/<member>: permission denied, because
    benchd read the payload-private member tree itself. Now it reaches that tree only through the
    payload helper, as the payload account: inspection, preparation inputs, setup, runs,
    checkpoint and release. A checkpoint imports new commits into the daemon's mirror as a
    bounded Git bundle exported by the payload, checked strictly in a quarantine before any
    object reaches the mirror. Some steps refuse a Fresh workspace before
    touching it:

    • archive, transfer and cross-host export;
    • setup from a lockfile, or with explicit cache settings.

    Workspaces in the legacy layout are unchanged.

  • Durable storage records survive a reboot that renumbers a device. The quota ledger's ready
    record and authority identify the state filesystem by its UUID (plus the subvolume on btrfs)
    instead of its device number, and initialization refuses a state filesystem without one.
    Transfer approvals, storage retirements, the root checks of missing-source freezes and Fresh
    recovery compare a managed data volume's device only within one boot; the volume itself is
    bound by its UUID, so a loop image reattached at another minor no longer makes Fresh recovery
    refuse. Archive reap trees, run history, payload layouts, the payload bootstrap intent, helper
    operation identities, worktree transfer evidence and mirror stages still pin device numbers
    and refuse after a renumbering; "Reboot and device numbers" in docs/pilot-installation.md
    lists them and the host setup that avoids it. A ledger initialized by the previous revision
    is refused with a pointer to "Reinitialize the indexed ledger". Unmanaged storage, which has
    no UUID, still refuses a renumbered device, now with a message that says so.

  • The quota helper's storage authority no longer hashes the data mount's mount ID or device
    number. A ledger that install.py --storage initializes in the host's mount namespace now
    opens in the service unit's private namespace and after a reboot; before, every start with
    fresh_payload on failed with quota operation journal authority changed. A ledger
    initialized by an earlier revision is refused with a message that points to "Reinitialize the
    indexed ledger" in docs/pilot-installation.md. The data volume must not be mounted with
    nouuid.

  • benchd reads the default-off v2 switches (Fresh payload layout, finite I/O, receipt lookup,
    cancellation, registration observation) only from the root-owned
    /etc/superbench/activation.json, and logs them at start. With the file absent nothing
    changes. An activated daemon refuses state that a start without the switches has not migrated,
    and refuses a combination that would strand workspaces: fresh_payload needs cancellation
    and the installed service identity, and finite_io and registration_observation need
    fresh_payload.
    The managed installer creates the separate superbench-payload account and, with
    --identity, writes the payload policy and service identity the helper verifies; with
    --activation it writes the activation file with every switch off.

  • Return a specific v2 logical-capacity refusal with needed and total byte/inode budgets when a fixed quota reservation cannot fit. Preserve quota limits, retained creation intents and nonzero failures; log only the same bounded diagnostics. Keep the v1 closed error code and message unchanged.

  • Add a proposed explicit finite-I/O request codec with bounded opaque bytes and
    immutable digest vectors; keep legacy request encodings and service entrypoints unchanged.

  • Add fixed-policy XFS allocation, host admission and shared store caps, frozen
    pnpm/npm setup, atomic mirror publication and bounded/reserved run logs.

  • Add Linux cgroup-backed run/stop commands, retained leases on supervisor failure,
    local administrative fencing and schema-2 protection for execution metadata.

  • Replace provisional JSON state with versioned SQLite, one-time legacy import,
    rollback-safe lease updates and read-only status.

  • Persist creation intent before worktree changes; retry safely registers an exact
    journaled checkout after interruption and refuses dirty or conflicting files.

  • Add a local experimental CLI for task worktrees, persistent cooperative leases,
    remote-confirmed checkpoints, warm handoffs and recovery into fresh host state.

Changes

Features

  • Add local bench lifecycle and journaled creation (c874bf6)
  • Persist bench state transactionally in SQLite (ea47c2f)
  • Supervise bench commands in fenced Linux cgroups (c1def55)
  • Manage host storage with fixed-policy XFS quotas and bounded logs (32b3859)
  • Serve authenticated local bench operations with durable retries (730771d)
  • Package unprivileged Linux service with reviewed installation (ebf9335)
  • Archive benches and reap reviewed files with durable recovery (c1aea6e)
  • Enforce inode quotas with explicit legacy migration (4fec22f)
  • Retain run history and collect approved logs with crash recovery (5097a93)
  • Collect run logs under explicitly approved automatic policies (caf6eb6)
  • Run explicit repository setup hooks with durable once receipts (8f89b40)
  • Prepare runs and leases without releasing ownership (93f3fe1)
  • Refresh registered mirrors before ordinary acquisition (48ab88d)
  • Recover original workspace refs after checkout loss (8de3f84)
  • Archive retired workspace sources with missing checkouts (0e116d4)
  • Bind cross-host handoff artifacts to one destination (d116319)
  • Observe stable host identities for cross-host binding (cdc1c02)
  • Retain exclusive cross-host handoff identities transactionally (d4d6916)
  • (workspace) Inspect entire staged vector without materializing (773c4a4)
  • (storage) Observe exact allocation or bound ledger absence without growth (9e92c54)
  • (repair) Journal one-shot local effect admission independently (983992e)
  • (repair) Bind schema28 claims to immutable local operation authority (6abf82c)
  • (state) Bind schema29 cross-host reservations and immutable transfer authority (f3dd516)
  • (handoff) Coordinate reviewed original-ref export and import across hosts (a3ef9d1)
  • (reader) Render proposed inventory and checkpoint fixtures (8946d09)

Fixes

  • Preserve approved indexes during control Git observations (fc6c74c)
  • Report transferred workspace sources unavailable (bdb8eb6)
  • Verify transfer budgets against sealed repository quotas (884d976)
  • Reject non-string command arguments on the v1 wire (615cd06)
  • (protocol) Bind workspace responses to request holder (63b1e66)
  • Retain exact cancellation conclusions across history collection (3be61d9)
  • (state) Verify core row persistence before acknowledging transitions (135a4e8)
  • (handoff) Exclude conflicting local and cross-host target reservations (e435662)
  • Expose bounded logical reservation capacity refusals (043a3fc)
  • Preserve the closed v1 capacity error contract (1ca2264)
  • Recover real Fresh leaks to retired tombstones (ec9a231)
  • Relay recovery markers into the parent log (4ea08c0)
  • Daemon-owned leaks recovered through the clean worker (4d4163a)
  • Inspect the live worker and the stale-scope sweep (f55ed86)
  • Check the worker once it is held mid-delete, then clean up (afeab9b)
  • Fixture, recovery: parse procfs and cgroup fields instead of matching bytes

On kernel 7.0 an empty Groups line in /proc/PID/status is
"Groups:\t \n", with a trailing space, so the fixture's exact-byte match
failed against a correct worker. The fixture now parses status the way
the worker's own self-check does: the value after the key, its
whitespace-separated fields joined by single spaces. The Uid filter uses
the same parse.

The same fragility was in the worker-cgroup fence and sweep, which
matched "populated 0\n" in cgroup.events. They now parse the file and
require exactly one populated key with the value 0, whatever the
whitespace, with a unit test. The product's behaviour is otherwise
unchanged; the worker's status check and the gate's procfs reads already
parse fields.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_017y1PuoCFjP31uXyhLB6Hnr (c180e36)

  • Open the ready journal from a private mount namespace (a891bb3)
  • Log the private-namespace marker alone on its line (b298757)
  • Make the private mount namespace check deterministic (44ce822)
  • Prove the Fresh read-only verify and bootstrap capacity refusal (9e84244)
  • Move the lower identity inventory into the fixture package (db1d8b1)
  • Reclaim completed Fresh benches on the lower XFS fixture (dcaf5b4)
  • Reclaim refused while a payload process runs in the bench (b7796f5)
  • A same-project hard link outside the leaf blocks the tombstone (0d6159d)
  • Prove confinement and leaf refusal on real XFS (d5a8c69)
  • Prove the confined purge worker, reclaim refusals and the scan (cc3c745)
  • The payload opens only its own relative paths (fa299e3)
  • Create the control file with mode 0600 (fa9e488)
  • Re-create a reclaimed key on the lower XFS fixture (2fd54f1)
  • Create and re-create from a branch moved past main (29ba4e3)
  • The deeper re-creation guards, with the old layout aside (2e08659)
  • Each case group returns its reservations; name missing markers (72a13a7)
  • Detect a skipped child test by Go's skip line, not the word (d7e1925)
  • A failed create's key makes its next generation after root retires it (cca0482)
  • A stalled initialization's reclaim, and a key's second failed create (1573ed3)

Docs

  • Record verified missing-checkout recovery evidence (79a7bdd)
  • Distinguish injected failure from process-kill coverage (a3c4689)
  • Record scoped managed cancellation acceptance and limits (888c9a2)
  • Record schema27 required checks and managed rerun (75197b2)
  • (handoff) Describe implemented local coordinator and pending runtime proof (97e5413)
  • Draft read-only bench browser mockup (1a72d25)
  • SuperBench identity and landing site design (d439f3d)
  • SuperToolkit keeps its existing Apache-2.0 licence (164afc6)
  • SuperBench identity and landing site implementation plan (590a757)
  • Plan carries SuperToolkit's switch to MIT in frontdoor (86132ce)
  • Pre-release docs site for docs.superbench.dev (0f8ad85)
  • Allow "isolated" and "isolation" only when negated (7a036dc)
  • Apply the content review of the pre-release docs (deb6d28)
  • Empty-leaf removal, quota repair and durable retirement (415bd2b)
  • Finite I/O design note (default off) (9f3860f)
  • Exec report, metadata bound and open-time growth limits (3d263b7)
  • Capture bound includes the exec marker; ExecFailed has no fixture (bb66176)
  • Daemon-owned cleanup and the recovery flow per phase (f56efbc)
  • The operator step for a Git control whose cgroup root is gone (799a81c)
  • Read benchd's flags from its renamed flag set (ba835c1)
  • API-only cancel and lookup, and non-Fresh workspaces under Fresh (df92b35)
  • Mountpoint, fstab warning, stable ready record, reinitialize (7d74854)
  • Unmount before mkfs and configure the host again on reinitialize (b5ae62f)
  • Reboot and device numbers, fixed loop device, reinitialize wording (a003e57)
  • Fresh lifecycle limits after payload-side initialization (17cf9a1)
  • Reinitialize unmounts before mkfs and reruns configure-host (e94b4d9)
  • Operation-info is non-mutating, not read-only (0552022)
  • Fresh import bounds, the export cap, no reclaim yet, --sums (5496ce2)
  • Record the installed Fresh lifecycle and the gaps it found (d902367)
  • Reclaim a released Fresh bench (e5a3949)
  • Reclaim's threat model, the purge watchdog and rollback (91a7c8f)
  • The in-use check is best-effort; the backstops are the guarantee (cbbb915)
  • Project quotas do not hold against a file's owner (3039106)
  • Scan existing benches, recovery, and the symlink gap (e1ae3b9)
  • Inode counting, the name bound and scan statuses (18d1875)
  • Idle reclaim and the next generation of a reclaimed key (b57a58f)
  • The source commit of a Fresh member's clone (d144ef1)
  • Deny the original operation, and create again after a failed create is retired (de2eb4c)
  • Stalled initializations, per-generation approvals, the inspection's lock (250ae17)
  • A create refused before its intent (de18806)
  • Renew_admin reads benchd's state, not the CLI's defaults (1fe331f)

Refactor

  • (storage) Isolate canonical proof and bounded read helpers (94fe231)
  • (workspace) Isolate pinned worktree materialization (26bd13b)
  • Keep freshrecovery and workspace within the package line bound (66eee41)

Tests

  • Verify transferred source availability in managed drills (02efbea)
  • Cancel repair after the hook actually starts (6cc787d)
  • Retain transfer availability checks after source reap (881caa1)
  • Prove exact queued helper and interrupted writer cancellation (4f96fb2)
  • Wait for real output before payload cancellation (6922cce)
  • Construct historical schemas without future operation metadata (8bf01b0)
  • (state) Remove future authority from historical downgrade fixtures (19feb3b)
  • (archive) Construct genuine pre-handoff legacy reap schema (406658b)
  • Require precise cancellation and execution refusals (a7945a1)
  • Characterize active budgets and permanent operation replay (df20907)
  • Verify static payload Exec and causal credential guards (a0687e2)
  • A capacity-refused create is replaced on root's proof of absence (a4c466a)
  • Report the capacity-refused absence proof in the fixture's marker list (ba998cc)
  • The live-run renewal test waits for its payload and outlives no state (388c040)

Other

  • Prepare new and recovered checkouts under reserved initialization leases (ec96e29)
  • Enforce persisted archive grace before reviewed deletion (4d9257d)
  • Freeze archived checkouts with durable permission recovery (9303398)
  • Apply repository cache settings to setup and command execution (5c2b316)
  • Pin repository quota requests within managed host policy (f7a915f)
  • Archive merged task branches under committed repository policy (493c3e8)
  • Journal and seal multi-repository checkpoint generations (aeb17d9)
  • Fence Git control helpers before releasing managed ownership (603eb57)
  • Prepare v2 workspace admission and complete source vectors (f5ab7d2)
  • Align repository URL authorities with canonical validation (acc2962)
  • Add locked state sessions and pinned workspace materialization (bdeac13)
  • Persist and stage aggregate workspace ownership (308e53e)
  • Guard aggregate service receipt admission (830cf9f)
  • Prepare aggregate workspaces and confirm genesis readiness (3bbcb44)
  • Execute aggregate stages under one fenced workspace owner (fe1303d)
  • Recover aggregate workspaces from exact sealed checkpoints (251c18d)
  • Archive and reap complete aggregate workspace checkpoints (cac5bf2)
  • Expose grouped workspace lifecycle through v2 and CLI (3eaef7d)
  • Seal fenced workspace stages after administrative stop (11e0682)
  • Reconcile interrupted workspace history with reviewed observations (2e2539c)
  • Add reviewed stopped workspace initialization repair (c720fa1)
  • Transfer original task refs through reviewed source retirement (f685f32)
  • Record mirror staging ownership with anchored durable journals (7e02aa0)
  • Collect reviewed managed mirror stages with durable retry authority (e493c06)
  • Expose reviewed mirror clone collection through local administration (f544a6d)
  • Record native and managed Linux clone collection verification (f2b501d)
  • Join execution cancellation monitor before returning its outcome (ce8030a)
  • Persist private cancellation barriers and operation epoch bindings (fe78dbd)
  • Guard private operation effects and cancellation finalization cutoff (bc4d48d)
  • Refuse ignored durable operation admission (22b8e1a)
  • Persist typed v2 controller intents without adopting legacy receipts (a30e03b)
  • Pin operation control provenance before growth effects (74826be)
  • Recover only Git controls bound to the cancelled operation epoch (b11c6e0)
  • Keep confirmed cancellation barriers monotonic (23a16bf)
  • Bind supervised history intents to their originating operation epoch (1e75788)
  • Preserve interrupted captures for exact revoked managed operation runs (7365794)
  • Persist fixed-helper operation deny barriers under a durable causal lock (4d3fe6e)
  • Journal exact helper invocation authority before privileged launch (eadcbca)
  • Extract fixed quota helper transport without changing ordinary assignments (837b1b1)
  • Keep host configuration validation separate from quota mutation authority (ee9f367)
  • Verify existing immutable managed authority before typed helper effects (06d6e46)
  • Pin and record typed helper invocations before launch (0718399)
  • Expose fixed-policy typed quota operation barriers (8870f95)
  • Reconcile original helper invocations through independent deny transport (860893b)
  • Pin helper tracking at operation admission without adopting legacy activity (d0619d2)
  • Prove exact operation revocation and sealed terminal history before retiring its epoch (b52372d)
  • Persist stopped partial materialization without reviving its continuation (c1fd498)
  • Represent genuine historical schemas in legacy upgrade fixtures (1341ad7)
  • Extract characterized per-workspace execution gate (f9a86a8)
  • Join private helper barriers with exact core cancellation reconciliation (1693716)
  • Use current-schema-only host sessions for private cancellation (aa4d1af)
  • Confirm private cancellation only after independent core reconciliation (1e1cdeb)
  • Recheck exact cancellation barrier and helper inventory before terminal commit (ed4c73f)
  • Add isolated actual-helper queued and controller-loss proof fixture (ed38bcd)
  • Preserve all unresolved helper descendants and pin privileged fixture inputs (83ebbe0)
  • Observe actual helper lock waits across all Go runtime threads (36a1b59)
  • Fence completion archive and repair admission behind the active operation epoch (78d844a)
  • Retire normal operation epochs only after the durable original receipt cutoff (0e275de)
  • Track durable completion of operation reconciliation (94de800)
  • Isolate the receipt ledger from HTTP orchestration (6605312)
  • Bound restart reconciliation without blocking cancel admission (c801b86)
  • Prove exact cancellation targets have no engine admission (8bb7323)
  • Complete proven preadmission cancellation after restart (6c9681d)
  • Validate the separate proposed operation cancellation contract (ba4f17b)
  • Atomically admit typed receipts before attaching controllers (0e7bd31)
  • Extract supervised control context configuration (118613f)
  • Keep operation admission outside global writer recovery (ae317f6)
  • Connect private cancellation admission to typed workspace dispatch (5feefd9)
  • Reserve bounded Unix admission for private operation cancellation (fc0ebd4)
  • Hold connection capacity through underlying socket close (6247c02)
  • Start private cancellation recovery only on current state (bb693c1)
  • Retain released launch evidence until operation finalization (0b3ae3e)
  • Prove exact replay after durable cancellation acknowledgement (5f8de41)
  • Prepare nonroot managed cancellation acceptance fixture (6679f2d)
  • Create the fixed quota parent with exact traversal permissions (1a904e7)
  • Diagnose scoped managed startup without exposing capabilities (6955a76)
  • Add proposed read-only historical receipt lookup (5189a9a)
  • Add explicit cooperative local preparation and acknowledgement (90e6308)
  • Refuse privileged reap and confine deletion to approved roots (f69485e)
  • Make unsigned handoff operator verification explicit (c0f3ed8)
  • Move unchanged durable file writer into storage adapter (758d357)
  • Document the non-root administrative deletion boundary (8374013)
  • Run ordinary CI unprivileged and require explicit root reap refusal (2dbf1d6)
  • Remove unused import after atomic write extraction (3a6ec65)
  • Allow unprivileged physical ancestor inspection in CI fixtures (278863a)
  • Bound receipt admission by unresolved operations while preserving replay (1d5b81d)
  • Characterize repair history and unresolved admission capacity (6074003)
  • Budget unresolved repair admissions without deleting replay history (c5e6c95)
  • Document fresh Linux installation and suite pilot configuration (0303751)
  • Add static fixture-backed reader state mockups (a5d941b)
  • Keep reader work mockup-only within required CI (abd2c4f)
  • Reject unsupported replay IDs before scalar operations (2ed68aa)
  • Match ordinary CI concurrency to the Forge runner (086198a)
  • Name current pilot completion gaps before installation steps (ebc58c7)
  • MIT (e12694c)
  • Add isolated indexed helper journal foundation with authority guards (e0d74aa)
  • Require permanent fresh-format authority before helper journal effects (d98da2e)
  • Separate fixed-ledger initialization and control from scoped helper identity (2851fc4)
  • Resync retained reservations and test exact journal identity guards (ab3c74a)
  • Add fixed-policy payload execution boundary primitives (a89872e)
  • Add dedicated non-cgo payload helper with closed refusal codes (ebacd5b)
  • Add explicit fenced payload helper pipe transport (90d1f6a)
  • Bind service identity to a fixed installed registry (95c3274)
  • Merge remote-tracking branch 'forge/main' into codex/payload-isolation (dcc4390)
  • Bind privileged payload launch to both installed policies (4673e6a)
  • Require privileged installed identity binding checks in CI (7372df6)
  • Package the static payload helper with a zero-argument sudo grant (47f8bf9)
  • Use eight CPU CI budgets and preserve fixture runtime limits (88564f8)
  • Fail CI runner admission before ordinary compilation (d0dcf12)
  • Separate ordinary CI from dedicated privileged identity proof (f3297a3)
  • Run ordinary checks independently of privileged identity admission (af003a6)
  • Describe operator verification without local host names (e9875d0)
  • Carry ordinary CI separation through the identity stack (f5652ba)
  • Preserve child credentials when attaching execution cgroups (06f439f)
  • Integrate gated payload transport with execution lifecycle

Consume transport validation, process start and frame delivery within existing launch gates. Separate leader wait from fenced IO drain before sealing. Add an installed-authority aggregate layout adapter that refuses unsupported cache transport and stale registrations; service activation remains unwired.

Validation: isolated Linux UID1001 race and vet passed stageexec, payloadstage, bench, workspaceprep, architecture, serviceidentity, payloadexec and payloadlaunch. Exact 863-file source freeze unchanged; owned 1CPU/2GiB cgroup emptied and removed, no OOM. No production sudo or payload isolation acceptance claimed. (ce31dd3)

  • Verify real bridge lifecycle and reject ambiguous launch callbacks

Exercise descendant-held pipes and actual pump failure through Bridge plus Runner, preserving exact owned-process cleanup and seal refusal. Reject dual start callbacks before capture or preparation.

Validation: isolated Linux UID1001 stageexec/payloadstage/architecture race and vet including bench/workspaceprep passed on the exact 864-file frozen source. This is transport composition evidence, not sudo/root credential drop or production activation proof. (781447b)

  • Seal cancelled payload logs with bounded cleanup and guard command IO (b5fc1d5)
  • Pin scalar identity and fresh private allocation layout (6d5b659)
  • Bind scalar payload transport to private registration (334c5eb)
  • Keep scalar CLI JSON independent of private layout registration (5d98bb0)
  • Exercise scalar CLI output and migration invariants end to end (b622e65)
  • Add isolated indexed helper journal foundation with authority guards (99a2b2c)
  • Require permanent fresh-format authority before helper journal effects (4f4fe47)
  • Separate fixed-ledger initialization and control from scoped helper identity (ffafb06)
  • Bind indexed helper operations to explicit installed storage policy (341182e)
  • Register the indexed policy refusal in privileged CI (fbd215f)
  • Keep the indexed refusal fixture parent private (d7b959b)
  • Fix indexed helper provenance, input ordering and policy custody (d88e830)
  • Merge commit 'ab3c74afb52031139f606cdfd61251c7172f1df6' into codex/indexed-control-review-fixes

Conflicts:

internal/architecture/architecture_test.go

internal/quotaoperationjournal/facade.go

internal/quotaoperationjournal/facade_test.go

internal/quotaoperationjournal/journal.go

internal/quotaoperationjournal/journal_test.go

internal/quotaoperationjournal/store.go (f4c0fb3)

  • Give scalar conflict fixture a current registration identity (5aa7c17)
  • Extract unchanged fixed-policy file custody (1d173be)
  • Register retained indexed policy custody in privileged CI (6a1d381)
  • Close retained policy handles before fixture unmount (70ddb1b)
  • Restrict privileged identity CI to protected main pushes (66d931c)
  • Verify privileged scheduling against protected current main API evidence (52b915a)
  • Capture bounded stdout only after prepared execution is sealed (c925cb5)
  • Limit privileged CI fixtures to two CPUs per job (5912709)
  • Add explicit finite managed payload stdin transport (4faaa89)
  • Keep final descriptor fault overlay independent of following input and Git checks (bcb6d59)
  • Add scope-free private registration inspection to fixed helper (1ccb697)
  • Update pilot installation inputs and merged adapter progress (9e8e354)
  • SuperBench, follow until release (6e3bfe1)
  • Review fixes for the copy and its check (80dce08)
  • Lockfile (72dbcfa)
  • The link preview image (d7e4598)
  • Keep the space around inline code in the lease caveat (8d70574)
  • Deploy superbench.dev from the GitHub mirror (b962263)
  • Run branch push CI only on main while preserving PR and tag checks (c4c56f6)
  • Add proposed bounded finite IO codec with canonical owner vectors (0381d7d)
  • Prove finite IO refusal guards and pin merged owner corpus (37e455d)
  • Materialize fresh registered payload workspaces under indexed control (9b3b6eb)
  • Publish payload registration through held directory descriptors (cd5e457)
  • Characterize fresh materialization and completion phase refusals (ff3b543)
  • Characterize retained publication state root replacement refusal (adadeee)
  • Keep publication refusal fixtures private under ordinary umasks (623501e)
  • Persist fresh allocation exclusion with its durable project reservation (415ce5a)
  • Prepare fresh indexed installation gate and typed bootstrap command

Source checkpoint only; current-main integration has not been compiled or exercised. Actual booted-systemd launch exclusion remains unproven. (e866cdf)

  • Prepare operation-bound finite bootstrap helper transport

Source checkpoint only, not compiled. No production creation path selects this transport; full canonical Spec and current vector validation remain caller requirements. (e3dfc23)

  • Bind fresh bootstrap replies to retained actual quota assignments

Private source checkpoint; Go tests and updated privileged lower fixture are pending. No daemon create path or pilot configuration activates this command. (0953d7f)

  • Match bootstrap allocation inode bounds to durable workspace policy (e94d70a)
  • Exercise retained allocation results in the lower XFS materializer fixture

Source-only fixture checkpoint; tagged static compilation and actual privileged rerun remain pending. No booted-systemd or installed lifecycle claim. (0f80865)

  • Route bounded registered checkout Git through fenced payload transport (789c397)
  • Tighten payload Git refusal assertions (b32ec27)
  • Enforce managed Git policy at the helper boundary (7e48b3a)
  • Cover every managed Git filter command refusal (cc69830)
  • Match scalar Git layout without indexing grouped members (16db687)
  • Persist fresh bootstrap provenance before quota reservation (072028c)
  • Observe empty Git control inventory without effects (0a27828)
  • Checkpoint default-off registration observation service source (242bcd0)
  • Check retained registration locks against actual workspace database reads (f95bd58)
  • Align proposed registration root binding and pin canonical owner vectors (4a05422)
  • Keep private observation HTTP handling in feature owner (511344c)
  • Cover registration ownership and HTTP admission refusals (53a6102)
  • Inspect retained indexed identities without reserving or reviving them (ec55af5)
  • Inspect retained bootstrap provenance without reviving cancelled operations (56b3317)
  • Disable sudo PTY allocation only for the payload helper (f654b3c)
  • Wire default-off fresh workspace staging to the fixed bootstrap helper

Build the full durable member vector under retained initialization ownership, require managed original operation and installed service authority, persist only actual helper quota fields, and bypass legacy allocation/materialization. No public activation path. Focused macOS workspace race tests, bench compilation and touched-package vet pass; actual Linux/privileged caller proof remains pending. (6984106)

  • Describe the default-off fresh bootstrap caller accurately (c41c99a)
  • Resume committed fresh allocations after interrupted staging gate (b39157a)
  • Retire absent Fresh quota reservations without deleting or reusing allocations (13b366f)
  • Describe fixed registered payload cache selections without activation (da65d16)
  • Refuse legacy quota release for Fresh allocations (8cccac0)
  • Observe bounded preparation inputs through retained registered layout custody (356a00e)
  • Exercise preparation inspection through privileged Exec in CI (bb9473b)
  • Cover preparation input custody refusals and document helper returns (214a12e)
  • Guard absent Fresh retirement with denied provenance and durable approval (2f57841)
  • Model ownership-bound Fresh cleanup approvals without effects (64134ca)
  • Add the shared release kit files (72842c2)
  • Stamp the version, fix the linux arm64 build, add the changelog (368fd4e)
  • Build static linux archives at the tag (3049f56)
  • Build linux amd64 only, leave the payload helper alone (3c8b03a)
  • The CI-check fallback runs the ordinary checks (2c0b6c5)
  • Allow the release version stamp (1a49aa8)
  • Publish retained approvals atomically (1aade56)
  • Deploy and check the docs site (b860ac4)
  • Link the pre-release docs (7e44e47)
  • Expose the fixed directories and a held recovery view (74c19c6)
  • Syncfs the data root before trusting absence; add Select (b2bee32)
  • Empty-leaf removal, fixed-name removal and quota repair (c31c238)
  • Route the four direct-root recovery commands (f94d402)
  • Test that syncfs precedes the tombstone (7a09e01)
  • Sync the quota limit, require silent empty reports (4551bf9)
  • Credential fixture expects the identity lane's two-CPU limit (5e0bc6c)
  • Explicit finite profile, bound io to its profiled run (9140792)
  • Reserve a per-identity response bound before effects (7a88101)
  • Keep exact sealed stdout on a known nonzero exit (70400a0)
  • Move the sealed stdin leaf; privileged delivery fixture (b098c8e)
  • Thread a finite plan through the helper transport and publish IO (33e7290)
  • Default-off finite I/O gate, profiled lookup and client (e73fe3c)
  • Publish io only after the helper proves exec was reached (9a6bc38)
  • Keep the 64 KiB budget outside io; finite cancel digest test (ea388dc)
  • Upgrade to format 7 inside the first finite claim (1606222)
  • Anchor causal exec variants in enterPayload (2bdaa3b)
  • Open regular files nonblocking while hashing (f235a48)
  • Bind the owner and quota assignment (da740b8)
  • A read-only fenced check (2d96942)
  • The daemon-uid observe and delete child (4f88958)
  • Plan-clean-bootstrap and clean-bootstrap (fb3cd79)
  • No ptrace, no tty, no session, no root keyring (62db68e)
  • Start the worker in its own session, quote it, sweep scopes (c0bcf54)
  • Root's forking thread gives the worker a fresh session keyring (81ed0a0)
  • Refuse a traced worker, send the request only after ready (cfeba73)
  • Benchd reads the default-off v2 switches from a root-owned file (84970da)
  • Payload account, identity documents and the activation file (b4899af)
  • Refuse switch combinations that strand workspaces (95477bb)
  • Benchd, service: tests that fail when the activation wiring is removed

Deleting activation.Load() or Activation: switches in benchd, or any switch's mapping in serve, failed no test. benchd's run now takes its loader and server as parameters (main passes activation.Load and service.Serve), so a test proves the loaded switches reach the server and a loader refusal stops the start. serve builds the server in newServer, the one place the switches meet the server, and a table test proves each switch sets exactly its own field and fresh_payload reaches bench.Store.

Receipt lookup alone is covered: promoteNormal promotes a normal request out of the accept class, and through run and the real server the route answers and the private listener closes a ninth idle connection, which the ordinary listener keeps open.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_017y1PuoCFjP31uXyhLB6Hnr (72149e5)

  • Trust the directories only when the file exists; test the race checks (5f5119f)
  • Create directories 0755 whatever the umask (ec62c09)
  • Refuse a shared payload group and foreign accounts up front; test main's paths (076fba4)
  • Set up the indexed operation journal on a fresh host (96ee4e7)
  • Log the cause of every failed operation (60eb58b)
  • Refuse v1 create and recover while fresh_payload is on (dbf27ba)
  • Check the data mount before writing storage state (1138dcc)
  • Treat only a ready indexed journal as initialized (2459374)
  • Test the logging and readiness wiring, document recovery (7b39dc7)
  • Pin a mount identity the same in every namespace and after reboot (3104619)
  • Leave namespace-local fields out of the unmanaged mount identity (9ddea30)
  • Point a changed ready authority at the reinitialize procedure (3e6182d)
  • Refuse a data volume mounted with nouuid (31f2dd9)
  • Pin the state filesystem by UUID, not st_dev (f4bdd4e)
  • Cover policy, anchor, group and a malformed mountinfo line (7f33eaa)
  • Compare the data volume's device only within one boot (55bb301)
  • Keep comparing an unmanaged freeze's recorded devices (39ea946)
  • Own the state filesystem probe (902f647)
  • Bind the retirement parent to the verified device (b54a5f5)
  • Initialize checks lock and database with checkFormatObjects (c32b9d2)
  • Payload helper: owner-free Git observations and root cleanliness

The daemon cannot read a Fresh member tree, so it needs the helper to observe
that tree for it. Two bounded, typed additions:

  • payloadgit.Observe binds a route to a registered member without a held
    owner. Its Execute accepts only seven fixed read-only argv (checkout
    identity, origin, object format, porcelain status, HEAD).
  • The preparation inspection now reports whether the aggregate root holds
    any entry outside the registered layout. Only that bit crosses; no name or
    content of the entry does.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_017y1PuoCFjP31uXyhLB6Hnr (d2978ad)

  • Route daemon access to payload-private member trees (846cc29)
  • Explicit --upgrade mode for the four executables (3c4d22d)
  • Select by the workspace's registration, fail closed, test every guard (7855ddd)
  • Import checkpoint bundles through a strict, bounded quarantine (0d3f754)
  • --upgrade also verifies the incoming executables (312dc2e)
  • Import SHA-256 members, keep pack windows under the memory limit (aebb43d)
  • Pack bounds reach the import's local transport, scaled to its limit (6d2c5ca)
  • Verify the pinned allocation read-only before launch and lease (2d66a77)
  • A Fresh create past capacity answers capacity_exhausted (49fab2a)
  • Purge, owner-only deletion of a payload-owned tree (dd516f9)
  • Reclaim entry points the fixed helper's sudo route reaches (4023046)
  • A reclaim moves a completed intent to reclaiming, then reclaimed (c67b284)
  • The fixed helper's reclaim reply (41bd4ea)
  • Reclaim a released Fresh bench as the payload account (a6b56e1)
  • Reclaim-payload, the daemon's route to reclaim (b82b043)
  • Reclaiming and reclaimed, the terminal phases of a reclaimed bench (c0d5b35)
  • Reclaim, the daemon's transport to reclaim-payload (ed9381c)
  • Workspace reclaim: the reclaim operation, from the daemon's own records

reclaim (v2, key only, operator) and bench workspace reclaim [--socket S] KEY reclaim a released Fresh workspace. The daemon decides from its own
records, under its host lock: a Fresh registration (a legacy workspace is
refused unchanged), phase ready, no lease, no pending or staged work, no
operation admitted for the key (the operation barrier), an allocation, and
a complete checkpoint that the tree's HEAD vector still equals (inspected
through the payload helper) and that the mirror and remote confirm, as
release does. It then records the workspace reclaiming, one-way, runs the
fixed helper's reclaim-payload and records it reclaimed. The same call
resumes a reclaiming workspace after any failure; a reclaimed one is
returned unchanged. Refusals from the workspace's state are conflicts and
record nothing.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_017y1PuoCFjP31uXyhLB6Hnr (7915c8f)

  • Root refuses a reclaim while anything uses the bench (f96685b)
  • A stalled purge worker is killed, not left holding the lock (264c0e4)
  • Reclaim-payload runs only under the workspace's reclaim identity (0c9812a)
  • Tests for the purge's device check and lift bound (babb813)
  • Every task, every mapping, every nested cgroup (82c3636)
  • The purge worker's ready line is watched too (c583c58)
  • Tests for the payload-active relabel and a retained retry (5bfc563)
  • Without map_files, check every entry, then maps (da3c38a)
  • The in-use check is described as best-effort (b9e17c5)
  • A reclaimed bench fails Fresh quota verification closed (21438a8)
  • Confine every payload process with a seccomp filter (5abd8a3)
  • Refuse a bench leaf outside its quota project (233cb23)
  • Verify Fresh storage before checkpoint export (0da944c)
  • Pin payload confinement and leaf-check wiring (98b679b)
  • Let a tracer's skipped syscall through the x32 check (5dc041f)
  • Prove filter mode with raw syscalls; skip unprovable io_uring (71eed1a)
  • Bind stdin with dup3 so linux/arm64 builds (a652fae)
  • Walk with one descriptor held and read symlink projects (6c96e4e)
  • Confine the purge worker and refuse a tree outside its project (9ca6360)
  • Scan-projects reports benches outside their projects (3ce5edc)
  • Wait briefly for the shared ledger lock in verify (6fb7b06)
  • Allow-list every credential switch (fc9acee)
  • Count distinct inodes, bound names separately, test the races (e23a88e)
  • Run the tree check as its own ordered step (9f10fb3)
  • Cast Nlink so linux/arm64 builds; check.sh builds both (c092a90)
  • Report unverified walks apart from real escapes (f8cf29d)
  • Precise no_new_privs test under CI privileges (e3788f8)
  • Fresh_reclaim_idle_hours, the idle grace of a released Fresh bench (8530aa3)
  • A writer's release records when the bench went idle (c410e0c)
  • Workspace reclaim: an optional condition checked where reclaiming is recorded

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_017y1PuoCFjP31uXyhLB6Hnr (c5fef35)

  • Reclaim released Fresh benches idle past the grace (94dda12)
  • Quota ledger: format 4 keeps a reclaimed key's earlier generations

The next Fresh generation of a key takes a new project ID only in place of
the exact tombstone of its reclaimed one, which moves to Retired in the
same save and is never assigned again. Every ledger reader accepts format
4; a reader that predates it refuses the ledger.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_017y1PuoCFjP31uXyhLB6Hnr (a23c05d)

  • Payload bootstrap: a reclaimed key's next generation

Spec v2 names a later generation of a key and the reclaimed workspace
before it; v1 is the first generation, with unchanged bytes. Each
generation keeps its own intent and controls (KEY.json, then KEY@N.json).
Begin for a later generation reads the predecessor's retained intent,
requires it reclaimed under the same storage authority at the same leaf,
refuses while the old layout registration is still published, and takes a
new project in place of exactly the predecessor's tombstone.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_017y1PuoCFjP31uXyhLB6Hnr (168d879)

  • Fence each generation's own controls (d202f45)
  • Pin treaty 83e51d5 with the reclaim vectors (c6f941a)
  • A reclaimed record gives way to its key's next generation (185f642)
  • A create on a reclaimed key makes its next generation (6ea8761)
  • Payload bootstrap: fetch the exact source commit from the mirror

A Fresh create failed with "bench-quota: exit status 128" and stayed at
materializing whenever its source commit was reachable only from the
mirror's refs/remotes/origin/*: a branch already pushed past main, as on
the next generation of a reclaimed key or a create on a card branch with
commits. The pre-check passed because the mirror holds the object, but
clone --no-local copies only the mirror's local branches, so checkout -b
had no such commit.

After the clone, each member now fetches exactly the source object id
from the same daemon mirror path (protocol v2, no tags, no FETCH_HEAD,
no refs, no maintenance, no submodules) before the checkout. The bench
gets no branch it did not ask for and the mirror is never written. The
member steps, Git config and environment move into one allow-list that
an unprivileged test pins and runs against a mirror whose source is only
under refs/remotes/origin/*.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_017y1PuoCFjP31uXyhLB6Hnr (be37460)

  • An unprivileged test of the successor allocation (ff17d10)
  • Only a plain create follows a reclaimed record (bf92a6c)
  • Payload bootstrap: a create root retired gives way to its key's next generation

A later generation's Begin now also follows a predecessor that never
completed (an intent before completed) once root retired its allocation.
Root's retained retirement plan (payload-retirements/KEY.json) must have
reviewed that very intent: its bytes, spec, phase, workspace, operation,
policy and recorded allocation (none if reserved), under a denied
operation, approving that allocation at the bench's own leaf. The ledger
must hold the project's Fresh tombstone with the leaf gone, checked
read-only under the allocation lock (freshretirement.Retired). The
reclaimed path is unchanged; the skipped-generation, second-successor and
revival guards still apply.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_017y1PuoCFjP31uXyhLB6Hnr (c282d19)

  • A read-only answer to whether root retired a create that never completed (d8b49b3)
  • A create on a failed create's key follows it once root retired it (0205b7e)
  • Name each generation's cleanup and retirement approvals (dccb15a)
  • A create on a stalled initialization has root reclaim it first (7f9efe2)
  • Pin the retired inspection's binding of the Spec on stdin (5ac2848)
  • Create on the mirror's default branch (48b98d9)
  • A read-only answer to whether root holds nothing of a refused create (7d803e2)
  • A create replaces a record root proved never allocated, in its generation (c04d59b)
  • A dirty tree gets its own static conflict message (b335d21)
  • Root renews a stopped owner so a dirty lease can be freed (2830376)
  • V0.0.1 (695a86d)
  • Pin toolchain go1.26.4, the Go that CI tests with (60113df)
  • The fallback check closes inherited descriptors like forge CI (bc3d53c)

Built at the tag: this product's main CI uploads no build it can ship.
Checked at the tag: main's CI result could not be read.
Verify downloads with sha256sum --check SHA256SUMS and gh attestation verify <file> -R SuperJackfruitLabs/superbench.