• v0.11.0 291097fbe5

    v0.11.0
    All 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 skipped
    Stable

    assistant released this 2026-11-20 15:33:36 +01:00 | 256 commits to dev since this release

    v0.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
    behind https://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 export reads 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 import lands 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_EMPTY names 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, serve the default command — published by the
    same tag push that ships the binaries, beside one moving alias
    latest ruled by the new release-cadence main branch. 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-channel on serve
    and the console verbs. Operators running serve: machine
    administration is hot — skuld machines issue against 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: a v* tag push publishes
    forgejo.xreveillon.eu/assistant/skuld:vX.Y.Z (linux/amd64 and
    linux/arm64, one multi-platform manifest); latest follows main,
    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-location never 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_MALFORMED before 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.Episodes returns 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_TAKEN on 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
      is E_TARGET_NOT_EMPTY naming 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 no data-location — its rebirth is config 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.archive on the wire,
      E_DUPLICATE_EPISODE the guard) — episodes cannot land
      through End, 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 --version in 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; serve the 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 binds 0.0.0.0 — and the
      compensating discipline moves layers: the runtime publishes no
      port by default (no EXPOSE anywhere), 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.
    • main and latest — the alias that builds nothing —
      «latest tracks the release cadence» (distribution.md; ADR-031):
      main, a new release-cadence branch advanced to v*-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 verifies main's tip matches an existing v*
      tag and re-points the latest manifest to that tag's,
      digest-equal. Two rulings from the first live runs: the guard's
      strict vX.Y.Z was stricter than the pipeline it fronts — the
      release workflow fires on v*, and the trigger's own shape is
      the rule (a v0.11.0-provisional qualifies exactly as a
      release does); and a tip carrying several tags resolves
      two-stage, the release preferred — a strict vX.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-greatest v* only for provisional-only tips. A tip
      with no v* tag fails loud — the backstop behind tag first,
      then advance main
      .
    • 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; ping echoing the
      serving version and the served data root is contract, not
      diagnostic (the mispoint check — a channel aimed at the wrong
      root refuses E_ADMIN_MISMATCH naming 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, actor operator. 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. And docs/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 exec against 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
    latest source, the bind corrected to 0.0.0.0-in-image with
    the publication the gate, the alias tightened) with ADR-031
    (ea6c2d3 — main the 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,
    merge 678a818), import-payload (PR #62, merge daacb4b — 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,
    merge 6d5b803 — the estate's three-part registry auth folded:
    PACKAGES_REGISTRY with PACKAGES_USER/PACKAGES_TOKEN, the
    colon composed at the point of use), server-admin-channel (PR
    #65, merge a48b57c — 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, merge 77969ff — the v* 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, merge c62f8d8 — 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' main line,
    and this body. Then the flip: v0.11.0-provisional.3 tagged and
    deployed (skuld.gijoe88.com), the quiet window opened 2026-11-20,
    the flip's commit cebb043 — 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