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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user