docs(skill): warn --config must be flat action config

Wrapping --config in {"config":{...}} deploys a silent empty script
(succeeds in ~1ms, result {}). Document the trap + verification recipe
(workflow get --json, nodes[].config.code non-empty).
This commit is contained in:
yeuimu
2026-08-18 07:49:51 +00:00
parent 70f8372fbc
commit 9ec7dcb15a
2 changed files with 20 additions and 0 deletions
@@ -67,6 +67,8 @@ Full config details: [trigger-types.md](../api-reference/trigger-types.md).
Full config details: [action-types.md](../api-reference/action-types.md).
> ⚠️ `action update --config '<json>'` takes the **flat action config** (e.g. `{"code":"...","timeout":120000}`), NOT `{"config":{...}}`. A wrapped config deploys an empty script that "succeeds" in ~1ms with `result: {}` and breaks downstream `{{nodeId.result.*}}` references. After any `--config` deploy, verify with `workflow get --json` that `nodes[].config.code` is non-empty. Details: [action-types.md § script](../api-reference/action-types.md).
## Creation Workflow
```bash