Skip to content

feat: implement issue #414 — Compliance: non-stub-feature-ideation.yml - #441

Merged
don-petry merged 2 commits into
mainfrom
dev-lead/issue-414-20260715-0238
Jul 17, 2026
Merged

feat: implement issue #414 — Compliance: non-stub-feature-ideation.yml#441
don-petry merged 2 commits into
mainfrom
dev-lead/issue-414-20260715-0238

Conversation

@don-petry

@don-petry don-petry commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Closes #414

Implemented by dev-lead agent. Please review.

Summary by CodeRabbit

  • New Features

    • Added support for enhancing backlog items during feature ideation runs.
    • Feature ideation can now be triggered automatically when a new Ideas discussion is created.
    • Added improved handling for targeting specific discussions and configuring ideation options.
  • Bug Fixes

    • Improved workflow reliability across different event types and input configurations.

Copilot AI review requested due to automatic review settings July 15, 2026 02:41
@don-petry
don-petry requested a review from a team as a code owner July 15, 2026 02:41
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The workflow adds backlog enhancement input handling, bridges eligible discussion events through workflow dispatch, prepares normalized inputs, and forwards them to the reusable ideation workflow.

Changes

Feature ideation dispatch flow

Layer / File(s) Summary
Discussion redispatch and input preparation
.github/workflows/feature-ideation.yml
Adds enhance_backlog and internal target_discussion inputs, redispatches eligible Ideas discussions, and prepares normalized workflow outputs with defaults.
Prepared input forwarding
.github/workflows/feature-ideation.yml
Passes prepared discussion, focus, research, dry-run, and backlog enhancement values into the reusable workflow.

Estimated code review effort: 4 (Complex) | ~45 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Discussion as Discussion event
  participant Redispatch as redispatch job
  participant Workflow as feature-ideation dispatch
  participant Prep as prep job
  participant Ideate as reusable ideation workflow

  Discussion->>Redispatch: Ideas discussion created
  Redispatch->>Workflow: Dispatch with target_discussion
  Workflow->>Prep: Resolve inputs and defaults
  Prep-->>Ideate: Forward prepared workflow values
Loading

Possibly related PRs

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The PR adds custom jobs and inputs instead of copying the canonical stub verbatim, so it doesn't meet #414's remediation. Replace .github/workflows/feature-ideation.yml with the standards/workflows/feature-ideation.yml template copied verbatim and keep the delegation pinned to @v1.
Out of Scope Changes check ⚠️ Warning The enhance_backlog input, target_discussion bridge, redispatch job, and prep job go beyond the stated workflow stub replacement. Remove the custom dispatch bridging and extra inputs unless they are required by a linked issue; keep only the canonical stub changes.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title matches the main change: a compliance fix for the feature-ideation workflow.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev-lead/issue-414-20260715-0238

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — review-changes (no-changes)

No changes were needed for this PR.

@don-petry
don-petry enabled auto-merge (squash) July 15, 2026 02:42
@don-petry
don-petry disabled auto-merge July 15, 2026 02:43
@donpetry-bot

Copy link
Copy Markdown
Contributor

Advisory bots were rate-limited; auto-approval is withheld until they recover. pr-review-sweep will re-review this PR after 2026-07-15T03:43:42Z.

@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — fix-bot-comment (no-changes)

Agent reasoning
Issues addressed: 0
Files changed: .github/workflows/feature-ideation.yml
Skipped (informational): 1
  - Quality Gate passed: no actionable findings (0 new issues, 0 hotspots)
