logs: consolidate all logging under ~/.consciousness/logs/
All log output was scattered across ~/.consciousness/memory/ (daemon,
task logs, LLM call logs), ~/.consciousness/agent-sessions/ (observe),
and only hook logs were already in the right place.
Move everything to ~/.consciousness/logs/ with agent-specific subdirs:
- daemon.log, daemon/ (task logs)
- {agent_name}/ (knowledge agent logs, e.g. surface-observe/, reflect/)
- llm/{caller}/ (LLM call logs)
- observe.log (poc-agent observe)
- hook-{session_id} (already correct)
- debug.log (already correct)
Also includes the session.rs and hook.rs fixes from the previous
session (sessions dir → ~/.consciousness/sessions/).
Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
parent
0d2bf81a50
commit
39b07311e6
7 changed files with 31 additions and 14 deletions
|
|
@ -34,7 +34,7 @@ const AGENT_TYPES: &[&str] = &[
|
|||
];
|
||||
|
||||
fn log_path() -> PathBuf {
|
||||
crate::config::get().data_dir.join("daemon.log")
|
||||
dirs::home_dir().unwrap_or_default().join(".consciousness/logs/daemon.log")
|
||||
}
|
||||
|
||||
// --- Data fetching ---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue