• v0.7.0 6210e77694

    v0.7.0
    All checks were successful
    / secrets-scan (gitleaks 8.28.0, all refs, redacted) (push) Successful in 6s
    / test (linux/amd64, full suite) (push) Successful in 1m14s
    / build darwin/amd64 (push) Successful in 43s
    / build linux/amd64 (push) Successful in 43s
    / build windows/amd64 (push) Successful in 45s
    / build darwin/arm64 (push) Successful in 46s
    / build linux/arm64 (push) Successful in 35s
    / build windows/arm64 (push) Successful in 33s
    / release (six binaries + checksums.txt, tag pushes only) (push) Successful in 44s
    Stable

    assistant released this 2026-11-12 19:13:38 +01:00 | 597 commits to dev since this release

    v0.7.0 — The worktree boundary

    Where a verb binds when you are not at the root. Board-at-root was a
    convention each session had to remember — every lane pinned with
    --repo or a sticky SKULD_REPO export. It is now a repo-resident
    fact: one optional config key, data-location, records the decision
    once, and a tracker verb run inside a linked worktree binds the
    repository main working tree's .skuld/ by default. The crossing is
    never silent — every output shape names the bound root — and the
    inside-repo adoption corner (a store-less worktree reaching the
    parent's store through plain walk-up) is ruled legal resolution,
    named by the same notice: no refusal mode exists or arrives. The key
    gains a real writer this round: skuld config set / config unset,
    owner-gated like every project-shape write, with an init twin
    recording the ruling from birth. Three new error codes
    (E_DATA_LOCATION, E_NO_MAIN_STORE, E_CONFIG_FLAG); the store
    gains one optional config key and no format move — format stays 1.

    Upgrading: drop-in — the store's only change is one optional
    line in config.json (data-location); format stays 1, no file
    schema moves, and a repo that never sets the key behaves exactly as
    before (absent ≡ local-branch; no default flip is entertained).
    Setting it is one command — skuld config set --data-location main-tree — and it is owner-gated: the acting agent must carry the
    owner flag (E_NOT_OWNER, the gate preceding the no-op paths — a
    non-owner setting the already-stored value is still rejected);
    skuld config unset --data-location removes it back to the binary's
    default, skuld init --data-location <value> records it from birth.
    Machine output gains the boundary-crossing notice field only when
    the predicate fires — implicit resolution binding outside the
    invocation's working tree — so no-crossing output is byte-identical
    to v0.6.0's; JSON consumers see the additive field only on a
    crossing. E_PROJECT_EXISTS widens to the init twin's
    different-value rejection; E_NOT_OWNER gains the two new gates.
    After upgrading, re-run skuld init in every project (idempotent
    ensure) — on a roster holding an owner the ensure is now gated too,
    making the upgrade errand an owner's; templates did not move (v4
    stays), so the re-run heals byte-identical.

    What shipped

    • Four-link resolution — the key takes its place under the env —
      «repo resolution precedence» (local-mode.md): an explicit --repo
      wins; a set SKULD_REPO names the root; the config's
      data-location key decides at git worktree boundaries; otherwise
      the nearest .skuld/ walking up from the working directory binds.
      The walk-up is boundary-transparent — from a linked worktree whose
      checkout carries no .skuld/, it crosses the worktree boundary
      and the repository main tree's store binds: legal resolution, not
      an error. --repo . stays the branch-local escape even under a
      root-setting key; explicit flag/env resolution pays nothing (no
      probe, no notice, no redirect). The precedence is stated in
      --repo's own help.
    • The worktree data-location key — «worktree data-location key»
      (local-mode.md): values main-tree | local-branch, absent ≡
      local-branch, and an unknown value rejects every verb at load —
      E_DATA_LOCATION, naming key and value (repairing it is store
      repair; the rejection names the file). main-tree redirects a
      verb running inside a linked worktree to the repository main
      working tree — one store, one lock, at the final root — and a
      redirect onto a main tree carrying no .skuld/ is the corrective
      E_NO_MAIN_STORE, naming it. In the main working tree the key is
      a no-op. The deciding copy is the nearest config walked up to — in
      a lane, the branch-local copy on disk, uncommitted edits included
      — so the key rides git like the rest of the store: branch copies
      converge by ordinary merge, and a lane cut before the key landed
      stays branch-local until it merges. Boundary detection behind the
      key and the notice is best-effort: no git, no repository — no
      boundary; the walk-up binds, nothing redirects, no notice.
    • Crossings are never silent — «boundary-crossing notice»
      (local-mode.md): implicit resolution that binds a project root
      outside the invocation's working tree names that root in every
      output shape — a notice line in human output, a machine field
      (bound_root) per-row on JSONL lists and top-level on
      single-object shapes (item show, mutation responses, release show, brief). It attends the key's redirect and the walk-up
      adoption alike; never explicit flag/env resolution, never
      in-tree resolution, never errors — the corrective rejections name
      the root themselves. Present only when the predicate fires, so
      existing golden bytes stand: no-crossing output is byte-identical
      to v0.6.0's, and init structurally never crosses.
    • The config write surface — verbs own the mutation —
      «data-location write surface» (local-mode.md): skuld config set --data-location <value> writes the key, skuld config unset --data-location removes it — through the CLI alone, never a hand
      edit. The settable-flag vocabulary is closed (--data-location
      its only member): any other flag — including one naming a config
      fact, --mode — and a flagless invocation are corrective
      E_CONFIG_FLAG rejections naming the vocabulary; multiple
      settable flags apply atomically, any rejection aborting the whole.
      No-ops compare effective values and write zero bytes — a
      same-value retry succeeds quietly and renders like its writing
      form; unset's file bytes equal a never-carried key's. The verbs
      write the bound root through the normal transaction: under a set
      key, a lane's config set writes the main store, notice
      attending — --repo . reaches the branch-local copy. The
      create-time twin skuld init --data-location <value> records the
      key from birth, a bad value rejecting the init whole; on a re-run
      the stored value is a no-op, a different value is a corrective
      rejection naming config set (E_PROJECT_EXISTS, widened:
      recorded project facts are init-immutable — mutation after birth
      belongs to the verbs), and the bare re-run leaves the key
      untouched. No actor is recorded in the config; authorship rides
      the caller's commit.
    • Project-shape writes are owner-gated — «owner-gated re-init»
      and the gate clause of «data-location write surface»
      (local-mode.md): the config verbs resolve an acting agent like
      every mutation and reject any actor not carrying the owner flag —
      membership first (E_UNKNOWN_AGENT), then E_NOT_OWNER. The
      re-init ensure is gated the same way on a roster holding at least
      one owner: every non-owner actor is rejected with nothing written
      — no artifact heal, no roster change, --no-onboarding
      notwithstanding. Ungated by definition: a fresh init and the
      zero-owner repair (its actor merely rostered, as before). No read
      surface rides along — config show/get is not ruled; the verbs'
      responses carry the effective values, the notice names the
      binding.
    • The store: one optional key, the merge matrix grows — format
      stays 1, config.json gains the optional data-location line,
      nothing else moves. Two sides writing the key differently conflict
      on the one line — loud git noise, the sanctioned failure (the
      binding ruling is one project fact); one-sided sets, identical
      sets and double-unsets merge clean (pinned content).

    The round, in brief

    One strand, one task — worktree-data-location (PR #46, merge
    ae030d4): the resolution link, the key, the redirect, the notice,
    the write surface and the owner gates share the boot seam and the
    render seam, ruled one review twice (architect validation, then the
    write-surface design-ahead). Three backlog items closed inside it —
    worktree-root-default, worktree-discovery-adopt (ruled: legal
    adoption, no ceiling) and owner-gated-project-writes — each with its
    receipt. Dogfooded on landing, before the tag: this repo's own
    config now carries data-location: main-tree — the architect's
    gated write, the project-manager's gated re-init heal (byte-identical
    at template v4), the crossing notice proven from a scratch worktree
    — so the release ships the repo already binding main-tree, its
    lanes free of per-session SKULD_REPO pins.

    Downloads