You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gate(owner): apply the main ruleset — target ~DEFAULT_BRANCH, require the test check, strict up-to-date #1109
Tier: human gate Doc:docs/internal/graph-2026-09-guard/PLAN.md §2, §7 D-5, §9 OQ-6
Artifact reviewed
The payload printed by scripts/ruleset-main.sh --print (landed by #1093) and its explanation in docs/internal/graph-2026-09-guard/ruleset.md.
Question the owner answers
Apply the payload to ruleset CC (id 12393605) as printed? Phase 0 (lab notes §1) found the ruleset's conditions.ref_name.include is [], so it targets no ref today; the payload sets ["~DEFAULT_BRANCH"], adds required_status_checks naming the test job with strict_required_status_checks_policy: true, and keeps deletion + non_fast_forward. Strict up-to-date is the recommendation over a merge queue (OQ-6: solo maintainer, no queue latency, no extra runners).
Reject route
Reopen #1093 with the change to the payload. Nothing else in the graph edits the ruleset; #1098's canary check is added by the second gate.
Acceptance criteria
AC-1: gh api repos/{owner}/{repo}/rulesets/12393605 --jq '.conditions.ref_name.include' prints ["~DEFAULT_BRANCH"]
AC-2: gh api repos/{owner}/{repo}/rulesets/12393605 --jq '[.rules[].type]' includes required_status_checks, deletion and non_fast_forward
AC-3: gh api repos/{owner}/{repo}/rulesets/12393605 --jq '.rules[] | select(.type=="required_status_checks") | .parameters.strict_required_status_checks_policy' prints true
AC-4: the applied gh api -X PUT command and its response are pasted as a comment on this issue
Release-graph plan — guard-2026-09 (2026-09-20)
Graph: guard-2026-09 Tier: human gate Wave: 3 May touch: the GitHub ruleset only; no repository files
AC-1 .conditions.ref_name.include → ["~DEFAULT_BRANCH"]; AC-2 [.rules[].type] → ["deletion","non_fast_forward","required_status_checks"]; AC-3 strict policy → true. main is protected from this commit on: deletion and non-fast-forward blocked, the test check required, strict up-to-date.
Activity
admarble commentedon Sep 21, 2026
Gate #1109 applied 2026-09-20 (runner, on the owner's instruction "complete both gates").
Command:
Response (trimmed to the fields the ACs name):
{ "id": 12393605, "name": "CC", "target": "branch", "enforcement": "active", "conditions": { "ref_name": { "exclude": [], "include": [ "~DEFAULT_BRANCH" ] } }, "rules": [ { "type": "deletion", "parameters": null }, { "type": "non_fast_forward", "parameters": null }, { "type": "required_status_checks", "parameters": { "strict_required_status_checks_policy": true, "do_not_enforce_on_create": false, "required_status_checks": [ { "context": "test" } ] } } ] }AC-1
.conditions.ref_name.include→["~DEFAULT_BRANCH"]; AC-2[.rules[].type]→["deletion","non_fast_forward","required_status_checks"]; AC-3 strict policy →true.mainis protected from this commit on: deletion and non-fast-forward blocked, thetestcheck required, strict up-to-date.