Repository navigation
Description
Problem
The first .github/risk-paths.json of a repository often misses privileged files. Cross-review then finds them 1 at a time: callers of a delete, files that enforce a token scope, signing gates, sudo entry points, installers. Authors also write why values with no category from the spec, and v2 coverage tests that accept L3 or L4 globs.
Evidence
27 correction records in 17 repositories, 2026-11-04 to 2026-11-11 (paths under .memory/corrections/ on main).
Coverage gaps (privileged files left out of the first list):
- https://github.com/frostyard/updex/blob/main/.memory/corrections/2026-11-04-legacy-0001.json (config parsing sets
Verify=) - https://github.com/frostyard/repogen/blob/main/.memory/corrections/2026-11-06-legacy-0015.json (signature generators)
- https://github.com/frostyard/frostread/blob/main/.memory/corrections/2026-11-06-legacy-0011.json,
-0012,-0014(token write scope, delete decisions, Flatpak sources) - https://github.com/frostyard/frostnotes/blob/main/.memory/corrections/2026-11-06-legacy-0004.json,
-0005(write admission, root provisioning script) - https://github.com/frostyard/frostmail/blob/main/.memory/corrections/2026-11-05-legacy-0009.json,
2026-11-10-legacy-0038.json(uninstaller, sign-in and secret entry) - https://github.com/frostyard/intuneme/blob/main/.memory/corrections/2026-11-06-legacy-0004.json,
-0007(sudo callers in other packages) - https://github.com/frostyard/nsl/blob/main/.memory/corrections/2026-11-06-legacy-0003.json (gates of image signing)
- https://github.com/frostyard/firn/blob/main/.memory/corrections/2026-11-06-legacy-0001.json (privileged helpers)
- https://github.com/frostyard/lodge/blob/main/.memory/corrections/2026-11-06-legacy-0002.json (peer admission, secret file modes)
- https://github.com/bketelsen/truenas-mcp/blob/main/.memory/corrections/2026-11-05-legacy-0001.json (destructive tools)
- https://github.com/bketelsen/fleet/blob/main/.memory/corrections/2026-11-06-legacy-0010.json (roles that run with sudo)
A why with no category from spec section B:
- https://github.com/frostyard/frostyard-org/blob/main/.memory/corrections/2026-11-05-legacy-0016.json
- https://github.com/frostyard/omarchy-apps/blob/main/.memory/corrections/2026-11-06-legacy-0002.json
- https://github.com/frostyard/testsuite/blob/main/.memory/corrections/2026-11-06-legacy-0002.json
- https://github.com/frostyard/intuneme/blob/main/.memory/corrections/2026-11-06-legacy-0005.json
- https://github.com/frostyard/frostnotes/blob/main/.memory/corrections/2026-11-06-legacy-0006.json
A v2 coverage test that accepts an L3 or L4 glob for a privileged file:
- https://github.com/frostyard/nsl/blob/main/.memory/corrections/2026-11-09-legacy-0011.json
- https://github.com/frostyard/igloo/blob/main/.memory/corrections/2026-11-09-legacy-0005.json
- https://github.com/frostyard/intuneme/blob/main/.memory/corrections/2026-11-09-legacy-0009.json
Proposed skill
- Name:
frostyard-risk-paths - description: Write or extend a repository's
.github/risk-paths.jsonso that every privileged file matches an L1 or L2 glob. Use when a repository gets its first risk-path list (baseline row B6), when a PR adds a privileged code path, or when a review finds a file missing from the list. - Steps (outline):
- Find the privileged files with a grep list of markers: delete and remove calls,
chmodand file modes,sudoand root scripts, signing and signature checks, token and scope checks, installers and uninstallers, secret entry, migrations, downloaded toolchains. - Follow each marker to its callers and gates, not only the file that implements it (a caller of an install function in another package; a script that decides whether signing runs).
- Give each glob a level (L1 or L2 for privileged code) and a
whythat starts with 1 category of spec section B. - Add or extend the coverage test: each found file must match an L1 or L2 glob, with a negative control (a fixture file outside the list makes the test fail).
- Run
make verifyand list each matched path and why it is safe in the PR body, asrisk:highneeds.
- Find the privileged files with a grep list of markers: delete and remove calls,
- Repositories: every code repository with baseline row B6 (all synced repositories).
Cost of not doing it
Each new or changed list costs about 1 cross-review round (30 to 60 minutes) to find files one by one. A privileged change in a missed file merges without risk:high, so it skips the human read it needs.
Related: ADR-0068, ADR-0078, risk-paths spec.
Activity