Skip to main content

Existing Project

How to add the harness to a project that already exists.

Step 1: Audit​

/harness-init

The initializer inspects the project without writing files. It discovers:

  • Existing instructions.
  • Current progress state.
  • Verification and startup commands.
  • Project stack.

The result is a gap report — what exists, what is missing.

Step 2: Install the minimum viable​

For small projects, the useful minimum is:

ArtifactWhy it exists
Short AGENTS.mdRules, entry points and security
feature_list.json or tasks.mdWIP and next units
Progress fileBlockers and next action
Verification commandObjective baseline
session-handoff.mdResume on another day

Step 3: Or install the full package​

/harness-bootstrap

The bootstrap proposes the full package with confirmation. It detects the stack, discovers how to verify the project and shows each file as create, merge or skip.

Step 4: First session with the harness​

  1. Run the discovered verification command.
  2. If it fails, record the error before creating features.
  3. Fill in or review the feature list.
  4. Ensure WIP=1.
  5. Start every session with /harness-session-start.

Add the rest of the artifacts only when a real failure mode is observed — do not create bureaucracy without need.