fix: resolve compilation errors in mem-ingest and mem-cli

- Fix Record import: mem_core::Record instead of mem_chunk
- Remove unused imports (anyhow::anyhow, Pin, Context, Poll, Result)
- Stub check_database() in verify.rs (pending PgRepo implementation)
- Wrap run_id with Some() to match Option<String> type
- All tests pass, no blocking compilation errors
This commit is contained in:
2026-08-28 15:01:00 -07:00
parent 99efa46837
commit 19bc92e16c
4 changed files with 15 additions and 126 deletions
+3 -4
View File
@@ -6,10 +6,9 @@
//! No vault projection: Obsidian remains source of truth for rebuilds.
use anyhow::Result;
use mem_chunk::record_source::{Record, RecordSource};
use mem_chunk::record_source::RecordSource;
use mem_core::Record;
use futures::stream::Stream;
use std::pin::Pin;
use std::task::{Context, Poll};
/// Reference record metadata
#[derive(Debug, Clone)]
@@ -39,7 +38,7 @@ impl ObsidianClient {
}
/// Read file contents from vault
pub async fn read_file(&self, path: &str) -> Result<String> {
pub async fn read_file(&self, _path: &str) -> Result<String> {
// TODO: Call Obsidian REST API
// GET {base_url}/api/vault/readFile?path={path}
// Returns: file contents