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.
genflows:
- name: docs-sync
steps:
- {name: draft, prompt: "Update the affected documentation for the change described in the trigger ticket. Source of truth is the corpus.", corpus: ["docs/**/*.md", "src/**/*.ts"], kind: report, out: docs-update.md}
- {name: accuracy, prompt: "Verify every statement against the source files. Flag drift.", depends_on: [draft], kind: review, out: review.md}
- {name: maintainer-ok, depends_on: [draft, accuracy], kind: approval, out: decision.md}
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.