Repository navigation
Conversation
…nger/synthesizer loop Agent-Logs-Url: https://github.com/don-petry/self/sessions/ba5e1014-4588-49b4-b7a7-870de1331a9d Co-authored-by: don-petry <36422719+don-petry@users.noreply.github.com>
|
@copilot - implement the feature ideation pattern "as is". Add the adversarial link as a resource for ideation related to the pull request review automation. |
…sarial-review pattern) Agent-Logs-Url: https://github.com/don-petry/self/sessions/f19064eb-2aee-41e7-b2e2-1041423ae1a3 Co-authored-by: don-petry <36422719+don-petry@users.noreply.github.com>
Done in e6be2ca. Added
Also added |
|
@claude please review this PR |
|
Claude finished @don-petry's task in 2m 13s —— View job PR Review: feat: feature ideation framework — adversarial proposer/challenger/synthesizerTasks:
Overall this is a clean, well-designed addition. The three-stage pipeline is clearly structured, the prompts have solid input/output contracts, and idempotency is handled correctly. A few issues need attention before merging. Bugs / will break at runtime1. Missing The synthesizer posts a comment and adds labels to GitHub issues, but the workflow only declares # Current (line 18-20):
permissions:
contents: read
# Should be:
permissions:
contents: read
issues: write2. Inconsistency: synthesizer references
The challenger schema ( 3. Synthesizer stdout not captured — JSON status silently lost — Stages 1 and 2 redirect stdout to log files before checking for JSON output. The synthesizer (stage 3) runs with stdout going directly to the workflow log — there's no capture, no check, and no structured exit status. If the Consider adding Medium concerns4. The existing 5. Proposer env vars not available at the prompt level — The proposer is invoked as The same problem exists for the challenger and synthesizer. The other scripts in this repo (e.g. This is the same pattern used currently, so it "works" — but worth noting that if variables are referenced literally in the prompts, the Claude models need to run 6. Synthesizer stage has no log on failure — Stages 1 and 2 save stderr/stdout to log files and Minor / low severity7. The PR description says this follows the adversarial-review pattern "as-is", so this may be intentional. But 8. Idempotency cycle counter uses comment count, not max cycle —
9. DRY_RUN: ${{ inputs.dry_run || (vars.LIVE_MODE == 'true' && 'false' || 'true') }}When triggered via Summary
Items 1–4 should be fixed before merging. Items 5–9 are low risk. |
|
This was a misunderstood concept application. Removing. |
Adds a feature ideation agent to this repo, implementing the adversarial-review pattern from github.com/topics/adversarial-review.
Two modes are provided:
Interactive: Claude Code Skill (
SKILL.md)A single
SKILL.mdat the repo root implements the adversarial-review pattern as-is for feature ideation. Claude proposes a spec, Codex adversarially challenges it, Claude refines, and the loop repeats until approved (max 5 rounds).The skill follows the same structure as
dementev-dev/adversarial-review: YAML frontmatter, XML-structured adversarial prompts (<role>,<operating_stance>,<attack_surface>,<finding_bar>,<scope_exclusions>,<calibration>,<output_format>),codex exec+resume-first iterative loop, and best-effort cleanup.Attack surface adapted for feature specs: value, feasibility, scope, completeness, risk, alternatives, open questions.
Automated: GitHub Actions
When the
feature-idealabel is added to any GitHub issue, a three-stage pipeline runs and posts a refined spec as an issue comment.feature-spec-readylabelIdempotency — each posted comment is marked with
<!-- feature-ideation-agent v1 issue=<num> cycle=<N> -->. Re-labeling triggers a new cycle.Files changed
SKILL.mddementev-dev/adversarial-reviewpattern as-is.github/workflows/feature-ideation.ymlfeature-idealabel orworkflow_dispatchscripts/ideate-feature.shprompts/ideation/proposer.mdprompts/ideation/challenger.mdprompts/ideation/synthesize-idea.mdAGENT.mdhttps://github.com/topics/adversarial-reviewas resource referenceUsage
Interactive (Claude Code):
Automated (GitHub Actions):
The same
GH_PAT,CLAUDE_CODE_OAUTH_TOKEN, andLIVE_MODEvariable used by the PR review agent also control the automated mode — no new secrets needed.