fix(bootstrap): lower no-mistakes version floor from 1.31.2 to 0.40.0 - #2925
Open
desnor wants to merge 6 commits into
Open
fix(bootstrap): lower no-mistakes version floor from 1.31.2 to 0.40.0#2925desnor wants to merge 6 commits into
desnor wants to merge 6 commits into
Conversation
no-mistakes was re-versioned from 1.x to 0.x scheme. The installed version 0.40.0 is fully functional but the bootstrap floor constant prevented it from being recognized, causing bootstrap to report MISSING: no-mistakes. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Update documentation and diagnostic skill to reflect the new version floor for no-mistakes after its re-versioning from 1.x to 0.x scheme. - CONTRIBUTING.md: update minimum version requirement - bootstrap-diagnostics SKILL.md: update version reference in diagnostic handling Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Update the comment documenting the no-mistakes version floor from 1.31.2 to 0.40.0. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains. Reviews (3): Last reviewed commit: "docs: add policy comment for NO_MISTAKES..." | Re-trigger Greptile |
Update all version-specific references and test fixtures to reflect the new no-mistakes version floor of 0.40.0: - docs/configuration.md: update toolchain documentation - tests/fm-bootstrap.test.sh: update test fixtures to use correct boundary versions (0.40.0 for accepted, 0.39.9 for rejected below floor, 0.41.0 for minor version bump test) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Update fake no-mistakes binary output in all test files to use the new version floor 0.40.0 instead of 1.31.2 for consistency across the entire test suite. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
…OR POLICY The NO_MISTAKES_MIN constant was lowered from 1.31.2 to 0.40.0 in an earlier commit but was left without an explanatory comment, unlike the co-located AXI-FAMILY FLOOR POLICY block that explains why axi floors move differently. Add the parallel comment that documents what NO_MISTAKES_MIN represents and why it is not bumped on every captain update, removing the inconsistency. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
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
Lower the no-mistakes version floor constant NO_MISTAKES_MIN from 1.31.2 to 0.40.0 in bin/fm-bootstrap.sh, and update all version references throughout the codebase including comments, documentation, bootstrap-diagnostics SKILL.md, and all test files from 1.31.2 to 0.40.0 so bootstrap no longer reports the installed no-mistakes 0.40.0 binary as MISSING.
What Changed
NO_MISTAKES_MINconstant inbin/fm-bootstrap.shfrom1.31.2to0.40.0so bootstrap correctly recognises installed no-mistakes0.40.0binaries as present rather than reporting them as MISSING.CONTRIBUTING.md,docs/configuration.md, andbootstrap-diagnostics/SKILL.md) from1.31.2to0.40.0.0.40.0to match the new floor.Risk Assessment
✅ Low: All version references from 1.31.2 to 0.40.0 are consistently updated across source, docs, and tests; the integer-based comparison function handles the new 0.x floor correctly; and all four round-1 findings have been properly resolved.
Testing
Ran
test_no_mistakes_min_versionin isolation (5 cases: v0.40.0 exact floor → silent, v0.41.0 → silent, v1.0.0 → silent, v0.39.9 below floor → MISSING message, unparseable → MISSING message). All cases passed. No1.31.2references remain anywhere in the codebase. A pre-existingtest_routine_bootstrap_confirmations_are_silentfailure due to GPG signing not being available in the gate worktree environment is unrelated to this change.Evidence: test_no_mistakes_min_version output
Source: test_no_mistakes_min_version output
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.
bash tests/fm-bootstrap.test.sh(targeted via awk-extracted runner calling onlytest_no_mistakes_min_version)Manual grep confirming zero remaining1.31.2references across all 11 changed files⏭️ **Document** - skipped
Step was skipped.
✅ **Push** - passed
✅ No issues found.