agent-activity-loggerlisted
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