Skip to content

fix: weigh likelihood when deciding ask-user findings - #332

Open
dnth wants to merge 1 commit into
mainfrom
fm/fm-likelihood-rule
Open

dnth wants to merge 1 commit into
mainfrom
fm/fm-likelihood-rule

Conversation

@dnth

@dnth dnth commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Summary

 3. Decide the finding when it is unambiguous toward the accepted design: ...
+   Weigh likelihood: a finding whose only path needs two or more independent infrastructure failures at once,
+   or an exact-timing race with no user- or operator-visible path, is decided as ignore with a follow-up issue
+   rather than a fix round, unless it risks data loss, security exposure, or wrong results on a normal path.

Why: on recent PRs, 16 of 22 re-review findings came from the previous fix round, many of them crash windows needing two rare infrastructure failures at once or exact-timing races with no user-visible path.

  • Firstmate: decides such ask-user findings as ignore plus a follow-up issue instead of a fix round. Data loss, security exposure and wrong results on a normal path still get fixed.
  • Reviewers: no change in this repo. The reviewer-side likelihood guidance lives in the machine-level no-mistakes config (~/.no-mistakes/config.yaml), not in this PR.
  • no-mistakes itself is not modified. Round-cap and per-theme rules are untouched.

Evidence

  • Before: ask-user-authority had no likelihood rule.
    After: git diff origin/main --stat shows one file, .agents/skills/ask-user-authority/SKILL.md, 1 insertion. .no-mistakes.yaml and bin/fm-bootstrap.sh are unchanged.
  • Live validation is inconclusive (0 of 3 scenarios driven live). It does not apply to a one-sentence prose decision rule with no runnable surface; review passed clean.
  • CI: 19 of 20 checks pass. "Behavior tests (Herdr)" failed once on git index locks in worktree return (base passes, no code changed) and passed on rerun. "Stock macOS Bash snapshot compatibility" was cancelled twice with no runner assigned and no steps run; cause unknown. It never produced a verdict.

Merge Danger

Door: two-way

Blast Radius: firstmate's gate-answer policy only

Pipeline

Updates from git push no-mistakes

✅ **Intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

✅ **Review** - passed

✅ No issues found.

⚠️ **Test** - 2 warnings
  • ⚠️ .agents/skills/ask-user-authority/SKILL.md:31 - The brief-generation regression leaves the new decision behavior unverified. If live evidence is required before proceeding, provide a disposable authenticated Firstmate session for development evaluation with synthetic findings. Verifying actual issue filing also requires an isolated issue tracker and authorization to drive a separate gate.
  • ⚠️ live validation verdict: inconclusive (0 of 3 scenarios were driven live against the product); untested: Firstmate ignores a synthetic finding that requires two independent infrastructure failures at once and routes it to a follow-up issue, Firstmate routes an invisible exact-timing race to a follow-up and keeps visible races and single shared outages in ordinary review, Firstmate keeps rare findings involving data loss, security exposure, or wrong results on a normal path in ordinary review
  • Live validation: ⚠️ inconclusive - 0 of 3 scenarios driven live against the product
Scenario Result Live Evidence
Firstmate ignores a synthetic finding that requires two independent infrastructure failures at once and routes it to a follow-up issue ⏸️ untested no The isolated Codex home had no model credential, and no local model launcher was available on PATH. A disposable authenticated Firstmate session can exercise the decision. Actual issue filing also req…
Firstmate routes an invisible exact-timing race to a follow-up and keeps visible races and single shared outages in ordinary review ⏸️ untested no The isolated Codex home had no model credential, and no local model launcher was available on PATH. A disposable authenticated Firstmate session can exercise these decisions with synthetic findings.
Firstmate keeps rare findings involving data loss, security exposure, or wrong results on a normal path in ordinary review ⏸️ untested no The isolated Codex home had no model credential, and no local model launcher was available on PATH. A disposable authenticated Firstmate session can exercise the three exceptions with synthetic findin…
  • git diff --numstat 043269ae54a585ce654caf410cb8293fb1c444db 778c48a3287afc36b4cc4129a5ea8321b178d95c and manual review of the one-line policy diff
  • git diff --exit-code 043269ae54a585ce654caf410cb8293fb1c444db 778c48a3287afc36b4cc4129a5ea8321b178d95c -- .no-mistakes.yaml bin/fm-bootstrap.sh
  • bash tests/fm-ask-user-authority.test.sh with a disposable home and temp directory
  • codex login status with a disposable Codex home, plus checks for test model credential variables and local model launchers
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

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