Repository navigation
Commit 0d80862
`check:vendor-version-stamps` did not read `content/docs`, and adding the root
alone was measured to be insufficient rather than merely weak: the one site that
matters, a customer-facing attestation in `permissions/authentication.mdx`,
still landed UNATTRIBUTED because the package name sits ~90 characters back
across a wrapped prose line, past the character window attribution used.
Attribution is now two rules, neither of them a width: a name reaches to the end
of its SENTENCE (a blank line, a bullet, a heading, a JSX tag, a `.` or a `;`
outside a parenthetical), and the NEAREST CLAIMANT wins — every package in the
tree may claim, with the vocabulary read from `pnpm-lock.yaml`. Widening the old
window instead was swept and rejected with numbers: at gap 120 it attributes 23
more sites and binds `better-call@1.3.7`, `@better-auth/utils@0.4.2`,
`minimatch 10.2.3` and an internal `'0.0.0-polyfill'` sentinel to a watched
family member none of them is about, and at 200 it reds a permanently true
historical sentence. `--attribution-sweep` prints both mechanisms side by side.
Attribution alone did not separate the docs population's two buckets, so the
classifier gains one shape: an UNANCHORED MEASUREMENT — "measured on 1.7.1"
resting a standing claim on a reading taken against a version that no longer
installs, with nothing saying when. The rule is POSITIONAL, because a
sentence-wide substring test reds "Measured on the configuration the range
*does* govern (…), 1.7.1 behaves identically" — where the verb governs a
configuration, not the version.
The gate found six stamps the old attribution could not see. All six are
repaired the way the gate itself teaches — the sentence is scoped or anchored,
never restamped, so no measurement is manufactured.
Claude-Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3b2a3f6 commit 0d80862
7 files changed
Lines changed: 724 additions & 63 deletions
File tree
- content/docs/permissions
- packages
- cli/test
- plugins/plugin-auth/src
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
850 | 850 | | |
851 | 851 | | |
852 | 852 | | |
853 | | - | |
854 | | - | |
855 | | - | |
856 | | - | |
857 | | - | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
858 | 859 | | |
859 | 860 | | |
860 | 861 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2101 | 2101 | | |
2102 | 2102 | | |
2103 | 2103 | | |
2104 | | - | |
2105 | | - | |
2106 | | - | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
2107 | 2108 | | |
2108 | 2109 | | |
2109 | 2110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2556 | 2556 | | |
2557 | 2557 | | |
2558 | 2558 | | |
2559 | | - | |
| 2559 | + | |
2560 | 2560 | | |
2561 | 2561 | | |
2562 | 2562 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments