Learn the artist's house conventions from a live TD subtree
learn_conventionsExtract naming, color, topology, and parameter conventions from a TouchDesigner subtree and save them to a shared memory note for consistent project style.
Instructions
Walks a TouchDesigner subtree under scope_path (read-only), extracts naming/colour/topology/parameter conventions, and writes the findings to the shared Memory/conventions.md note (and, when confident, merges naming/layout into Memory/style.md). Pure observation: no TD mutations. Requires TDMCP_VAULT_PATH.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope_path | No | Root COMP whose subtree is sampled. Defaults to /project1. | /project1 |
| observe | No | Which convention families to extract. | |
| max_nodes | No | Cap on nodes walked (BFS, depth-unlimited until cap). | |
| min_support | No | A pattern must appear at least this many times to be recorded. | |
| dry_run | No | If true, return the extracted conventions but do NOT write the vault note. | |
| also_patch_style_memory | No | If a confident naming/layout signal is found, also merge it into Memory/style.md. |