delete dead flat-file journal tool and ephemeral stripping

Journal entries are written to the memory graph via journal_new/
journal_update, not appended to a flat file. Remove thought/journal.rs
(67 lines), strip_ephemeral_tool_calls (55 lines), default_journal_path,
and all wiring. -141 lines.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
Kent Overstreet 2026-04-02 15:35:56 -04:00
parent aceaf0410e
commit 809679b6ce
5 changed files with 1 additions and 142 deletions

View file

@ -15,13 +15,6 @@ pub struct JournalEntry {
pub content: String,
}
/// Default journal file path (used by the write path only).
pub fn default_journal_path() -> std::path::PathBuf {
dirs::home_dir()
.unwrap_or_default()
.join(".consciousness/journal.md")
}
/// Look up a model's context window size in tokens.
pub fn model_context_window(_model: &str) -> usize {
crate::config::get().api_context_window