From bf4b6b522ef5ac2046e78f8c5e5f0bca5de562bf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Apr 2026 11:12:03 +0000 Subject: [PATCH] docs(agent-team): add Troubleshooting section for input propagation failures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit d688265 introduced fail-loud behavior when workflow_dispatch inputs are missing (planner/implementer/reviewer). The README noted the contract but didn't give users a concrete recovery path when they hit '🛑 workflow_dispatch inputs were not propagated'. Add a Troubleshooting section with: - Explanation of the most common root causes (GitHub UI "Run workflow" button, missing -f flags in gh workflow run) - Exact gh CLI commands for each role, including the pr_number variant for implementer kickback retries - How to read the current iteration value from the issue thread Co-Authored-By: Claude Sonnet 4.6 --- catalog/agent-team/README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/catalog/agent-team/README.md b/catalog/agent-team/README.md index 5490837..c5568d2 100644 --- a/catalog/agent-team/README.md +++ b/catalog/agent-team/README.md @@ -107,6 +107,34 @@ Then apply the OAuth token tweak to each `.lock.yml` per [`skills/install-workfl 4. Human override at any time: add `state:blocked` to halt, edit a comment to steer the next agent, or manually `gh workflow run` a specific role to retry a stuck stage. Manual dispatches must pass the required `workflow_dispatch` inputs, and the downstream workflow markdown must read them via `${{ github.event.inputs.* }}`. 5. **Retrying a blocked task**: clear `state:blocked`, then re-add `agent-team`. Spec-agent treats it as a fresh dispatch (because the state:* labels are gone and the spec markers are already satisfied — actually: to redo from scratch, also delete the prior spec comment). +## Troubleshooting + +### `🛑 workflow_dispatch inputs were not propagated` + +This comment (paired with a `state:blocked` label) means a workflow fired without its required inputs — most commonly from the GitHub UI's "Run workflow" button, which leaves required fields blank, or a manual `gh workflow run` call that omitted a flag. + +Clear the `state:blocked` label, then re-dispatch with the `gh` CLI: + +```bash +# Planner +gh workflow run planner-agent.lock.yml \ + -f issue_number= -f iteration= + +# Implementer — first attempt (new branch) +gh workflow run implementer-agent.lock.yml \ + -f issue_number= -f iteration= + +# Implementer — kickback retry (push to existing PR) +gh workflow run implementer-agent.lock.yml \ + -f issue_number= -f iteration= -f pr_number= + +# Reviewer +gh workflow run reviewer-agent.lock.yml \ + -f pr_number= -f issue_number= -f iteration= +``` + +`iteration` is 1-indexed; read it from the issue thread (the `iteration=N` attribute in the most recent `` or `` block). `pr_number` is optional for the implementer — omit it on the first attempt; set it on kickback retries so the implementer pushes to the existing PR branch instead of opening a new one. + ## Limits and gotchas - **Concurrency**: each workflow uses `concurrency: group: agent-team-issue-${issue_number}` so only one role runs at a time per issue.