clavitor/clavis/clavis-telemetry
James 68dcc2f2f4 telemetry: fix Cardinal Rule violations - add unique error codes
Fixes 4 Cardinal Rule violations identified by Yurii audit:

- ERR-TELEMETRY-001/002/003: Fatal error codes for DB init, CA loading, cert verify
- ERR-TELEMETRY-010/011/012/013/014: Database error handling in updateSpan()
- ERR-TELEMETRY-020/021/022: ntfy alert error codes with context
- ERR-TELEMETRY-030/031/032/033: Kuma push error handling (was silent)

Per CLAVITOR-AGENT-HANDBOOK.md Part 1:
- Every error now has unique ERR-TELEMETRY-XXX code
- Database errors in updateSpan() no longer silent
- Kuma push failures now logged (was silent with misleading comment)
- All errors include actionable context

Assignee: Hans
Auditor: Yurii
Refs: issues/001, issues/002, issues/003, issues/004
2026-04-08 18:05:00 -04:00
..
CLAUDE.md Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
clavis-telemetry Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
go.mod Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
go.sum Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
kuma.go telemetry: fix Cardinal Rule violations - add unique error codes 2026-04-08 18:05:00 -04:00
main.go telemetry: fix Cardinal Rule violations - add unique error codes 2026-04-08 18:05:00 -04:00
main_test.go Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00