agnes-the-ai-analyst/docs/superpowers/plans
Vojtech 38f6b639d2
feat(observability): request_id end-to-end + dev debug toolbar + centralized logging (#136)
Cuts release 0.20.0.

## Highlights
- X-Request-ID header on every response + sanitized to [A-Za-z0-9_-] (CRLF log-forging mitigation)
- Error pages (HTML + JSON 500) surface request_id for support tickets
- Dev debug toolbar gated by DEBUG=1 — fastapi-debug-toolbar with custom DuckDBPanel
- Centralized app.logging_config.setup_logging() replaces 23 scattered basicConfig calls
- Telegram bot drops bot.log file — stdout only (BREAKING)

## Devin findings addressed
- BUG_0001: .env.template no longer claims FastAPI debug=True
- BUG_0002: subprocess extractor logs INFO to stderr again
- ANALYSIS_0003: _wants_html no longer matches Accept: */* (curl gets JSON as before)
- BUG on b1c6ee9: HTML 500 page no longer leaks str(exc) in production
- BUG on b13d2fe: 2 CLAUDE.md compliance flags (transform.py + ws_gateway) accepted as scope-limited logging refactor — follow-up to update CLAUDE.md if needed

See CHANGELOG [0.20.0] for full notes.
2026-04-29 22:54:21 +02:00
..
2026-03-27-01-duckdb-state-layer.md chore: clean stale docs — rewrite architecture.md, remove old plans 2026-04-09 09:06:13 +02:00
2026-03-27-02-complete-system.md fix: remove dead PRAGMA enable_wal code 2026-04-09 06:59:57 +02:00
2026-04-08-final-integration-fixes.md chore: clean repo for public release — fix references, remove drafts 2026-04-08 19:27:25 +02:00
2026-04-08-production-hardening.md fix: remove dead PRAGMA enable_wal code 2026-04-09 06:59:57 +02:00
2026-04-08-security-hardening.md chore: clean repo for public release — fix references, remove drafts 2026-04-08 19:27:25 +02:00
2026-04-09-dead-code-cleanup.md User management + PAT + CLI distribution + HTML auth redirect (#9 #10 #11 #12) (#28) 2026-04-22 14:24:28 +02:00
2026-04-09-deployment-readiness.md feat(tls): corporate-CA HTTPS with URL-driven rotation, on-VM CSR gen, self-signed fallback (#51) 2026-04-25 19:51:25 +00:00
2026-04-09-final-polish.md User management + PAT + CLI distribution + HTML auth redirect (#9 #10 #11 #12) (#28) 2026-04-22 14:24:28 +02:00
2026-04-09-security-fixes.md User management + PAT + CLI distribution + HTML auth redirect (#9 #10 #11 #12) (#28) 2026-04-22 14:24:28 +02:00
2026-04-10-analyst-bootstrap.md docs: add implementation plans for porting internal features 2026-04-10 19:08:55 +02:00
2026-04-10-business-metrics.md docs: add implementation plans for porting internal features 2026-04-10 19:08:55 +02:00
2026-04-10-metadata-writer.md docs: add implementation plans for porting internal features 2026-04-10 19:08:55 +02:00
2026-04-11-remote-query.md docs: add remote query implementation plan (5 tasks) 2026-04-11 11:02:04 +02:00
2026-04-12-comprehensive-test-suite.md docs: add comprehensive test suite implementation plan (8 tasks, 6 parallel blocks) 2026-04-12 10:44:08 +02:00
2026-04-21-deployment-log.md chore(oss): isolate customer-specific deploy bits from scripts/grpn/ (#88, wave 1) (#94) 2026-04-27 20:24:34 +02:00
2026-04-21-hackathon-dry-run.md chore(oss): isolate customer-specific deploy bits from scripts/grpn/ (#88, wave 1) (#94) 2026-04-27 20:24:34 +02:00
2026-04-21-issues-14-and-10.md chore(oss): isolate customer-specific deploy bits from scripts/grpn/ (#88, wave 1) (#94) 2026-04-27 20:24:34 +02:00
2026-04-21-multi-customer-deployment.md chore(oss): isolate customer-specific deploy bits from scripts/grpn/ (#88, wave 1) (#94) 2026-04-27 20:24:34 +02:00
2026-04-21-user-mgmt-pat-cli.md User management + PAT + CLI distribution + HTML auth redirect (#9 #10 #11 #12) (#28) 2026-04-22 14:24:28 +02:00
2026-04-22-cloudflare-access-auth.md User management + PAT + CLI distribution + HTML auth redirect (#9 #10 #11 #12) (#28) 2026-04-22 14:24:28 +02:00
2026-04-27-bq-pipeline-views-and-metadata-auth.md feat(v2): claude-driven fetch primitives + 0.14.0 (#102) 2026-04-29 01:07:19 +02:00
2026-04-27-claude-fetch-primitives.md feat(v2): claude-driven fetch primitives + 0.14.0 (#102) 2026-04-29 01:07:19 +02:00
2026-04-29-dev-debug-toolbar.md feat(observability): request_id end-to-end + dev debug toolbar + centralized logging (#136) 2026-04-29 22:54:21 +02:00
2026-04-29-issues-77-78-79-89.md feat(scheduler): re-wire sync_schedule + script.schedule; tune via env; OpenMetadata TLS (#135) 2026-04-29 22:06:30 +02:00