A Fleet workflow drafts KB articles directly from resolved-ticket writeups, reviews them for accuracy and findability, and publishes each one after a support lead's approval.
genflows:
- name: kb-articles
steps:
- {name: article, prompt: "Write a KB article from this resolution writeup: symptom (with exact error text), cause, fix steps. Title it the way a customer would search.", corpus: ["support/resolutions/*.md", "docs/product/**/*.md"], for_each: "support/resolutions/*.md", kind: report, out: article.md}
- {name: accuracy, prompt: "Verify fix steps against current product docs; flag steps that changed since the resolution. Flag titles a customer wouldn't search for.", depends_on: [article], kind: review, out: review.md}
- {name: lead-ok, depends_on: [article, accuracy], kind: approval, out: decision.md}
- {name: publish, depends_on: [lead-ok, article], kind: publish, out: link.md}
The fan-out drafts one article per resolution writeup; the accuracy review catches the classic trap of documenting last month's UI. The lead approves each article — published links exist only past the gate.