Currently, Basic Memory tracks created_at and updated_at timestamps at the entity level (visible in JSON output via API/MCP), but these timestamps don't appear in the markdown files themselves.
Current behavior:
- Entity timestamps exist in the database
- They're accessible via JSON output
- Frontmatter doesn't include them unless manually written/maintained
Desired behavior:
- BM automatically writes
created_at and updated_at into YAML frontmatter when creating/updating notes
- These fields would be managed by BM itself (not AI/user-maintained)
- Timestamps would be visible in the plain-text files, not just the database
Use cases:
- Consistent timestamp metadata across all notes without manual maintenance
- Temporal queries/filters based on frontmatter (e.g., "notes created this week")
- Better compatibility with tools that read frontmatter but not BM's database
- Fits BM's transparency philosophy: important metadata should be in the file itself
Suggested implementation:
- Auto-inject
created_at on note creation
- Auto-update
updated_at on note modification
- Make these "reserved" frontmatter fields (schema validation aware, but not user-editable)
- Respect existing timestamps if already present (don't overwrite manual entries)
Related:
- Picoschema
metadata: section could declare these as system-managed fields
- Would complement existing frontmatter features (status, tags, priority)
Currently, Basic Memory tracks
created_atandupdated_attimestamps at the entity level (visible in JSON output via API/MCP), but these timestamps don't appear in the markdown files themselves.Current behavior:
Desired behavior:
created_atandupdated_atinto YAML frontmatter when creating/updating notesUse cases:
Suggested implementation:
created_aton note creationupdated_aton note modificationRelated:
metadata:section could declare these assystem-managedfields