• v0.12.0 15da2742cc

    v0.12.0
    All checks were successful
    / alias (re-point latest, main pushes only) (push) Has been skipped
    / test (linux/amd64, full suite) (push) Successful in 1m39s
    / secrets-scan (gitleaks 8.28.0, all refs, redacted) (push) Successful in 6s
    / build darwin/amd64 (push) Successful in 53s
    / build linux/amd64 (push) Successful in 55s
    / build windows/amd64 (push) Successful in 56s
    / build darwin/arm64 (push) Successful in 58s
    / build linux/arm64 (push) Successful in 52s
    / build windows/arm64 (push) Successful in 52s
    / image (the release container, tag pushes only) (push) Successful in 14s
    / release (six binaries + checksums.txt, tag pushes only) (push) Successful in 55s
    Stable

    xavier released this 2026-11-22 22:57:43 +01:00 | 180 commits to dev since this release

    v0.12.0 — History and liveness: the board remembers and survives its agents

    Two features, one shape of debt closed: the board's recorded history
    finally has a read surface, and a claim no longer dies with its
    claimant. The server has written an audit row for every mutation
    since v0.9.0 — subject, actor, moment, fact — with no way to read
    one back; local mode had no record of its own at all, git being the
    only log. And a claim ended only explicitly: a claimant that died
    silently left the item locked in-progress, the sole escape an
    owner's hand. The pairing is structural: endings are history-class
    facts, and the read surface shaped here is where they become
    visible.

    Item activity makes the record universal and readable. Every
    mutation now lands activity rows in both modes, staged inside
    the mutation's own transaction and committing atomically with the
    facts they record — no gap, no false row, a rejected commit records
    nothing (ADR-033 supersedes ADR-024's locus: rows are store facts,
    the filestore's .skuld/activity/ one ULID-named file per row,
    boltstore's per-project activity bucket). Local rows ride git like
    the rest of the state — discrete, reviewable, merging cleanly by
    construction — and the anchored reads answer identically in both
    modes. The reads: skuld item history <code> — the item's whole
    recorded life, a claim's lifecycle included, following the item
    across recodes through its former codes — and skuld agent history <name> — one actor's trail across the project, roster and config
    writes included. Both narrow by actor and time window
    (RFC 3339 bounds, AND-combined); both are pure observation — a
    history query run a hundred times changes nothing but the caller's
    knowledge. The server's accumulated audit rows since v0.9.0 are
    re-homed at serve startup into the project engines, testimony
    verbatim, and audit.db shrinks to the server-trust residue.
    Nothing is invented: a store from before this landing holds no rows
    for its past, and no surface reconstructs earlier history from git
    — what git alone recorded stays git's to tell.

    Claim liveness gives every claim-carrying render — the item
    read, the in-flight query, the brief, mutation responses — a
    liveness arm: the verdict, live or stale, beside the anchor facts it
    derives from (the claimant's last recorded act, the fixed
    three-day threshold as its literal; no raw age). The signal is
    passive and derives at read time: staleness means the claimant has
    gone quiet, never that the work is stalled, and rendering a claim
    stale writes nothing. Past the threshold, any rostered agent
    may end the claim through the ordinary unclaim/abandon verbs —
    no flag, the ground derives at the gate — and the episode records
    ending: stale with its anchor and its ender, attributable on the
    record exactly as an owner's ending is. The item frees for a fresh
    claim; nothing transfers. Live claims stay sovereign: a third-party
    ending of a live claim rejects E_NOT_CLAIMANT at staging, and a
    claimant who acts between someone's staging and commit re-livens
    the claim and blocks the ending at the gate — E_CLAIM_LIVE,
    re-derived on the store's own record, never on an earlier
    observation. The claimant's own ending needs no ground at all;
    owners keep their standing path; no reaper exists anywhere.

    Upgrading: local mode is a drop-in — additive surface, no
    removed verbs, no payload change; new rows begin at the landing.
    Operators running serve: the first start after the upgrade runs a
    one-time activity migration — the accumulated project rows in
    audit.db re-home into the project engine's activity namespace
    ahead of serving any request, announced once in serve's log, later
    starts no-ops. On a single-project data root (the live board's
    shape) this is automatic and idempotent; a crash mid-migration
    re-runs to the same state, never a duplicate, never a lost row.
    Because this is the one sanctioned ledger rewrite, take the
    standing cold backup before upgrading
    (the at-rest shape,
    backup-and-upgrade). A data root
    whose registry does not hold exactly one project — none or several
    — refuses to start by design while unscoped legacy rows remain:
    the error names the escape (hand-home each row into its project's
    store with serve stopped; no mapping verb ships in this build — it
    is follow-up scope). A corrupt audit.db refuses startup loud, the
    file and the offending key named. One honest corner of the
    automatic path: rows a deleted project left behind land in the
    surviving project's trail — the single-project mapping is
    mechanical, and testimony is preserved over guessed attribution.
    Export/import payloads are unchanged (the activity namespace is
    structurally excluded in both directions — rows never migrate
    between modes).

    What shipped

    • item-activity-log — the substrate: rows are store facts,
      atomic with their facts
      (ADR-033; the round's base, merge
      b96dd47): the Store port gains Activity() (Append/List) and the
      Tx its staged-fact list; one shared staging helper derives a row
      per staged fact — actor and moment stamped where the identities
      live, monotonic ULIDs keeping same-commit order — and stages it
      inside the mutation's transaction. The filestore namespace
      is .skuld/activity/<ulid>.json (concurrent mutations append
      rows that never collide — the comments pattern at whole-store
      scale); boltstore gains the per-project activity/<ulid>
      bucket. Over the wire the rows ride the commit and are validated
      against the server's own replay derivation — a disagreement is
      a malformed request, and the subject is overwritten with the
      authenticated machine
      (local rows carry the acting machine
      named, not authenticated — each mode's honest trust boundary).
      Two rulings landed mid-build from the test pass (ADR-035): row
      identity arbitrates at commit — a colliding ULID rejects typed
      E_DUPLICATE_ROW, never overwrites held testimony — and
      no change, no row: a value-identical mutation records no
      fact and lands no row, a quiet no-op staying quiet.
    • item-activity-log — the reads: anchored, filtered, free
      (merge d6852a3): skuld item history <code> [--actor <name>] [--since <ts>] [--until <ts>] and skuld agent history <name> [--since <ts>] [--until <ts>] — one row per recorded fact,
      ULID-ordered, rendering the four facts verbatim (actor, the
      authenticated subject distinct from it, the moment, the fact's
      address — no interpretation); JSONL machine form, a
      TIME/ACTOR/SUBJECT/FACT table on a TTY. History follows the
      item, not the code: the recode write-set now records each
      dropped code in the item's additive former_codes, and the
      per-item read anchors on the whole set — a detached, recoded
      item still lists the rows recorded under its former codes. A
      deleted item's anchored read is the not-found rejection; its
      rows stay reachable through the actor trail. The machine
      registry's rows belong to no project and appear in no anchored
      read. The wire carrier of the lineage fact validates it as a set
      (ADR-036 pt 1, folded pre-merge): the current code among the
      former codes, or duplicates within the lineage, reject as a
      malformed request — the first wire-carried field whose corrupt
      form poisons the record, aligned with the stores' own
      read-parse invariants.
    • item-activity-log — the migration: the accumulated rows move
      home
      (ADR-033 pt 7; merge bddd256, fast-forward): serve
      startup, ahead of the first request, classifies the ledger
      (project-class rows are the cargo; registry and machine rows
      stay put; anything else is corruption and refuses the root),
      maps them on a single-project root, and lands them in the
      engine's activity namespace — values and ULID keys unchanged,
      engine write first, ledger delete second, both idempotent. After
      the move audit.db holds only server-trust rows; RehomeLegacyActivity
      is the one sanctioned wholesale writer over the activity
      namespace, serve-startup only, never verb-reachable. The
      crash window converges by re-run (pinned at the host seam);
      a divergent hand-home — one id, two testimonies — refuses loud,
      held testimony intact.
    • stale-claims — the signal: liveness beside every claim
      (ADR-034; merge ef0a971): the threshold is one domain constant —
      3 × 24h, no flag, no key, no verb — and the derivation a pure
      function over passed-in facts: the claimant's latest activity
      row (the claim's own start when no row anchors them — every
      pre-existing claim is covered the day the shape lands), the
      threshold, the evaluation moment. The arm renders the verdict,
      the anchor moment and the threshold literal — a raw age is
      deliberately absent (it would drift by the second while the
      verdict held); the claims table's human LIVENESS column is
      verdict-only (ADR-036 pt 3), the anchors verbatim on the machine
      arm and every full read. Presence, not progress: any row by the
      claimant anywhere on the project counts.
    • stale-claims — the ending: the widened ground, guarded at the
      gate
      (merge 69a87d9, the round tip): unclaim/abandon admit
      the third-party stale ground through their existing grammar —
      who may end is the gate's business, not a flag's. Two gates, two
      moments: staging derives the signal live (live ⇒ the standing
      E_NOT_CLAIMANT, naming the claimant and the owner path);
      commit re-derives on the store's own record inside the
      engine transaction (server) or under the filestore lock (local)
      — a claimant who acted since rejects E_CLAIM_LIVE, the
      claim standing untouched. The episode records ending: stale
      with the anchor it judged on and the ender — never a silent
      mutation; the claimant's own ending keeps its disposition
      (release/abandon, no ground); the item returns to todo, nothing
      reassigns, no takeover exists. The conformance suite pins the
      race on all four carriers (the interloper's comment mid-transaction
      re-livens the claim; the wire form runs a second client
      self-declaring the claimant — self-declared actors being the
      wire's own rule), and the dead-claimant scenario runs end-to-end
      in both modes: the honest long claim reads live at two days,
      stale at four.

    The round, in brief

    The first round under the round-bubble model — docs/plans/
    frozen at v0.11.2, the epic rjxe5c history-and-liveness the
    round record itself (theme in its description, narration in its
    comments), and this body its curated close. The shaping chain ran
    in the round lane: history-and-liveness-frs (rjxe5c.1,
    analyst — the two spec files born 6444fc6, folded into the
    existing domains ee96857) carried three Principal rulings taken
    in-round and folded same-day fd22f03 — local rows land (over
    the git-stays-the-log recommendation), the passive age-based
    signal
    , any rostered agent past the threshold with the
    three-day default — and the no-op/row interaction pinned in the
    acceptance criteria (8daec86), the ground ADR-035's
    no-change-no-row ruling would take. Then
    history-and-liveness-adrs (rjxe5c.2, architect — ADR-033/034
    f0226f9, the component sweep 22fd980), with two more ADRs landing
    from the build itself: ADR-035 from the substrate's test pass
    (58a1512 — two blocking fixes ruled and folded pre-merge), and
    ADR-036 from the review cycles (8129407 — the wire-lineage
    hardening ruled blocking and folded pre-merge into the
    read-surface branch, so no known poisoning window shipped inside
    the round). Five code tasks in two lanes once the substrate
    merged: the activity strand — activity-rows-substrate
    (rjxe5c.3, merge b96dd47, the bubble era's first feat→round
    merge; tester 11/11), activity-read-surface (rjxe5c.4,
    fast-forward to d6852a3; 10/10, three pre-merge folds),
    audit-ledger-migration (rjxe5c.5, fast-forward to bddd256;
    10/10, the crash-window and divergent-hand-home pins added by the
    tester, the architect's refusal-class fold f1a5dea on the round
    branch) — and the liveness strand — claim-liveness-signal
    (rjxe5c.6, merge ef0a971; 6/6) and stale-claim-ending
    (rjxe5c.7, merge 69a87d9; 7/7, the relivening race pinned on all
    four carriers). Reviewer approve or approve-with-notes at every
    loop; every gate green throughout (full suite, gofmt, vet, tidy).
    Review-born backlog filed for later rounds: former-code-occupancy
    (6v8mba), recode-lineage-conformance-clause (jrbbaz), and the
    pre-existing wire episode-timestamp gap (m5epkf). Seven tasks,
    one epic, both debts closed — and this very board's history, the
    round's own episodes included, now answers at skuld item history rjxe5c.

    Downloads