consciousness/src/agent
Kent Overstreet 1776222b07 Fix tool permissions: remove global fallback in dispatch_with_agent
When an agent context is present, only dispatch tools in the agent's
tool list. The global fallback was bypassing per-agent tool
restrictions — a subconscious agent could call bash, edit, or any
tool even if its .agent file only allowed memory tools.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-08 19:19:05 -04:00
..
api Clean up warnings: StreamToken pub, dead oneshot code, SkipIndex 2026-04-08 16:35:57 -04:00
tools Fix tool permissions: remove global fallback in dispatch_with_agent 2026-04-08 19:19:05 -04:00
context.rs Fix XML tool call parsing: try JSON parse for parameter values 2026-04-08 18:52:10 -04:00
mod.rs Fix: compact() was clearing tool definitions from system section 2026-04-08 17:48:10 -04:00
oneshot.rs Add parser debug logging (POC_DEBUG=1) 2026-04-08 17:38:02 -04:00
tokenizer.rs WIP: Rename context_new → context, delete old files, fix UI layer 2026-04-08 15:20:26 -04:00