Repository navigation
MIF v1.4.0
·
19 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Added
- [Site]: The mif-spec.dev specification pages are generated from
SPECIFICATION.mdbyscripts/build_spec_pages.py, so the spec is their
single source;--checkfails theokf-conformanceCI job when committed
pages drift. §16 Examples gets its ownspecification/examplespage. (#305) - [Schema]:
context.jsonldregisterstimestamp,description
(dc:description),summary, andcompressedAt; without terms, a JSON-LD
processor dropped them on expand. The three newmif:properties are
published invocabulary.jsonld. (#305) - [Spec]: §7.3.1 Entity Subtyping (
subtype_of), previously documented
only on the site. (#307) - [Spec]: Appendix A lists
entities,relationships,properties,
documents,citations,summary, andcompressedAt. (#307)
Changed
- [Spec]: §3.2/§3.3 describe the OKF bundle layout used by
examples/
(/<type>/<slug>.md, nomemories/root); JSON-LD is emitted output
(mif_convert.py emit-jsonld --out-dir), not a file committed beside its
source.docs/GETTING-STARTED.mdupdated to match, and the
memories/*.jsonvalidation globs indocs/MIGRATION-GUIDE.mdand
docs/SCHEMA-REFERENCE.mdnow validate emitted JSON-LD instead. - [Spec]: §6.1 defines a concept URN as
urn:mif:<uuid>and reserves the
urn:mif:entity:,agent:,activity:,conversation:andvector:
sub-namespaces. - [Spec]: §4.1 and §13.1 state that
contentis the Markdown body, a
named property only in the JSON-LD projection. - [Spec]: New §8.1.1 defines how a configured relationship
namebecomes
its stored token (kebab-case,ns:prefix for anamespace, inverses
likewise). - [Spec]: §3.3 states the key casing convention: snake_case in
.mif/
configuration, camelCase in concept frontmatter. - [Spec]: §5.3 and §8.4 RECOMMEND bundle-relative path targets for
same-bundle concepts, reservingurn:mif:targets for out-of-bundle ones. - [Spec]: The core spec calls its atomic element a concept, matching
the schema (@type: Concept,conceptType), Invariant 6 and ADR-010:
§4.1 Concept (was Memory Unit), §4.2 Knowledge Types (was Memory
Types), §4.4 Categorizing Concepts, §7.5 Entity References in
Concepts. §1 records memory/Memory Unit as synonyms. No schema or
wire-format change; the deprecatedmemoryType/Memoryterms remain. - [Spec]: §13.1 Level 1 conformance requires a valid OKF bundle shape (a
directory of.mdconcept files), replacing "valid Markdown or JSON-LD
structure". A JSON-LD-only artifact is no longer Level 1 conformant;
JSON-LD is derived output (Invariant 2, ADR-011/012). (#307) - [Spec]: §10.8.5 ontology resolution uses vendor-neutral paths
(.mif/ontologies/) instead of${MNEMONIC_ROOT}/.claude/mnemonic. (#307) - [Spec]: §4.2 type descriptions match the schema's
conceptType
description, and point to the AI Memory profile for the triad's
cognitive-memory origin. (#307) - [Schema]: A concept
@idMUST beurn:mif:<uuid>; the
mif.schema.jsonpattern now enforces the UUID instead of accepting any
urn:mif:suffix (§6.1). Projections with slug ids, such as
urn:mif:my-note, no longer validate. The AI Memory profile's migration
mappings now show UUIDv5 ids, matchingscripts/migrate_0_1_to_1_0.py. - [Schema]:
context.jsonldno longer definesVector,vector,
encoding, ordata. They described an inline vector that no schema
property allows (§11 usesvectorUri).vocabulary.jsonldkeeps the
IRIs, markedowl:deprecated. - [CI]:
ci.ymlpinsreusable-sca-osv.ymlto the.githubcommit that
runs osv-scanner from itsv2.6.0release tag. - [Deps]:
package-lock.jsonsecurity updates (astro 7.3.7 and others)
clear the osv-scanner findings;osv-scanner.tomldocuments two remaining
exceptions (katex, braces) with no fix in range. (#305)
Fixed
- [Spec]: §4.1 and §5.6 name the compression timestamp
compressedAt,
matchingschema/mif.schema.json(wascompressed_at). - [Spec]: Concept relationship targets in §6.2 and §8.4 use
urn:mif:<uuid>(wasurn:mif:memory:<slug>, a form no concept@id
can take);docs/SCHEMA-REFERENCE.mdand ADR-002's JSON-LD snapshot
updated to match. - [Spec]: The §15.3 conversion example uses a full UUID (was the
truncatedurn:mif:550e8400). - [Spec]: §8.3's custom-type example declares
BreedsWith, matching
its JSON-LDfarm:breeds-with; the old comment named the schema-invalid
tokenfarm:Contradicts. - [Spec]: Appendix B and
docs/SCHEMA-REFERENCE.mdlist the core type
created(the termschema/context.jsonldregisters), not its inverse
created-by. - [Schema]:
$defs.Relationship.descriptioncites spec §5.3/§8 (was
§4.4, Categorizing Memories). Description-only; no$idor validation
change. - [Spec]: The §6.2 JSON-LD example validates against
schema/mif.schema.json(created/modified/timestamp, not
dc:created/dc:modified). (#307) - [Spec]: §5.1 and §5.3 examples carry the frontmatter
relationships
their body links mirror, and §5.3 states the MUST that every frontmatter
relationship has a body link. (#307) - [Spec]: §11 embedding examples drop
quantizationand the inline
vectorblock, neither of whichEmbeddingReferenceallows. (#307) - [Spec]: §15.4's converted citation keeps the author's
entityTypeand
name(citations pass through verbatim); §16.2 uses a UUIDid. (#307) - [Spec]: The §15.3 conversion input includes the
timestampmirror
the converter emits, and the output notes that it is dropped on the way
back to Markdown. - [Schema]: A document carrying only the deprecated
memoryTypenow
satisfies the required type check. (#275)