Clear the guidelines cache
ROOT=$(git rev-parse --show-toplevel); the cache is$ROOT/.guidelines-cache/.- If it does not exist, tell the user there is nothing to clear and stop.
- List its contents. Only proceed if they look like the generated cache
(
GUIDELINES_COMPACT.md,check_guidelines.py,fix_guidelines.py,manifest.json); if unexpected files are present, show them and ask before deleting. rm -rf "$ROOT/.guidelines-cache"(if the cache was committed to git, the deletion will show up ingit status— that is expected; leave staging to the user).- Confirm to the user: cache cleared; the next
guidelines-check-allorguidelines-check-diffrun will re-read the guideline documents and regenerate the scripts.