Files
clide/.pql/hooks/post-merge
T
jpmschweitzerandClaude Opus 4.7 d162ba205e
test / unit + widget + golden + a11y (push) Failing after 28s
test / integration_test (xvfb) (push) Has been skipped
test / bundle smoke (xvfb 5s) (push) Has been skipped
test / daemon subprocess + web WASM smoke (push) Has been skipped
test / dart doc (lib API) (push) Failing after 1m3s
install pql 1.4.26 changelog-mode hooks
Replaces the legacy pql-plan.json export hooks with the new
changelog-aware set: pre-commit now stages incremental changelog
deltas via 'pql plan export --stage'; post-merge replays new
changelog files into pql.db; post-checkout / post-rewrite rebuild
pql.db when branch state changes. Companion shims under .githooks/
keep core.hooksPath = .githooks the single activation point.

Hook bodies are de-baked — pql 1.4.26 ships them with absolute
paths to the local pql binary, which doesn't survive cross-machine
tracking. Restored 'pql' on PATH form so the tracked copy stays
portable. Filed back-channel for pql to keep portable form.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-10 01:31:06 +02:00

11 lines
402 B
Bash
Executable File

#!/bin/sh
# --- pql plan import ---
# Auto-installed by pql init. Replays new changelog files into
# pql.db, then re-syncs decisions from decisions/*.md so the
# markdown-sourced half stays in step with whatever the merge
# brought in. Both ops are idempotent — a no-op merge is a no-op
# hook (D-8, D-16).
pql plan import 2>/dev/null || true
pql decisions sync 2>/dev/null || true
# --- end pql ---