Repository navigation
Commit 17b49ba
authored
feat(skills-sync): sync frostyard-risk-paths to every consumer (#271)
* feat(skills): add frostyard-risk-paths
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.
* fix(skills): read version 1 risk-path entries as L1; cover the first 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.
* docs(skills): add only existing labels by hand on a first-list PR
Adding a missing label through the API creates it; only the accountable
owner creates labels. Keep a stricter level label that the PR has.
* feat(skills-sync): sync frostyard-risk-paths to every consumer
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.
---------
Co-authored-by: frostyard-machines <[email protected]>1 parent 9f7a969 commit 17b49ba
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
269 | 271 | | |
270 | 272 | | |
271 | 273 | | |
| |||
0 commit comments