docs(agent-team): add manual dispatch examples and missing-inputs recovery path#128
Draft
github-actions[bot] wants to merge 1 commit into
Draft
Conversation
…overy path After #69 hardened all three dispatch-triggered agents to fail loudly on missing workflow_dispatch inputs, the README's "Kicking off a task" section only noted the contract existed — it didn't tell users what to actually type when a stage gets blocked by a propagation failure. Changes: - Step 4: replace the terse ${{ github.event.inputs.* }} callout with concrete `gh workflow run` commands showing every field name for each role (planner, implementer, reviewer), including the optional pr_number kickback variant. - Step 5: split "Retrying a blocked task" into two sub-cases: normal block (re-add label) vs. missing-inputs block (re-dispatch with explicit inputs, NOT re-add label — that restarts from spec). - Limits > Input propagation: add the error message users will see (🛑 workflow_dispatch inputs were not propagated) and a one-line pointer back to the recovery commands in step 4. - test-invariants.sh: update the README invariant to check for "gh workflow run planner-agent" (the new concrete content) instead of the removed ${{ github.event.inputs.* }} reference. Co-Authored-By: Claude Sonnet 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.
What and why
PR #69 hardened all three dispatch-triggered agents (planner, implementer, reviewer) to fail loudly when
workflow_dispatchinputs are missing or unresolved, instead of silently falling back to label inference. The agents now post🛑 agent-team: workflow_dispatch inputs were not propagatedand addstate:blocked.The README was updated as part of that fix to note the contract, but left a user-facing gap: there were no example commands showing how to re-dispatch a stage, and no recovery path documented for the specific missing-inputs failure mode. A user seeing the blocked error would know what went wrong but not how to fix it.
Changes
catalog/agent-team/README.mdStep 4 (human override): replaced the terse
$\{\{ github.event.inputs.* }}callout with concretegh workflow runcommands for every role, including the optionalpr_numberkickback variant:Step 5 (retrying a blocked task): split into two sub-cases:
state:blocked, re-addagent-teamgh workflow runwith explicit inputs. Explicitly warns not to re-addagent-team(which would restart from spec, losing the existing spec/plan/PR).Limits > Input propagation: expanded to include the exact error message users will see and a pointer back to the recovery commands.
tests/test-invariants.sh$\{\{ github.event.inputs.* }}(removed) to checking forgh workflow run planner-agent(the new concrete content). Same intent — confirms the manual-dispatch contract is documented.Test plan
bash tests/test-invariants.sh— all 26 invariants pass locally