```
The PR is ready — no changes needed.

@don-petry
don-petry enabled auto-merge (squash) July 15, 2026 02:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository’s .github/workflows/feature-ideation.yml workflow to add additional dispatch inputs and to introduce a discussion:createdworkflow_dispatch “redispatch” bridge plus a prep job that resolves inputs before invoking the reusable workflow.

Changes:

  • Added new workflow_dispatch inputs (enhance_backlog, target_discussion) and updated the discussion: created behavior description.
  • Introduced redispatch (discussion→dispatch bridge) and prep (runtime input resolution) jobs, and rewired ideate to consume needs.prep.outputs.*.
  • Updated the reusable-workflow with: block to avoid direct inputs.* references and cast booleans via fromJSON(...).

Comment thread .github/workflows/feature-ideation.yml

@donpetry-bot donpetry-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review — APPROVED ✓

Risk: MEDIUM
Reviewed commit: 574dabbf3e2e53381980eff6eda5de346a9caf16
Review mode: triage-approved (single reviewer)

Summary

Compliance sync: replaces the drifted feature-ideation.yml with the org canonical stub template. The resulting file matches petry-projects/.github standards/workflows/feature-ideation.yml verbatim except two cosmetic differences (quote style on the enhance_backlog description; one space before the NOSONAR comment). New redispatch/prep jobs are part of the approved template, use permissions: {}, and pass all event data via env vars. All CI checks green.

Linked issue analysis

Issue #414 (compliance-audit finding non-stub-feature-ideation.yml) is substantively addressed: the remediation was to copy the canonical template from standards/workflows/feature-ideation.yml, and the PR head file is a verbatim match (two trivial cosmetic deviations noted below). Note: the issue body says the reusable must be pinned @v1, but the current canonical template itself pins @feature-ideation/stable (with a NOSONAR first-party channel annotation) — the issue text is stale relative to the source-of-truth template, and matching the template is the actual standard.

Findings

  1. (info) Two cosmetic deviations from the template: line 68 uses double-quotes instead of single-quotes for the enhance_backlog description, and line 185 has one space (not two) before the NOSONAR comment. Semantically identical; only relevant if the compliance audit compares byte-for-byte, in which case it may re-flag.
  2. (info, pre-existing) project_context still contains the TODO placeholder — the template calls this the one required per-repo edit. Out of scope for this compliance finding but worth a follow-up.
  3. (security review) redispatch/prep jobs: permissions: {}, untrusted event data (discussion number, dispatch inputs) passed via env vars — no script-injection vectors. GH_PAT_WORKFLOWS usage mirrors the org-approved initiative-planner pattern and is part of the canonical template.
  4. Secret scan: run_secret_scanning MCP tool unavailable in this run; gitleaks CI check passed. No secrets in the diff.

CI status

All required checks green: CI Pipeline (build-and-test, gitleaks, autofix), CodeQL (actions/js-ts/python), SonarCloud quality gate passed (0 new issues, 0 hotspots), AgentShield, Node.js Tests, Playwright UI Tests, Coverage, dependency-audit (npm audit passed; other ecosystems skipped as N/A). Remaining SKIPPED entries are conditional jobs.


Reviewed automatically by the PR-review agent (single-reviewer mode: fable 5). Reply if you need a human review.

@don-petry
don-petry disabled auto-merge July 17, 2026 16:57
@sonarqubecloud

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/feature-ideation.yml:
- Around line 67-79: Replace the custom feature-ideation workflow, including the
enhance_backlog and target_discussion inputs and the redispatch, preparation,
and forwarding logic, with the canonical stub matching
standards/workflows/feature-ideation.yml verbatim. Ensure the stub delegates to
petry-projects/.github/.github/workflows/feature-ideation-reusable.yml@v1 and
contains no additional custom workflow behavior.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: becc82fe-bf75-4d0c-bc9c-ea9967df5478

📥 Commits

Reviewing files that changed from the base of the PR and between 6d87ada and 7bab85b.

📒 Files selected for processing (1)
  • .github/workflows/feature-ideation.yml

Comment thread .github/workflows/feature-ideation.yml
@don-petry

Copy link
Copy Markdown
Collaborator Author

Note

@don-petry I reviewed this PR and no code changes were needed, but it still has blocking checks or reviews (failing or cancelled checks, or changes-requested reviews), so I cannot mark it done yet. I'll re-check automatically.
Next attempt after: 2026-07-17T17:29:30Z

@don-petry
don-petry enabled auto-merge (squash) July 17, 2026 16:59
@don-petry
don-petry disabled auto-merge July 17, 2026 17:34
@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — waiting on PR blockers (intent: review-changes)

PR: #441
No changes were committed, but the PR still has blocking checks or reviews (failing or cancelled checks, or changes-requested reviews). The retry cron will re-attempt automatically. Next attempt after: 2026-07-17T18:05:27Z

@don-petry
don-petry enabled auto-merge (squash) July 17, 2026 17:35
@don-petry
don-petry disabled auto-merge July 17, 2026 17:36
@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — waiting on PR blockers (intent: fix-reviews)

PR: #441
No changes were committed, but the PR still has blocking checks or reviews (failing or cancelled checks, or changes-requested reviews). The retry cron will re-attempt automatically. Next attempt after: 2026-07-17T18:08:09Z

@don-petry
don-petry enabled auto-merge (squash) July 17, 2026 17:38
@don-petry
don-petry disabled auto-merge July 17, 2026 19:35
@don-petry
don-petry enabled auto-merge (squash) July 17, 2026 19:37
@don-petry
don-petry disabled auto-merge July 17, 2026 21:11
@don-petry
don-petry enabled auto-merge (squash) July 17, 2026 21:12
@don-petry
don-petry disabled auto-merge July 17, 2026 21:12
@don-petry
don-petry enabled auto-merge (squash) July 17, 2026 21:13
@don-petry
don-petry disabled auto-merge July 17, 2026 23:10
@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — fix-reviews (no-changes)

Agent reasoning
Addressed 1 thread:
- Thread PRRT_kwDORFz9wc6Q9c-v: no code change — @feature-ideation/stable is a
  first-party channel tag (NOSONAR annotated on line 185); guardrail prohibits
  SHA-pinning it; copilot's suggestion to use @v1 references stale issue text.
  [replied + resolved]
Test verification: no changes made; all CI checks already green.
Files changed: none
```

@don-petry
don-petry merged commit 6c0a7da into main Jul 17, 2026
48 of 68 checks passed
@don-petry
don-petry deleted the dev-lead/issue-414-20260715-0238 branch July 17, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compliance: non-stub-feature-ideation.yml

3 participants