• v0.4.0 5539f6872f

    v0.4.0
    All checks were successful
    / secrets-scan (gitleaks 8.28.0, all refs, redacted) (push) Successful in 5s
    / test (linux/amd64, full suite) (push) Successful in 53s
    / build darwin/amd64 (push) Successful in 34s
    / build linux/amd64 (push) Successful in 36s
    / build windows/amd64 (push) Successful in 38s
    / build darwin/arm64 (push) Successful in 37s
    / build windows/arm64 (push) Successful in 34s
    / build linux/arm64 (push) Successful in 37s
    / release (six binaries + checksums.txt, tag pushes only) (push) Successful in 42s
    Stable

    assistant released this 2026-11-07 15:46:37 +01:00 | 780 commits to dev since this release

    v0.4.0 — Roster ownership & authorization

    BREAKING — two flips to read before upgrading. The roster grows
    an owner class, and two gates close with it: only owners add
    agents to the roster
    , and only the claimant and owners end a
    claim
    — until now any rostered agent could do both, so scripts
    doing third-party agent add or unclaim/abandon start failing
    (E_NOT_OWNER, E_NOT_CLAIMANT). And once a v0.4 binary has
    written a roster or episode file, a pre-0.4 binary can no longer
    read that repo
    : it fails loud on the new owner/ender keys
    (strict decode, unknown key, the file named). Upgrade every
    machine's binary together, then re-run skuld init once per
    project.

    Action ≤ v0.3.x v0.4.0
    agent add <name> any rostered agent owners only — E_NOT_OWNER
    ending another's claim (unclaim/abandon) any rostered agent claimant or owners — E_NOT_CLAIMANT
    flipping the owner flag — (no flag existed) owners only — E_NOT_OWNER; the last owner never demotes (E_LAST_OWNER)

    Migrating

    1. Upgrade the binary everywhere, together. The new keys are
      additive (owner as the last key of an agent record, ender after
      ending on an archived episode — format stays 1), so files written
      before this release read clean forever; the seam runs the other
      way. Every agent write from a v0.4 binary carries the key, so the
      window opens with the first roster change or ended claim — a
      pre-0.4 binary then rejects those files loudly. Transient by
      design: the remedy is the binary, not the file.
    2. Re-run skuld init in every project. One run does both jobs:
      the onboarding refresh you know from v0.3.0, plus the zero-owner
      heal
      — a roster from before the flag existed carries no owner at
      all, and the heal grants the run's rostered actor the owner flag
      (resolved --as > SKULD_AS > principal; an unrostered actor is
      a loud rejection, nothing written). The response carries
      owner_seeded when the heal fired; a further re-run is quiet.
      Skip it and the roster still works items, but nothing can enter
      and no flag can flip — both gates need an owner.
    3. Fix third-party scripts. A member ending another's claim now
      gets E_NOT_CLAIMANT naming the claimant and the owner path; a
      member adding an agent gets E_NOT_OWNER naming the owner
      requirement. The dead-claimant escape hatch is ownership — have an
      owner end it. There is no force flag (--force is an unknown
      flag, exit 2), by ruling.

    What shipped

    • The owner flag — every roster agent carries a boolean owner
      flag: granted at birth (agent add <name> --owner; absent means
      member at birth), flipped later (agent set <name> --owner /
      --owner=false, pflag boolean grammar — --owner false leaves a
      stray positional and exits 2). Only owners flip, granting and
      demoting alike, no-op values included; the roster never drops below
      one owner — demoting the last rejects, while an owner demoting
      itself is fine if another remains; a flip to the already-current
      value is a quiet no-op. agent list shows the flag (an OWNER
      column; the boolean in machine records).
    • Owner-gated roster adds — the first gate. A non-owner's
      agent add rejects before any state probe: on a duplicate name it
      answers not-owner, not duplicate, --owner flag or no flag. An
      owner's add is unchanged, creation-time flag included. And
      membership still precedes ownership everywhere — an unrostered
      actor answers as an unknown member, never as a non-owner.
    • Claimant-or-owner claim endings — the second gate, closing the
      divergence recorded on 2026-11-03 (any rostered agent could end
      another's claim, exit 0, episode archived). Now a third party's
      unclaim/abandon rejects naming the claimant and the owner path;
      an owner's ending frees the item, never reassigns it; the archived
      episode records who ended it — ender present exactly when the
      ender is not the claimant, null on the claimant's own endings,
      legacy episodes without the key reading clean.
    • init seeds the first owner, and heals zero-owner rosters — a
      fresh init's first member is an owner by construction (the roster
      is never empty, never owner-less), and the re-run's heal covers the
      one quiet way the invariant can break: two clones demoting the two
      different owners are two legal writes to two different facts and
      merge clean into a zero-owner roster. Write-time strict,
      merge-time optimistic, no read-time mechanism — recovery is
      documented and human: re-run init, commit, push (ADR-016).
    • The release-notes generator is pinned — its git wiring (subjects
      between tags, the first tag resolving to whole history, the
      empty-range floor, loud failure on a bad range) is now exercised by
      a fixture-repo regression driving the real binary: the guarantee
      that every tagged release carries a body — generated floor or
      curated page — has a regression net under it.

    One flag — the whole model

    The ceiling is deliberate: the owner flag is skuld's whole
    authorization model — no roles, no scopes, no per-action permissions,
    never, in any mode. Membership alone still carries every workflow
    right (claiming, commenting, item mutations); exactly two doors are
    gated — who enters the roster, and who ends someone else's claim.
    And the gates are CLI-enforced roster discipline, not a cryptographic
    boundary: names are identity in local mode; authentication stays
    backlog (server-auth, decided machine-level).

    Downloads