Skip to content

fix: put scripts/apply-triage-settings.sh back in the risk-path list at L1 - #224

Merged
bketelsen merged 2 commits into
mainfrom
lucilla/levels-apply-triage-l1
Nov 9, 2026
Merged

bketelsen merged 2 commits into
mainfrom
lucilla/levels-apply-triage-l1

Conversation

@frostyard-machines

@frostyard-machines frostyard-machines commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The squash merge of #223 (levels L1 to L4, ADR-0078) rewrote .github/risk-paths.json to schema version 2 and dropped the entry for scripts/apply-triage-settings.sh that #221 added (git show bc38abd -- .github/risk-paths.json). The script applies the required-checks ruleset and the level labels (ADR-0076), so on main it fell to the default level L3 and a change to it would get no risk:high.

  • .github/risk-paths.json: the entry comes back at L1 (rulesets and settings, grading rule H of the risk-paths spec), with the why text of feat: require status checks on every default branch (ADR-0076) #221.
  • Guard: test/risk-paths.test.mjs "core's list puts each administrative script (rulesets, settings, cross-repository writes) at L1" names apply-repo-settings.sh, apply-triage-settings.sh, rollout-merge-queue.sh and sync-skills.sh, and requires L1 from their own glob. Without the entry it fails: scripts/apply-triage-settings.sh is L3 (default).
  • .memory/corrections.jsonl: 1 line (two PRs that rewrite the list can merge without a conflict and still drop an entry).

Risk tier

Risk tier: 3 — highest. The PR touches .github/risk-paths.json (L2 by the org floor and its own entry): it adds 1 entry at L1 and changes no other entry, so no path gets a looser level. The test and the corrections line are not risk paths.

Verification

  • npm run verify: risk-paths "15 entries, workflow in sync", 639 tests, 0 failures
  • Revert test: with .github/risk-paths.json from main and the new test, node --test --test-name-pattern="each script that applies" test/risk-paths.test.mjs fails with scripts/apply-triage-settings.sh is L3 (default)

…at L1

The squash merge of #223 rewrote .github/risk-paths.json to schema
version 2 and dropped the entry that #221 added, so the script that
applies the required-checks ruleset and the level labels fell to the
default L3. The entry comes back at L1 (rulesets and settings, risk-paths
spec rule H). A test now names each settings script at L1, and a
corrections line records the lesson.
@github-actions github-actions Bot added the risk:high Touches a path in .github/risk-paths.json label Nov 9, 2026
@frostyard-machines

Copy link
Copy Markdown
Contributor Author

Cross-review: Ready, blocking: none.

  • Reviewer: openai/gpt-6.1-sol (read-only). Coder: claude-opus-5.5.
  • Initial review: base bc38abd92a0d94c5d4690c00080f64bdd4d6941b, head 0225006cbbe6210834f0ab836bdcc48c5a7a563b, all 3 files: Ready, 1 low finding (the test name claimed every label-writing script; the PR-label libraries have their own L2 entries). Accepted: the test is renamed for the administrative scripts, with a comment.
  • Re-review 1: 0225006 to head e3489b269a1c2b9a7ebb0ee655d2a411bd1a58d4: Ready, no findings.
  • Revert test: with .github/risk-paths.json from main, the new test fails with scripts/apply-triage-settings.sh is L3 (default).
  • risk:high: the author owns this repository; the PR body names the matched path and why the change is safe.

@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 9, 2026
@bketelsen
bketelsen merged commit 1c62146 into main Nov 9, 2026
6 checks passed
@bketelsen
bketelsen deleted the lucilla/levels-apply-triage-l1 branch November 9, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Reviewed, CI green: ready for Brian to review and merge risk:high Touches a path in .github/risk-paths.json

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants