Skip to content

docs(install): fix AI-INSTALL.md drift against current compose and scripts - #577

Merged
badbread merged 1 commit into
mainfrom
docs/ai-install-accuracy
Aug 8, 2026
Merged

docs(install): fix AI-INSTALL.md drift against current compose and scripts#577
badbread merged 1 commit into
mainfrom
docs/ai-install-accuracy

Conversation

@badbread

@badbread badbread commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Full accuracy audit of docs/AI-INSTALL.md against the current compose files, scripts/setup-env.sh, .env.example, the migrations (through 0080), the wizard (WIZARD_ALL_STEPS), and the API surface. Most of the runbook checked out; this fixes the four points that had drifted.

Fixed

  • Step 5 Verify could stall an agent. It said "all services running/healthy", but caddy has no healthcheck in docker-compose.yml and only ever shows plain running. The Verify now names which services report healthy (postgres, recorder, api) and says outright not to wait for caddy. The "For maintainers" blind-spot note is updated to match.
  • Step 8 understated setup-env.sh. The script prepares whatever DB_BACKUP_HOST_PATH points at (accepted as an env var, DB_BACKUP_HOST_PATH=/mnt/nas/crumb-backups scripts/setup-env.sh, same as MEDIA_HOST_PATH), not just the default ./backups dir. The doc said "prepares the default dir".
  • LPR section markup typo: (**Users & Security) had an unclosed bold; also matched the console's actual "Users & security" naming.
  • Three en-dash numeric ranges (7-10, 500-8000, 60-90) replaced with hyphens per the no-dash rule.

Verified as already accurate (no churn)

Checked claim-by-claim and left alone: MOTION_HWACCEL=cpu default (compose + .env.example + Step 1/4/6b/troubleshooting), the auto cuda probe (decode_probe.rs, 15s deadline, cached, per-worker CPU demotion), GO2RTC_AUTH posture and warnings, the storage-preflight three verdicts and deferred exit 1 plus the early hard-fail on missing caddy/Caddyfile / go2rtc/go2rtc.yaml, --force secret rotation warning, the wizard step list and step 5/6 changes (Add a camera by address, per-row Rescan, suffixed-name conflict retry, grouping moved out of the wizard, "Server default" decode option), the full 15-key system-alert set, alert-text templates and their tokens (0079), per-channel snapshot_mode none/plate/vehicle/both with the exact provider image caps and the legacy include_snapshot mapping (0080), the backup job (03:15, boot catch-up, daily/, "database backup written"), ports/binds/profiles including mosquitto on 127.0.0.1:1883, discovery's 60s cap and 500-8000 timeout_ms clamp, the PUT /config/server merge semantics, the smoke script/workflow triggers, and every endpoint and file anchor in the maintainers list.

No em-dashes or en-dashes remain; no RFC1918 addresses (examples use RFC 5737 198.51.100.x); all referenced repo and docs-site paths resolve.

Audit of docs/AI-INSTALL.md against docker-compose*.yml,
scripts/setup-env.sh, .env.example, the wizard, and the API surface.
Fixes the points that had drifted:

- Step 5 Verify: caddy carries no healthcheck, so 'all services
  running/healthy' can stall an agent waiting for caddy to turn
  healthy. Name the three services that do report healthy and say
  caddy only ever shows running.
- Step 8: setup-env.sh prepares whatever DB_BACKUP_HOST_PATH points
  at (accepted as an env var, like MEDIA_HOST_PATH), not only the
  default ./backups dir.
- LPR section: repair the unclosed bold in '(**Users & Security)'
  and match the console's 'Users & security' naming.
- Maintainers blind-spot note updated to match the Step 5 fix.
- Replace the three en-dash numeric ranges with hyphens.

Everything else in the runbook checked out against the code:
MOTION_HWACCEL=cpu default, the auto cuda probe, GO2RTC_AUTH posture,
the storage-preflight verdicts and exit behavior, the wizard step
list, the system-alert set, alert templates, per-channel snapshot
modes, the backup job, ports/profiles, and the smoke coverage.

Signed-off-by: badbread <badbread@users.noreply.github.com>
@badbread
badbread merged commit c6207d4 into main Aug 8, 2026
7 checks passed
@badbread
badbread deleted the docs/ai-install-accuracy branch August 8, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant