Replayable Audit Logs

Design pattern for observability-by-default in LLM agents — every feature that performs external I/O, calls an LLM, or makes non-deterministic/heuristic decisions ships a replayable append-only JSONL audit log in the same change. Use when adding or reviewing such a feature (the review question "which log answers why, and can we replay it offline?"), when designing a new audit record schema, when a recurring failure needs corpus-driven repair (replay harness, positive/negative ground truth, regression fixtures from real traffic), or when deciding how to store untrusted text in a log.

shimo4228 3722c96 6.3 KB Updated

File contents

shimo4228/agent-observability-patterns/tree/main/skills/replayable-audit-logs commit 3722c96292

Frequently asked questions

npx skillmds@latest add shimo4228/replayable-audit-logs