Repository navigation
feat(skills-sync): sync frostyard-risk-paths to every consumer - #271
Merged
Merged
Conversation
A first risk-path list often misses privileged files: callers of a delete, files that enforce a token scope, gates of signing, sudo entry points in other packages, installers. Reviews then find them 1 at a time, and authors write why values with no rule B category or coverage tests that accept L3 or L4 globs. The skill gives the procedure: a marker scan by family, callers and gates of each hit, L1 or L2 globs with a rule B why, and a coverage test with a required-file list, a marker scan and a negative control. AGENTS.md and the shared-skills design list it.
…list Cross-review of 05cff41 found 2 blocking points in frostyard-risk-paths: - The coverage sample read e.level, so it rejected every version 1 entry, which has no level and counts as L1. The sample now accepts a version 1 list or a level of L1 or L2. - Step 6 said the PR that changes the list gets risk:high. A PR that adds the first list gets no label (no list on base, spec rule E); the author now adds risk:high and the level label by hand. The glob note also names the ** exception of rule A. AGENTS.md gains a rule for both points, with 2 correction records.
Adding a missing label through the API creates it; only the accountable owner creates labels. Keep a stricter level label that the PR has.
Add frostyard-risk-paths to the defaults in .github/skills-sync.json, so each repository in the sync gets the skill for its baseline row B6 list (ADR-0068, ADR-0071). Name the skill as a default skill in the references of docs/design/shared-skills.md.
Contributor
Author
|
Cross-review record
|
…isk-paths-default
Contributor
Author
|
Cross-review exemption: unchanged update after a merge of main #268 squash-merged into
|
bketelsen
approved these changes
Nov 16, 2026
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
Add
frostyard-risk-pathstodefaultsin.github/skills-sync.json. Every repository in the skills sync then gets the skill, so each owner can write or extend the.github/risk-paths.jsonlist that baseline row B6 requires (ADR-0068, ADR-0071).docs/design/shared-skills.mdnames it as a default skill in its references.Depended on #268, now merged. #268 added
.agents/skills/frostyard-risk-paths/and squash-merged intomainas37d1198on 2026-11-16. This PR now targetsmain;origin/mainwas merged into the branch (no force-push). Onmainbefore #268,test/managed-skills-go-free.test.mjsfailed withmanaged skill directory missing: .agents/skills/frostyard-risk-paths(checked in a scratch worktree with this file applied: 2 pass, 1 fail).Risk tier
High. The PR touches 1 risk path.
whyin.github/risk-paths.json.github/skills-sync.jsonWhy the change is safe:
defaults. It adds no repository torepos, so the set of repositories the sync writes to (and the token access it needs) does not change..agents/skills/frostyard-risk-paths/of each consumer, by its normal PR (ADR-0026); no consumer default branch gets a direct push.test/managed-skills-go-free.test.mjschecks every managed skill for Go files (25 skills, 140 files checked).scripts/sync-skills.shstops before any clone when a name has no directory under.agents/skills/, so a merge before feat(skills): add frostyard-risk-paths #268 could not push a broken tree; the test above fails first in CI.Checks
make ciat795d212and again at4f25daa(after the merge ofmain): 953 tests, 953 pass, 0 fail.