Harness Drift banner
2anki 2anki

Harness Drift

Git community

Description

--- description: Continuous-drift sweep — arch warnings, dead code, and Sonar drift outside the PR lifecycle allowed-tools: Bash, Read, Grep, Glob, Task --- The change-lifecycle sensors (`/check`, pre-push hooks, the PR Sonar gate) only see a diff. Some kinds of decay accumulate *between* diffs and no single PR is responsible for them: dead code, slow growth of circular dependencies, dropping test coverage, dependency rot. This command is the health sensor for that drift — run it on a schedule

Installation

Installs to ~/.claude/commands/2anki-2anki.net-harness-drift.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/2anki/2anki.net/HEAD/.claude/commands/harness-drift.md -o ~/.claude/commands/2anki-2anki.net-harness-drift.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository