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
@@ -4,7 +4,7 @@
//! in session transcripts and marks them as derived (not evidence).
//! Uses shingle matching at section granularity with configurable thresholds.
use anyhow::Result;
use std::collections::HashMap;
/// Artifact (skill or reference) in the manifest
@@ -67,7 +67,7 @@ impl ReferenceCycleGuard {
/// Check if a chunk matches any reference in manifest
pub fn detect_derived_reference(
&self,
content: &str,
_content: &str,
content_shingles: &[String],
) -> Option<ShingleMatch> {
// Compute shingle overlap with all reference artifacts