Open
Conversation
Add example 05-orchestrator demonstrating the dependsOn field for multi-task orchestration. Two independent research Tasks run in parallel and an orchestrator Task synthesizes their outputs using prompt templates. Also add an integration test verifying that an orchestrator Task with multiple dependencies correctly waits for all dependencies to succeed before its Job is created. Closes #328 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Normalize YAML document separator style (consistent blank line before ---) - Rename secret to orchestrator-api-key to avoid collision with example 01 - Use range template to iterate Outputs for readable rendering - Update README prompt template examples to show range and Results access Co-Authored-By: Claude Opus 4.6 <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
examples/05-orchestrator/demonstrating the fan-out/fan-in orchestrator pattern usingdependsOnand prompt templatesrangeto iterate output linesexamples/README.mdto list the new exampleWaitinguntil all dependencies succeed, Job only created after all deps are done)Closes #328
Test plan
make verifypasses (lint, fmt, vet)make testpasses (unit tests)make test-integrationpasses (57/57 specs, including new orchestrator test)🤖 Generated with Claude Code