Repository navigation
Format 1.2.0: foreign fields ride along on every record kind, and every claim can say how
it came to be and who stands behind it — RFC-0002 and RFC-0003, accepted on 2026-12-02 — in
both reference SDKs, with a shared sample-1.2.mem fixture. Every 1.0 and 1.1 bundle remains
valid. RFC-0001 (scopes & visibility) stays Draft, targeted at format 1.3.
Specification
- RFC-0002
extfor all kinds (#13) and RFC-0003 Provenance typing (#14, both in
the Python repo) are accepted for format 1.2.0 (2026-12-02, lazy consensus after the
comment period closed on 2026-10-05). Resolutions recorded in each RFC: canonical-line
sidecar keys for id-less kinds, no per-record size cap, anext:all-kindsmanifest
capability; five claim classes, singularassertedBy(noapprovedBy),claimClasson
episodes alongsidesourceType,model:<name>@<version>as a SHOULD; a claim's age is read
from the existing bi-temporal fields, and adapters MUST carry the source's evidence time.
RFC-0001's recommended principal types gainmodelandsystem. RFC-0002 and RFC-0003 ship
in this release (format 1.2.0, see Added). - Spec §2 and §10 pointers updated from "proposed" to "accepted" for RFC-0003 and RFC-0002.
TheSpec/tree stays byte-identical to the Python repo's. - Specification v1.2: §3.2 Format 1.2 additions, §8 (L1 wording), §9 format history, §10
extfor every kind; RFC-0002 status → Implemented. §2 Typed provenance, §6 Evidence Pack
SHOULD, §10 adapter provenance row; RFC-0003 status → Implemented.
Added
- Format 1.2.0 —
exton every record kind (RFC-0002,
MacPaw/portable-memory#13). The importer hands the foreign remainder of every native record to
the host through the new seam pairexportExt(kind:)/importExt(kind:key:ext:)— episodes
keepimportEpisode(_:ext:), and the defaults delegate to the 1.0 episode pair — and the
exporter merges it back without overriding native keys, ordering rows by their native line.
Id-less kinds (factLink,episodeLink,preference,category) are keyed by the SHA-256 of
their canonical native line (Interop.extKey;PortableIdentifiedmarks the kinds with an
id). Manifests declareext:all-kinds;formatis now1.2.0; every 1.0/1.1 bundle remains
valid. New helpers:Interop.extractExt,mergeExt,extKey,nativeKeys(of:). - Typed provenance —
claimClass,assertedBy,mergedFrom(RFC-0003,
MacPaw/portable-memory#14) as optional properties with defaulted initializer parameters on
PortableEpisode,PortableEntity,PortableEdgeandPortableFact(documented values in
ClaimClass); schemas gain$defs/claimClass,$defs/principal,$defs/mergedFrom(unique ids). Adapters
set the RFC-0003 §4 pair: transfer textimported/agent:<source>, ChatGPT turnsobserved/
user:owneroragent:chatgpt, ChatGPT saved memories and Claude memory filesasserted/
agent:chatgptoragent:claude, mem0inferred/agent:mem0. Parity bytes changed:
Conformance/fixtures/transfer/expected-episode.jsonland the manifest-test digest now include
the pair;sample-1.1.memis unchanged. Conformance/fixtures/sample-1.2.mem— the format-1.2 cross-SDK fixture written by the
Python SDK: the 1.1 content plus an episode, a context, two entities, an edge, two facts, a
fact link, an episode link, two preferences and a category, most carrying foreign fields.
The Swift suite validates it, imports it keeping every sidecar, and re-exports it
byte-identically (ExtAllKindsTests).- Governance —
MAINTAINERS.md, a maintainer-addition process inGOVERNANCE.md, and a
DCO check on every pull request;ADOPTERS.mdandIMPLEMENTATIONS.mdlist users,
published evaluations and implementations with public references. - README: the
memcommand line from the Python SDK can also be installed with Homebrew
(brew install macpaw/taps/portable-memory, from
MacPaw's Homebrew tap).