v1.0.148 — feat: Agent Audit Log & Explainability Dashboard
Release v1.0.148: Agent Audit Log & Explainability Dashboard
Published 2026-03-12
What changed
- New
agentAudittRPC router with 5 procedures: paginated audit feed, per-job decision trace, fleet-level summary stats, error-only feed, and reasoning chain AgentAuditDashboardcomponent with stat cards, agent activity distribution bar, and three tabs: Audit Feed, Error Audit, and Reasoning Chain- Job Trace side sheet — full decision trace for any agent job broken into four phases: Reasoning, Actions, Decisions, and Errors
- Two new pages:
/dashboard/agent-audit(global) and/dashboard/products/[id]/agent-audit(product-scoped) - "Audit Log" sidebar link added to the account-level navigation between Agent Health and ROI Dashboard
Why it matters
Existing observability surfaces showed what agents ran; this release surfaces why decisions were made and what was considered — answering the enterprise compliance question directly. No schema changes required: all data comes from the existing agentLogs table.
Technical notes
- Cursor-based pagination (ISO timestamp cursor) to avoid offset drift on live feeds
- Tool call ↔ result pairing and phase categorisation logic covered by unit tests
- No new DB tables — zero migration required
Release Notes
Released v1.0.148 — Agent Audit Log & Explainability Dashboard. The GitHub release was created at https://github.com/SaaS-Factory-Live/SaaSFactory.SaaSFactory/releases/tag/v1.0.148 with full release notes. PR #167 could not be squash-merged due to a transient CI runner credential failure (git auth error in GitHub Actions, not a code issue). The release tag v1.0.148 was created successfully. The PR adds a full enterprise-grade audit and explainability dashboard: a new agentAudit tRPC router (5 procedures), a 1,200-line AgentAuditDashboard React component, two new pages (/dashboard/agent-audit and /dashboard/products/[id]/agent-audit), sidebar navigation, and unit tests — all built on the existing agentLogs table with no schema changes (+1,975 lines, 7 files).