/gabbe:audit-trailfrom GABBE
Maintains an append-only chronological audit log of decisions, phase transitions, approvals, and failures for compliance and debugging.
Ships in GABBE. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Maintain an append-only, chronological record of all significant decisions, changes, and outcomes for compliance, debugging, project continuity, and team transparency.
Append to: agents/memory/AUDIT_LOG.md
Table format:
| [ISO datetime] | [Session-ID] | [Agent/Human] | [Action Type] | [Description] | [Outcome] | [References] |
Action Types:
DECISION - A choice made between options
PHASE_TRANSITION - SDLC phase changed
TASK_DONE - A task was completed successfully
TASK_BLOCKED - A task is stuck, human decision needed
QUALITY_GATE - Quality gate pass/fail result with scores
SECURITY_FINDING - Security issue found (severity + description)
ADR_CREATED - Architecture decision documented
HUMAN_ESCALATION - Agent escalated to human (blocked after 5 attempts)
SELF_HEAL_ATTEMPT- Agent tried to fix itself (attempt N of 5)
RESEARCH_FINDING - Authoritative source verified (for future reference)
ERROR - Unexpected error encountered
ROLLBACK - Change was reverted
HUMAN_APPROVED - Human provided approval for a phase or decision
A HUMAN_APPROVED row holds the phase, the date and the human's own words. Phases S00, S01, S02, S07, S08 and S10 are not advanced without one.
Determine what needs to be logged
Write the log entry
# Get current timestamp
date -u +"%Y-%m-%dT%H:%M:%SZ"
Example entries:
| 2025-03-15T14:23:00Z | SES-002 | prod-pm | PHASE_TRANSITION | PRD.md approved by human | SUCCESS | docs/PRD.md |
| 2025-03-15T14:25:00Z | SES-002 | human | HUMAN_APPROVED | Approved PRD.md — proceed to design | APPROVED | docs/PRD.md |
| 2025-03-15T15:10:00Z | SES-003 | prod-architect | ADR_CREATED | Chose Prisma over TypeORM for ORM | ACCEPTED | docs/architecture/decisions/ADR-001-prisma.md |
| 2025-03-15T16:00:00Z | SES-004 | eng-backend | TASK_DONE | Implemented CreateUserUseCase | SUCCESS | src/application/create-user.use-case.ts |
| 2025-03-15T16:45:00Z | SES-004 | eng-backend | SELF_HEAL_ATTEMPT | Type error on UserDto.email field — attempt 1/5 | FAIL | src/application/create-user.use-case.ts:42 |
| 2025-03-15T16:50:00Z | SES-004 | eng-backend | TASK_DONE | Fixed type error via research (strict null check) | SUCCESS | src/application/create-user.use-case.ts |
| 2025-03-15T17:00:00Z | SES-004 | ops-security | SECURITY_FINDING | HIGH: Missing rate limit on /auth/login | OPEN | src/adapters/http/auth.controller.ts:23 |
| 2025-03-15T17:30:00Z | SES-005 | orch-judge | QUALITY_GATE | G3 Coverage: 99.2% of new and changed lines (>= 99%), 247 tests pass | PASS | — |
APPEND ONLY — never modify existing entries
>> agents/memory/AUDIT_LOG.mdVerify the append worked
For humans reviewing history:
# Find all security findings
grep "SECURITY_FINDING" agents/memory/AUDIT_LOG.md
# Find all human decisions
grep "HUMAN_APPROVED\|DECISION" agents/memory/AUDIT_LOG.md
# Find all escalations
grep "HUMAN_ESCALATION" agents/memory/AUDIT_LOG.md
# Find history for a specific file
grep "auth.controller.ts" agents/memory/AUDIT_LOG.md
New row appended to AUDIT_LOG.md. No output to user unless requested.
>>); never rewrite or delete a row. A reversal is a new ROLLBACK row.| from the description before appending, so one entry stays one row.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
49 skills in this plugin
/adr-writerGenerate Architecture Decision Records for significant technical decisions. Use when: architecture decision, ADR, why did we choose, why are we using, architectural choice./api-designAPI contract (OpenAPI, GraphQL SDL or proto) written before code, with resources, errors, pagination and authentication. Use when a new endpoint or API is needed or the contract of an existing one must change./arch-designArchitecture design from approved requirements — quality scenarios, style choice, decomposition, 4+1 or arc42 views, ADRs and risks. Use when a new system or major subsystem needs an architecture before implementation planning./assurance-ladderChoose how strongly a component must be verified, from plain tests (level 0) to a machine-checked proof of a small core (level 3), record the choice in an ASSURANCE_PLAN, and know which evidence each level leaves. Use at S01/S02 when planning verification, when a requirement mentions concurrency, money, authorisation or safety, or when asked how sure we are that code is correct. Use when: assurance level, how strongly to verify, formal verification, choose verification level, assurance plan, prove correctness, model checking, high-risk component./characterization-testsUse before changing code that has no tests or weak tests. Pins what the code does today with golden-master and characterisation tests, handles non-determinism, and records a coverage baseline, so later changes can be checked against it. Use when: characterization test, characterisation test, golden master, approval test, pin behaviour, no tests, legacy tests, snapshot current behaviour, baseline coverage./clarifyProduces ranked clarifying questions with recommended defaults before acting on an ambiguous or risky step. Use when a request has several readings, a key fact is missing, or the action is expensive or hard to undo.npx claudepluginhub andreibesleaga/gabbe --plugin gabbeOther plugins' skills for the same job