hpilot (Harness Pilot) Documentation
Audience: All — New and experienced users, operators, and contributors.
This directory contains all user-facing and contributor-facing documentation for hpilot. Each document declares its audience at the top (Users, Developers, or All).
Web documentation site
These Markdown files are the canonical source for the public docs site built from the workspace hpilot-docs/ project. Edit files here, then run npm run sync in hpilot-docs/ to refresh the site. See hpilot-docs/README.md for local preview, build, and Cloudflare Workers deployment.
New Users — Start Here
- Read the project README for a high-level overview, installation, and quick start.
- Follow the Getting Started tutorial for a guided first run.
- If something goes wrong, check Troubleshooting.
Architecture Overview
For the repository layout and package structure, see Development. For component-specific runtime details:
- CLI commands, daemon usage, and skill management: Runtime and Daemon — User Guide
- Pipeline internals, adapter details, and generated artifacts: Runtime and Daemon — Developer Reference
- Daemon WebSocket protocol and message schema: WebSocket Protocol
- Pipeline stages, contracts, and routing design: Pipeline Authoring Guide
- Testing covers smoke tests and demos. The testing reference covers developer fixtures.
User Guides
| Document | What it covers |
|---|---|
| Getting Started | Step-by-step tutorial from install to first pipeline run |
| Configuration Reference | hpilot.yaml, ~/.hpilot/config.yaml, global/verifier settings, and CLI commands |
| Stage Configuration Reference | Per-stage model/effort overrides, contracts, goal mode, and runtime fields |
| Pipeline Authoring Guide | Designing stages, contracts, routing, and stage prompts |
| Runtime and Daemon — User Guide | Daemon commands, client interaction, live stderr output, native session discovery, skill disable/restore, signals |
| Batch Submission | Directory-based submit --path, atomic readiness checks, and batch boundaries |
| OAuth-Protected Workspace MCP Server | OAuth 2.1 Streamable HTTP access to workspace file and command tools for remote clients |
| Updating | Install, upgrade, and migration workflows |
| Shell Completions | Bash tab completion setup and comparison |
| Local Usage Metrics | Private task history, filters, grouping, and token coverage |
| Troubleshooting | Common issues and resolutions |
| Testing | Mock harness, demo pipelines, and Unix daemon checks |
| Claude Code Harness Guide | Claude Code adapter SDK configuration, autonomous operation, and permission enforcement |
| Cursor Harness Guide | Cursor adapter configuration, SDK integration, and auth |
| OpenCode Harness Guide | OpenCode adapter serve mode, configuration injection, and timeouts |
| Antigravity Harness Guide | Official agy CLI setup, authentication, permissions, and troubleshooting |
| Codex Harness Guide | Official SDK runtime, autonomous continuation, and Git-backed enforcement |
Developer Guides
| Document | What it covers |
|---|---|
| Agent Architecture Reference | Stage execution lifecycle, verifier gates, adapter overview, and stage fields |
| Runtime and Daemon — Developer Reference | Pipeline lifecycle, adapter compatibility, generated artifacts |
| Native Session Verification Report | Metadata-only evidence for native session persistence and discovery boundaries |
| OpenCode V2 Verification | Developer evidence and opt-in smoke tests |
| Testing Reference | Unit tests, the mock API server, and daemon fixtures |
| Updating — Developer Reference | Repo update and release publishing |
| Development | Repository layout, local setup, tests, and release workflow |
| Adding an Adapter | Maintainer contract for new harness adapters |
| WebSocket Protocol | Daemon message schema, connection lifecycle, chunking |