feat/audit-log
Every state-changing API route is mapped to an action; a test fails for unmapped routes. Successful changes are recorded with actor, API token, target, IP, user agent and request ID; failed sign-ins too. Names are taken from the response, never secrets. Organizations read their log with audit.read under Settings, users their account activity on the security page, admins the platform log. Entries expire after UPTIME_RETENTION_AUDIT. Closes #65 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Languages
Go
83.6%
templ
12.7%
PLpgSQL
1.5%
JavaScript
1.1%
Go Template
0.8%
Other
0.2%