Clean up unused imports, dead code, and compiler warnings

Remove unused StoreView imports, unused store imports, dead
install_default_file, dead make_report_slug, dead fact-mine/
experience-mine spawning loops in daemon. Fix mut warnings.
Zero compiler warnings now.
This commit is contained in:
ProofOfConcept 2026-03-17 00:47:52 -04:00
parent 6932e05b38
commit 7a24d84ce3
11 changed files with 11 additions and 82 deletions

View file

@ -9,7 +9,6 @@
// This is the beginning of place cells — the hippocampus doesn't just
// store, it maintains a map. The cursor is the map's current position.
use crate::graph::Graph;
use crate::store::{self, Node, Store};
use std::path::PathBuf;
@ -47,7 +46,6 @@ pub fn clear() -> Result<(), String> {
pub fn temporal_neighbors(store: &Store, key: &str) -> (Option<String>, Option<String>) {
let Some(node) = store.nodes.get(key) else { return (None, None) };
let node_type = node.node_type;
let ts = node.timestamp;
let mut same_type: Vec<(&str, i64)> = store.nodes.iter()
.filter(|(_, n)| !n.deleted && n.node_type == node_type && n.timestamp > 0)