Repository navigation
fix(dependabot-digest): count ruleset-required standards-check - #296
Merged
smartwatermelon-agent[bot] merged 1 commit intoNov 20, 2026
Merged
smartwatermelon-agent[bot] merged 1 commit into
smartwatermelon-agent[bot] merged 1 commit into
Conversation
The protection probe read only classic branch protection. Six
nightowlstudiollc repos require standards-check through a ruleset, so the
digest flagged them as "standards-check not required".
When classic protection does not require the check, the probe now also
reads rules/branches/{branch} (metadata: read). A required_status_checks
rule that lists the check makes the repo required. Ruleset rules without
it make an unprotected branch protected-no-standards. A failed or
malformed rules read is unreadable. The 403 for rulesets on a private
free-plan repo keeps the classic verdict, so exempt repos stay exempt.
test-run-digest.sh now unsets an exported gh function, as
test-standards.sh does; without it the stub was bypassed in a Claude
Code session and 10 assertions failed.
smartwatermelon-agent
Bot
requested a review
from twistedmelonman
as a code owner
November 20, 2026 19:25
smartwatermelon-agent
Bot
deleted the
claude/fix-digest-ruleset-protection-99a8dc3b
branch
November 20, 2026 19:29
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.
The digest's protection probe read only classic branch protection. Six nightowlstudiollc repos (amelia-boone, jordan-paddock-pitch, tnjcleaning, kebab-tax-netlify, night-owl-studio, stupid-github-app) require
standards-check / run-standards-checkthrough a repository ruleset, so the digest listed them as "standards-check not required".When classic protection does not require the check,
probe_protectionnow also readsrepos/{nwo}/rules/branches/{branch}. That endpoint needs only Metadata: read, which the digest Apps already have, and it returns active rules only (evaluate and disabled rulesets are left out, per the GitHub docs).required_status_checksrule that lists the check:required.unprotected. aomo stays flagged.unreadable.unreadable.Fixtures for amelia-boone and aomo are live captures from 2026-11-20. The twistedmelonman private-repo 403 is modeled on the smartwatermelon capture, because the gh wrapper has no App route for twistedmelonman.
test-run-digest.shalso gets theunset -f ghline thattest-standards.shalready has (dev-env#215). Without it, a Claude Code session's exported gh function bypassed the stub and 10 assertions failed on main.