test: add comprehensive tests for AuditLogService #2

Open
Charon wants to merge 2 commits from feat/test-audit-log-service into dev

2 commits

Author SHA1 Message Date
Claude
4f11d7d435
test: add comprehensive tests for AuditLogService
Cover record(), log entry creation, security audit fields (actor type,
IP, sensitivity), sensitive tool registration, field redaction (default
and tool-specific), hash chain integrity, chain verification, consent
requirements, export/retrieval (JSON, CSV), and statistics.

Fixes #5

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 16:11:19 +00:00
Claude
fa867cfa7d
test: add comprehensive tests for CircuitBreaker service
Cover all three circuit states (closed, open, half-open), failure
threshold tripping, reset timeout transitions, manual reset, probe
recovery, trial lock contention, success decay, service isolation,
recoverable error detection, and statistics tracking.

Fixes #6

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 16:10:58 +00:00