Repository navigation
Commit 45cb78f
committed
fix(p037): tighten mining note carve-out from a prefix to exact paths
Independent review: MINING_NOTE_PREFIXES was a startswith() prefix, so it
silently admitted any future file sharing that spelling
(docs/notes/p037-real-world-mining-round-97.md, -please-ignore-this.md,
...) with no further governance decision -- looser than the "admits
exactly its own paths" the hostile check's name claimed. Every other note
carve-out on this branch (FORMAL_NOTE_PATH, ROCQ_CONSOLIDATION_NOTE_PATH,
VALUE_BENCHMARK_NOTE_PATH) is an exact governance entry; this one had
drifted to a prefix because this gate produces two notes instead of one.
MINING_NOTE_PATHS now lists both exact paths in governance instead.
MINING_EVIDENCE_PREFIXES is unchanged (a dedicated evidence directory,
matching the value-benchmark precedent, where a prefix is the
proportionate match). The hostile control gains a same-prefix-but-
unapproved probe (docs/notes/p037-real-world-mining-unapproved-future-
note.md) that a prefix would have silently admitted and exact paths
correctly still refuse.
Does not change the mining result: N=0, CAPABILITY_GAP_ONLY stands, #304
stays frozen. No re-mining, no analyzer reruns.
Verified: tests/test_p037_a2d_epoch.py green (18 a2d-specific checks);
ruff check . clean; mypy clean.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AN6xHbpovxrmZ4AMjS7WQA1 parent 7037c7f commit 45cb78f
1 file changed
Lines changed: 25 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
218 | 227 | | |
219 | 228 | | |
220 | 229 | | |
| |||
251 | 260 | | |
252 | 261 | | |
253 | 262 | | |
254 | | - | |
| 263 | + | |
255 | 264 | | |
256 | | - | |
| 265 | + | |
| 266 | + | |
257 | 267 | | |
258 | 268 | | |
259 | 269 | | |
| |||
586 | 596 | | |
587 | 597 | | |
588 | 598 | | |
589 | | - | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
590 | 608 | | |
591 | 609 | | |
592 | 610 | | |
| |||
0 commit comments