Repository navigation
[Phase 1] Expose the feature-ideation backfill input: sync the stub to forward enhance_backlog #935
Copy link
Copy link
Closed
Labels
initiativeEpic / initiative tracking issueEpic / initiative tracking issue
Description
Story
As a maintainer operating the .github-private idea pipeline,
I want add the enhance_backlog workflow_dispatch input to .github/workflows/feature-ideation.yml and forward it to the reusable, kept verbatim with the central stub template,
so that a backfill sweep of the existing Ideas backlog can actually be triggered from .github-private (the next/dogfood ring) without drifting from the org standard stub.
Acceptance Criteria
- .github/workflows/feature-ideation.yml exposes an
enhance_backlogworkflow_dispatch input (boolean, default false) and forwards it to the reusable viawith: enhance_backlog: ${{ inputs.enhance_backlog || false }}. - The stub still pins
uses:topetry-projects/.github/.github/workflows/feature-ideation-reusable.yml@feature-ideation/nextand leaves thediscussion/scheduletriggers, the existing inputs (focus_area/research_depth/dry_run), the repoproject_context, the jobpermissions:block, and thesecrets:block unchanged — only the new input + itswith:forward are added. - If the central standard stub template (standards/workflows/feature-ideation.yml) already carries
enhance_backlog, the change is a verbatim sync to it; if the template does not yet carry it, the input lands as a documented repo-specific deviation (recorded so a later template sync does not reset it) — see the open question on the template/exception choice. - tests/test_feature_ideation.bats is extended to assert the
enhance_backloginput exists and is forwarded, and the existing bats + workflow-lint (gh-aw-compile/actionlint) checks still pass.
Tasks / Subtasks
- Add the
enhance_backlogboolean workflow_dispatch input (default false) to feature-ideation.yml, matching the central template shape. (AC: test issue from agent #1, Add @claude delegation, auto-merge, and rebase handling #3) - Forward it in the
with:block asenhance_backlog: ${{ inputs.enhance_backlog || false }}, leaving target_discussion/project_context/focus_area/research_depth/dry_run intact. (AC: test issue from agent #1, Go-live improvements for PR review agent #2) - Confirm the sanctioned
@feature-ideation/nextpin, triggers, permissions, and secrets blocks are untouched. (AC: Go-live improvements for PR review agent #2) - Extend tests/test_feature_ideation.bats with assertions for the new input + forward; run scripts/run-bats.sh and the workflow lint. (AC: Optimize review: small-PR and incremental fast paths #4)
Dev Notes
- HARD GATE (cross-repo): this story is gated on the untracked prerequisites — the central reusable on
@feature-ideation/nextMUST already define theenhance_backloginput (E2) and the central stub template MUST carry it. If you forwardenhance_backlogto a reusable that does not declare it, the workflow call fails with an unknown-input error. Do NOT merge until the central template+reusable expose it. apply-plan cannot express this as ablocked_byedge (the prereq is in another repo); the inert epic + humaninitiative:autogate is the backstop. - feature-ideation.yml is a thin caller stub; its header normally allows only
project_context+ cron edits, and AGENTS.md requires stub workflows to matchstandards/workflows/verbatim. The correct action is therefore a TEMPLATE SYNC of the new input, NOT a bespoke hand-rolled shape — keep it byte-identical to the central template except for the documented.github-privatedeviations (the sanctioned@feature-ideation/nextpin and the repoproject_context). - Precedent for a documented stub deviation: this repo is feature-ideation's
next/dogfood ring and already carries a SANCTIONED RING-RELEASE PIN to@feature-ideation/next(see the stub header and AGENTS.md 'Release channel tags & the mutable-ref exception'). The compliance auditnon-stub-feature-ideation.ymlmust continue to accept the channel-tag pin. - Testing standard: shell/workflow changes are covered by bats (tests/test_feature_ideation.bats, run via scripts/run-bats.sh, listed in .github/workflows/lint.yml) and the gh-aw-compile/actionlint lint jobs. The existing test asserts the stub exists, calls the reusable, and pins the channel — add input-shape assertions alongside those.
Project Structure Notes
Single-file edit to .github/workflows/feature-ideation.yml plus a test extension to tests/test_feature_ideation.bats. No new files; no script changes (the sweep logic itself lives in the central reusable, not here).
References
- .github/workflows/feature-ideation.yml#workflow_dispatch-inputs
- .github/workflows/feature-ideation.yml#with-block
- .github/workflows/feature-ideation.yml#sanctioned-ring-release-pin
- tests/test_feature_ideation.bats
- AGENTS.md#workflow-files
- AGENTS.md#release-channel-tags--the-mutable-ref-exception
- discussion feature-ideation enhancement backfill + dry-run + marker continuity (prereq to deprecating idea-enhancer) #933 (E2 backfill sweep input)
Likely target surface
.github/workflows/feature-ideation.ymltests/test_feature_ideation.bats
Story prepared by the BMAD Scrum Master (Bob) for epic #934. Status: ready-for-dev.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
initiativeEpic / initiative tracking issueEpic / initiative tracking issue
Activity
don-petry commentedon Jun 26, 2026
Done — the
enhance_backloginput is exposed + forwarded on .github-private's feature-ideation.yml (lines 67/161) and the reusable on@feature-ideation/nextaccepts it (cross-repo work in combsmith/.github#539). Landed via #938 when the driver drove epic #934 holistically. Superseded.