Find the latest plan file using the following script:
#!/usr/bin/env bash
files=( ./.plan/2*.md )
echo "${files[-1]}"
Exclude files matching *.review.md and *.fixplan.md.
If no plan file is found (the glob returns the literal pattern), stop with:
"❌ No plan file found. Run saml-plan first."
Otherwise, return the file path.