Baseline v0.1: a bounded role
A v0.1 AgentRoleProfile expresses the job in a reviewable YAML or JSON document. This abridged example is an illustrative fragment, not a complete schema-valid document; it focuses on scope and expected output while omitting required groups.
apiVersion: hats.dev/v0.1
kind: AgentRoleProfile
metadata:
id: compliance-auditor
version: 0.1.0
status: draft
role:
mission: Audit assigned records and evidence for completeness and policy alignment.
in_scope:
- Read assigned records
- Review evidence
- Produce audit reports
out_of_scope:
- Modify source records
- Approve its own work
output_contract:
format: audit_report
required_sections: [summary, findings, next_actions]
The fragment illustrates a role mission, scope, and output contract without treating its text as a direct grant to read or change a system. It cannot be used as a validator success fixture.
Proposed v0.2: materials and requested actions
The proposed v0.2 model adds principal-neutral role profiles and explicit dependency-loading behavior. This incomplete illustrative fragment shows a required instruction before a named stage and an optional knowledge source available on demand; it is not a complete schema-valid document.
materials:
- id: review-checklist
kind: instruction
loading: before_step
before: [submit-summary]
required: true
- id: background
kind: knowledge
loading: on_demand
required: false
permissions:
requested: [case.read, summary.write]
denied: [payment.send]
approval_required: [summary.write]
Required content applies at its stated phase; it is not an instruction to load every optional source at startup. Discovery and retrieval must filter the authorized candidate universe before titles, snippets, or bodies are revealed. Declaring a requested action is not the same as granting it.
How to read a memory policy
The proposed v0.2 examples also show bounded continuity. An explicit capture policy and named logical scopes prevent “memory” from becoming an unreviewed claim to all organizational data.
| Example field | Meaning |
|---|---|
| read_scopes | Logical areas that may be considered for authorized retrieval; they do not bypass access checks. |
| write_scopes | Allowed locations for separately configured, authorized capture. |
| capture: explicit | Capture must use an independently configured and authorized path. |
| required_on_resume | Critical state needed to resume work safely must come from authoritative sources. |
| on_unavailable: block | Work depending on the unavailable service must not proceed. |
An illustrative v0.1 wire-format fragment
No complete validated fixture is reproduced on this overview. This replacement uses the v0.1 AgentRoleProfile wire header, but it deliberately remains an incomplete, non-valid fragment because the canonical fixture and schema are not public here. Required groups are omitted, and no signature or deployment claim is made.
apiVersion: hats.dev/v0.1
kind: AgentRoleProfile
metadata:
id: client-intake-coordinator
version: 0.1.0
status: draft
role:
mission: |
Help new clients complete intake forms and surface unpaid invoices.
Never create, modify, or delete financial records.
in_scope:
- read customer profiles
- summarize unpaid invoices for a tenant
- collect contact information for new prospects
out_of_scope:
- modify source records
- make cross-tenant queries
- authorize refundsThe canonical repository contains validated fixtures and an offline Python validator, but neither is downloadable from this site. A full-valid label requires the exact complete bytes to pass that validator; no validation success is claimed for these fragments.
Use examples responsibly
- Start with a bounded, testable operational job.
- Keep role text free of secrets and real customer data.
- Map capability requests to your actual host’s action namespace.
- Use enforced grants, scopes, and approvals outside the document.
- Record limitations when a source, feature, or control is not available.