v0.1.2 — worktree hooks + merge detection
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.shhardcoded.git/hooks, wrong in a git worktree (where.gitis a file and hooks live elsewhere). Now resolves viagit rev-parse --git-path hooks(honorscore.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 mergedused 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 usesgh 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].