zeroclaw/src/agent
Argenis 4f5644cf46
fix(skills): preserve TOML [[tools]] in Compact prompt injection mode (#4032)
In Compact (MetadataOnly) mode, skill tools were omitted from the system
prompt alongside instructions. This meant the LLM had no visibility into
TOML-defined tools when running in Compact mode, defeating the primary
advantage of TOML skills over MD skills (structured tool metadata).

Now Compact mode skips only instructions (loaded on demand via
read_skill) while still inlining tool definitions so the LLM knows
which skill tools are available.

Closes #3702
2026-03-20 01:55:34 -04:00
..
agent.rs fix(agent): prevent memory context duplication by reordering operations (#2649) 2026-03-19 22:54:28 -04:00
classifier.rs feat(agent): log query classification route decisions 2026-02-24 16:02:59 +08:00
dispatcher.rs fix(agent): prevent duplicate tool schema injection in XML dispatcher (#3744) 2026-03-16 18:38:44 -04:00
loop_.rs fix(agent): preserve native tool-call text in draft updates (#4005) 2026-03-19 18:07:25 -04:00
memory_loader.rs fix(memory): filter autosave noise and scope recall/store by session (#3695) 2026-03-16 16:36:35 -04:00
mod.rs feat(agent): add rule-based query classification for automatic model routing 2026-02-18 14:41:58 +08:00
prompt.rs fix(skills): preserve TOML [[tools]] in Compact prompt injection mode (#4032) 2026-03-20 01:55:34 -04:00
tests.rs fix(agent): prevent duplicate tool schema injection in XML dispatcher (#3744) 2026-03-16 18:38:44 -04:00