Skip to content

v0.23.0

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 15:07
· 7 commits to main since this release
f1aa26f

govctl v0.23.0

0.23.0 names every ADR, Work Item, and Guard file by its ID, so editing a
title never renames a file, and stops commands from silently skipping
artifact files they cannot load. It also adds Work Item owners, guard
waivers, pass records for closing Work Items without rerunning guards, and
govctl render --check.

Upgrade note: this release introduces project schema version 6. Commands
that load a project, except govctl migrate, refuse a schema 5 project until
you run govctl migrate once; project-independent commands such as
completions and self-update are unaffected. The migration renames each ADR, Work Item, and Guard
file to {id}.toml without changing its content; govctl migrate --dry-run
lists the renames first. Migrate when few branches are open: a branch that
still edits a file under its old name meets the rename at merge time. If you
already ran a pre-release build that moved your project to schema 6, rename
any Guard file that govctl check reports to {id}.toml by hand.

Added

  • Project schema version 6: adr new, work new, and guard new write
    {id}.toml and refuse to overwrite an existing entry; govctl check
    rejects a file whose name differs from its ID; govctl migrate renames
    existing files, failing without changes if a file cannot be loaded, an ID
    repeats, or a target name is taken. (WI-2026-12-01-001, WI-2026-12-02-006)
  • Work Items can record owners, and govctl work list --owner filters by
    them. (WI-2026-11-10-003)
  • govctl work waive records a waiver for a required Guard with a reason.
    (WI-2026-10-30-001)
  • govctl verify --work <ID> --record <path> writes a pass record, and
    govctl work move <ID> done can close the Work Item from that record
    without rerunning its guards while the checkout still matches the recorded
    commit. (WI-2026-11-10-004)
  • govctl work move <ID> done --dry-run previews closure: it checks the
    acceptance criteria and guard references and names the guards that would
    run, without running them. (WI-2026-11-11-001)
  • govctl render --check compares projections with the files on disk,
    reports every missing or different one, and writes nothing.
    (WI-2026-11-29-001)
  • govctl claim prune releases expired claims whose workspace no longer
    exists, and govctl loop prune completes loops whose Work Items are all
    closed; govctl status warns about both and about a leftover
    gov/.govctl.lock. (WI-2026-11-28-001)

Changed

  • Unloadable artifact files are no longer skipped silently. A command
    that needs every artifact of a kind (listing or rendering that kind,
    releasing, numbering, deletion checks) fails while any file of that kind
    cannot be read or parsed, and names every such file. govctl check
    reports each one and keeps validating the rest; govctl status and
    govctl tui still open on what loads and name the rest, and status exits
    non-zero. Lists of other kinds, search, showing single artifacts, and
    creating artifacts keep working. (WI-2026-12-02-003, WI-2026-12-02-004,
    WI-2026-12-02-007)
  • govctl work new writes only the new ID to standard output, so scripts can
    capture it; the human report goes to standard error. (WI-2026-11-10-001)
  • Updating a Work Item preserves the comments and fields the command does not
    change. (WI-2026-11-10-002)
  • check, init, and migrate accept local-state paths that version control
    already ignores. (WI-2026-10-18-001)
  • Reference scanning accepts only ASCII digits in artifact IDs, matching the
    bundled JSON Schemas. (WI-2026-12-02-002)
  • Internal consolidation with no behavior change: one artifact-kind type and
    one ID grammar, diagnostic codes derived from their names, and single
    sources for the config location and path display. (WI-2026-12-02-001,
    WI-2026-12-02-002, WI-2026-12-02-005)

Fixed

  • govctl check reports every unloadable Conformance Case, RFC, and Clause
    file instead of stopping at the first. (WI-2026-12-02-003,
    WI-2026-12-02-004)
  • govctl search returns results for loadable artifacts when another
    artifact fails to load, reports the skipped one, and drops an artifact from
    the index once it stops loading. (WI-2026-11-17-001)
  • A tracked file inside the local-state directory no longer hides a missing
    ignore rule, and migrate does not add a duplicate one.
    (WI-2026-10-18-001, WI-2026-10-18-002)

Full Changelog: v0.22.0...v0.23.0