Archive Agent
repo: ~/Projects/archive-agent · 8 commits · 0 in last 24h, 0 in last 7d ·
Skills used
- /deploy2
- /catch2
- /alerts1
- /summary1
- /ack1
- /backup-file1
- /backup1
- /snapshot1
Creative ideas + design notes
Commits with substantial prose (≥120 chars) — the rationale behind each move.
8c05511 · 2026-05-30 · fix: wrap all async DB route handlers in try/catch to prevent process crash on PG error
GET /, GET /alerts, GET /summary, and POST /ack were missing error handling — an
unhandled rejected promise from pg-pool caused Node to crash the process instead of
returning a 500. Added try/catch to each handler so DB failures return HTTP 500
without killing the server.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
902fdfe · 2026-05-19 · add 404-guard middleware for snapshot/backup-file paths
Defense-in-depth: any HTTP request matching .bak / .pre- / .orig
/ .swp returns 404 before any (future) static middleware can serve
it. Today the app has no static mount, but this codifies the rule
so accidental future additions cannot leak repo snapshot files.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ce004ac · 2026-05-19 · broaden .gitignore to cover snapshot/backup file patterns
Add *.bak, *.bak.*, *.pre-*, *.orig, *.swp so no stray
editor/snapshot backup file can ever be tracked.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
File tree
6 files tracked. Click any to browse the source at HEAD.
rendered in 0ms