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

@ -13,7 +13,6 @@ pub mod context;
pub mod edit;
pub mod glob_tool;
pub mod grep;
pub mod journal;
pub mod memory;
pub mod read;
pub mod write;
@ -93,7 +92,6 @@ pub async fn dispatch(
"bash" => bash::run_bash(args, tracker).await,
"grep" => grep::grep(args),
"glob" => glob_tool::glob_search(args),
"journal" => journal::write_entry(args),
_ => return None,
};
@ -112,7 +110,6 @@ pub fn definitions() -> Vec<ToolDef> {
bash::definition(),
grep::definition(),
glob_tool::definition(),
journal::definition(),
]
}