Skip to content

feat: comprehensive audit log with SQLite persistence and Audit Log view#86

Open
DorianZheng wants to merge 5 commits into
mainfrom
feature/audit-log
Open

feat: comprehensive audit log with SQLite persistence and Audit Log view#86
DorianZheng wants to merge 5 commits into
mainfrom
feature/audit-log

Conversation

@DorianZheng

@DorianZheng DorianZheng commented Apr 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds audit_events SQLite table (via better-sqlite3) that persists across restarts
  • Hooks auditDb.record() into all workflow mutations (items, tasks, work products)
  • Exposes dune:audit:query and dune:audit:export-csv IPC channels
  • New Audit Log view with filters (date range, event type, actor, item) and CSV export
  • Unit tests for AuditDatabase

Test plan

  • pnpm vitest run passes
  • pnpm tsc --noEmit passes
  • Launch app, perform actions, verify events in Audit Log view
  • Test filters and CSV export

@DorianZheng DorianZheng changed the title feat: comprehensive audit log with SQLite persistence and Audit Log view feat: comprehensive audit log with SQLite persistence Apr 24, 2026
@DorianZheng DorianZheng changed the title feat: comprehensive audit log with SQLite persistence feat: comprehensive audit log with SQLite persistence and Audit Log view Apr 24, 2026
@DorianZheng DorianZheng force-pushed the feature/audit-log branch 2 times, most recently from 12c0bbf to 5a1470e Compare April 24, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant