Enhance a TouchDesigner build (LLM-planned)
enhance_buildEvaluate and improve TouchDesigner projects by applying AI-suggested changes with optional visual critique and manual approval safeguards.
Instructions
Run score_build and ask the configured LLM for bounded allowlisted improvements. Legacy calls are unchanged. Optional visualCritique uses the exact calibrated local vision receipt, explicit numeric targets, preview-only defaults, native Apply/Keep approval, CAS/readback, and compensating restore; autoApply never bypasses approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rescore | No | When autoApply=true, re-run score_build after dispatch and include after + delta. Ignored when autoApply=false. | |
| autoApply | No | When true, dispatches each proposed call against the allowlisted tools. Default is preview-only because dispatch mutates the TD project. | |
| scopePath | No | Network root to enhance. Forwarded to score_build. | /project1 |
| targetFps | No | Forwarded to score_build. | |
| maxProposals | No | Cap on proposed (and applied) tool calls. Keeps blast radius small. | |
| focusCriterion | No | When set, the planner targets only this axis. errors/perf are excluded (use summarize_td_errors / optimize_performance). | |
| visualCritique | No | Opt-in bounded visual critique of one explicit TOP and 1-6 numeric constant parameters. Preview-only unless autoApply=true; every apply still requires native Apply/Keep approval. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| delta | No | ||
| before | Yes | ||
| applied | Yes | ||
| warnings | Yes | ||
| proposals | Yes | ||
| scopePath | Yes | ||
| visualCritique | No |