Repository navigation
fix: decouple ask-user decisions from yolo - #2764
Merged
Merged
Conversation
Yolo on/off was documented as also deciding no-mistakes ask-user findings, which hid firstmate's duty to judge unambiguous-toward-design findings itself. Keep every safety boundary; this is a contract clarification, not a relaxation.
Confidence Score: 5/5The PR appears safe to merge because the clarified authority policy is consistently reflected across instructions, generated text, documentation, and tests without weakening the retained escalation boundaries. No concrete changed-code failure remains; workers still route findings to firstmate, sensitive or genuinely ambiguous choices still escalate, and yolo remains limited to explicitly configured merge authority. Reviews (1): Last reviewed commit: "no-mistakes(document): Clarify yolo docu..." | Re-trigger Greptile |
Intent
Clarify Firstmate's policy so that yolo governs MERGE authority ONLY, and decouple no-mistakes ask-user finding decisions from yolo entirely. This is a contract CLARIFICATION to the shared instruction surface (AGENTS.md + the ask-user-authority skill), NOT a behavior expansion and NOT a weakening of any safety boundary. Firstmate SHARED, TRACKED instruction-surface material: obey firstmate-coding-guidelines (one-owner rule, size discipline, inline-stub pattern, repo style).
Captain's stated intent: "yolo on vs off is about merging changes, not about every no-mistakes finding. For no-mistakes findings, firstmate should always apply judgment and make the decisions that don't have ambiguity toward the intended design. The ask-user-authority skill owns the policy for no-mistakes findings."
Intended end-state:
Acceptance: yolo is documented as merge-authority-only in AGENTS.md and everywhere it is described. Ask-user finding decision authority is fully decoupled from yolo and owned by ask-user-authority. No remaining doc/skill text couples yolo to ask-user findings except the skill stating findings are not governed by yolo. No behavior boundary weakened; this is a clarification. The PR body explains the decoupling, lists EVERY edited location, and notes that homes pick this instruction-surface change up after merge plus a self-update, with landing timing coordinated with the main firstmate. Any behavioral tests or doc-audience checks that asserted the old yolo-coupled wording are updated to the new contract without weakening what they verify. Run bin/fm-doc-audience-check.sh and bin/fm-lint.sh.
Delivery constraints: one PR; do not merge; escalate any ask-user finding; do not use --yes. The captain owns this merge.
What Changed
yolocontrols merge authority only, whileask-user-authorityindependently owns all no-mistakes finding decisions and preserves captain escalation for genuinely ambiguous or sensitive choices..agents/skills/afk/SKILL.md,.agents/skills/ask-user-authority/SKILL.md,.agents/skills/project-management/SKILL.md,AGENTS.md,CONTRIBUTING.md,README.md,bin/fm-afk-return.sh,bin/fm-brief.sh,bin/fm-project-mode.sh,bin/fm-promote.sh,bin/fm-spawn.sh,docs/architecture.md,tests/fm-ask-user-authority.test.sh,tests/fm-brief.test.sh,tests/fm-spawn-batch.test.sh, andtests/fm-task-delivery.test.sh.Risk Assessment
✅ Low: The change is a well-bounded instruction-contract clarification that consistently makes yolo merge-only while preserving worker routing and safety escalations.
Testing
Focused delivery, brief-generation, ask-user-authority, batch-spawn, AFK-return, and documentation-audience checks passed; manual contract inspection and a generated worker-facing artifact demonstrate that yolo controls only merge authority while findings route through ask-user-authority. No visual artifact was applicable because this changes instruction and CLI text surfaces, not UI. Per test-phase rules,
bin/fm-lint.shwas not rerun here and remains owned by the outer lint phase.Evidence: Generated worker and authoritative policy contract evidence
Source: Generated worker and authoritative policy contract evidence
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
bin/fm-test-run.sh tests/fm-ask-user-authority.test.shbin/fm-test-run.sh tests/fm-brief.test.shbin/fm-test-run.sh tests/fm-task-delivery.test.shbin/fm-test-run.sh tests/fm-spawn-batch.test.shbin/fm-test-run.sh tests/fm-afk-return.test.shbin/fm-doc-audience-check.shGenerated a no-mistakes worker brief withbin/fm-brief.shand captured its routed ask-user decision contract alongside the merge-only yolo and single-owner authority surfaces.Inspected all non-test yolo/ask-user references to confirm no residual coupling outside the explicit decoupling statements inask-user-authority.Verifiedgit status --shortremained clean after testing.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.