A Fleet workflow reads the handler source and existing reference as its corpus, drafts human-readable reference updates, and runs a drift review that compares prose to code before a maintainer approves.
| Step |
Kind |
What it does |
update |
Document |
“Update the API reference for the endpoints in the corpus: signatures and params from source, prose and examples preserved or improved.” Reads server/routes/**/*.ts, docs/api/**/*.md. |
drift |
Review |
“Compare every documented signature, param, and status code against the source. Flag mismatches and breaking changes that need a callout.” |
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.
Step fingerprinting makes the recurring run cheap: unchanged endpoints skip; the run only re-drafts what the source diff touched. The drift review's breaking-change flags become the maintainer's checklist at the gate.