Skip to content

fix(memory): resolver.resolve_edge_typed hardcodes 0.8 confidence — ignores LLM-provided value #4723

@bug-ops

Description

@bug-ops

Description

resolver.resolve_edge_typed in crates/zeph-memory/src/graph/resolver/mod.rs:628 passes hardcoded 0.8 as confidence instead of edge.confidence from LLM extraction. This silently overrides the LLM-provided confidence score for all edges in the non-APEX path.

Location

crates/zeph-memory/src/graph/resolver/mod.rs:628

Expected Behavior

edge.confidence from LLM extraction should be forwarded to the store.

Actual Behavior

All non-APEX edges receive confidence=0.8 regardless of what the LLM returned.

Environment

Impact

LLM confidence signals are discarded in the primary resolver path, reducing the quality of graph edge weighting and spreading activation results.

Metadata

Metadata

Assignees

Labels

P3Research — medium-high complexitybugSomething isn't workingllmzeph-llm crate (Ollama, Claude)memoryzeph-memory crate (SQLite)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions