Repository navigation
Conversation
When a task's merge poll finds the PR still open and the task meta records yolo=on, the watcher now invokes bin/fm-pr-merge.sh itself instead of only reporting the still-open PR and waiting for a firstmate turn. The merge path's own live verification remains the only green check: a red, unmergeable, or unverifiable PR is refused there and the poll stays armed. A confirmed landing is recognized by the merge-notified marker the merge path commits with its durable outcome, so a queued or unconfirmed acceptance keeps polling and the landed wake is emitted exactly once. The task's recorded yolo posture now resolves as standing merge authority ahead of the away-posture record, which is consulted only for a task without it.
…its refreshed poll snapshot
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
When a task's merge poll confirms its PR is green and mergeable AND the task's recorded yolo=on, merge it automatically through bin/fm-pr-merge.sh instead of only reporting the still-open PR and waiting for firstmate's next turn. Captain's word: approved 2026-09-16.
What Changed
bin/fm-pr-merge.shfrom the watcher when an open PR is green, mergeable, and recorded withyolo=on.FM_YOLO_MERGE_TIMEOUT, while preserving polling for refused, queued, failed, or rebound merges.Risk Assessment
✅ Low: The change is bounded to the authorized yolo merge-poll path, preserves guarded live verification and timeout handling, and I found no concrete reachable correctness, authorization, privacy, or simplification defect.
Testing
The focused executable was run against the local stub-forge watcher product. Six pre-yolo merge-poll checks completed, then the queued yolo watcher scenario hung until forcibly terminated; no source changes or transient worktree artifacts remain.
Evidence: fm-pr-check-security bounded run
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
tests/fm-pr-check-security.test.sh:2370- The focused end-to-end merge-poll executable still hangs at the queued yolo watcher scenario under a hard timeout. The requested yolo auto-merge, non-yolo/red refusal, queued authority retention, PR replacement, and stalled verification scenarios could not be driven to completion.python3subprocess hard-bounded run ofbash tests/fm-pr-check-security.test.sh(35–90 second timeout)✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.