consciousness/src/agent
Kent Overstreet 7776d87d53 Journal: walk backwards with token budget, not load-all
Iterate journal entries backwards from the conversation cutoff,
accumulating within ~10K token budget (~8% of context window).
Stops when budget is full, keeps at least one entry. Much more
efficient than loading all entries and trimming.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-02 01:50:36 -04:00
..
api Refactor hook: split agent orchestration from formatting 2026-04-02 00:32:23 -04:00
tools provenance: pass directly through thought::dispatch, remove globals 2026-03-27 15:44:39 -04:00
cli.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00
context.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00
dmn.rs consciousness: update hardcoded paths from ~/.claude to ~/.consciousness 2026-03-27 21:32:28 -04:00
identity.rs consciousness: identity files load from ~/.consciousness/identity/ 2026-03-28 19:49:13 -04:00
journal.rs move data home from ~/.claude/memory to ~/.consciousness 2026-03-27 21:07:17 -04:00
log.rs Load journal from memory graph, not flat file 2026-04-02 01:48:16 -04:00
mod.rs thought: create shared cognitive substrate module 2026-03-27 15:22:48 -04:00
observe.rs logs: consolidate all logging under ~/.consciousness/logs/ 2026-03-28 20:39:20 -04:00
parsing.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00
runner.rs Journal: walk backwards with token budget, not load-all 2026-04-02 01:50:36 -04:00
tui.rs Split hook.rs: core orchestration -> subconscious.rs 2026-04-02 01:37:51 -04:00
types.rs vLLM priority scheduling for agents 2026-04-01 23:21:39 -04:00
ui_channel.rs Split hook.rs: core orchestration -> subconscious.rs 2026-04-02 01:37:51 -04:00