A Fleet workflow runs after work ships: it drafts the documentation update from the changed code and existing docs, an independent review step checks it for accuracy against the source, and a maintainer approves before anything lands.
| Step |
Kind |
What it does |
draft |
Document |
“Update the affected documentation for the change described in the trigger ticket. Source of truth is the corpus.” Reads docs/**/*.md, src/**/*.ts. |
accuracy |
Review |
“Verify every statement against the source files. Flag drift.” |
maintainer-ok |
Approval gate |
Pauses the run for a human sign-off; records the approver, timestamp, and note. |
You build this once on the dashboard canvas; your self-hosted Fleet worker pulls the definition and runs it against your repository.
In the dashboard builder, the workflow can be wired to a label trigger — tag a shipped ticket docs and the run starts seeded with that ticket's context — and the output can be a ticket instead of a file: the approved draft becomes a ready-to-review docs issue, assigned and labeled.