docs: update engine/tool command docs for the JSON argv rendering pipeline - #657
Conversation
…eline Both docs still described the bash-array command mechanism and the "command" JSON key removed by rickshaw#868. Benchmark and tool commands are now shipped as JSON argv lists (shlex.join()'d immediately before execution, not pre-rendered into a shell string), with tools using the same --arg=value grammar as benchmarks.
PR Review: crucible#657 — docs: update engine/tool command docs for the JSON argv rendering pipelineSummary: Updates engine and tool collection documentation to reflect the migration from pre-rendered shell strings and Bash array command formats ( Documentation
File Coverage
Missing from diff:
Limitations
VerdictApprove with comments — The documentation changes accurately capture the structural and behavioral shifts introduced by the Review compiled and generated by Antigravity (AI Coding Assistant) |
Two additional prose references to the old formats survived the first pass: how-engines-work.md's "Data delivery mechanisms" summary still named the removed ARGS array, and how-tool-collection-works.md's earlier tool-params overview still described --key value (space- separated) instead of --key=value. Also updates implementing-a-new-tool.md, which wasn't touched in the original PR despite documenting the same --key value convention in three places.
|
Fixed in e2df31e — verified all three findings directly:
Also swept all crucible docs for any other "ARGS array"/"key value"-style phrasing and confirmed none remain. |
atheurer
left a comment
There was a problem hiding this comment.
Approved. The documentation updates are clear, highly accurate, and successfully clean up all legacy Bash array references.
Summary
docs/how-engines-work.mdanddocs/how-tool-collection-works.mdboth still described the removed bash-array command mechanism (declare -a ARGS=(...) && cmd "${ARGS[@]}") and the old"command"JSON key.argvlists rather than pre-rendered shell strings, withshlex.join()applied exactly once, immediately before each execution. Tools now use the same--arg=valuegrammar as benchmarks (previously'--arg' 'val'bash-array tokens).Test plan
shlex.join()timing, tool/benchmark grammar convergence).