#!/bin/sh # --- pql plan export --- # Auto-installed by pql init. Exports planning state so it's # committed alongside code changes. Safe no-op if pql is absent. if command -v pql >/dev/null 2>&1; then pql plan export 2>/dev/null if ! git diff --quiet -- .pql/pql-plan.json 2>/dev/null; then git add .pql/pql-plan.json fi fi # --- end pql ---