VV Claude Code Harness
A Claude Code plugin that gives coding agents what they structurally lack: memory across
sessions, coordination when several run in parallel, and quality rules they cannot skip.
It ships as skills, declarative agents, and shell hooks — /harness-init scaffolds a
project, /harness-continue picks it up in every later session, and the hooks enforce
tests, scope, and git identity mechanically rather than by asking politely.
Install · What's in the box · Architecture
· CHANGELOG · INSTALL.md · History and design origins
New to the harness? The field guide
walks through the install, one session end to end, the gates, and parallel work. Its
source is in site/.
The problem it solves
Every AI coding agent has the same Achilles heel: memory. Not the technical kind (context
windows keep growing) — the practical kind. Start a complex project, work for an hour, hit
a context limit or close the session, come back tomorrow. The agent has no idea what
happened. It is like onboarding a new contractor every morning who has never seen the
codebase.
Anthropic's engineering team framed it as
the shift problem:
a project staffed by engineers working shifts, where each new engineer arrives with no
memory of the previous shift. Two failures follow. The agent tries to one-shot the whole
project, runs out of context mid-implementation, and leaves a half-built mess. Or, more
insidiously, it looks around, sees working code, and declares victory at 30% complete.
The fix is not a bigger model. It is infrastructure: externalize state into files the next
session reads, and enforce the rules that matter with code instead of prose.
Why files, not a memory system
- Simplicity: files need no infrastructure. The agent writes, the agent reads, done.
- Transparency: when an agent goes off the rails you can open the file and see what it
thinks it is doing. You cannot debug a vector database mid-hallucination.
- Structure:
features.json is JSON because, as Anthropic noted,
"the model is less likely to inappropriately change or overwrite JSON files compared to
Markdown files." The format itself enforces discipline.
The longer version — where this design came from, and how it changed across six major
versions — is in docs/history.md.
Install
Prerequisites: Claude Code CLI, git initialized in your project, python3, and
jq (brew install jq on macOS — used by the per-project build hooks /harness-init
writes).
From inside any Claude Code session:
/plugin marketplace add oeftimie/vv-claude-harness
/plugin install vv-harness
Claude Code auto-discovers the plugin's skills, agents, and hooks. Then initialize any
project that will span multiple sessions:
cd ~/Projects/MyApp
claude
/harness-init
Full prerequisites, migrating from the retired v3 installer, and optional setup (cost
telemetry, spec-gate signing config) are in INSTALL.md.
Upgrade
The plugin itself:
/plugin update vv-harness
Updates are atomic — each version gets its own cache directory, so there's nothing to
clean up by hand. Updates land only when .claude-plugin/plugin.json's version is
bumped; that's the update cache key.
An existing harness-managed project, after the plugin updates:
/harness-doctor # report-first: what's out of date
/harness-doctor --fix # apply the fix
--fix mechanically applies every upgrade step (hook copies, .gitignore rules,
settings.json wiring, the recorded plugin_version). See INSTALL.md's "Upgrading an
existing harness project" for what it does under the hood.
Usage recommendations
Solo work (most common)
Install the plugin (/plugin install vv-harness), then run /harness-init on any project that will span multiple sessions. At the start of every session, run /harness-continue — it reads your progress files, verifies git identity, and picks up where you left off.
Use single-session mode for features touching fewer than 5 files. The harness tracks progress via TaskCreate/TaskUpdate (which survive compaction), runs async build checks after edits, and mechanically blocks git pushes with wrong identity.
The plugin's SessionStart hook recovers your context automatically after compaction — its compact matcher re-injects feature status, Active Context, and the last handoff directly into model context.
Parallel work (workflow mode)