You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PAGS already has rich observability tables that no operator view exposes cross-user: error_log (0034), agent_events (unified trace, 0038, behind /trace + MCP agent_trace), and the MCP audit log. Operators need an "is anything on fire?" surface like FGS's Ops page.
Scope
GET /v1/admin/errors — cross-user error_log feed (paginated, filter by source/level/since/user). (errors.ts already supports scope=all for admins — formalize/reuse it under /v1/admin.)
GET /v1/admin/events — cross-user agent_events trace (filter by trace_id/source/level/instance) for deep debugging.
GET /v1/admin/ops — an ops queue: stuck/failed coding sessions & workflows (JobApply/CodingSession), instances with a runtime that registered but is not live, agents in error state, users with no API key, recent error spikes.
GET /v1/admin/mcp-audit — surface the existing MCP audit log (who called which tool, scope, allow/deny).
Acceptance criteria
Errors + events feeds paginate and filter; admin-only.
Closing as implemented on main. Evidence: admin errors API (/v1/admin/errors and /errors/summary), admin trace API (/v1/admin/trace/:instanceId), ops queue (/v1/admin/ops), and MCP audit API (/v1/admin/mcp-audit) are present under workers/api/src/routes; tests cover admin auth/errors, and the admin SPA has Errors, Ops, TraceView, and McpAudit pages.
Activity
feat(admin): Agents, Activity (errors+audit) views + richer Overview (#…
feat(admin): Terminals view — all connected CLIs + their logs
serge-ivo commentedon Aug 6, 2026
Closing as implemented on main. Evidence: admin errors API (/v1/admin/errors and /errors/summary), admin trace API (/v1/admin/trace/:instanceId), ops queue (/v1/admin/ops), and MCP audit API (/v1/admin/mcp-audit) are present under workers/api/src/routes; tests cover admin auth/errors, and the admin SPA has Errors, Ops, TraceView, and McpAudit pages.
serge-ivo commentedon Aug 6, 2026
Implementation links: no associated PR was found; this landed direct on main in 9745b6a.
fix(push-guard): keep the owner's url rewrites for pushes; never wait…