docs: add workflow patterns and templates documentation#451
Merged
Conversation
Creates markdown documentation for all available swarm workflows: Patterns (10): - dag: Directed acyclic graph with dependency edges - fan-out: Parallel execution - pipeline: Sequential step chaining - hub-spoke: Central coordination - consensus: Voting mechanism - mesh: Full communication graph - handoff: Sequential agent handoffs - cascade: Waterfall with phase gates - debate: Proposal and counter-argument - hierarchical: Multi-level reporting structure Templates (6): - feature-dev: Plan, implement, review, finalize - bug-fix: Investigate, patch, validate, document - code-review: Parallel multi-reviewer assessment - security-audit: Scan, triage, remediate, verify - refactor: Analyze, plan, execute, validate - documentation: Research, draft, review, publish Each file includes: - Overview and when to use - Configuration examples - Usage with CLI and TypeScript - Step descriptions and verification markers Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1. Fix broken link to Workflow YAML Reference - Changed from ../broker-sdk/src/workflows/README.md - To ../../packages/broker-sdk/src/workflows/README.md 2. Fix incorrect onError value in security-audit.md - onError: fail (workflow-level setting) - errorStrategy: fail-fast (global errorHandling setting) - These are distinct settings per the schema Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Creates markdown documentation for all available swarm workflow patterns and built-in templates, organized for easy browsing.
Location:
docs/workflows/Structure
Each Pattern Doc Includes
Each Template Doc Includes
Test plan
🤖 Generated with Claude Code