Repository navigation
build: require jq for repository settings tests - #132
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.
Summary
The repository-settings mutation-boundary suite depends on
jq, but therepository toolchain previously pinned only Node and the four behavioral tests
were conditionally skipped when
jqwas absent. That let the reproducibleverify gate pass without exercising the dry-run/apply boundary.
This change:
jq = "1"tomise.tomland locks jq 1.8.2 with checksums and GitHubattestation provenance for all seven supported platforms;
jqavailability probe and every conditional skip fromtest/apply-repo-settings.test.mjs, so the real script failure becomes afailing test signal;
shared mise toolchain and to run
mise installbefore the gate.scripts/apply-repo-settings.shis unchanged.Risk tier
Risk tier: high —
test/**is the review-requiredquality-gatesprotected boundary in
policies/agent-governance.json. The change strengthensthat gate and does not alter the repository-settings mutation script or any
workflow.
Docs housekeeping
No new docs or significant decisions. The live
AGENTS.mdand contributorinstructions in
README.mdwere updated for toolchain consistency;conformance aliases were untouched and continue to resolve to the canonical
target.
Verification
mise install && npm ci && npm run verifygreen on the committed tree:The apply-repo-settings suite ran exactly 4 tests with 0 skipped:
deliberately jq-free
PATH: the three cases that invoke the real scriptfailed with
jq is required; the harness-only fourth case passed, and thetest signal exited 1 with 0 skipped.
git status --porcelainwas empty after the full verification run.node scripts/check-docs.mjsgreen (included innpm run verify; outputshown above).
.agents/skills/frostyard-docs-site/scaffold/wasnot touched.
.github/workflows/was touched.