Skip to content

feat: implement AuditRepository for security audit log persistence #260

@Aureliolo

Description

@Aureliolo

Summary

The AuditLog exists in-memory (security/audit.py) but has no persistence via the PersistenceBackend. An AuditRepository protocol is planned.

Design Spec Reference

  • §7.6 Entities Persisted table — Audit entries row (planned M7)

Scope

  • AuditRepository protocol definition
  • SQLite implementation
  • Integration with PersistenceBackend protocol
  • Queries: by agent, by action type, time range

Metadata

Metadata

Assignees

No one assigned

    Labels

    prio:mediumShould do, but not blockingscope:medium1-3 days of workspec:securityDESIGN_SPEC Section 12 - Security & Approval Systemtype:featureNew feature implementation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions