fabro/crates
Bryan Helmkamp b2b98be522 Simplify coding-agent-loop: extract required_str helper, simplify spawn, restrict test-only accessors
- Proposal 7.1: Introduce required_str() helper in tools.rs to replace ~15
  repetitions of the args.get("param").and_then(|v| v.as_str()).ok_or_else(...)
  pattern across tools.rs and subagent.rs. Provides consistent error messages.

- Proposal 4.2: Simplify SubAgentManager::spawn success path by using ? on
  process_input() result directly, eliminating the redundant success variable
  (always true on the Ok path) and the if-let-Err-return pattern.

- Proposal 8.2: Mark SubAgent::depth() and SubAgentManager::get() as
  #[cfg(test)] since they are only used in tests. Remove SubAgent::id()
  entirely as it was unused even in tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 12:37:08 -04:00
..
attractor Implement three missing spec features: SubPipelineHandler, GraphMergeTransform, HTTP Server 2026-02-22 12:07:44 -04:00
coding-agent-loop Simplify coding-agent-loop: extract required_str helper, simplify spawn, restrict test-only accessors 2026-02-22 12:37:08 -04:00
unified-llm Add README.md for each crate with usage examples 2026-02-21 14:12:21 -04:00
unified-llm-cli Add README.md for each crate with usage examples 2026-02-21 14:12:21 -04:00