move LLM-dependent modules into agents/ subdir

Separate the agent layer (everything that calls external LLMs or
orchestrates sequences of such calls) from core graph infrastructure.

agents/: llm, prompts, audit, consolidate, knowledge, enrich,
         fact_mine, digest, daemon

Root: store/, graph, spectral, search, similarity, lookups, query,
      config, util, migrate, neuro/ (scoring + rewrite)

Re-exports at crate root preserve backwards compatibility so
`crate::llm`, `crate::digest` etc. continue to work.
This commit is contained in:
ProofOfConcept 2026-03-08 21:27:41 -04:00
parent 3dddc40841
commit cee9b76a7b
13 changed files with 68 additions and 46 deletions

View file

@ -878,11 +878,11 @@ fn cmd_consolidate_batch(count: usize, auto: bool, agent: Option<String>) -> Res
let store = store::Store::load()?;
if let Some(agent_name) = agent {
let prompt = neuro::agent_prompt(&store, &agent_name, count)?;
let prompt = agents::prompts::agent_prompt(&store, &agent_name, count)?;
println!("{}", prompt);
Ok(())
} else {
neuro::consolidation_batch(&store, count, auto)
agents::prompts::consolidation_batch(&store, count, auto)
}
}