You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comprehensive audit logging for user/agent actions with full actor attribution. Append-only audit_log table, MCP tool call tracking, hash chain for tamper evidence.
Status: Docs complete, partial PE integration exists.
Current state: Labeled status-in-progress but no core audit trail infrastructure has been merged.
What exists today (partial):
routers/audit.py exists (audit-related endpoints)
Execution origin tracking columns in schedule_executions (source_user_id, source_agent_name, etc.)
Vector log aggregation captures structured logs
Process Engine has its own event audit trail
Security events logged via structured logging
What's missing (the core of this issue):
No dedicated audit_log table with append-only immutability
No centralized audit service capturing all event categories
No hash chain for tamper evidence
No query API with filters and export (CSV/JSON)
No MCP tool call audit integration
Spec:docs/requirements/AUDIT_TRAIL_ARCHITECTURE.md is complete.
Recommendation: Remove status-in-progress label — this is still status-ready (design complete, implementation not started). The spec and architecture doc are done; the implementation work remains.
audit_log table with schema, indexes, and immutability triggers
AuditService class
db/audit.py database operations
DatabaseManager wiring
/api/audit router with basic query endpoints
Unit tests
Phases 2–4 (backend integration, MCP integration, hash chain/export/retention) will land as follow-up PRs. This issue stays open until all phases ship; PR description will note partial scope.
Activity
vybe commentedon Mar 30, 2026
Actualization (2026-03-30)
Current state: Labeled
status-in-progressbut no core audit trail infrastructure has been merged.What exists today (partial):
routers/audit.pyexists (audit-related endpoints)schedule_executions(source_user_id, source_agent_name, etc.)What's missing (the core of this issue):
audit_logtable with append-only immutabilitySpec:
docs/requirements/AUDIT_TRAIL_ARCHITECTURE.mdis complete.Recommendation: Remove
status-in-progresslabel — this is stillstatus-ready(design complete, implementation not started). The spec and architecture doc are done; the implementation work remains.dolho commentedon Apr 14, 2026
Picking this up — scoping to Phase 1 only for this PR per the spec's phasing.
Phase 1 deliverables (
docs/requirements/AUDIT_TRAIL_ARCHITECTURE.md§ Implementation Plan):audit_logtable with schema, indexes, and immutability triggersAuditServiceclassdb/audit.pydatabase operations/api/auditrouter with basic query endpointsPhases 2–4 (backend integration, MCP integration, hash chain/export/retention) will land as follow-up PRs. This issue stays open until all phases ship; PR description will note partial scope.
feat(audit): platform audit trail Phase 1 — schema, service, query API (
feat(audit): agent lifecycle audit integration (Phase 2a, #20)
feat(audit): platform audit trail Phase 1 — schema, service, query API (
feat(audit): agent lifecycle audit integration (Phase 2a, #20)
feat(audit): platform audit trail Phase 1 + lifecycle smoke test (#20) (
58 remaining items
feat(access): Access tab — manage Trinity operators per agent (trinit…
Merge dev into feature/20-client-roster
Merge dev into feature/19-channel-config-dialogs
Release: v0.8.0 (#1529)
docs(user-docs): sync to dev state 2026-07-03 — v0.7.0 What's New + p…
fix(workspace): roster shows container availability honestly — never …
feat(workspace): Inbox asks UI + an ask's context (ent#610 PR A2: §3g…
feat(sharing): block, revoke and approve one channel client from the …