diff --git a/.pql/hooks/post-checkout b/.pql/hooks/post-checkout deleted file mode 100755 index e95e7a34..00000000 --- a/.pql/hooks/post-checkout +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# --- pql plan rebuild (post-checkout) --- -# Auto-installed by pql init. On branch checkout (third arg == 1), -# rebuild pql.db from the changelog so the local cache reflects the -# new branch's planning state. File-level checkouts ($3 == 0) are -# skipped. -if [ "$3" = "1" ]; then - echo "pql: rebuilding planning database from changelog..." >&2 - pql plan rebuild >/dev/null 2>&1 || true -fi -# --- end pql --- diff --git a/.pql/hooks/post-merge b/.pql/hooks/post-merge deleted file mode 100755 index 8d5ac85d..00000000 --- a/.pql/hooks/post-merge +++ /dev/null @@ -1,10 +0,0 @@ -#!/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 --- diff --git a/.pql/hooks/post-rewrite b/.pql/hooks/post-rewrite deleted file mode 100755 index 49d25ed1..00000000 --- a/.pql/hooks/post-rewrite +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -# --- pql plan rebuild (post-rewrite) --- -# Auto-installed by pql init. Fires after rebase / amend, both of -# which can rewrite the local view of the changelog. Rebuild is -# safe and deterministic; incremental replay would miss removals. -echo "pql: rebuilding planning database after rewrite..." >&2 -pql plan rebuild >/dev/null 2>&1 || true -# --- end pql --- diff --git a/.pql/hooks/pre-commit b/.pql/hooks/pre-commit deleted file mode 100755 index af2e0f20..00000000 --- a/.pql/hooks/pre-commit +++ /dev/null @@ -1,8 +0,0 @@ -#!/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 ---