Harness turns a blank repository into a self-reviewing workspace for coding agents.
Harness is a TypeScript CLI for teams that want agents to work in a closed loop instead of improvising against an empty repo. It bootstraps the planning structure, evidence flow, and review rules first, then uses Codex to tailor the repository to the actual project.
The result is a repository where agents can plan, implement, validate, and review with much less hidden context.
Harness sets up a repository to support this loop from day one:
PRODUCT_SPECS.md and repository product specs.REVIEW.md before considering the task complete.harness init: create the baseline scaffold in the current directory.harness configure: launch an interactive Codex session that personalizes the scaffold for the real project.Prerequisites:
harness init works without Codex.harness configure currently supports only Codex, so the local codex executable must be installed and available on PATH.Global install:
npm install -g @antubattle/harness
One-off use with npx:
npx @antubattle/harness init --project-name "My Project"
Create or enter a project directory:
mkdir my-project
cd my-project
Initialize the baseline Harness scaffold:
harness init --project-name "My Project"
This creates the generic repository structure for product-spec standards, review guidance, design docs, ExecPlans, generated evidence, and agent workflow guidance.
Personalize that scaffold for the actual project:
harness configure
harness configure defaults to Codex, and --provider codex is the only supported explicit provider value right now.
Result:
init, you have a deterministic, language-agnostic baseline scaffold.configure, Codex interviews you about the project direction, language, architecture, validation setup, observability, and tooling, then personalizes the repository guidance into a more complete, self-sufficient workspace for future agent work.The npm package name is @antubattle/harness, and the installed executable is harness.
configure is interactive, so the repository setup can reflect real constraints instead of hard-coded presets.configure applies project-specific guidance.AGENTS.md: agent workflow and execution policy for this repository.CHANGELOG.md: root release history for notable changes.REVIEW.md: validation and review standard for reviewer agents.ARCHITECTURE.md: system boundaries and implementation direction for Harness.PLANS.md: ExecPlan authoring standard.PRODUCT_SPECS.md: product-spec authoring standard.features/: versioned product specs, design docs, ExecPlans, generated artifacts, and tech debt tracking.MIT. See LICENSE.