Commit f48be89
fix(pm): the line ratchet declares its repo-root population, so an AGENTS.md card derives it (#9978)
`extractWatchHints` requires a path separator, so the ratchet's eighteen
CEILINGS keys yielded seventeen hints: the repo-root `AGENTS.md` has none.
`node scripts/pm/dispatch-gates.mjs AGENTS.md` therefore derived ZERO gates,
and a dev dispatched on the largest ceiling in that map (958 lines, headroom 0)
first met `check:pm-skill-ratchet` as red CI. lint.yml has no path filter, so
CI always enforced — what was missing was discoverability.
The gate now declares its root-file population as `AGENTS.md/**`, the one form
the extractor already accepts for a repo-root file: `collapseHint` reduces it
back to `AGENTS.md` and it matches that path alone. Provenance only — it stays
out of CEILINGS, which is the map `run` opens files through.
Measured over 114 families x 6326 tracked files, reusing the methodology of the
original genericity refusal (the control reproduces it: 26060 -> 175192 pairs,
one packages/spec card 8 -> 37 families). This declaration: 26060 -> 26061
pairs, one family gaining coverage, one file. The extractor-widening
alternative was measured and REFUSED: 26060 -> 26077 is cheap by volume but 8
of its 17 new pairs are fabricated, because gates spell README.md and
CHANGELOG.md as basenames they join with a package directory — a README.md card
would gain six leads of which five name a gate that never reads it.
Self-tests: dispatch-gates 310 -> 314, line ratchet 15 -> 19.
Claude-Session: https://claude.ai/code/session_01AeA3nU1B5Q2pgxqxgUrexd
Co-authored-by: Claude <noreply@anthropic.com>1 parent 97ab2a2 commit f48be89
2 files changed
Lines changed: 92 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
117 | 161 | | |
118 | 162 | | |
119 | 163 | | |
| |||
175 | 219 | | |
176 | 220 | | |
177 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
178 | 233 | | |
179 | 234 | | |
180 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
736 | 736 | | |
737 | 737 | | |
738 | 738 | | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
739 | 755 | | |
740 | 756 | | |
741 | 757 | | |
| |||
2643 | 2659 | | |
2644 | 2660 | | |
2645 | 2661 | | |
| 2662 | + | |
| 2663 | + | |
| 2664 | + | |
| 2665 | + | |
| 2666 | + | |
| 2667 | + | |
| 2668 | + | |
| 2669 | + | |
| 2670 | + | |
| 2671 | + | |
| 2672 | + | |
| 2673 | + | |
| 2674 | + | |
| 2675 | + | |
| 2676 | + | |
| 2677 | + | |
| 2678 | + | |
| 2679 | + | |
| 2680 | + | |
| 2681 | + | |
| 2682 | + | |
2646 | 2683 | | |
2647 | 2684 | | |
2648 | 2685 | | |
| |||
0 commit comments