Daily pg_dump → gzip → retention pipe for the GlitchTip database. Configurable via env vars (defaults: ./backups/glitchtip, 30-day retention, glitchtip-postgres container). Streams directly through gzip so no plaintext dump touches disk; output 0600. Cron example in the script header. RFC-WS-7-OBSERVABILITY §5 acceptance criterion 11. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Scripts
Repo-level helper scripts.
Claude Project Knowledge sync
Keeps the Crewli dev-docs in Claude Project Knowledge aligned with the repo.
One-time setup
bash scripts/install-claude-sync-hooks.sh
This points git at .githooks/ and marks the hooks executable.
Manual trigger
npm run sync:docs # regenerate .claude-sync/
npm run sync:check # verify .claude-sync/ matches dev-docs
The underlying script also supports list and help:
bash scripts/sync-claude-docs.sh list
bash scripts/sync-claude-docs.sh help
Automatic
post-commit: syncs automatically when any file in.claude-sync.confis committedpre-push: warns if.claude-sync/is stale before pushing (non-blocking)
After sync
Upload everything in .claude-sync/ (including SYNC_MANIFEST.md) to the
Crewli Claude Project Knowledge, replacing existing versions. The manifest is
what Claude Chat uses for drift detection against the current HEAD.