# PixieSprout — Git safety layer + disk watchdog (set up 2026-08-14)

## Git repo
- **Initialized:** 2026-08-14 in `C:\Users\danam\SGT-FANTASTIC-08-06-26\Local\PixieSprout\`
- **Baseline commit:** `3fd9720` (snapshot at version 1.0.116, 807 files)
- **Local identity:** `Pixie <pixie@pixiesprout.local>` (project-only; Dana's global git config untouched)
- **Purpose:** bonus safety layer on top of the `.bak-*` convention. Gives `git diff` / `git log` /
  `git checkout -- <file>` history.
- **Reversion:** to remove, delete the `.git` folder — source + `.bak-*` backups are untouched.

## What's gitignored (secrets + heavy artifacts)
- Secrets: `android/app/keystore/` (whole dir), `*.gpg`, `*.keystore`, `.env`, `.env.*.local`,
  `.env.server`, `.secrets/`
- Heavy/build: `.apk`, `.zip`, `.bin`, `dist/`, `node_modules/`, `.expo/`, `android/.gradle/`,
  `android/build/`, `android/app/build/`
- Backups: `*.bak-*`, `*.bak`
- `android/keystore.properties` is **tracked and safe** (alias + path only; passwords come from
  the `PIXIESPROUT_STORE_PASS` env var at build time — verified 2026-08-14).

## Disk watchdog (Bekky's request — keep an eye on disk)
- **Cron job:** `b4b766f3d2e4` "Pixie disk-space watchdog", runs every 12h, `no_agent` (silent unless triggered)
- **Script:** `~/AppData/Local/hermes/profiles/pixie/scripts/disk_watchdog.py`
  - Uses Windows `ctypes.GetDiskFreeSpaceExW` (NOT git-bash `df` — cron's Python can't find `df`)
  - Silent + exit 0 when healthy; alerts when free < 120 GB (warn), < 80 GB (critical), or used > 85%
- **Disk state on setup (2026-08-14):** C: at 81% used (~154 GB free of 793 GB). Getting warm.

## Reclaimable space if C: fills up (measured 2026-08-14)
| Item | Size | Safe to delete? |
|------|------|-----------------|
| `android/app/build/` | ~884 MB | Yes — rebuilt on demand by `gradlew` |
| `PixieSprout-Backup-2026-08-08/` | ~358 MB | Yes — now redundant (git baseline + desktop zip exist) |
| Root `.apk` files (phone_base, installed-base, etc.) | ~615 MB | Yes — old install artifacts |
| `pixie-automation/assets/` | ~207 MB | Only if that duplicate tree is fully unused |
| Desktop old `.apk`/`.zip` | ~500 MB+ | Yes — superseded builds |
