claw-code/rust/crates/rusty-claude-cli/src
Yeachan-Heo 2fd6241bd8 Enable Agent tool child execution with bounded recursion
The Agent tool previously stopped at queued handoff metadata, so this change runs a real nested conversation, preserves artifact output, and guards recursion depth. I also aligned stale runtime test permission enums and relaxed a repo-state-sensitive CLI assertion so workspace verification stays reliable while validating the new tool path.

Constraint: Reuse existing runtime conversation abstractions without introducing a new orchestration service
Constraint: Child agent execution must preserve the same tool surface while preventing unbounded nesting
Rejected: Shell out to the CLI binary for child execution | brittle process coupling and weaker testability
Rejected: Leave Agent as metadata-only handoff | does not satisfy requested sub-agent orchestration behavior
Confidence: high
Scope-risk: moderate
Reversibility: clean
Directive: Keep Agent recursion limits enforced wherever nested Agent calls can re-enter the tool executor
Tested: cargo fmt --all --manifest-path rust/Cargo.toml; cargo test --manifest-path rust/Cargo.toml; cargo clippy --manifest-path rust/Cargo.toml --workspace --all-targets -- -D warnings
Not-tested: Live Anthropic-backed child agent execution against production credentials
2026-04-01 00:59:20 +00:00
..
app.rs Make the REPL resilient enough for real interactive workflows 2026-04-01 00:15:33 +00:00
args.rs Enable Claude OAuth login without requiring API keys 2026-03-31 23:38:05 +00:00
input.rs Make the REPL resilient enough for real interactive workflows 2026-04-01 00:15:33 +00:00
main.rs Enable Agent tool child execution with bounded recursion 2026-04-01 00:59:20 +00:00
render.rs feat: merge 2nd round from all rcc/* sessions 2026-03-31 17:43:25 +00:00