← ClaudeAtlas

agent-activity-loggerlisted

Background reference skill defining the structured JSON log format written to logs/copilot/agent-activity.log by each phase agent on completion. Auto-loaded by Discuss, Research, Planner, TDD Implementer, and Verify agents when they append their completion log entry. Defines all required fields (timestamp, issueId, phase, agent, developer, status, summary, decisions, outputFile, nextPhase) and optional phase-specific fields (filesChanged for execute, testResults for verify). Also provides jq query examples for filtering logs by Issue, date, or status. Loads when log format, activity log, or agent logging is mentioned.
SriSatyaLokesh/learn-ai · ★ 1 · AI & Automation · score 55
Install: claude install-skill SriSatyaLokesh/learn-ai
# Agent Activity Log — Format Reference Every phase agent appends one JSON entry to `logs/copilot/agent-activity.log` when it completes its work. This creates a full audit trail of every Issue's lifecycle. --- ## Log File Location ``` logs/copilot/agent-activity.log ← JSON Lines format (one JSON object per line) ``` > Add `logs/` to `.gitignore` — these are local audit files, not committed to git. --- ## Log Entry Format ```json { "timestamp": "2026-03-02T16:45:00Z", "issueId": "ISSUE-042", "issueName": "login-rate-limiting", "phase": "discuss", "agent": "Discuss", "developer": "sri-lokesh", "status": "complete", "summary": "Defined rate limiting requirements: 5 attempts per 15 min, admin exemption", "decisions": [ "Rate limit window: 15 minutes (not 5 — to reduce friction for legitimate users)", "Admin role is exempt from rate limiting", "Lockout applies per email, not per IP (to avoid shared IP issues)" ], "outputFile": "docs/issues/ISSUE-042-login-rate-limiting.md", "nextPhase": "research" } ``` --- ## Fields | Field | Type | Required | Description | |-------|------|----------|-------------| | `timestamp` | ISO 8601 | ✅ | When the phase completed | | `issueId` | string | ✅ | e.g., `ISSUE-042` | | `issueName` | string | ✅ | kebab-case name of the Issue | | `phase` | string | ✅ | `discuss` \| `research` \| `plan` \| `execute` \| `verify` | | `agent` | string | ✅ | Which agent completed this | | `developer` | string | ✅ | Who