diff --git a/SKILL.md b/SKILL.md index 89889a6..ddd4cc0 100644 --- a/SKILL.md +++ b/SKILL.md @@ -7,7 +7,7 @@ description: Create, review, repair, or explain TaskNotes Workflows Markdown aut Author Markdown notes under `TaskNotes/Workflows/` unless another folder is configured. Frontmatter is executable configuration; preserve the user's Markdown body. -Use `type: runtime_workflow`, `version: 1.0.0`, and `x-tasknotes.format_version: 2`. In an mdbase 0.3 collection, read `mdbase.yaml` and use its first `settings.explicit_type_keys` key instead of `type`; new TaskNotes v5 collections use `mdbase_type`. Omitted keys default to `type`; an explicitly empty list needs collection configuration. Do not install packs automatically. +Use `type: runtime_workflow`, `version: 1.0.0`, and `x-tasknotes.format_version: 2`. In an mdbase 0.3 collection, read `mdbase.yaml` and use its first `settings.explicit_type_keys` key instead of `type`; new TaskNotes v5 collections use `mdbase_type`. Write only that key, not `type` as well; the runtime standard pack 0.2.1 or later accepts it. Omitted keys default to `type`; an explicitly empty list needs collection configuration. Do not install packs automatically. Keep mutating examples disabled by default. Give workflows, triggers and steps stable IDs. Triggers reference `event: { id, version }`; steps reference `action: { id, version }`. Use `for_each`, `run.limits.max_items`, `run.on_error`, and `run.concurrency` rather than legacy camelCase run fields. diff --git a/references/workflow-schema.md b/references/workflow-schema.md index 6bae86b..67f6c6a 100644 --- a/references/workflow-schema.md +++ b/references/workflow-schema.md @@ -40,7 +40,7 @@ x-tasknotes: format_version: 2 ``` -Required fields are `type`, `id`, `version`, `name`, `enabled`, `triggers`, and `steps`. Trigger and step IDs must each be unique. Unknown fields require an `x-` prefix. In an mdbase 0.3 collection, new and migrated files use the first configured `settings.explicit_type_keys` key instead of `type` (for example `mdbase_type` in a new TaskNotes v5 collection). Omitted settings use `type`; an explicitly empty list requires collection configuration before writing workflows. A missing `runtime_workflow` type produces a hint to install the **mdbase runtime standard** pack; the plugin does not install it. +Required fields are the type declaration (`type: runtime_workflow` by default), `id`, `version`, `name`, `enabled`, `triggers`, and `steps`. Trigger and step IDs must each be unique. Unknown fields require an `x-` prefix. In an mdbase 0.3 collection, new and migrated files use the first configured `settings.explicit_type_keys` key instead of `type` (for example `mdbase_type` in a new TaskNotes v5 collection). Omitted settings use `type`; an explicitly empty list requires collection configuration before writing workflows. A missing `runtime_workflow` type, or the version 1 type from pack 0.2.0 (which pinned `type`), produces a hint to install the **mdbase runtime standard** pack 0.2.1 or later; the plugin does not install it. ## Expressions