Repository navigation
fix: enforce chrome-devtools-axi version floor - #8
Merged
Merged
Conversation
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
Add a minimum-version floor for chrome-devtools-axi to bin/fm-bootstrap.sh, following the existing gh-axi and lavish-axi floor pattern exactly. Use the repository's AXI-family floor policy, which requires the current latest published release, while ensuring the floor is at least 0.1.31, the first release that supplies the required pageId for page-scoped Chrome DevTools MCP tools. A too-old installed chrome-devtools-axi must emit the same plain MISSING upgrade-request diagnostic shape as the other floored AXI tools, while an installation at or above the floor stays silent. Confirm compatibility with chrome-devtools-axi's real bare --version output. Add public-interface behavioral tests for below-floor and at-or-above-floor cases, update maintained cross-references that enumerate floored AXI tools so ownership remains clear, preserve all other behavior, and require the existing bootstrap tests plus bin/fm-lint.sh to pass.
What Changed
chrome-devtools-axi0.1.34 or newer during bootstrap, emitting the standardMISSINGupgrade diagnostic for older or unparseable installed versions.Risk Assessment
✅ Low: The change is narrowly scoped, applies the existing shared semver floor at the current published 0.1.34 release, accepts the real bare version output, preserves diagnostic behavior, and updates affected fixtures and ownership references.
Testing
No baseline commands were supplied; the focused bootstrap suite passed before and after the test-only improvement, and manual CLI evidence confirms the current published 0.1.34 floor, compatibility with real bare
--versionoutput, the exact below-floor MISSING diagnostic, and silence at or above the floor. Per the assigned phase boundary,bin/fm-lint.shwas not run and remains owned by the outer lint phase.Evidence: chrome-devtools-axi bootstrap behavior transcript
Published package version: 0.1.34 Real bare --version output: 0.1.34 Installed chrome-devtools-axi 0.1.33 -> MISSING: chrome-devtools-axi (install: npm install -g chrome-devtools-axi && chrome-devtools-axi setup hooks) Installed chrome-devtools-axi 0.1.34 -> <silent> Installed chrome-devtools-axi 0.2.0 -> <silent>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.
tests/fm-bootstrap.test.shbefore the test-coverage improvementtests/fm-bootstrap.test.shafter adding the symmetrical version matrixnpm view chrome-devtools-axi versionreturned0.1.34Realchrome-devtools-axi --versionreturned bare output0.1.34Manual public-interface runs ofbin/fm-bootstrap.shwith chrome-devtools-axi0.1.33,0.1.34, and0.2.0, recorded in the evidence transcript✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.