-
v0.11.0
StableAll checks were successful/ secrets-scan (gitleaks 8.28.0, all refs, redacted) (pull_request) Successful in 7s/ secrets-scan (gitleaks 8.28.0, all refs, redacted) (push) Successful in 7s/ test (linux/amd64, full suite) (pull_request) Successful in 2m5s/ alias (re-point latest, main pushes only) (pull_request) Has been skipped/ test (linux/amd64, full suite) (push) Successful in 2m3s/ build darwin/amd64 (push) Has been skipped/ build linux/amd64 (push) Has been skipped/ build windows/amd64 (push) Has been skipped/ build darwin/arm64 (push) Has been skipped/ build linux/arm64 (push) Has been skipped/ build windows/arm64 (push) Has been skipped/ release (six binaries + checksums.txt, tag pushes only) (push) Has been skipped/ image (the release container, tag pushes only) (push) Has been skipped/ build darwin/amd64 (pull_request) Successful in 1m14s/ build windows/amd64 (pull_request) Successful in 1m18s/ build linux/amd64 (pull_request) Successful in 1m20s/ build darwin/arm64 (pull_request) Successful in 1m10s/ alias (re-point latest, main pushes only) (push) Successful in 9s/ build linux/arm64 (pull_request) Successful in 1m7s/ build windows/arm64 (pull_request) Successful in 1m10s/ release (six binaries + checksums.txt, tag pushes only) (pull_request) Has been skipped/ image (the release container, tag pushes only) (pull_request) Has been skippedreleased this
2026-11-20 15:33:36 +01:00 | 256 commits to dev since this releasev0.11.0 — Server-migration: the bridge, the container, the flip
The server-mode arc's fourth and final slice (core → auth →
client → migration), and the round that closed it whole.
v0.8.0 built the server, v0.9.0 the token surface, v0.10.0 the CLI
as client, v0.10.1 the leaving half; what was missing was movement —
the way a board changes where it lives — and a home worth moving
to. Both land here, and then the arc's acceptance test ran on this
very repository: skuld's own backlog moved onto a skuld server.
The repo's.skuld/is the thin config alone now; the board lives
behindhttps://skuld.gijoe88.com, every tracker verb rides the
wire — and no command changed shape to get there.
Mode-transparency, by construction, proven on the real board
mid-flight.The model in one reading: movement is export and import, and
nothing else — no sync, no live link, no incremental refresh.
skuld exportreads the whole project through whatever store the
repo binds and writes one canonical document: every explicit fact —
schema, acronym, roster, items with their dotted codes verbatim,
claims, episodes, comments with their ULIDs, receipts, needs edges,
versions — fixed sections in fixed order, no config section, no
wall-clock fact inside. Byte-determinism is the contract, not a
nicety: the same state exports to byte-identical files across modes,
because import uses those bytes as its equality oracle.skuld importlands the payload as a birth: one staged write-set, one
transaction, all-or-nothing, identity preserved (codes, ULIDs,
timestamps verbatim — the one sanctioned client-supplied-code
path), loud on anything but a virgin target or its own completed
landing (E_TARGET_NOT_EMPTYnames what the target holds). A
landed import rebinds the repo — the up-flip leaves.skuld/
a thin config with the local store removed; the down-flip is the
local rebirth, the rollback path. The losses are named, not
hidden: no attribution fact, the live set only, git history stays
in the repo, audit rows do not migrate — each mode's log starts
where it starts.And the server gained its home and its hands. The home: a
container image — the release binary on alpine, the data root a
declared volume,servethe default command — published by the
same tag push that ships the binaries, beside one moving alias
latestruled by the new release-cadencemainbranch. The
hands: the admin channel — the first live deployment taught
that machine issuance against a running serve could not have the
stop demanded by the file locks, and the Principal's ruling was
that the demand is not acceptable; the console verbs now converse
with a running serve through a host-local channel it owns, hot,
with the direct file open surviving as the restore cadence.Upgrading: local mode is a drop-in — behavior unchanged, no
removed verbs, no dependency changes. The new surface is additive:
skuld export/skuld import, and--admin-channelonserve
and the console verbs. Operators runningserve: machine
administration is hot —skuld machines issueagainst a
running serve rides the admin channel, no stop; the console verbs'
output now names the path taken ("via the admin channel (serve
running)" / "direct (restore cadence, no serve)"), never silent —
scripts reading that output should expect the notice line. The
wire remains an internal surface, not a contract: the server and
its clients are the same binary — upgrade them together (episode
ids now ride the wire; a pre-v0.11.0 serve does not compose them).
The image channel is live: av*tag push publishes
forgejo.xreveillon.eu/assistant/skuld:vX.Y.Z(linux/amd64 and
linux/arm64, one multi-platform manifest);latestfollowsmain,
the release-cadence branch — tags stay what a server is pinned by.
And this repository itself is post-flip: clones carry the thin
config, tracker verbs speak to skuld.gijoe88.com, and mutations
need a machine token.What shipped
skuld export— the canonical payload, byte-deterministic by
contract — «the migration bridge is two verbs», «payload is
every explicit fact», «payload rides the canonical codec»
(migration.md): one self-describing document on the canonical
codec the stores share — ten sections in fixed order, roster
name-ordered, items code-ordered with dotted codes and every
field, episodes/comments/receipts with their ids verbatim —
no config section (mode flips at the landing,
data-locationnever rides) and no wall-clock fact inside.
Determinism pinned four ways: repeat-stable across real
wall-clock gaps; mutation-changes-bytes over twenty-one
single-fact mutations; ordering pinned both sides against the
stores' own presentation; and cross-mode equal — the same
state through the filestore and a real served root (registered
machine, thin config, Bearer) exports byte-identical payloads,
the oracle's foundation. The strict reader — unknown fields,
unknown schema, and the poisoning invariants (grammar through
the domain constructors, hierarchy, edge resolution, dependency
cycles, duplicates on every landing key) — answers
E_PAYLOAD_MALFORMEDbefore anything is proposed, naming
the file and the fault; the payload is a read artifact, never a
hand-editing surface, its remedy re-export. Export is ungated,
a read. The port growth beneath it: episode ids ride the port
(ClaimRepo.Episodesreturns records) — the id used to die at
the boundary; engines and wire compose real ids from here on.skuld import— the landing: a birth with a payload —
«import births its target», «identity-preserving landing»,
«import lands whole», «loud on non-empty targets», «idempotent
landing completion», «import lands the binding», «migration is
an owner's act» (migration.md): three arms on the v0.10.0 birth
machinery — absent target, and the import proposes the
initialization itself (the resolved actor the founding seed, one
act, the seed yielding to the payload either way;
E_ACRONYM_TAKENon a foreign birth); virgin, and the
completion window un-rejects this machine's interrupted birth;
equal, and the idempotent rebind alone — writing nothing on
the target. The write-set — config, roster, items with
client-supplied codes (the one sanctioned path, guarded by
create-uniqueness), claims, episodes, comments, receipts, edges,
versions — stages through the port and commits as one
transaction, both directions: a failed landing leaves no
trace, two racing imports resolve as one landing and one loud
rejection, and the crash window (landing committed, rebind
interrupted) heals by re-running the same import. The
virgin-or-equal predicate runs on export's bytes: the
roster compared supersession-shaped — every payload member
verbatim plus at most the one birth-seed extra, the flipper's
own name the named residue of update-not-delete — anything lived
isE_TARGET_NOT_EMPTYnaming the target's full inventory.
The flips are remote-first, every local step idempotent: the
up-flip leaves.skuld/the thin config alone (three members,
the store's data files removed); the down-flip lands mode local
with nodata-location— its rebirth isconfig set's, the
rollback runbook's named step. The owner gate runs client-side
on the bound roster (membership, then ownership, before any
proposal); the wire never judges actors — the server's authority
is the landing discipline itself. The second port growth:
ClaimRepo.Archive(episodes.archiveon the wire,
E_DUPLICATE_EPISODEthe guard) — episodes cannot land
throughEnd, whose claim-presence precondition is structural
on a virgin target.- The container image — the release binary carried, publication
the gate — «tagged releases ship the image», «the image
reports the release», «state rides the volume», «wide bind in
the image, publication the gate» (distribution.md): alpine, the
CI-stamped release binary in one layer — two copies, not two
compiles, so--versionin the image answers the bare release
by construction and no second stamping context can answer
dev; the build is RUN-free.VOLUME /var/lib/skuld— the
data root is the whole server (registry, projects' stores,
machines, audit), surviving container replacement and pinned
upgrades alike;servethe default command. The container is
the loopback default's named exception: a container's
loopback is its own network namespace, unreachable through
published ports, so the image's serve binds0.0.0.0— and the
compensating discipline moves layers: the runtime publishes no
port by default (noEXPOSEanywhere), the operator's explicit
publication the gate, the machine-token demand the front on
every endpoint whatever the bind. The channel: the same tag
push that ships the binaries publishes the version image — no
per-release human step. mainandlatest— the alias that builds nothing —
«latest tracks the release cadence» (distribution.md; ADR-031):
main, a new release-cadence branch advanced tov*-tagged
tips at cadence — nothing ever flows back, and no agent or lane
ever holds it locally — is the alias's source alone:dev,
busy between releases with board and doc commits, would churn
identical-code builds, and an alias that moves while the code
stands still lies about currency. The alias job builds
nothing: it verifiesmain's tip matches an existingv*
tag and re-points thelatestmanifest to that tag's,
digest-equal. Two rulings from the first live runs: the guard's
strictvX.Y.Zwas stricter than the pipeline it fronts — the
release workflow fires onv*, and the trigger's own shape is
the rule (av0.11.0-provisionalqualifies exactly as a
release does); and a tip carrying several tags resolves
two-stage, the release preferred — a strictvX.Y.Z
sharing the tip wins over its own provisional (plain version
sort runs backwards for exactly that case; the tester's
spot-check caught the first fix selecting the provisional), the
version-greatestv*only for provisional-only tips. A tip
with nov*tag fails loud — the backstop behind tag first,
then advancemain.- The admin channel — the cold cadence superseded, the restore
cadence born — «host-local token issuance», «console-only
registry administration» (agent-authentication.md; ADR-032):
filed from the first live deployment — issuance against a fresh
running serve failed on the engine's exclusive locks, and the
Principal ruled the shutdown demand unacceptable while
console-only administration stands. The console verbs remain
the administration surface — same verbs, same gate — but
against a running serve they converse through a host-local
channel serve owns: a unix socket at<data-root>/admin.sock
by default, born 0600 (the umask wraps the bind — the
sshd shape, no window after it), the filesystem the ACL, the
trust unit owner and root: whoever can run a process against
the data root is the operator. The TCP form
--admin-channel tcp://<host:port>carries the same channel
over the network — loopback the norm, a wider bind the
operator's explicit perimeter act, reachability itself the
gate, no credential added in-band, ever. Five ops (issue,
list, remove, rotate, ping), one JSON request per connection,
the machine codes verbatim — no new codes;pingechoing the
serving version and the served data root is contract, not
diagnostic (the mispoint check — a channel aimed at the wrong
root refusesE_ADMIN_MISMATCHnaming both — and the skew
remedy consume it). The verbs probe and fall back
automatically, the taken path rendered — "via the admin
channel (serve running)" / "direct (restore cadence, no
serve)" — never silent; the direct open survives as the
restore cadence. Shutdown drains in-flight channel ops
before the stores close, on every return path — found false by
a live probe, then made true and pinned. The ledger cannot tell
hot from cold: rows identical, actoroperator. The
foreclosures stand — no admin surface on the token-demanded
listener, no operator credential class riding the registry:
«no route exempt» intact. Windows ships on the matrix (the
data-root directory's DACL the gate — the same trust unit the
restore path rests on, no regression), and SO_PEERCRED is
deliberately absent on every form: a check admitting the
ruled trust unit (owner and root) is the born-0600 gate again,
its one corner an actor who already opens the files directly —
recorded-absence, ruled and documented. - The dogfood flip — the arc's acceptance test, executed on this
repository — the runbook («the flip's choreography»,
migration.md; ADR-030 pt 7) run against skuld's own board: the
quiet window opened at the export — the board drained, no
local mutation until the commit, because what lands in the
retiring store after the export does not travel; the payload
archived; the import against the deployed server as the
owner-flagged operator — the auto-birth accepted, one
transaction, identity preserved; the flip's commit
(cebb043) — the thin config born, the local store removed,
every pull from there binding the one server, lanes included,
the worktree key retired with the store. Then the
verifications: a fresh export from the server side byte-equal
with the traveling payload (git diff --no-index, zero
differences — the oracle run one last time on the real board);
the honest cleanup — a claim extended in the dying store ended
through the wire; and the lane probe — a read verb from an
un-pulled pre-flip worktree answered through the wire, the
binding path observed (lane config → the bound root's thin
config → the server). The old board is dead: branches cut
before the flip hold dead stores, no resurrection exists, and
the rollback is re-import — a fresh birth from a fresh export,
never a checkout of pre-flip history. The project now runs on
its own server; the dogfood is the round's proof. - The helps tell the truth; the admin guide exists — a
post-merge sweep (prose only, zero behavior, live-probed
against the built binary): the token noun's false "stop serve
first" replaced by the dual-path sentence, the retired
"cold cadence" name swept to the restore cadence at every Go
site, the channel package's comment mirrored to the sharpened
PEERCRED ruling. Anddocs/admin/— the operator's guide,
seeded with the container and grown with the channel:
running-the-server (the bare-CLI and container paths, the
bind discipline, the publication gate), administration
(issuance hot through the channel, the TCP variant, the
container shapes —docker execagainst the running server,
the run-form restore cadence), admin-channel (the socket's
address, the NFS-mounted data root's three outs, the mispoint
guard), backup-and-upgrade (the data root is the whole
server: back it up at rest, upgrade the pinned version, state
surviving replacement).
The round, in brief
The server-mode arc's last round grew past its epic. The shaping
chain landed on dev first: server-migration-frs (fazh01,
cc5fd6d—docs/specs/migration.md, twelve FRs; the two open
corners — auto-birth and the owner gate — ruled with the Principal
before the design moved) and server-migration-adrs (8jtp7s,
71aac9c— ADR-029 the payload, ADR-030 the landing, with
two mechanics sentences corrected in-round from the build's own
findings: the Archive port growth, the residue-aware oracle). Then
the scopes the round grew: container-frs (p7qhmn,4e628f1—
distribution.md's image FRs, three rulings folded in-round: the
latestsource, the bind corrected to0.0.0.0-in-image with
the publication the gate, the alias tightened) with ADR-031
(ea6c2d3—mainthe alias-source sink, the alias job building
nothing) — scoped in by the Principal's instruction as the
dogfood's substrate; and the admin chain, filed from the first
live deployment — server-admin-adrs (hte1he, ADR-032 at
8605870— five rulings taken in the Principal's session) →
server-admin-frs (xk77gb, 9916d37+0337d6b — the hot path
folded into the two FRs, the restore-cadence retitle swept) → the
code. One lane (v0.11.0), sequential: export-payload (PR #61,
merge678a818), import-payload (PR #62, mergedaacb4b— the
audit-gap request-changes fixed with a live ledger-forensics
proof, the CI crash-window test made root-proof with an EISDIR
interruption privilege cannot override), container-image (PR #63,
merge6d5b803— the estate's three-part registry auth folded:
PACKAGES_REGISTRYwithPACKAGES_USER/PACKAGES_TOKEN, the
colon composed at the point of use), server-admin-channel (PR
#65, mergea48b57c— the drain ordering found false by a live
RED probe and made true; the socket born 0600 under any umask),
alias-tag-shape (PR #64, merge77969ff— thev*qualification
and the two-stage selection; the first attempt's false green
owned, the spot-check's catch honored), and help-cadence-truth
(PR #67, mergec62f8d8— prose only). The documenter's half
landed straight on dev: the admin guide (23f8346, grown by the
channel's pages f82c1d5+e392a3b), the flow docs'mainline,
and this body. Then the flip:v0.11.0-provisional.3tagged and
deployed (skuld.gijoe88.com), the quiet window opened 2026-11-20,
the flip's commitcebb043— every acceptance criterion of the
dogfood met. Every gate green throughout: full suite, gofmt, vet,
-race. With this round the server-mode arc is closed — core,
auth, client, migration — and the project runs on its own server.Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download