fix: read owner/cadence from properties in ai-context

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
lucaronin
2026-03-18 01:58:33 +01:00
parent 9aa16b8eb4
commit d9fd65c926
5 changed files with 59 additions and 17 deletions

View File

@@ -567,7 +567,11 @@ mod tests {
let entry = crate::vault::parse_md_file(&vault_path.join("AGENTS.md")).unwrap();
// No frontmatter title → extracted from H1 heading
assert!(entry.title.contains("Vault Instructions"), "title should come from H1: {}", entry.title);
assert!(
entry.title.contains("Vault Instructions"),
"title should come from H1: {}",
entry.title
);
// Config files have no frontmatter type field — type is None
assert_eq!(entry.is_a, None);
}