You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add optional frontmatter validation rules to schema notes under
`settings.frontmatter`, using the same Picoschema syntax as the
`schema` block. This allows schema notes to validate metadata keys
like `tags` and `status` in addition to observation/relation content.
- Add `frontmatter_fields` to `SchemaDefinition` dataclass
- Parse `settings.frontmatter` in `parse_schema_note` via existing `parse_picoschema()`
- Add `_validate_frontmatter_field()` helper for presence/enum checks
- Pass frontmatter dict through `validate_note()` to schema router
- Inline schemas skip frontmatter validation automatically (default `[]`)
- 17 new tests: 3 parser, 11 validator, 3 router integration
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: phernandez <paul@basicmachines.co>
0 commit comments