{"record":{"id":"1a9f3f3ae575c366","repo":"diegosouzapw/OmniRoute","slug":"obsidian-vault-not-found-at-this-vaultpath","errorCode":null,"errorMessage":"Obsidian vault not found at: ${this.vaultPath}","messagePattern":"Obsidian vault not found at: (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"src/lib/memory/obsidianBackend.ts","lineNumber":40,"sourceCode":"  readonly displayName = \"Obsidian Vault\";\n  // isPrimary is managed by MemoryManager, not the backend itself\n\n  private vaultPath: string;\n  private initialized = false;\n\n  constructor(vaultPath: string) {\n    this.vaultPath = vaultPath;\n  }\n\n  async initialize(): Promise<void> {\n    // Verify vault path exists\n    const fs = await import(\"fs/promises\");\n    try {\n      await fs.access(this.vaultPath);\n      this.initialized = true;\n      log.info(\"obsidian.backend.initialized\", { vaultPath: this.vaultPath });\n    } catch {\n      throw new Error(`Obsidian vault not found at: ${this.vaultPath}`);\n    }\n  }\n\n  async shutdown(): Promise<void> {\n    this.initialized = false;\n    log.info(\"obsidian.backend.shutdown\");\n  }\n\n  async create(input: CreateMemoryInput): Promise<Memory> {\n    if (!this.initialized) await this.initialize();\n\n    const fs = await import(\"fs/promises\");\n    const path = await import(\"path\");\n\n    const id = crypto.randomUUID();\n    const fileName = `${input.key}.md`;\n    const filePath = path.join(this.vaultPath, fileName);\n","sourceCodeStart":22,"sourceCodeEnd":58,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/lib/memory/obsidianBackend.ts#L22-L58","documentation":"Error \"Obsidian vault not found at: ${this.vaultPath}\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/lib/memory/obsidianBackend.ts:40 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}