resolve: Gitea config backup push dead since 2026-08-08 — 92-commit backlog drained, script hardened to fail loudly

- Wire host-scoped Gitea credential (git credential approve); origin was HTTPS with no userinfo
- Strip 1.76GB checkpoints/ from the unpushed range via git filter-repo --partial (fast-forward preserved)
- Untrack checkpoints/ at the tip; push set ~2GB -> 264.8MB
- Rewrite backup.sh: exit non-zero on failure, stamp .last_backup_ok only after remote verification,
  decide push by remote-vs-local, guard ls-remote with || true, GitHub orphan snapshot via commit-tree,
  honest AgentMail/Telegram delivery reporting
- Verified live: exit 0, origin/main == local HEAD, 0 unpushed, Gitea + GitHub APIs confirmed
- Incident page -> status: resolved; backups.md -> RESOLVED; scheduled-tasks job row updated
- Also commits the uncommitted stocktake edits (the 03:00 stocktake cron failed with
  'lost its durable fire claim ownership' and left the tree dirty)
This commit is contained in:
Tony0410
2026-11-07 05:28:39 +08:00
parent b820993ecc
commit 0b4ff25fd2
14 changed files with 370 additions and 110 deletions
+7 -7
View File
@@ -7,8 +7,8 @@ Threshold: >21 days since `updated`
## FRESH (125)
- [ 18d] CONTRIBUTING.md
- [ 12d] agents/hermes-chaos.md
- [ 12d] agents/hermes-production.md
- [ 0d] agents/hermes-chaos.md
- [ 0d] agents/hermes-production.md
- [ 18d] agents/index.md
- [ 9d] agents/nanobot.md
- [ 18d] agents/open-claw.md
@@ -77,12 +77,12 @@ Threshold: >21 days since `updated`
- [ 0d] index.md
- [ 3d] infrastructure/backups.md
- [ 18d] infrastructure/credentials-map.md
- [ 1d] infrastructure/docker-services.md
- [ 0d] infrastructure/docker-services.md
- [ 18d] infrastructure/domains-and-tunnels.md
- [ 2d] infrastructure/hosts.md
- [ 1d] infrastructure/network-map.md
- [ 6d] infrastructure/proxmox.md
- [ 1d] infrastructure/tailscale.md
- [ 0d] infrastructure/hosts.md
- [ 0d] infrastructure/network-map.md
- [ 0d] infrastructure/proxmox.md
- [ 0d] infrastructure/tailscale.md
- [ 3d] queries/retained-research-answers.md
- [ 13d] reports/communities-wa-social-media-audit-2026.md
- [ 6d] reports/uber-eats/2026-07.md