docs(memory): fix knowledge dir path in collect_resident_knowledge doc

This commit is contained in:
Keisuke Hirata 2026-05-12 15:07:39 +09:00
parent 2f84bd32ba
commit 27b84abccc

View File

@ -23,9 +23,9 @@ pub struct ResidentKnowledgeEntry {
pub description: String,
}
/// Walk `<workspace>/knowledge/*.md` and return entries whose
/// Walk `<workspace>/.insomnia/knowledge/*.md` and return entries whose
/// frontmatter has `model_invokation: true`, sorted by slug. A missing
/// `knowledge/` directory yields an empty vec.
/// directory yields an empty vec.
pub fn collect_resident_knowledge(layout: &WorkspaceLayout) -> Vec<ResidentKnowledgeEntry> {
let mut out: Vec<ResidentKnowledgeEntry> = Vec::new();
walk_knowledge(layout, |slug, fm| {