fix: ensure all PR-creating workflows target $BASE_BRANCH#1453
fix: ensure all PR-creating workflows target $BASE_BRANCH#1453ericsoriano wants to merge 1 commit intocoleam00:mainfrom
Conversation
- Add --base $BASE_BRANCH to gh pr create in archon-architect, archon-refactor-safely, and archon-implement-issue - Add verify-pr-base bash node to all 7 PR-creating workflows that auto-corrects via gh pr edit if the AI mis-targets - Rewire downstream depends_on edges through verify-pr-base - Regenerate bundled-defaults.generated.ts Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Comprehensive PR ReviewPR: #1453 — fix: ensure all PR-creating workflows target $BASE_BRANCH SummaryThis PR adds Verdict:
All 5 agents recommend approval. No blocking issues found. LOW Issues (For Consideration)View 7 low-priority suggestions (all recommended: keep as-is)
What's Good
Next StepsNo auto-fix step needed. PR is ready to merge. Reviewed by Archon comprehensive-pr-review workflow |
⚡ Auto-Fix ReportStatus: COMPLETE (no fixes needed) Review SummaryThe comprehensive review (5 agents) found 0 CRITICAL, 0 HIGH, and 0 MEDIUM issues. All 7 findings are LOW severity with "keep as-is" recommendations.
🔵 LOW Issues (All "Keep As-Is")
📋 Suggested Follow-up IssuesNone required. Verdict: PR is clean — no code changes needed. Ready to merge. Auto-reviewed by Archon comprehensive-pr-review workflow |
Workflow SummaryPlan: Implementation vs Plan
📋 Deviations from Plan (1)No fallback Review Summary
All 5 review agents recommend APPROVE. All 7 LOW findings are intentional design choices (appropriate duplication, conventional stderr diagnostics, existing test coverage adequate). Validation
Follow-UpNo follow-up issues, documentation updates, or quick wins needed. PR is clean and ready to merge. ℹ️ Deferred Items (NOT Building)These were intentionally excluded from scope:
Artifacts: |
|
Closing — this PR was opened against the wrong base repository by accident. |
Summary
Three bundled default workflows produced PRs targeting the repo's GitHub default branch instead of the configured
$BASE_BRANCH. This PR adds--base $BASE_BRANCHto the three offending prompts/commands and adds a defensiveverify-pr-basebash node to all seven PR-creating workflows that auto-corrects viagh pr editif the AI ever drops the flag.Changes
.archon/workflows/defaults/archon-architect.yaml--base $BASE_BRANCHto create-pr prompt + add verify-pr-base node.archon/workflows/defaults/archon-refactor-safely.yaml--base $BASE_BRANCHto create-pr prompt + add verify-pr-base node.archon/commands/defaults/archon-implement-issue.md--base $BASE_BRANCHto gh pr create invocation.archon/workflows/defaults/archon-fix-github-issue.yaml.archon/workflows/defaults/archon-feature-development.yaml.archon/workflows/defaults/archon-plan-to-pr.yaml.archon/workflows/defaults/archon-idea-to-pr.yaml.archon/workflows/defaults/archon-issue-review-full.yamlpackages/workflows/src/defaults/bundled-defaults.generated.tsbun run generate:bundledCHANGELOG.mdTests
No new test files — the existing
bundled-defaults.test.tsself-counts and round-trips content automatically, covering all modified files.Validation
Implementation Notes
Deviations from Plan
gh pr createin archon-implement-issue: Plan mentioned updating a fallback at line ~384 — only onegh pr createinvocation exists in the file. The single instance was updated correctly.Plan:
.claude/archon/plans/fix-pr-base-branch-targeting.mdWorkflow ID:
e77646a5cfb868783688d8a8f228ff5d