Skip to content

v0.1.2 — worktree hooks + merge detection

Choose a tag to compare

@ashbrener ashbrener released this 29 May 05:06
· 39 commits to main since this release
fb98224

Two dogfood-surfaced bug fixes, plus the governance groundwork for the upcoming drift-aware authority work.

Fixed

  • Worktree-safe git hooks path (FR-033, #14)install.sh hardcoded .git/hooks, wrong in a git worktree (where .git is a file and hooks live elsewhere). Now resolves via git rev-parse --git-path hooks (honors core.hooksPath). Worktree-based operators' local hooks now install correctly.
  • Detect merged specs from any branch (FR-013/FR-030, #15) — a merged spec's Linear Issue stayed stuck at its pre-merge lifecycle state when reconciled from a non-feature branch. Root cause: gh pr view --json merged used a non-existent JSON field, so merge detection always failed and fell through to a git probe that can't resolve a deleted/non-local branch. Now uses gh pr list --head <branch> --state all; lifecycle resolves to Merged from any worktree.

Changed — Governance

  • Constitution amended to v2.0.0 (#13) — Principle IV redefined to "Write-Authority Follows The Filesystem (Drift-Aware)": any worktree may write; the bridge surfaces backward-drift but does not block. Governance-only this release — the drift-aware reconcile behavior ships when spec 003 is implemented. The extension version line (0.1.2) and the constitution version line (2.0.0) are independent.

Notes

The worktree-hooks fix unblocks a clean re-vendor for operators who installed via --dev from a worktree. Pin to the release tag: specify extension add linear --from https://github.com/ashbrener/spec-kit-linear/archive/refs/tags/v0.1.2.zip.

Full detail in CHANGELOG.md under [0.1.2].