Coherence Audit — Security skill for Claude Code
Read-only audit of semantic drift between ADRs/backlog and the code they describe.
How to install Coherence Audit
Installs to ~/.claude/commands/lazynet-lazy-harness-coherence-audit.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/lazynet/lazy-harness/HEAD/.claude/commands/coherence-audit.md -o ~/.claude/commands/lazynet-lazy-harness-coherence-audit.md Restart Claude Code, or start a new session, for it to be picked up.
What Coherence Audit does
description: Read-only audit of semantic drift between ADRs/backlog and the code they describe
You are running a **read-only** audit of the semantic drift that no exact rule can decide: ADRs and `specs/backlog.md` describing behavior the code no longer has, or carrying stale status. This is Piece B of the coherence audit — the deterministic half already runs as pytest tests under `tests/docs/` on every `uv run pytest`; this command covers what those tests deliberately do not (prose clai
Alternatives in Security
- Clawsec — Security skill suite with drift detection, automated audits, and skill integrity verification 798 ★
- Reflexion — Audit and optimize the .claude/ ecosystem — skills, hooks, guides, patterns, agents, and settings — for qualit 224 ★
- Release Audit — Use right before cutting a release — it spawns ONE fresh sibling session via CCC that audits only the JUDGMENT 130 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Status Check
Deep drift + dedup audit — reconcile tracker issues/PRs ↔ backlog (FIX-NNN) ↔ branches ↔ issue-log. Read-first
Fit Audit
Audit the fit between an already-deployed Claude Code harness and the current state of the target project (tra
Claudemd Analyze
Read-only spec ↔ implementation coherence audit. Cross-references core ↔ extended §EXT refs, Sizing line accur
Session Audit
Self-audit pass over CLAUDE.md rules and memory files. Surfaces stale rules, undocumented workarounds, and con
Repo Doctor
Audit a repo's agent docs — AGENTS.md/CLAUDE.md topology, always-loaded token cost, CodeMap freshness and line
Memory Hygiene
Audit and clean up Claude Code's persistent memory system — MEMORY.md, memory files, lessons, and ADRs
Related Agents
Self Docs Sync Auditor
Read-only auditor for the Docs-sync lens of /self-audit — flags drift between the actual skills/, skills/_lib/
Audit Scanner
Shared read-only Tier-2 evidence scanner for audit-loop instances (doc-drift, topology-drift, ci-drift, backlo
Arch Drift Checker
Detects architecture drift between approved Phase 2 architecture and Phase 5/6 implementation. Runs every N ta