Documentation · Conformance

Say exactly what was checked and evidenced.

Conformance is not a single badge. It depends on the contract an implementation claims to support, the paths it actually controls, and the evidence it can provide for that claim.

Baseline conformance

At minimum, a HATS-compatible implementation should parse Hat and Persona manifests, reject invalid manifests, pin Hat versions in sessions, separate requested capabilities from effective permissions, and emit audit events for privileged actions.

Those baseline expectations describe compatible handling of the format. They do not mean every host supports the same controls, permissions, integrations, or runtime lifecycle.

Historical v0.1 levels

The retained v0.1 conformance labels are Core, Governed, Delegation, Observable, and Portable. They are historical levels and are not interchangeable with the independent v0.2 profiles below.

The audited canonical inventory contains five valid baseline fixtures and eight invalid fixtures, including six v0.2 semantic cases. Those finite document cases are not whole-runtime coverage, and the executable fixtures are not yet downloadable from this site; request canonical source access if needed.

Proposed v0.2 profiles

The v0.2 review draft organizes claims into independent profiles rather than a security-ranking ladder. A claim should name the applicable profile, specification and tool versions, host/version where relevant, evidence, timestamp, limitations, and unsupported paths.

ProfileExpected evidenceImportant limit
DocumentExact version/kind schemas plus local semantic invariants.Document evidence only; it does not prove live behavior.
PreparationValidated, integrity-checked role projection and dependency plan.No authority may be inferred from role content.
LifecycleTests for holder/epoch state, transfer/delegation distinction, retries, and receipt reconciliation.Requires stateful runtime behavior, not just a document parser.
ControlsAuthorization, approval, idempotency, and bypass-limit tests for named gateway paths.Coverage has to name the paths it actually controls.
ContinuityScope-safe memory, authoritative checkpoints, correction, unknown-operation, and deletion tests.Memory service behavior cannot be established from a role document alone.

Document invariants beyond shape

JSON Schema catches structure. The proposed v0.2 document profile also requires local semantic checks. A conforming document implementation must reject, among other conditions:

  • Duplicate dependency, component, metric, or limit identifiers.
  • A before_step dependency without a nonempty trigger list, or a model-facing instruction marked as runtime-only.
  • Memory capture that is disabled while write scopes are present, or delegation recipients when delegation is disabled.
  • Empty or inverted assignment, activation, or approval windows.
  • A root role that requests and denies the same action, or approval gating outside its requested and authorized action set.
  • An overall applied receipt without required applied components and supporting application evidence.
  • A transfer that does not advance epoch correctly, or a delegation that reuses the parent execution identity.
  • A completed approval decision that lacks authenticated reviewer and timing information.

What a schema pass cannot prove

A document check can establish

  • The expected version and kind.
  • Required shape and local consistency rules.
  • Whether the given bytes match an expected digest.
  • Whether a reference parser accepts a bounded input.

A document check cannot establish

  • Whether the referenced object exists or is current.
  • Whether an actor has authority in the current scope.
  • Whether an issuer assertion is truthful or complete.
  • Whether a side effect occurred or an integration path was mediated.

Runtime guidance

A compatible runtime prepares a Hat into a runtime envelope: authenticate the user, resolve organization and task scope, select one active Hat, resolve compatible persona guidance, apply a supported composition or overlay rule, evaluate policy, compile effective permissions, gate protected calls, validate output, and emit audit events.

Enforcement must be on the path

If a worker, tool, connector, or other execution path can bypass the HATS-aware gateway, then the Hat is not enforceable on that path. A product should report its coverage and limitations rather than imply universal containment.