File formats

Memory records

Memory files are Markdown with a YAML front matter block followed by the body. The storage serializer writes durable metadata such as id, kind, title, status, priority, scope, render target, source, version numbers, tags, origin, section, and evidence references.

Storage metadata and bindings

storage.yaml records the storage metadata for the data mount. Binding markers identify the owning Ledgercore project and tool. The exact keys are emitted by Ledgercore and should be inspected with storage where, not hand-created.

Migration files

Migration plans contain a deterministic migration id, source and destination paths, fingerprints, operation list, and activation information. Journals record progress and support recovery. Plan files are input to migrate apply; journals must be supplied to migrate recover.

Templates and generated Markdown

Global template configuration is TOML with template ids, versions, content or a content_file, and rendering fields. Generated Markdown starts with:

<!-- Generated by memoryledger. Do not edit directly. -->