Skip to content
Skip to content
HCP
Specification

Specification

Harness Context Protocol HCP/1.1, the normative requirements for packs, runtimes, and hosts. Status, conformance language, and table of contents.

HCP/1.1 · Draft · 2026-09-17

This is the public projection of the Harness Context Protocol specification. The normative source of record is the spec/ directory of the protocol repository; changes land there by RFC and are mirrored here.

Status and version

This document specifies HCP/1.1. It consists of the HCP/1 core plus the accepted extensions of RFC 0001 (wrap hardening). Packs, runtimes, and hosts claiming conformance to HCP/1.1 MUST implement or follow the requirements in the sections below.

HCP/1 packs conform to HCP/1.1 without change. Proposed and planned changes are tracked on the Roadmap and are not part of this specification.

Conformance language

The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL in this specification are to be interpreted as described in RFC 2119 and RFC 8174 when, and only when, they appear in all capitals.

Text marked informative explains intent and does not create requirements.

Three conformance targets

TargetClaims conformance byChecklist
PackPassing lint on a conforming runtime and passing its proof scriptPack conformance
RuntimePassing the conformance vectors and satisfying the runtime checklistRuntime conformance
HostLoading generated surfaces and satisfying the host checklistHost conformance

Table of contents

§SectionDefines
1TerminologyThe objects and their exact meanings
2Pack modelDirectory, three files, identity, planes, invariants
3Manifestsurface.json schema and validation
4Policypolicy.json schema, tokens, coverage, confirm
5SkillHARNESS.md requirements
6ExecuteEnvelope, pipeline, wrap rendering, result
7SenseTriggers, isolation, activation
8BindingModes, hubs, families, mint, health
9AuthorizationPrincipal, scope, capabilities, evaluation order, audit
10SandboxDefault posture and native-local
11LifecycleStates, store, availability
12ProjectionsCLI face, host surfaces, MCP export naming
13VersioningProtocol affinity, compatibility, deprecation
14ConformanceChecklists for packs, runtimes, hosts

Design goals (informative)

  1. A capability installs into any harness as one portable unit.
  2. Authorisation, credentials, sandboxing, and outbound events are part of the install layer; no host adds them separately.
  3. The same command serves a human, an agent, an API, and a UI under one Policy.
  4. Packs are small to write and cannot hold secrets.
  5. Runtimes may be proprietary; the format and rules are open.
  6. Transports are projections. A pack's identity does not depend on its transport.

Non-goals

See Non-goals.

License

The specification is licensed under Apache-2.0. The reference SDK and CLI are MIT.