Conformance Levels
Overview
Implementations declare conformance at one of four levels. Each level is a strict superset of the previous — a Level 2 implementation satisfies all Level 0 and Level 1 requirements as well.
| Level | Name | Summary |
|---|---|---|
| 0 | Starter | Minimal viable implementation. In-memory, no persistence, no auth. |
| 1 | Core | Durable persistence, logical clocks, conflict flagging. |
| 2 | Standard | Semantic relevance, push subscriptions, conflict resolution. |
| 3 | Full | Production-grade orchestration, security, full audit trail. |
Level 0 — Starter
The minimal viable implementation. A developer can adopt this in an afternoon.
An implementation conforms to Level 0 if it:
- Implements
REGISTERwithidandrolefields. - Implements
RECORDin bothdraftandcommittedmodes. - Validates that
intent.purposeis present and non-empty on every RECORD. - Rejects RECORD with
MISSING_INTENTif intent is absent. - Auto-generates
id,epoch,source, andstatuson every memory unit. - Implements
ATTUNEwith Required Scope (roleandmax_units). - Returns memory units scored and sorted by relevance (algorithm is implementation-defined).
- Excludes the requesting agent's own memory units from ATTUNE results by default.
- Excludes retracted and superseded memory units from ATTUNE results.
- Returns
relevance_scoreandrelevance_reasonfor each result. - Uses the standard message envelope on all messages.
Level 0 MAY omit:
- Persistence (in-memory only is acceptable)
- Logical clocks (
epochMAY be a simple counter or0) - Conflict detection
- Subscriptions
- The Coordination Extension
- Authentication
Level 1 — Core
Memory persists. Events are ordered. Contradictions get flagged.
An implementation conforms to Level 1 if it meets all Level 0 requirements AND:
- Persists memory units to durable storage that survives process restarts.
- Maintains an append-only event log of all operations.
- Implements Lamport logical clocks: each operation increments the epoch; incoming messages update the local clock to
max(local, received) + 1. - Requires
confidence.scoreandconfidence.reasoningon committed RECORD operations. - Implements
DEREGISTER. - Implements
DETECTinlistmode. - Creates a Conflict object when a RECORD includes a
contradictsrelation. - Implements
ATTUNEwithsince_epochparameter for polling-based subscriptions. - Returns unresolved conflicts in the ATTUNE response.
- Implements
REGISTERwith capability exchange (Field returnsfield_capabilities).
Level 2 — Standard
Relevance gets smart. Conflicts get resolved. Agents get notified.
An implementation conforms to Level 2 if it meets all Level 1 requirements AND:
- Computes vector embeddings for memory unit content.
- Implements semantic relevance scoring in ATTUNE using embeddings.
- Supports Extended Scope fields:
max_tokens,interests,active_task_id,relevance_threshold. - Implements token budget management in ATTUNE (truncation and/or summarization).
- Implements
DETECTin all three modes (check,scan,list) with at least one automatic detection method. - Implements
MERGEwith at least three strategies:last_write_wins,confidence_weighted,human_escalation. - Implements
SUBSCRIBEwith push notifications (WebSocket, SSE, or equivalent). - Implements
HANDOFFwith structured context packaging (Coordination Extension). - Implements
REPLAYat all three depths (summary,detailed,full_trace). - Implements
COMPACTwith at least thearchivestrategy.
Level 3 — Full
Production-grade orchestration with coordination, security, and full audit trails.
An implementation conforms to Level 3 if it meets all Level 2 requirements AND:
- Implements the full Coordination Extension:
COORDINATEandSESSION. - Implements the full task state machine with all transitions.
- Implements
MERGEwith all seven conflict resolution strategies. - Supports agent authentication (at minimum: token-based).
- Enforces the authority hierarchy for privileged operations.
- Implements memory unit visibility rules (session scoping and role-based filtering).
- Implements
COMPACTwith all three strategies (archive,summarize,purge). - Implements at least two transport bindings.
Declaring Conformance
Implementations MUST declare their conformance level in:
- The
REGISTERresponse infield_capabilities.conformance_level. - Their documentation.
Implementations MUST NOT claim a conformance level they do not fully satisfy. Partial implementations SHOULD declare the level below the first unmet requirement.