[P2] Add Audit Logging #12
Labels
No labels
audit-2025-12-03
component/api
component/commands
component/llm
component/memory
component/tick-loop
component/tools
priority
high
priority
low
status
in-progress
status
needs-info
status
needs-triage
status
on-hold
type
bug
type
documentation
type
enhancement
type
feature
type
refactor
type
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
blightbow/evennia_ai#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Suggested Fix
Log all configuration changes with user, timestamp, old/new values.
Priority
P2 — Medium Priority
Source
Architecture Audit 2025-12-03, Critical Gaps Section 2: No Audit Logging
Implementation complete in commit
6b89e23f8.Approach: Medium - AuditLoggingMixin + structured JSON logging (no DB model)
Changes:
AuditLoggingMixininapi/views/mixins/audit_logging.pydispatch()for POST/PATCH/PUT/DELETE requests[AI_AUDIT]prefix via Evennia loggerAssistantViewSet,ComponentViewSet,TemplateViewSetLog format example:
Tests: 16 tests added in
test_api_audit.pycovering mixin functionality and integration.