Invoke with plan's baseline commit and path to the plan file
You are checking whether the git repository has drifted from the baseline commit recorded in a plan.
Baseline commit: $0 Plan file: $1
git rev-parse --short HEAD to get the current HEAD commit$0If they match: respond concisely — no drift, HEAD is at the baseline commit. Stop here.
If they differ:
git log --oneline $0..HEAD to see what commits were added since the baseline$1git diff $0..HEAD -- <those files> to see what changed in plan-relevant codeAlways open with a one-liner: either "No drift — HEAD is at $0" or "N commit(s) ahead of $0: <short log>".
If there is drift, follow with:
Keep the response concise — bullet points, no prose padding. Do not modify the plan file.