Files
PaperClipAI/maps/feature-map/activity.md
T

3.1 KiB

Dashboards, activity, and audit trails

People inspect company health, recent activity, run history, and routine activity, then follow evidence back to the task or agent responsible.

Implementation: dashboard, live dashboard, audit hub.

Agent access: companion.

Sub-features

  • overview: inspect the company dashboard and live-work summary.
  • activity: filter and page through recorded actor/resource events.
  • runs: find executions and follow their task/agent context.
  • routine-audit: inspect routine execution activity separately from its definition.
  • timeline: use the available timeline view to understand work over time.

How to get to it (user POV)

dashboard

Open /dashboard or /dashboard/live.

activity-audit

Open /activity, /activity/runs, or /activity/timeline in the streamlined shell; legacy routes may redirect.

Driving it with Playwright and the Paperclip CLI

Preconditions: follow the baseline. Prepare known task mutations and completed/failed runs in a disposable company, recording their IDs and actors.

dashboard

Automated: dashboard service covers server aggregation; dashboard helpers is narrower UI helper coverage.

Manual: Compare the dashboard with the known fixture tasks and runs. Start and finish a small task, refresh/reload, and verify the summary changes and links reach the right records. Exercise empty data and a failed fetch.

activity-audit

Automated: activity service, audit runs, and routine audit cover these separate data/host layers.

Manual: Find a known mutation by actor/resource and a known run by status. Change filters, load more, and follow the source links. Reload the chosen view and verify no company leakage or duplicate events. Inspect a routine run from its audit entry.

Issue activity is also available through GET /api/issues/{id}/activity. Agent authorization and sandbox bridge regressions cover this route separately from company-wide audit. Live sandbox agent access remains unverified; use the companion recipe.

Audit-event Load more and run listings differ: Runs currently loads at most 200 entries without pagination. The tested RoutineAuditActivity component has no registered activity-route host; inspect execution links actually offered by the routine rather than treating that component test as a reachable journey.

Gotchas

  • Audit/activity events, run-log rows, first-party Telemetry, and operator OpenTelemetry traces are separate data paths.
  • A healthy stream or dashboard counter alone does not prove task success.
  • Cost and budget reports have their own recipe.