consciousness/src
Kent Overstreet da24e02159 fix: prevent assistant message duplication during tool calls
- Fix sync logic to only break at matching assistant messages
- When assistant message changes (streaming → final), properly pop and re-display
- Add debug logging for sync operations (can be removed later)

The bug: when tool calls split an assistant response into multiple entries,
the sync logic was breaking at the assistant even when it didn't match,
causing the old display to remain while new entries were added on top.

The fix: only break at assistant if matches=true, ensuring changed entries
are properly popped before re-adding.

Co-Authored-By: ProofOfConcept <poc@bcachefs.org>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2026-04-07 00:28:39 -04:00
..
agent fix: prevent assistant message duplication during tool calls 2026-04-07 00:28:39 -04:00
bin split out src/mind 2026-04-04 02:46:32 -04:00
claude poc-daemon: subscribe to channel notifications, drop config.rs 2026-04-05 12:58:46 -04:00
cli deps: remove faer (224 transitive crates) 2026-04-05 06:39:47 -04:00
hippocampus deps: remove faer (224 transitive crates) 2026-04-05 06:39:47 -04:00
learn rust edition 2024 2026-04-05 06:20:16 -04:00
mind fix logging assistant messages 2026-04-06 23:04:08 -04:00
subconscious Fix context budgeting and compaction 2026-04-06 22:43:55 -04:00
thalamus supervisor: PID file to prevent duplicate daemon spawns 2026-04-05 13:30:56 -04:00
user fix: prevent assistant message duplication during tool calls 2026-04-07 00:28:39 -04:00
config.rs training: per-node scoring with graph weight updates 2026-04-05 01:18:47 -04:00
lib.rs user: InteractScreen extracted, all screens use ScreenView trait 2026-04-05 18:57:54 -04:00
main.rs deps: remove faer (224 transitive crates) 2026-04-05 06:39:47 -04:00
session.rs move Claude Code-specific code from thalamus/ to claude/ 2026-04-03 19:26:24 -04:00
util.rs delete 20 dead public functions across 12 files 2026-04-02 16:21:01 -04:00