feat: workspace history of actions (History page + audit_events)
Adds an append-only audit trail of user actions with a top-level History page (sidebar entry): User, Created, Title (linked), Status, Type, Application and Model columns, with search, type filter, date range, CSV export and pagination. Backend: audit_events table (schema.sql + dated migration), a fire-and-forget recorder (lib/audit.ts) that can never throw or block a user-facing path, and call sites for chat turns (model, cancelled status, plus per-artifact rows for generated/edited documents and applied workflows mined from the persisted stream events), document uploads, tabular review creation/generation and data exports. GET /audit lists events (visibility: own actions plus activity in projects owned by or shared with the caller); GET /audit/export streams the same view as CSV. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
| Repository | open-legal-products/mike |
|---|---|
| Author | JJ <mooves@hotmail.com> |
| Authored | |
| Committed | |
| Parents | e89d3230 |
| Stats | 15 files changed , +735 |
| Part of | Add workspace audit history |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-2bf6f9f8.md
from inside the repo you want the change in.