-
v0.4.0
StableAll 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 42sreleased this
2026-11-07 15:46:37 +01:00 | 780 commits to dev since this releasev0.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-partyagent addorunclaim/abandonstart 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 newowner/enderkeys
(strict decode, unknown key, the file named). Upgrade every
machine's binary together, then re-runskuld initonce per
project.Action ≤ v0.3.x v0.4.0 agent add <name>any rostered agent owners only — E_NOT_OWNERending another's claim ( unclaim/abandon)any rostered agent claimant or owners — E_NOT_CLAIMANTflipping the owner flag — (no flag existed) owners only — E_NOT_OWNER; the last owner never demotes (E_LAST_OWNER)Migrating
- Upgrade the binary everywhere, together. The new keys are
additive (owneras the last key of an agent record,enderafter
endingon 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. - Re-run
skuld initin 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_seededwhen 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. - Fix third-party scripts. A member ending another's claim now
getsE_NOT_CLAIMANTnaming the claimant and the owner path; a
member adding an agent getsE_NOT_OWNERnaming the owner
requirement. The dead-claimant escape hatch is ownership — have an
owner end it. There is no force flag (--forceis 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 falseleaves 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 listshows the flag (anOWNER
column; the boolean in machine records). - Owner-gated roster adds — the first gate. A non-owner's
agent addrejects before any state probe: on a duplicate name it
answers not-owner, not duplicate,--ownerflag 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/abandonrejects naming the claimant and the owner path;
an owner's ending frees the item, never reassigns it; the archived
episode records who ended it —enderpresent exactly when the
ender is not the claimant,nullon 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
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
- Upgrade the binary everywhere, together. The new keys are