Conformance and Roadmap
Audience: tool authors and implementers.
Authoritative for:
- the specification's non-goals
- conformance modes and their required artifact sets
- the recommended implementation order
Non-Goals#
This specification defines the structural contract for typed Markdown note collections. It deliberately does not define:
- A specific schema for note types. TypedMark describes how to define and document note types; concrete note sets, starter content, and house conventions belong to systems layered on top of the core, as stated in Foundations.
- Rendering and presentation. How notes, fields, views, or icons are displayed is tool-defined;
iconis an opaque token, and presentation hints remain an open decision tracked separately. - Editor user experience. Forms, pickers, autocomplete behavior, and authoring workflows are application concerns.
- Sync, storage backends, and version control. TypedMark governs files at rest; how they move between machines — Git, sync services, backups — is out of scope.
- Body prose. Markdown content outside the governed surfaces — frontmatter, H2 headings, internal note links — is free; TypedMark does not constrain writing style or block-level structure.
- Value coercion. TypedMark is strictly typed: a stored value either satisfies its declared property type or it does not. Tools MUST NOT coerce values on read, such as reading the string
"5"as the integer5. - Query and index engine internals. Execution strategy, caching internals, and performance characteristics are implementation concerns, even where future versions define portable query or index contracts.
- AI behavior. Agents consume the structural contract; prompts, models, and agent workflows are outside the specification.
- Identity, authentication, and permissions. Multi-user access control is out of scope; visibility metadata is tracked separately as a possible future addition.
Conformance#
Conformance evaluates a collection root, represented on disk as a directory tree, against the authoritative artifact contracts defined in Collection Model, Systems, Composition, and Evolution, Note Type Schemas, Managed Notes and Properties, and Relationships, Headings, and Templates.
Valid System Definition#
A collection root conforms as a valid system definition when:
- CR-1
typedmark.mdis present at the root and valid under Collection Model. - CR-2
typedmark.mddeclares the system fieldsversionandscaffold, valid under Systems, Composition, and Evolution. - CR-3
<metadata_directory>/history.md, if present, is valid under Systems, Composition, and Evolution and reconstructs the current schema state when replayed. - CR-4 Every property set file under
<metadata_directory>/property-sets/, if present, is valid under Collection Model, and every property set reference from a note-type schema resolves. - CR-5 Every schema file under
<metadata_directory>/schemas/, if present, is valid under Note Type Schemas. - CR-6 Every template referenced by a schema file exists, is valid under Relationships, Headings, and Templates, and has starter frontmatter that conforms to its note type's effective schema.
Valid Instantiated Collection#
A collection root conforms as a valid instantiated collection when:
- CR-7
typedmark.mdis present at the collection root and valid under Collection Model. - CR-8 If
typedmark.mddeclarescomposition, it is valid under Collection Model, and the collection is self-contained so that conformance does not require re-resolving its sources. - CR-9 Every property set file under
<metadata_directory>/property-sets/, if present, is valid under Collection Model, and every property set reference from a note type used by managed notes resolves. - CR-10 Every schema file under
<metadata_directory>/schemas/, if present, is valid under Note Type Schemas, and every concrete note type used by managed notes resolves to exactly one such schema file. - CR-11 Managed notes resolve to valid concrete note types under the configured note-type mapping rules and satisfy the managed note contract under Managed Notes and Properties.
- CR-12 Managed notes satisfy their schema storage rules under Note Type Schemas.
- CR-13 Managed notes satisfy their schema relationship and heading rules under Relationships, Headings, and Templates.
Additional rules:
- CR-14 Validators MUST evaluate conformance against an explicit target mode: system definition, instantiated collection, or both.
- CR-15 A collection root is a system definition when
typedmark.mddeclares the system fields, and an instantiated collection whentypedmark.mdgoverns managed notes; neither requires a separate system or instance manifest. - CR-16 A single collection root MAY conform simultaneously as both a valid system definition and a valid instantiated collection.
- CR-17 Untyped notes MAY exist in an instantiated collection and do not by themselves make the collection non-conforming.
- CR-18 Structural precedence across artifacts remains defined in Foundations.
Recommended Next Steps#
Recommended implementation order:
- create
typedmark.mdand decide note-type mappings, validation defaults, and default property sets using Collection Model - create any reusable property sets and the initial abstract and concrete note type schemas using Collection Model and Note Type Schemas
- create canonical templates and heading and relationship rules using Relationships, Headings, and Templates
- implement managed note parsing, field materialization, shared-expression evaluation, and note-link resolution using Managed Notes and Properties, Field Definition Reference, Foundations, and Note Links
- populate the system fields in
typedmark.md, and add a<metadata_directory>/history.mdchange log, if you are packaging a reusable, versioned system, using Systems, Composition, and Evolution - add a validator and importer that evaluate the conformance modes defined on this page
- implement deterministic system composition that materializes a self-contained collection and records its lineage in
typedmark.mdcomposition, using Systems, Composition, and Evolution - implement the migration and update flow that recomposes a collection at newer source versions and applies the resulting change operations to managed notes
- generate the human-facing reference pages from the authoritative artifacts