Commit b0afa4d
committed
docs(runtime): cite the real test file in the share-link mirror docblock
The mirror's docblock told the next reader that the two spellings of
`isPublicSharingEnabled` are held equal by pins in
`share-links-probe-policy-gate.test.ts`. `git ls-tree -r` has zero entries
for that name anywhere in the repo — the pins are in
`share-links-enforcement-context.test.ts`, in this same directory.
This lands on the change's own thesis: a security property stated in a
comment is worth having only if the next reader can follow the comment to
the thing that holds it. A citation to a file that does not exist is the
same defect class the gate itself closes, one layer up.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AUF1NoViznQK32gqpK8wS81 parent 261cfb8 commit b0afa4d
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- packages/runtime/src/domains
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments