You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a fleet-repo maintainer,
I want copy a thin standards/workflows/initiative-planner.yml stub that, on idea:approved, dispatches the central planner for my repo,
so that I get idea→initiative planning without vendoring BMAD frameworks/tooling locally.
Acceptance Criteria
A new standards/workflows/initiative-planner.yml (in the public petry-projects/.github repo) triggers on discussion:[labeled], guarded if: github.event.label.name == 'idea:approved', copied verbatim per the org stub convention (mirrors standards/workflows/dev-lead.yml).
The stub runs the redispatch path with a target_repo argument, dispatching gh workflow run initiative-planner.yml --repo petry-projects/.github-private -f discussion=<n> -f target_repo=<host>; redispatch.sh gains a TARGET_REPO/-f target_repo arg.
The stub documents the required dispatch secret (App token / GH_PAT_WORKFLOWS) and the idea:approved label + Ideas-category prerequisite.
The PAT-present guard is retained (a dispatch fired with GITHUB_TOKEN never starts a run — redispatch.sh:17-22).
Model after standards/workflows/dev-lead.yml (the existing thin caller stub) and standards/workflows/feature-ideation.yml (the existing discussion-triggered stub).
redispatch.sh:56-58 currently dispatches --repo "$REPO" with -f discussion/-f dry_run; add -f target_repo="$TARGET_REPO" and point --repo at the central .github-private when called from a fleet stub.
Spans two repos: the stub lands in public petry-projects/.github (standards/workflows/), the redispatch.sh + test changes land in .github-private. Open the stub PR against .github and the script/test PR against .github-private.
Story
As a fleet-repo maintainer,
I want copy a thin standards/workflows/initiative-planner.yml stub that, on idea:approved, dispatches the central planner for my repo,
so that I get idea→initiative planning without vendoring BMAD frameworks/tooling locally.
Acceptance Criteria
if: github.event.label.name == 'idea:approved', copied verbatim per the org stub convention (mirrors standards/workflows/dev-lead.yml).gh workflow run initiative-planner.yml --repo petry-projects/.github-private -f discussion=<n> -f target_repo=<host>; redispatch.sh gains a TARGET_REPO/-f target_repo arg.Tasks / Subtasks
Dev Notes
--repo "$REPO"with -f discussion/-f dry_run; add-f target_repo="$TARGET_REPO"and point --repo at the central .github-private when called from a fleet stub.discussionevent contexts, which is exactly why the redispatch bridge exists — the fleet stub must dispatch to workflow_dispatch, never plan inline (see bug(initiative-planner): claude-code-action rejectsdiscussionevents — theidea:approvedauto-trigger never plans #591/feat: implement issue #591 — bug(initiative-planner): claude-code-action rejectsdiscussionevents — theidea:approvedauto-trigger never plans #618).idea:approvedstopped planning #655).Project Structure Notes
Spans two repos: the stub lands in public petry-projects/.github (standards/workflows/), the redispatch.sh + test changes land in .github-private. Open the stub PR against .github and the script/test PR against .github-private.
References
Likely target surface
standards/workflows/initiative-planner.yml (new — petry-projects/.github)scripts/initiative-planner/redispatch.shtests/test_initiative_planner_redispatch.batsStory prepared by the BMAD Scrum Master (Bob) for epic #817. Status: ready-for-dev.