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 maintainer of the .github-private idea→initiative pipeline,
I want remove idea-enhancer.yml, scripts/idea-enhancer/**, and tests/test_idea_enhancer.bats, drop its lint hook, and update the pipeline doc to describe a single enhancer,
so that there is exactly one Discussion-triggered enhancer in .github-private (no double-enhancement), with the idempotency marker continuity preserved across the cutover.
Acceptance Criteria
.github/workflows/idea-enhancer.yml, scripts/idea-enhancer/gather-candidates.sh, scripts/idea-enhancer/post-enhancement.sh, and tests/test_idea_enhancer.bats are removed.
.github/workflows/lint.yml no longer references tests/test_idea_enhancer.bats and the lint job still passes.
docs/initiatives/idea-to-initiative-pipeline.md is updated: the 'idea-enhancer.yml — enrich human-authored ideas' section and its pipeline-diagram box are replaced by a description of the single enhancer (feature-ideation's enhancement mode), and the marker reference is retained as the canonical idempotency contract.
Marker continuity verified: an Idea already carrying <!-- idea-enhancer:enhanced --> is not re-enhanced after the cutover (confirmed against an already-enhanced .github-private Idea, e.g. Enhanced Prompting Frameworks #851 from story 3).
Post-cutover single-enhancement verified: opening a fresh human Idea in .github-private produces exactly ONE enhancement comment (not two).
A repo-wide grep confirms no remaining references to idea-enhancer / idea_enhancer outside historical docs/changelog.
Tasks / Subtasks
Delete idea-enhancer.yml, scripts/idea-enhancer/ (both scripts), and tests/test_idea_enhancer.bats. (AC: test issue from agent #1)
Rewrite the idea-enhancer section + pipeline diagram in docs/initiatives/idea-to-initiative-pipeline.md to describe the single (feature-ideation) enhancer; keep the marker as the idempotency contract. (AC: Add @claude delegation, auto-merge, and rebase handling #3)
Known references to clean up (grepped 2026-06-21): docs/initiatives/idea-to-initiative-pipeline.md (the dedicated section, the ASCII pipeline diagram '★ human opens an Ideas Discussion ──> THIS (enhance comment)' box, the table row, and the line ~67 marker mention — keep the marker, drop the idea-enhancer ownership), and .github/workflows/lint.yml (line ~62 runs the bats test explicitly).
The idempotency marker is <!-- idea-enhancer:enhanced -->, defined in both scripts/idea-enhancer/{gather-candidates,post-enhancement}.sh and asserted in the bats test. After removal, the marker contract lives in the folded feature-ideation mode (petry-projects/.github, untracked prerequisite) — it MUST keep using the same string so previously-enhanced ideas stay skipped. Do not change or strip the marker text anywhere it is documented.
idea-enhancer.yml is org-private automation (not a thin-caller stub), so removing it is purely a .github-private change — it is not referenced by any consumer repo. CLAUDE.md's thin-caller list (claude.yml, agent-shield.yml, auto-rebase.yml, dependabot-automerge.yml) does not include it, so no thin-caller guidance is affected.
Testing standard: after deletion, run the remaining bats suite and shellcheck on scripts/ to confirm nothing else depended on the removed scripts.
Project Structure Notes
Pure deletion + doc/lint cleanup within this repo. No new files. Removes the scripts/idea-enhancer/ directory entirely.
Story
As a maintainer of the .github-private idea→initiative pipeline,
I want remove idea-enhancer.yml, scripts/idea-enhancer/**, and tests/test_idea_enhancer.bats, drop its lint hook, and update the pipeline doc to describe a single enhancer,
so that there is exactly one Discussion-triggered enhancer in .github-private (no double-enhancement), with the idempotency marker continuity preserved across the cutover.
Acceptance Criteria
<!-- idea-enhancer:enhanced -->is not re-enhanced after the cutover (confirmed against an already-enhanced .github-private Idea, e.g. Enhanced Prompting Frameworks #851 from story 3).Tasks / Subtasks
Dev Notes
<!-- idea-enhancer:enhanced -->, defined in both scripts/idea-enhancer/{gather-candidates,post-enhancement}.sh and asserted in the bats test. After removal, the marker contract lives in the folded feature-ideation mode (petry-projects/.github, untracked prerequisite) — it MUST keep using the same string so previously-enhanced ideas stay skipped. Do not change or strip the marker text anywhere it is documented.Project Structure Notes
Pure deletion + doc/lint cleanup within this repo. No new files. Removes the scripts/idea-enhancer/ directory entirely.
References
Likely target surface
.github/workflows/idea-enhancer.ymlscripts/idea-enhancer/tests/test_idea_enhancer.bats.github/workflows/lint.ymldocs/initiatives/idea-to-initiative-pipeline.mdStory prepared by the BMAD Scrum Master (Bob) for epic #872. Status: ready-for-dev.