Skip to content

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 ​

  1. Read the project README for a high-level overview, installation, and quick start.
  2. Follow the Getting Started tutorial for a guided first run.
  3. If something goes wrong, check Troubleshooting.

Architecture Overview ​

For the repository layout and package structure, see Development. For component-specific runtime details:

User Guides ​

DocumentWhat it covers
Getting StartedStep-by-step tutorial from install to first pipeline run
Configuration Referencehpilot.yaml, ~/.hpilot/config.yaml, global/verifier settings, and CLI commands
Stage Configuration ReferencePer-stage model/effort overrides, contracts, goal mode, and runtime fields
Pipeline Authoring GuideDesigning stages, contracts, routing, and stage prompts
Runtime and Daemon — User GuideDaemon commands, client interaction, live stderr output, native session discovery, skill disable/restore, signals
Batch SubmissionDirectory-based submit --path, atomic readiness checks, and batch boundaries
OAuth-Protected Workspace MCP ServerOAuth 2.1 Streamable HTTP access to workspace file and command tools for remote clients
UpdatingInstall, upgrade, and migration workflows
Shell CompletionsBash tab completion setup and comparison
Local Usage MetricsPrivate task history, filters, grouping, and token coverage
TroubleshootingCommon issues and resolutions
TestingMock harness, demo pipelines, and Unix daemon checks
Claude Code Harness GuideClaude Code adapter SDK configuration, autonomous operation, and permission enforcement
Cursor Harness GuideCursor adapter configuration, SDK integration, and auth
OpenCode Harness GuideOpenCode adapter serve mode, configuration injection, and timeouts
Antigravity Harness GuideOfficial agy CLI setup, authentication, permissions, and troubleshooting
Codex Harness GuideOfficial SDK runtime, autonomous continuation, and Git-backed enforcement

Developer Guides ​

DocumentWhat it covers
Agent Architecture ReferenceStage execution lifecycle, verifier gates, adapter overview, and stage fields
Runtime and Daemon — Developer ReferencePipeline lifecycle, adapter compatibility, generated artifacts
Native Session Verification ReportMetadata-only evidence for native session persistence and discovery boundaries
OpenCode V2 VerificationDeveloper evidence and opt-in smoke tests
Testing ReferenceUnit tests, the mock API server, and daemon fixtures
Updating — Developer ReferenceRepo update and release publishing
DevelopmentRepository layout, local setup, tests, and release workflow
Adding an AdapterMaintainer contract for new harness adapters
WebSocket ProtocolDaemon message schema, connection lifecycle, chunking