Skip to content

Run a Task Lifecycle

Terminal window
TASK_ID=$(orbit task add \
--title "Update docs for policy profiles" \
--description "Document how fsProfile selection works for activity YAML." \
--acceptance-criteria "The docs explain explicit and implicit fsProfile resolution." \
--acceptance-criteria "The docs include a policy YAML example." \
--workspace .)
Terminal window
orbit task show "$TASK_ID"
orbit task lint "$TASK_ID"

Store generated notes, reports, or other UTF-8 task outputs with the task:

Terminal window
orbit task artifact put "$TASK_ID" ./summary.md --path reports/summary.md
orbit task show "$TASK_ID" --fields artifacts

If the task is proposed, approve it:

Terminal window
orbit task approve "$TASK_ID"
Terminal window
orbit run ship "$TASK_ID"

Use local mode when PR creation is not desired:

Terminal window
orbit run ship --mode local "$TASK_ID"

Inspect the resulting diff, CI, task state, and audit events before approving a task out of review.

Terminal window
orbit task show "$TASK_ID"
orbit audit list