Learn the artist's house conventions from a live TD subtree
learn_conventionsAnalyze a TouchDesigner subtree to infer naming, color, topology, and parameter conventions, then save them to an Obsidian vault for consistent project styling.
Instructions
Read a TouchDesigner subtree under scope_path without changing TD, infer naming/colour/topology/parameter conventions, and write the result to the configured Obsidian vault. This is read-only on the TD side but mutates vault files: by default it writes Memory/conventions.md and may merge confident naming/layout signals into Memory/style.md. Set dry_run=true to inspect the extract without disk writes. Use learn_from_my_corpus when the source is already in the vault and load_session_profile when you only need to consume cached preferences. Requires TDMCP_VAULT_PATH and returns sampled conventions plus write flags.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, return the extracted conventions but do NOT write the vault note. | |
| observe | No | Which convention families to extract. | |
| max_nodes | No | Cap on nodes walked (BFS, depth-unlimited until cap). | |
| scope_path | No | Root COMP whose subtree is sampled. Defaults to /project1. | /project1 |
| min_support | No | A pattern must appear at least this many times to be recorded. | |
| also_patch_style_memory | No | If a confident naming/layout signal is found, also merge it into Memory/style.md. |