Skip to content

feat: forge:yolo label for autonomous artifact approval#85

Merged
eshulman2 merged 10 commits into
mainfrom
feat/yolo-mode
Jun 17, 2026
Merged

feat: forge:yolo label for autonomous artifact approval#85
eshulman2 merged 10 commits into
mainfrom
feat/yolo-mode

Conversation

@eshulman2

Copy link
Copy Markdown
Collaborator

Summary

  • Adds forge:yolo Jira label that bypasses human approval gates and lets Forge flow autonomously through the SDLC pipeline
  • PRD, spec, plan, and task approval gates auto-pass when yolo_mode=True; RCA option gate auto-selects option 1 in the bug workflow
  • Human review gate (PR code review) is intentionally excluded

How it works

  • yolo_mode: bool flag in BaseState, set at workflow start if forge:yolo is in the ticket's labels, or when the label is added mid-workflow while paused at a gate
  • Each approval gate's routing function checks yolo_mode before the is_paused check and routes directly to the approved path
  • The RCA option gate handles it in the gate function itself (needed to set selected_fix_option and selected_fix_approach in state)

Test Plan

  • Add forge:yolo label to a Feature ticket before triggering Forge — verify workflow flows through PRD → spec → plan → task approval without pausing
  • Add forge:yolo to a ticket already paused at forge:prd-pending — verify workflow resumes and advances
  • Add forge:yolo to a Bug ticket — verify RCA option 1 is auto-selected
  • Verify human review (PR code review) still requires a reviewer even with forge:yolo
  • Verify that ? questions on a yolo ticket still get answered (question routing takes priority)

🤖 Generated with Claude Code

@eshulman2 eshulman2 merged commit 8a24ddb into main Jun 17, 2026
2 checks passed
@eshulman2 eshulman2 deleted the feat/yolo-mode branch June 17, 2026 14:51
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.

1 participant