agent-zero/extensions/python/tool_execute_before
Alessandro e9e6b3faec Fix include placeholder expansion in tool arguments
Expand §§include(path) recursively at the tool execution boundary so
Chat, native Responses, and parallel calls receive file contents even
without streaming. Mutate the original argument dictionary so both
execution kwargs and tool.args receive the expanded values.

Run expansion before tool-policy checks and secret unmasking. Preserve
unreadable-file placeholders, add regression coverage, and document
hook ordering.

Validation: 133 focused tests passed in the a0 conda environment; seven
targeted tests passed in the live localhost:32081 container's framework
runtime. Full-suite and LLM-driven UI testing were not run.
2026-11-01 06:54:57 +01:00
..
.gitkeep BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
_05_replace_include_alias.py Fix include placeholder expansion in tool arguments 2026-11-01 06:54:57 +01:00
_10_replace_last_tool_output.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
_10_unmask_secrets.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
_20_block_parallel_recursion.py Add inspectable parallel tool calls 2026-06-12 15:23:14 +02:00
AGENTS.md Fix include placeholder expansion in tool arguments 2026-11-01 06:54:57 +01:00