Checklist before merging
Frontmatter​
-
task:block withlabel,workspaceandactivity. Withoutactivity, the sync does not create the task. -
activitywith the exact name of the activity that already exists. Otherwise the sync creates another one and moves the task. -
modelis the slug of an active tier (tier-N). - Final folder name: renaming it later creates another task.
- Right types in the YAML:
true, not"true". A wrong type is silently discarded. -
parameters_schemawithadditionalProperties: false, ornullif the task takes no parameters. - Complete
required_secrets, including configuration ids. -
scheduleswith the exact name of an existing environment (or one declared inkadu.yaml) and the cron checked.timezonedeclared if the time is not UTC.
Body​
- Starts with
step.startedandmark_body_started. - Every event has
typeandmessage. - Every call to an external API goes through
log_http_call; bulk tool traffic goes summarized inappend_log. - Helpers that do the bulk of the work instrument their own steps.
- Every configuration variable read in the body is in
required_secrets. - No question to the user on the automatic path.
- Ambiguity and failure become pending items, not a stop.
-
.execution-result.jsonwithresultin Markdown andsummarywith counters, also written on the error path. - No secret value in an event, log, pending item or result.
Validation​
- Ran in simulation (
/kadu:agent-run-task <plugin>:<skill>). - Passed the CI sandbox smoke test.
- Repository
README.mdupdated (the workspace's task table).
After the merge​
- Sync with no warnings for the skill; task under "Tasks created" or "Tasks updated" with the expected fields.
- Secrets with a value in the environment, before the first scheduled time.
- Endpoint credential registered, if the task declares
endpoint. - First run checked: timeline, logs, pending items and result.