- Fix _infer_state_from_artifacts: SPEC-only maps to research (was bug_find) - Fix cmd_validate_folder: corrupted .state files now error instead of silent fallback - Fix upgrade.sh: remove || true, add python3 check, use git rev-parse --git-dir - Update README.md with --project flag, --can-edit modes, --upgrade, enforcement layers - Add 6 new tests for inference and validation fixes - Complete hook-install-process and readme-upgrade-docs tasks
- prompts/onboarding.md: Step 2c installs git pre-commit hook for new projects - scripts/upgrade.sh: Installs pre-commit hook during upgrade (with symlink detection) - scripts/install.sh: Mentions hook installation in post-install next steps