-
v0.12.2
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 1m25s/ alias (re-point latest, main pushes only) (push) Has been skipped/ build darwin/arm64 (push) Successful in 31s/ build windows/amd64 (push) Successful in 32s/ build linux/amd64 (push) Successful in 39s/ build darwin/amd64 (push) Successful in 39s/ build windows/arm64 (push) Successful in 29s/ build linux/arm64 (push) Successful in 39s/ image (the release container, tag pushes only) (push) Successful in 14s/ release (six binaries + checksums.txt, tag pushes only) (push) Successful in 38sreleased this
2026-11-27 19:34:22 +01:00 | 0 commits to dev since this releasev0.12.2 — Tunable staleness: the stale-claim threshold becomes a project setting, and a claim may declare its own leash
Since v0.12.0 a claim that outlives its claimant has an escape: the
board judges it stale when its claimant has been quiet for three days,
and any rostered agent may then end it. Three days was a constant —
the same for every project and every claim. This release makes it a
setting. A project's owner sets the board's threshold (skuld config set --stale-threshold 16h), reads it back with its origin (skuld config show) and returns to the default by unsetting it. A claimant
expecting a long quiet stretch declares a leash on their own claim
(skuld claim <code> --stale-threshold 168h) and tightens or removes
it while the claim is held. The default does not move: a project that
sets nothing and a claim that declares nothing are still judged at
three days, and no claim is rewritten by a change — every verdict
re-derives at the next read. No verb is retired or renamed and no
dependency changes; three verbs are new and one command grows
subcommands. The upgrade has an order, and it comes first: the
server, then its CLIs — never a CLI newer than its server — and in
local mode every binary that reads a store moves before the first new
member is written in it (Upgrading, below).The threshold is a ladder, resolved once (ADR-046). Three rungs,
the first that holds: the claim's own declaration, else the project's
setting, else the binary default of three days. One claim is judged
at one threshold at any moment, and the display, the reclaim policy
and the ending's guard all name that same value — the ladder resolves
in one domain function and no caller hands it a threshold, so a
verdict inconsistent with a claim's own declaration is not
expressible. The setting lives in the project's config record on the
store — under.skuld/in a local repository, riding git; a fact of
the project on a server, reached by every clone through the wire —
never in the thin binding config a server-bound repo carries. Every
consumer reads it where it already loads the config: the derivation,
the commit-time guard on both engines, the render's literal. A
setting changed mid-flight moves, from the next read on, every claim
carrying no declaration of its own; a declared claim keeps its leash.The setting is written by the config verbs, the same in both
modes (ADR-050, ADR-053).skuld config set --stale-threshold <duration>andskuld config unset --stale-threshold— named facts
as flags, the family's house grammar — owner-gated like every
project-shape write, and mode-uniform: on a server-bound repo the
write is an ordinary project mutation riding the wire, immediate for
every client of the board.skuld config showis the family's read,
new in this release: no argument, no acting agent, nothing written.
It renders the facts by their effective values and names the origin
of each value the record may hold none of —setordefault— so
three days set on purpose and three days borrowed from the binary
read differently. Setting the value the project already holds,
spellings apart, is a quiet no-op; setting the default's own value on
an untouched project is a write — it pins three days as a setting.The value has one grammar and one literal (ADR-047). A threshold
is written in the decimal duration form: a whole number and a unit —
h,mors— compounded largest unit first, each at most once,
at least one minute in whole seconds:16h,45m,1h30m,5400s.
No sign, no fraction, no sub-second unit, no other unit —0,-1h,
1.5h,500ms,1dand1m30hare refused. One domain parse feeds
every door — the flag, both engines' read-parse, the wire's decode,
the payload reader — so a value one admits all admit. Each duration
has one literal, its largest whole units with zero units omitted, and
every writer stores that literal:90m,1h30mand5400sare one
state, and what a render shows is what the verb accepts. A bad value
is one new code,E_STALE_THRESHOLD, naming the value and the rule it
broke; a value supplied at a verb is parsed and judged, an empty one
included.A claimant may declare a leash on their own claim (ADR-048). The
declaration is a fact of the claim, never of the item: optional at
the claim —skuld claim <code> --stale-threshold <duration>— and
while the claim is held the claimant or an owner may set, change or
remove it with two new verbs,skuld claim set <code> --stale-threshold <duration>andskuld claim unset <code> --stale-threshold. No one else may (E_NOT_CLAIMANT, naming the
claimant and the owner path), and an unclaimed item has nothing to
declare on (E_NO_CLAIM). The declaration is absolute, not relative
to the project's setting, and any ending of the claim ends it with
the claim. It binds both ways: declared tighter than its board, the
claim is reclaimable by any rostered agent at its declared leash;
declared with slack, no third party reclaims it before that leash —
the owner's standing path excepted. A rejected value on the claim
command rejects the claim whole: nothing claimed, nothing written.Every surface names the threshold actually judged (ADR-034 as
amended, ADR-049). Each of the five surfaces that render an active
claim — the item's read,skuld claims,skuld brief, a claim's own
response and a retried create's answer — carries the liveness arm:
the verdict, the anchor moment, and the threshold judged. The
in-flight rows carry the claim's declaration beside it, null where
there is none, and theskuld claimstable names a declared leash in
its liveness cell —stale (declared 2h).
The record of a stale ending — the archived episode — now carries its
ground whole: the anchor moment the ending judged on, the threshold
judged and the rung that supplied it (claim,projector
default), rendered by the ending's own response. With a movable
threshold the anchor alone could no longer re-derive the verdict.
Endings recorded before the threshold moved carry the anchor alone
and read as recorded at every door — nothing is filled in for them.
E_CLAIM_LIVEkeeps one code and says what it saw: the claimant
acted, or the threshold grew.The setting travels with the project (ADR-051).
skuld export
writes the threshold as an optional member of the payload — present,
in the one literal, where the project holds a setting — and a landing
writes the project's config as the payload carries it. It survives a
flip, a rollback's re-import and a relocation like the rest of the
board, and owes the migration runbook no step: the one hand-written
config step there stays the data-location key's alone. The payload's
schema integer stays 1 — a new reader lands every older payload, at
the default where the member does not ride.What shipped
- threshold-value-and-ladder — the value object, the ladder, every
consumer on one home (ADR-046, ADR-047; x934cb.3, fast-forward to
677bba8; specs «passive staleness from last act», «liveness beside
the claim» and «threshold value grammar», claim-liveness.md):
domain.StaleThresholdexists only whole-second and at or above one
minute, produced by the one constructorParseStaleThresholdand
rendered by the one formatterString(); ADR-034's constant stays
under its true name,DefaultStaleThreshold, seventy-two hours. The
ladder resolves once, insidedomain.ClaimLiveness, which returns
the verdict beside the threshold judged and its rung — no caller
passes a threshold any more. The port's project config grows the
setting, a pointer whose absence is the default rung; the
derivation reads the config through the reader it already holds —
no read inside a transaction, one per arm outside one — and both
engines' guards read it from the source they already judge by: the
filestore's under the held lock, the boltstore's through the write
transaction's view, both on the committed record. The arm renders
the threshold judged's literal — the whole-hours form of the
constant retires — and every help text naming the threshold names
three days as a default (ADR-052). - stale-threshold-carriage — the setting is real at every door
(ADR-047, ADR-051; x934cb.4, fast-forward tof7fe6cc; specs «stale
threshold write surface», claim-liveness.md, and «stale threshold
rides the payload», migration.md): the setting lands on its four
mirrors, the member omitted when unset — the filestore's
config.json, the boltstore's config record, the wire's config
carrier, the payload — so every existing store is byte-identical
across the upgrade. A stored value outside the grammar is the
correctiveE_STALE_THRESHOLDnaming the file or the key, never
corruption; a wire request carrying one is malformed naming the
field; a payload carrying one fails its reader. The landing writes
the setting as carried and the setting counts in the idempotent
completion's equality; the wire client's tolerance of unknown
members — the property that keeps an older CLI reading — is pinned.
The guard is proven at a project setting and in the race a movable
threshold adds: a setting loosened between the observation and the
commit rejects the ending, on every harness, through one new
interference verb,ThresholdLoosened; and both engines word their
rejection by whether the anchor moved (ADR-046 point 6). - config-surface-threshold — the config verbs carry the threshold,
and the family gains its read (ADR-050, ADR-053; x934cb.5,
fast-forward to1e31aa2; closes config-read-verb bx8nak; specs
«config read surface» and «data-location write surface»,
local-mode.md; «thin config in server mode»,
project-server-binding.md): the registry gains its second row, and
each row owns its no-op rule — the data-location key on the
effective value, the threshold on the setting held. The client's
server-bound guard becomes per fact:--stale-thresholdrides the
wire,--data-locationkeepsE_MODEbefore any traffic, and the
flagless and unknown-flag forms answerE_CONFIG_FLAGnaming the
vocabulary, mode-uniform.skuld config showreads through the
port in both modes — the server's record over the wire, the bound
file locally — in one code path; its machine object ismode,
acronym,serverwhere the mode is server,data_locationand
data_location_originwhere it is local, thenstale_threshold
andstale_threshold_origin. Three findings from the review landed
before the merge, the first an instrument: a wire-silence pin that
counted accepted connections — unsound on a pooled transport — now
counts requests. - stale-ground-threshold-rung — a stale ending records what it
judged (ADR-049; x934cb.6, fast-forward to07cd226; spec «stale
claim ending», claim-liveness.md): the episode gains the threshold
judged and its rung beside the anchor, and the ending records them
from the same observation the gate judged by — never a second
derivation. One domain predicate,BindStaleGround, decides whether
a ground is whole — a stale ending carries its anchor, and the
threshold and rung together or neither; a release or an abandon
carries none — and every door calls it: both engines' read-parse,
the wire's carrier, the payload reader and the write path itself.
The four hand-written copies of the anchor binding are gone. The
legacy ground — the anchor alone — is admitted everywhere and
crosses the full circle, local store to served engine and back, with
byte-identical exports. - claim-declaration-carriage — the declaration rides the claim
(ADR-048; x934cb.7, fast-forward tobe88dcc; spec «execution
metadata», agents-and-claiming.md):ClaimRepo.Updateis the port's
second growth for a use case — presence-preconditioned and
identity-guarded by the claim's certificate, claimant and start
moment: no active claim rejectsE_NO_CLAIM, and a claim ended and
re-taken rejectsE_CLAIMED, naming the standing claimant. The
declaration lands on the claim's four mirrors, the member omitted
when unset and parsed through the one grammar at each;
claims.updateis the new wire operation. The conformance catalog
gains the operation's clauses and the declaration's on every harness
—claims/update-lands,claims/update-presenceand its race,
claims/update-rejects-foreign-claimand its race, a declared
leash judged at the guard ahead of the project's setting, and the
race in which a declaration grows beneath a staged ending — with
two new interference verbs,ClaimReplacedandDeclarationEnlarged.
The guard → code table in the precondition module takes the rows
v0.12.1's split had left, one of code-comment-lag-after-split
6vzzbe's three parts. - claim-threshold-verbs — the three verbs, behind the gates
(ADR-048; x934cb.8, fast-forward to6be9743; spec «execution
metadata», agents-and-claiming.md):skuld claimgains
--stale-threshold <duration>and becomes the command tree's first
command that runs with a positional and hosts subcommands —claim setandclaim unset, safe by the code grammar, a code being six
or more characters. The held pair runs one spine, in order:
membership, the item, an active claim, the claimant-or-owner gate
(GuardClaimDeclaration,E_NOT_CLAIMANT), the value parse, the
no-op, then the write — on a real change only; a same-value set and
an unset with nothing declared succeed as no-ops writing nothing.
At the claim the declaration parses after the claim's own gates and
before anything is staged. The responses' liveness arm credits
presence to a claimant's own writing change alone — an owner's write
never anchors the claimant. The review found one real defect before
the merge — a supplied empty value on the claim verb taken as no
declaration — and it is fixed so the one parse answers and the
claim is rejected whole. A command-tree walk pins the closed
allowlist: a threshold-named flag exists on exactly five verbs, and
on no read. - closing-spec-gaps — the round's own closing read, folded
(ADR-054; x934cb.9, fast-forward to39999a4; closes
target-not-empty-message-names-counts-only 6g2cxh; specs «execution
metadata» and «in-flight query», agents-and-claiming.md; «loud on
non-empty targets», migration.md): the analyst's closing read of the
specs against the code found two promises the code did not keep, and
the Principal ruled both fixed in the round. The in-flight rows of
skuld claimsandskuld briefcarry the claim's declaration — a
stale_thresholdmember, null where there is none, in the record's
own position — and the human lines name the declared leash beside
the verdict. The import's lived-target rejection names the setting
in its inventory: a re-run refused because the target's threshold
alone diverged says so, its value or its absence, where it read as a
non-empty target whose counts equalled the operator's own landing.
With them the read's riders: a vacuous pin now asserting what its
name claims, the missing pins at every door, one more wire-silence
loop counting requests, and the stale comments the round's own tasks
had left.
Upgrading
- The server first; never a CLI newer than its server. A v0.12.2
CLI against a v0.12.1 server is refused —E_MALFORMED_REQUEST,
exit 1, nothing staged — for everything that carries a new member
or the new operation: setting the threshold (skuld config set --stale-threshold; its unset carries no new member, and against an
older server finds no setting to remove — a quiet no-op), a claim
declared with--stale-threshold,skuld claim setandskuld claim unset, an import carrying a setting, a declaration or a
recorded ground, and every stale-claim ending attempted by a third
party, whose episode now carries the threshold judged and its rung.
Reads and every other write keep working — which is what makes the
mistake easy to miss. The wire protocol is an internal surface
between this CLI and this server, not a public contract. Operators:
backup-and-upgrade carries the
upgrade in operator words. - Then the CLIs — for the truth of what they show, not to keep
working. An older CLI on a v0.12.2 server loses no command to the
new members — it drops the members it does not know — and never
causes a wrong ending: the server's guard judges every ending on
the server's own record. It is safe, and it is deaf — it judges
liveness at its own compiled three days, renders72h, shows no
declaration and has noskuld config show. So it misreports in
both directions: on a board set shorter than three days a claim
already stale reads live, and no ending is
attempted; on one set longer, a claim reads stale whose ending the
server refuses,E_CLAIM_LIVE. Nothing else moves in lock-step —
no operation is retired or renamed in v0.12.2, unlike v0.12.1. - Local mode: every binary that reads a store is on v0.12.2 before
the first new member is written in it — an owner's first
config set --stale-threshold, the first declared claim, the first
stale ending recorded. An older binary reads a new member as an
unknown key: the corruption error, exit 3, the file named, on
every verb that loads the record; for the config that is at boot,
before any command runs —skuld init,exportandimport
included. The message calls the file corrupt
(.skuld/config.json: corrupt skuld file — json: unknown field "stale-threshold"); the cause is the older binary, and the remedy
its upgrade, not a file edit. Upgrade every clone's binary
together. - A rollback past v0.12.2 is a restore, not a binary swap. Once
any new member is written, a data root or a store cannot be handed
back to a v0.12.1 binary: the older engine reads records strictly,
and on the server the project's config read then fails every
request. Rolling back is the restore of an at-rest backup taken
before the first such write — the backup taken before upgrading is
that one. - Exports cross one way. A v0.12.2 reader lands every older
payload as before, a project without the member landing at the
default. An older binary refuses a v0.12.2 export whole —
E_PAYLOAD_MALFORMED, exit 1, naming the file and the unknown
member, nothing proposed — whenever the payload carries a setting,
a declaration or a recorded ground. The schema integer stays 1. - No migration, no new startup step, no dependency change. The
binary swap is the whole upgrade; the data root and every existing
store are untouched by it — a project at the default holds no
member, and itsconfig.jsondoes not change by a byte. Operators
coming from v0.11.x still cross v0.12.0's activity migration on
first start, exactly as written (v0.12.0), and
v0.12.1's rule of moving the clients stands beneath this release's
order (v0.12.1). - After the upgrade, the standing errand: re-run
skuld init.
Unchanged by this release and still an owner's errand where the
roster has owners: on an initialized repo it is an idempotent
ensure that refreshes theAGENTS.mdblock and the skill to the
current template, identity and roster untouched. It writes no
threshold — a project is born, and re-initialized, at the default. - This project's board moves to sixteen hours — the round's
acceptance, in its order. The server on the release; the CLIs
moved; then an owner runsskuld config set --stale-threshold 16h --as principalon the skuld repo.skuld config shownames16h,
set. Every claim without a declaration names16hon its liveness
arm, on all five claim-carrying surfaces — the item's read,
skuld claims,skuld brief, the claim's own response and a
retried create's answer. A claim quiet for seventeen hours is
reclaimable by any rostered agent, through the ordinaryunclaim
orabandon; one quiet for fifteen is not. A project that sets
nothing keeps three days. The consequence is stated so that no one
is surprised: from the moment16his written, every claim
without a declaration on that board is reclaimable after sixteen
hours of silence — a claimant who needs longer declares the
slack on the claim (skuld claim set <code> --stale-threshold 72h,
by the claimant or an owner). The same holds for any project an
owner tunes. - Machine output grows additively. A record rendering an active
claim — the item's read, the in-flight rows, a claim's own
response, a retried create's answer — gains astale_threshold
member, null when undeclared, directly before the liveness arm,
whosethresholdnow names the value actually judged (45m, never
0h45m); a stale-ended episode gainsstale_thresholdand
stale_rungbeside its anchor, both null on an ending recorded
before the threshold moved. Nothing that reads the existing
members changes. - Two corners, documented as they stand. On a stored or carried
record an absent member, an empty one and a null one are one
spelling of none — no setting, no declaration, the legacy ground —
at every door; only a hand-built request, a hand-edited payload or
a hand-planted file reaches it, nothing wrong lands, and every
verb keeps the stricter rule, refusing a supplied empty value.
And a threshold tightened between a stale ending's observation
and its commit — the claim stale under both — lands with the
episode recording the threshold the ending judged at staging; the
verdict is right, and the record re-derives it from its own anchor
and threshold.
The round, in brief
The round record is the epic x934cb tunable-staleness — theme and
references in its description, narration in its comments — and this
body its curated close. The shaping chain ran in the round lane on
docs/tunable-staleness. tunable-staleness-frs (x934cb.1,
analyst, with the Principal at the wheel —51fae81the standing
rulings,b31432fthe specs complete) put the open questions to the
Principal in one comment and folded the rulings in place: the
threshold's home on the store's project config record in both modes,
written by the existing config verbs; the grammar; the owner gate; and
two selections made against the analyst's recommendation — the setting
rides the migration payload, and a config read verb ships in the
round, a third member beyond the two approved. tunable-staleness-adrs
(x934cb.2, architect — ADR-046 to ADR-052, the design complete at
fbab07f) drew the design and the task decomposition, and was
commissioned to state the mixed-version rule from the code. It did:
the analyst's operational note had said an old client only
under-reports staleness; the code says both directions, ADR-051
states it, and the analyst corrected the note on the board the same
night. Mid-shaping the Principal ruled two more points against the
standing defaults —skuld config shownames each value's origin, and
a set of the default's own value is a setting — and the amending
passes folded them (ADR-053 ata3bf5f7, the pass complete at
ca3bb31).The code tasks, in merge order: threshold-value-and-ladder
(x934cb.3, fast-forward to677bba8; 8/8), stale-threshold-carriage
(x934cb.4, fast-forward tof7fe6cc; 7/7) and
config-surface-threshold (x934cb.5, fast-forward to1e31aa2; 9/9)
— the first alone, the next two side by side in two lanes — then
stale-ground-threshold-rung (x934cb.6, fast-forward to07cd226;
6/6), claim-declaration-carriage (x934cb.7, fast-forward to
be88dcc; 8/8), claim-threshold-verbs (x934cb.8, fast-forward to
6be9743; 8/8) and closing-spec-gaps (x934cb.9, fast-forward to
39999a4; every part green with its test). Every one through the full
loop — implemented, tested with bite evidence against the pre-change
tip, reviewed with nothing blocking, and where a review asked for a
change, corrected and re-confirmed before the merge: stale comments,
nine sentences across four tasks; one unsound test instrument; one
assertion that could never fire; one spec row of the mode pair; and
one real defect. The closing passes followed in the round lane: the
analyst's closing read of every requirement against the tree — two
folds,5d6a701andb7f6966, its findings ruled by the Principal, two
fixed in the closing task and one documented as it stands at83cdb57
— and the architect's closing pass on the design docs (ADR-054 at
04dcc6d, the component files re-synced to the code as landed). Two
limit events cut sessions in the round, and nothing was lost. A
provider rate limit cut the tester of claim-declaration-carriage
mid-pass; later the five-hour usage limit cut the closing task's
developer and the architect's closing pass at once — the architect's
pass together with the three read-only investigators it had launched.
Every one resumed in its original session: the lane held what was not
yet pushed, and small pushed steps protected the rest.Members delivered: e8c1jz stale-threshold-project-config, 2ngbt3
stale-threshold-item-override, bx8nak config-read-verb and 6g2cxh
target-not-empty-message-names-counts-only. Filed from the round for
later: mutation-responses-carry-no-claim (v8z5r8),
config-promises-one-spec-file (6yqjkg),
payload-reader-unknown-member-names-generation (sa8ym0) and
unknown-key-message-names-upgrade (qq0195) — the two messages an
operator meets inside an upgrade window, named in Upgrading —
config-set-cannot-pin-a-default-value (2tejh0 — the data-location key
keeps the effective comparison the threshold left behind),
empty-data-location-value-means-local-branch (mn7fd0 —skuld config set --data-locationtakes a supplied empty value aslocal-branch,
older than the round), and tx-outside-write-clause-table-gaps (8kca6t,
older than the round).
Not this round, by ruling: the nine follow-ups filed from v0.12.1,
scoped to v0.12.3, and the architecture reevaluation (x3bwav), which
waits for its standing trigger.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- threshold-value-and-ladder — the value object, the ladder, every