mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 10:07:35 +01:00
* docs: archive point-in-time records, drop broken guide symlinks Status reports, progress trackers, audits, session summaries, completed migration plans and the 2025 roadmap move to docs/archive/ (same relative path), with a README saying they describe the day they were written. .ai-guides/ held only symlinks into a docs/guides/ai/ that no longer exists, tests/unit/docs/ held a stray copy of an old getting-started page, and docs/operations/PORT_MANAGEMENT_README.md duplicated port-management.md; all three are deleted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD * docs: correct drifted paths, links and versions in current docs Fix in place the reference docs agents use: point paths at where the code lives now (src/stores/auth.ts, src/lib/supabase/*, scripts/dev/*, docs/reference/api/CONVENTIONS.md, the squashed baseline migration), rewrite the development, features, operations and API index pages to list documents that exist, say plainly where something is gone (/api/metrics, the CSP report route, .envrc in the repo, Loki's `migrate` script), and correct the Next.js major. docs-truth findings: 468 -> 2 (both "Next 30/90 Days" headings in the legal overview, a checker false positive). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD --------- Co-authored-by: Claude <noreply@anthropic.com>
948 B
948 B
Observability
Health
GET /api/health(src/app/api/health/route.ts, checks insrc/lib/health.ts) returnsstatus(healthy/unhealthy), a per-service status map (website, API, database, authentication, Bitcoin integration) and box resource pressure (host, fromsrc/lib/host-metrics.ts) for the off-box uptime monitor. 200 when every service is operational, 503 otherwise.
Metrics (Prometheus)
- There is no
/api/metricsroute in the app today. Theorangecat-webjob indeployment/production/monitoring/prometheus.ymlstill scrapes that path, so it finds nothing until a metrics route is added.
Logs (Loki + Promtail)
- Promtail scrapes Docker JSON logs and ships to Loki.
- Grafana dashboards/datasources provisioned under
deployment/production/monitoring/grafana/.
CSP Reporting
- There is no
/api/csp-reportroute and no report-only CSP toggle in the app today; CSP violations are not collected.