Skip to content

docs: document dispatch-input hardening and pr_number lifecycle#98

Draft
github-actions[bot] wants to merge 1 commit intomainfrom
docs/agent-team-dispatch-input-hardening-7a31d08e6ec78fcb
Draft

docs: document dispatch-input hardening and pr_number lifecycle#98
github-actions[bot] wants to merge 1 commit intomainfrom
docs/agent-team-dispatch-input-hardening-7a31d08e6ec78fcb

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 5, 2026

Follows #69 (fix agent-team manual workflow_dispatch inputs).

What changed

catalog/agent-team/README.md

New pr_number lifecycle section (under The handoff model):

Explains the two-state flow that was implicit in the workflow files but absent from the high-level README:

  • First implementation attempt: pr_number is blank → implementer creates a new draft PR
  • Reviewer kickback: reviewer passes the existing pr_number back → implementer pushes to the existing branch, not a new one

Without this, users manually retrying a kickback stage couldn't tell whether to supply a pr_number or leave it blank.

Expanded "Input propagation" gotcha (under Limits and gotchas):

Old one-liner only said "fail loudly". New text adds:

  • The exact error message agents post (🛑 agent-team: workflow_dispatch inputs were not propagated. Re-dispatch with valid inputs.)
  • That unresolved template literals (e.g. $\{\{ github.event.inputs.issue_number }}) are treated the same as missing — the surface-level behavior that PR [codex] fix agent-team manual workflow_dispatch inputs #69 hardened
  • That pr_number is optional by design and handled specially

CONTRIBUTING.md

Replaced "no automated test harness" with the actual tiered test strategy.

The old text was incorrect — the repo ships three test tiers and CI runs two of them on every PR. New section provides a quick-reference table and guidance on when to run each tier.

Testing

  • No logic changes; documentation only.
  • Verified the two edited files render correctly by re-reading them after edits.

Generated by Update Docs ·

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/update-docs.md@96b9d4c39aa22359c0b38265927eadb31dcf4e2a

- catalog/agent-team/README.md: add `pr_number` lifecycle section to the
  handoff model (blank on first impl → creates PR; reviewer passes it back
  on kickback → implementer pushes to existing branch). Expand "Input
  propagation" gotcha with the exact error message, unresolved-literal
  detection, and the optional-by-design note for pr_number.
- CONTRIBUTING.md: replace "no automated test harness" with the actual
  tiered test strategy (tier-2 invariants, tier-1 skill tests, tier-3 E2E)
  and clear guidance on when to run each tier.

Follows PR #69 (fix agent-team dispatch-input hardening).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added automation documentation Improvements or additions to documentation labels May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants