Skip to content

Commit 17b49ba

Browse files
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

File tree

‎.github/skills-sync.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"defaults": ["frostyard-repo-docs", "frostyard-acmm-conformance", "frostyard-readme"],
2+
"defaults": ["frostyard-repo-docs", "frostyard-acmm-conformance", "frostyard-readme", "frostyard-risk-paths"],
33
"groups": {
44
"go": [
55
"frostyard-go-repo",

‎docs/design/shared-skills.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,9 @@ run creates another one.
265265
[ADR-0071](../adr/0071-hold-every-code-repository-to-one-baseline.md)
266266
(the Fleet toolchain table in `frostyard-go-repo`, carried by `@go`);
267267
[ADR-0072](../adr/0072-write-every-readme-to-one-standard.md)
268-
(the `frostyard-readme` skill, a default skill)
268+
(the `frostyard-readme` skill, a default skill);
269+
[ADR-0068](../adr/0068-label-pull-requests-that-touch-high-risk-paths.md)
270+
(the `frostyard-risk-paths` skill, a default skill)
269271
- Contracts: [README spec](../specs/readme.md) (the
270272
`frostyard-readme` checker and templates)
271273
- Operations: [Skills sync operations](skills-sync-operations.md)

0 commit comments

Comments
 (0)