Files
clide/.pql/hooks/pre-commit
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

9 lines
337 B
Bash
Executable File

#!/bin/sh
# --- pql plan export ---
# Auto-installed by pql init. Exports planning state and stages the
# snapshot so it lands in the same commit as the change that produced
# it. The absolute pql path is baked in at install time — re-run
# 'pql init' if the binary moves.
pql plan export --stage 2>/dev/null || true
# --- end pql ---