consciousness/poc-agent
Kent Overstreet 9517b1b310 refactor: move working_stack tool to tools/working_stack.rs
The working_stack tool was defined in tools/mod.rs but implemented
in agent.rs as Agent::handle_working_stack(). This orphaned the tool
from the rest of the tool infrastructure.

Move the implementation to tools/working_stack.rs so it follows the
same pattern as other tools. The tool still needs special handling
in agent.rs because it requires mutable access to context state,
but the implementation is now in the right place.

Changes:
- Created tools/working_stack.rs with handle() and format_stack()
- Updated tools/mod.rs to use working_stack::definition()
- Removed handle_working_stack() and format_stack() from Agent
- Agent now calls tools::working_stack::handle() directly
2026-03-20 13:15:01 -04:00
..
.claude Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
paper Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
src refactor: move working_stack tool to tools/working_stack.rs 2026-03-20 13:15:01 -04:00
tests Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
.gitignore Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
Cargo.lock Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
Cargo.toml tui: fix scroll by using Paragraph::line_count() 2026-03-20 12:16:35 -04:00
POC.md Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
scratch.md Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00