OCP 0.4 working draft

Version 0.4 defines a complete core protocol and Portable AI History profile family, with schemas, fixtures, registries, HTTP and offline bindings, and machine-readable conformance assertions.


Status and source of truth

This publication is an editor’s working draft. The normative prose, normative JSON Schemas, normative registries, and machine-readable assertions are the sources of truth. Generated DOCX and PDF editions are publication artifacts.

The checked-in package passes its own local validation suite. No independent provider, adapter, or client implementation is named as a system under test, so interoperability remains an open evidence gate.

Core protocol

The core defines nine top-level record families plus common envelopes, typed references, provenance, integrity, extensions, lifecycle constraints, and an HTTP binding.

RecordPurpose
context_spaceScopes accepted context, subjects, authority, and policy
source_recordPreserves evidence and source provenance
context_itemCarries candidate or accepted statements with review state
client_declarationDeclares client identity, capabilities, and assurances
context_requestRequests a purpose-bound selection and usage envelope
grant_receiptRecords the authorization result and live bindings
context_packageDelivers the recipient-bound authorized view
update_proposalProposes bounded state changes
review_decisionAccepts, rejects, or partially accepts a proposal

Portable AI History profiles

Conversation Profile
Portable message graphs, typed content parts, branches, redactions, citations, tools, agents, integrity, and round-trip comparison.
Artifact Profile
Logical artifacts, byte representations, custody, retrievability, integrity, rights, accessibility, and lineage.
Provider Adapter Framework
Declared mappings, deterministic runs, source locators, drift policy, hostile fixtures, and explicit loss accounting.

Conformance classes

ClassWhat it evaluates
Core providerCore storage, lifecycle, selection, packaging, and status behavior
Core clientRequest construction, package validation, containment, and proposal behavior
HTTP bindingDiscovery, operations, idempotency, preconditions, status, and problem responses
Offline packageArchive structure, exact member sets, protection, path safety, and determinism
ConversationGraph preservation, content parts, redaction, loss, and semantic comparison
ArtifactRepresentations, custody, integrity, rights, lineage, and retrievability
Provider adapterDeclared mappings, deterministic import, hostile inputs, loss reports, and drift

Read or download

Read the complete working draft on the web, inspect canonical schemas and registries, or download a publication edition and the full release package.

Search Open Continuity