Conformance
Loops conformance is claimed per layer. An implementation may conform to CAP, AAP, HACP, or to the complete stack.
Normative keywords on this site follow RFC 2119 usage: MUST, MUST NOT, SHOULD, SHOULD NOT, and MAY.
Claim Levels
| Claim | Meaning |
|---|---|
| CAP-compatible | The implementation exposes the L0 capability profile. |
| AAP-compatible | The implementation exposes the L1 agent delegation profile. |
| HACP-compatible | The implementation implements the L2 human-agent collaboration protocol. |
| Loops stack-compatible | The implementation satisfies all three layers and the inter-layer contracts. |
Do not claim full-stack compatibility if only one layer is implemented.
CAP 0.1.0-draft Requirements
An implementation claiming CAP compatibility MUST:
- Provide
capability.list,capability.describe, andcapability.invoke. - Give every capability a globally unique
(capability_id, version). - Publish an input schema in every capability manifest.
- Return a structured
InvokeResultfrom invocation. - Use CAP error semantics for
NOT_FOUND,INVALID_INPUT,PERMISSION_DENIED,EXECUTION_FAILED, andTIMEOUT.
An implementation MAY support only Tool capabilities, only Skill capabilities, or both.
AAP 0.1.0-draft Requirements
An implementation claiming AAP compatibility MUST:
- Support
agent.discover,agent.delegate,agent.block,agent.resume, andagent.handoff. - Maintain the AAP run states:
running,blocked,completed, andfailed. - Attach
correlation_idto all runs and events. - Preserve HACP TaskID as
Run.correlation_id. - Emit the required event stream:
run.started,run.progress,run.blocked,run.completed, andrun.failed. - Use AAP error semantics for agent lookup, capability mismatch, refused delegation, missing runs, and invalid transitions.
An implementation MAY use A2A, ACP, AGNTCY, or a custom runtime underneath the profile.
HACP 0.1.0-draft Requirements
An implementation claiming HACP compatibility MUST:
- Support all seven first-class objects: Task, Checkpoint, Ownership, Review, Artifact, Ledger, and Audit.
- Implement all 21 HACP operations.
- Enforce the HACP Task state machine.
- Enforce immutability for Task specs, Artifact versions, Reviews, Ledger entries, and Audit events.
- Produce audit events for every protocol operation that changes state.
- Validate operation preconditions before state changes.
- Use the inter-layer contracts when operating as part of a full Loops stack.
An implementation MAY choose its own transport, persistence layer, Task types, Artifact types, and policies for open issues that remain draft-scoped.
Full Stack Requirements
A complete Loops stack MUST satisfy CAP, AAP, HACP, and the four cross-layer contracts:
| Contract | Required evidence |
|---|---|
CapabilityRef | Upper layers reference capabilities only by (capability_id, version) and never by transport endpoint. |
| TaskID correlation | HACP Task.id = AAP Run.correlation_id for every delegated run. |
| Checkpoint-to-Block | checkpoint.raise blocks the corresponding AAP run; checkpoint.resolve resumes it. |
| Ownership-to-Handoff | HACP ownership transfer maps to AAP handoff while preserving correlation. |
Evidence Checklist
Before publishing a compatibility claim, produce evidence for each layer:
| Evidence | CAP | AAP | HACP | Full stack |
|---|---|---|---|---|
| Public manifest or API description | Required | Required | Recommended | Required |
| State machine tests | Recommended | Required | Required | Required |
| Immutable record tests | Not applicable | Recommended | Required | Required |
| Error semantic tests | Required | Required | Required | Required |
| Cross-layer correlation trace | Not applicable | Required | Required | Required |
| Audit replay demonstration | Not applicable | Recommended | Required | Required |
Non-Conforming Patterns
The following patterns are incompatible with Loops conformance:
- A human review system that mutates task specs in place instead of creating a new task or version.
- An agent runtime that loses the original TaskID during delegation or handoff.
- A capability registry that requires upper layers to know whether a tool uses stdio, SSE, HTTP, or another transport.
- A checkpoint implementation that lets an agent resume itself without a human or authorized system resolution.
- An audit log that can be rewritten or deleted after protocol operations occur.
Draft Policy
The 0.1.0-draft line is intended for early implementation and feedback. Draft implementations should state which open issues they have chosen to resolve locally, especially transport binding, checkpoint expiration, ledger conflict handling, and multi-reviewer verdict aggregation.