chore: leave setup note for Mac Claude session (gururmm hooks)

Memory entry prompts Mac session to run scripts/install-hooks.sh
before any GuruRMM work. Syncs via Gitea on next pull.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-19 08:27:00 -07:00
parent 8ec777245a
commit dfcc3cefef
2 changed files with 63 additions and 34 deletions

View File

@@ -24,6 +24,9 @@
## Machine
- [ACG-5070 Workstation Setup](reference_workstation_setup.md) - Windows 11 Pro clean install 2026-03-30, replaced CachyOS. All tools installed.
## Pending Setup
- [Mac gururmm setup pending](project_mac_gururmm_setup_pending.md) — ACTION REQUIRED: run `bash scripts/install-hooks.sh` in gururmm repo on Mikes-MacBook-Air before any RMM work
## Project
- [Sync script bug — untracked files](project_sync_script_bug.md) — Flagged for Mike. `.claude/scripts/sync.sh` line 53 misses untracked-only changes; one-line fix included.
- [MasterBooter Side Project](project_masterbooter.md) — Howard's Rust+Slint Windows deployment toolkit at C:\MasterBooter, separate from client work. Do not log to clients/.

View File

@@ -0,0 +1,26 @@
---
name: Mac gururmm hook setup pending
description: Mikes-MacBook-Air needs install-hooks.sh run in gururmm repo — one-time setup to prevent sqlx migration drift
type: project
---
The gururmm repo on this Mac needs a one-time setup step that was applied to all other machines on 2026-04-19.
**Action required (do this now, before any gururmm work):**
```bash
cd /Users/azcomputerguru/ClaudeTools/projects/msp-tools/guru-rmm
git pull
bash scripts/install-hooks.sh
```
**What this does:**
- Sets `core.hooksPath = scripts/hooks/` so the pre-commit CRLF check is active
- Sets `core.autocrlf=false` and `core.eol=lf` locally and globally
- Prevents sqlx migration checksum drift (root cause: CRLF vs LF sha384 mismatch)
**Why:** The gururmm build server refused to start after a rebuild because migration file hashes differed between what was stored in `_sqlx_migrations` and the current files. Root cause was CRLF line endings from Windows commits. Fixed with `.gitattributes` + per-machine git config. This command applies the git config side.
macOS defaults to LF, so this is low-risk — mainly sets the hooksPath so the pre-commit guard is active.
**After running:** Delete this memory file or mark it resolved.