Repository navigation
Standard: require feature-ideation / pr-auto-review / initiative-driver in ALL repos #844
Description
Promote three currently-optional stubs to required org-wide so the weekly Org Standards Compliance Audit (compliance-audit-and-improvement.yml) detects and drives their deployment fleet-wide via remediation issues (the standards-driven mechanism), instead of ad-hoc hand-runs of deploy-standard-workflows.sh.
All three are already deployable shims (via #836/#837): feature-ideation.yml, pr-auto-review.yml, initiative-driver.yml.
Current state (from a dry-run sweep, 2026-07-21)
- feature-ideation — currently BMAD-conditional (required only where
ECOSYSTEMSincludesbmad-method). Already present on most repos; gaps:repo-template,broodminder-export(andmarketsis a body-preserving re-pin). - pr-auto-review — optional (pin-checked if present). Gaps:
repo-template,broodminder-export(incubatordone via feat: add dependabot-rebase workflow standard #52). - initiative-driver — optional; on NO repo yet → all 9 consumer repos are gaps.
Scope (standards change)
scripts/compliance-audit.sh- Add
pr-auto-review.ymlandinitiative-driver.ymltoREQUIRED_WORKFLOWS(currently line ~45). - Promote
feature-ideation.ymlto universal: remove thebmad-method-conditional block (check_required_workflows, ~line 216) and addfeature-ideation.ymltoREQUIRED_WORKFLOWS.
- Add
⚠️ feature-ideationproject_contextinvariant (the real design decision — do NOT skip): the seed template ships aTODO:placeholderproject_context. Making the file merely present satisfy the standard would ship weekly ideation running on "TODO" to every newly-required repo. The audit must treat a still-placeholderproject_contextas non-compliant — add a finding (e.g.feature-ideation-placeholder-context) when the stub'sproject_contextstill matches the template'sTODO:/Example:sentinel. Presence alone is necessary but not sufficient. (Severity: recommenderroron presence-missing,warningon placeholder-still-present — dev-lead's call, justify it.)standards/ci-standards.md- Update the Required Workflows section (~line 360) to list all three as required org-wide.
- Update the templates table (~line 308) — change feature-ideation from "BMAD Method ideation pipeline (BMAD-enabled repos only)" to required org-wide; add rows for pr-auto-review / initiative-driver.
- Note the
project_contextnon-placeholder requirement for feature-ideation.
- Tests — update
test/scripts/compliance-audit/**(bats) for the expandedREQUIRED_WORKFLOWS, the removal of the BMAD-conditional, and the new placeholder-context finding. Keep the suite green.
Acceptance criteria
- Audit run flags any repo missing
feature-ideation.yml,pr-auto-review.yml, orinitiative-driver.yml(error), and any repo whosefeature-ideationproject_contextis still the template placeholder (warning/error). standards/ci-standards.mddocuments all three as required org-wide + the non-placeholderproject_contextrule.compliance-auditbats suite green.- No change to the reusables or
deploy-standard-workflows.shbehavior (this issue is standard-definition only; the deploy mechanism from Make initiative-driver / pr-auto-review / feature-ideation standard deployable shims (+ canonical-PAT migration) #836 already carries the stubs).
Rollout (follows this merge — NOT in scope of this issue)
Once merged, the weekly audit (or a manual workflow_dispatch) files remediation issues for the gaps above (notably initiative-driver ×9). Remediation runs deploy-standard-workflows.sh per repo (seed-if-absent, PR + admin-merge for ruleset-protected repos). Each feature-ideation seed then needs a real per-repo project_context (the placeholder finding tracks this) — preserved thereafter by #836's no-clobber invariant.
Activity
don-petry commentedon Jul 21, 2026
Dev-Lead Implementation Plan
Issue: #844 — Standard: require feature-ideation / pr-auto-review / initiative-driver in ALL repos
Scope
Promote
feature-ideation.yml,pr-auto-review.yml, andinitiative-driver.ymlto required org-wide in the compliance audit + standards docs, and flag a still-placeholder feature-ideationproject_contextas non-compliant.Implementation Checklist
scripts/compliance-audit.sh: addpr-auto-review.ymlandinitiative-driver.ymltoREQUIRED_WORKFLOWS(~line 45)scripts/compliance-audit.sh: promotefeature-ideation.ymlto universal — add toREQUIRED_WORKFLOWS, remove thebmad-method-conditional block incheck_required_workflows(~line 216)scripts/compliance-audit.sh: add pure helperfeature_ideation_context_is_placeholder()(matches the seedTODO:/Example:sentinel) and afeature-ideation-placeholder-contextfinding (severitywarning) emitted fromcheck_required_workflowswhen the stub is present but still on the template contextstandards/ci-standards.md: Required Workflows section (~360) — list all three as required org-wide; note the non-placeholderproject_contextrulestandards/ci-standards.md: templates table (~308) — feature-ideation → required org-wide; add pr-auto-review / initiative-driver rowsTests to Write
test/scripts/compliance-audit/feature-ideation-placeholder-context.bats— asserts the placeholder helper returns 0 on the seedTODO:/Example:context and non-zero on a customised context (and on an absent block)REQUIRED_WORKFLOWSnow contains all three workflows and thatcheck_required_workflowsno longer carries thebmad-methodconditionalTest Command
bats --print-output-on-failure test/scripts/compliance-audit/Severity justification
Missing file →
error(viaREQUIRED_WORKFLOWS, consistent with all required workflows). Present-but-placeholderproject_context→warning: the file is present and correctly pinned; it only needs its one required per-repo edit, so it should not block the same as an outright-missing workflow — but it must still surface so ideation never runs weekly on "TODO".don-petry commentedon Jul 21, 2026
Dev-Lead: Implementation Complete
Plan Execution
scripts/compliance-audit.sh: addedpr-auto-review.yml+initiative-driver.ymltoREQUIRED_WORKFLOWSscripts/compliance-audit.sh: promotedfeature-ideation.ymlto universal — added toREQUIRED_WORKFLOWS, removed thebmad-method-conditional blockscripts/compliance-audit.sh: added pure helperfeature_ideation_context_is_placeholder()+feature-ideation-placeholder-contextfinding (warning)standards/ci-standards.md: Required Workflows (now 10), templates table, §9/§10 Conditional-Workflows notes, non-placeholderproject_contextruletest/scripts/compliance-audit/feature-ideation-placeholder-context.batsTest Results —
bats test/scripts/compliance-audit/Lint:
.dev-lead/scripts/dev-lead-lint.sh→ all checks passed (shellcheck 27 files + CODEOWNERS).markdownlint-cli2 standards/ci-standards.md→ 0 issues.Files Changed
scripts/compliance-audit.sh: expandedREQUIRED_WORKFLOWS; removed BMAD-conditional feature-ideation check; added placeholder-context guard + pure helper.standards/ci-standards.md: documented all three as required org-wide + the non-placeholderproject_contextrule; updated templates table and Required Workflows list.test/scripts/compliance-audit/feature-ideation-placeholder-context.bats: new — covers the placeholder guard, expandedREQUIRED_WORKFLOWS, and BMAD-conditional removal.Notes
error(viaREQUIRED_WORKFLOWS, uniform with all required workflows); present-but-placeholderproject_context→warning(file is present and correctly pinned; it only needs its one required per-repo edit, so it should surface without blocking like an outright-missing workflow).### 9. Feature Ideation … — BMAD Method reposheading (and its anchor) is unchanged because 5 inbound links across the repo depend on it; the org-wide promotion is documented via a Status note in the section body and a note under Conditional Workflows instead of a heading rename.bmad-methodecosystem detection is retained for the "Detected ecosystems" log line — it no longer gates any check.deploy-standard-workflows.sh(standard-definition only, per scope).feat: implement issue #844 — Standard: require feature-ideation / pr-…
feat: implement issue #847 — Reconcile universal-required standard (#844
feat: implement issue #844 — Standard: require feature-ideation / pr-…
feat: implement issue #844 — Standard: require feature-ideation / pr-…
feat: implement issue #844 — Standard: require feature-ideation / pr-…