spec 1.0 · normative

Schemas

JSON Schemas (draft 2020-12) for the machine-readable surface. Normative; the raw files are served at their canonical $id URLs for tooling. See the machine-readable surface and versioning for the stability rules.

SchemaValidatesRaw
agent-profileValidates the YAML frontmatter of an agent profile document. The markdown body stays free-form..json
context-changelogAppend-only machine-readable record of context layer changes..json
context-indexGenerated map of the context layer. Never hand-maintained; regenerate on change..json
context-manifestThe machine entrypoint of a Leji context layer. Lives at the repository root as leji.json..json
decision-recordValidates the YAML frontmatter of a decision record. The markdown body carries context, decision, and consequences in prose..json