Skip to content

<!-- generated by scripts/gen-reference.mjs; do not edit -->

Vault schema reference ​

Notes are Markdown files with YAML frontmatter. Unknown fields are preserved on read and write.

Common fields ​

FieldTypeRequiredDefaultDescription
titlestringno——
tagsstring[]no[]—
sourcestringnomanual"manual" for human-written notes, "agent:<name>" for notes approved from the inbox.
updatedstringno——

layer notes ​

Stored in layers/.

FieldTypeRequiredDefaultDescription
titlestringno——
tagsstring[]no[]—
sourcestringnomanual"manual" for human-written notes, "agent:<name>" for notes approved from the inbox.
updatedstringno——
type"layer"yes—Note type.
descriptionstringno——

tech notes ​

Stored in tech/.

FieldTypeRequiredDefaultDescription
titlestringno——
tagsstring[]no[]—
sourcestringnomanual"manual" for human-written notes, "agent:<name>" for notes approved from the inbox.
updatedstringno——
type"tech"yes—Note type.
kindlanguage | framework | library | tool | service | databaseyes——
layerstring | string[]yes——
languagestringno——
versionstringno—Version of the tech the user's notes target, e.g. "19" or "2.7".
packagesno—Package names that identify this tech in manifests.
use_whenstring[]no[]—
avoid_whenstring[]no[]—
performs_beststring[]no[]—
relatedstring[]no[]—
practicesstring[]no[]—
checksstring[]no[]—

practice notes ​

Stored in practices/.

FieldTypeRequiredDefaultDescription
titlestringno——
tagsstring[]no[]—
sourcestringnomanual"manual" for human-written notes, "agent:<name>" for notes approved from the inbox.
updatedstringno——
type"practice"yes—Note type.
applies_tostring[]no[]—
sincestringno—Start of the version range the note is valid for (inclusive).
untilstringno—End of the version range the note is valid for (exclusive).

check notes ​

Stored in checks/.

FieldTypeRequiredDefaultDescription
titlestringno——
tagsstring[]no[]—
sourcestringnomanual"manual" for human-written notes, "agent:<name>" for notes approved from the inbox.
updatedstringno——
type"check"yes—Note type.
applies_tostring[]no[]—
kindtest | lint | review | buildnotest—
commandstringno—Optional shell command an agent can run to perform the check.
sincestringno—Start of the version range the check is valid for (inclusive).
untilstringno—End of the version range the check is valid for (exclusive).

profile notes ​

Stored in profiles/.

FieldTypeRequiredDefaultDescription
titlestringno——
tagsstring[]no[]—
sourcestringnomanual"manual" for human-written notes, "agent:<name>" for notes approved from the inbox.
updatedstringno——
type"profile"yes—Note type.
descriptionstringno——
use_whenstring[]no[]—
stackmap<string, string[]>no{}layer id -> list of tech ids

project notes ​

Stored in projects/.

FieldTypeRequiredDefaultDescription
titlestringno——
tagsstring[]no[]—
sourcestringnomanual"manual" for human-written notes, "agent:<name>" for notes approved from the inbox.
updatedstringno——
type"project"yes—Note type.
descriptionstringno——
pathstringno—Absolute path of the project on disk.
statusactive | paused | archivednoactive—
profilestringno—Profile id it started from.
stackmap<string, string[]>no{}layer id -> tech ids
reasonstringno——
lessonsstring[]no[]Short learnings for the vault.
last_checksmap<string, { status, at, duration_ms, output_tail }>no—Results of the last basics check run, keyed by check id.

basics.json ​

Written by basics export in a project root and read by basics check.

json
{
  "stack": [
    "fastapi",
    "react"
  ],
  "targets": [
    "agents",
    "claude"
  ],
  "project": "my-app",
  "versions": {
    "fastapi": "0.115"
  }
}
FieldTypeRequiredDefaultDescription
stackstring[]yes—Tech ids exported for the project.
targetsagents | claude | cursor[]yes—Agent files to write.
projectstringno—Id of the project note linked to this directory.
versionsmap<string, string>no—Version override per tech id.

pack.json ​

Manifest of a note pack, shipped in packs/<name>/pack.json.

json
{
  "name": "python-api",
  "version": "1.0.0",
  "description": {
    "en": "Python API stack notes",
    "es": "Notas de stack para APIs en Python"
  },
  "requires": [
    "core-layers"
  ],
  "languages": [
    "en",
    "es"
  ]
}
FieldTypeRequiredDefaultDescription
namestringyes—Pack id, lowercase letters, digits and dashes.
versionstringyes—Dot-separated version compared numerically.
descriptionmap<string, string>yes—Short description per language.
requiresstring[]no[]Packs installed before this one.
languagesstring[]yes—Languages the pack has notes for (at least one).

basics.vault.json ​

Committed at the vault root. basics init writes it; old vaults without it keep working.

json
{
  "schemaVersion": 1
}
FieldTypeRequiredDefaultDescription
schemaVersionintegeryes1Vault schema version written by this build. A newer value means the vault needs a newer basics.

Released under the MIT license.