Repository navigation
Commit 209dac9
committed
fix(p037): carve out the Rocq consolidation from the a2d treatment-path gate
CI run 36400084949 (job "tests (py3.13)", 108855609862) is red on this
head: FAIL[only-treatment-paths-tests-record-and-adjudicated-docs-move]
naming the 17 files under formal/p037-rocq/ plus
docs/notes/p037-rocq-consolidation.md. Not a formal/semantic problem --
the same job's "formal kernel" leg is green, and this test runs no
theorem prover; it asks git which paths moved between T_D and HEAD and
checks them against a closed allowlist. Neither the consolidated Rocq
package nor its research note existed before this branch cherry-picked
them (e4c73f4/06e3d78 from claude/p037-rocq-consolidation), so nothing
caught the gap locally -- the same false-green mechanism this file's own
comments already document for b234599 and ca84cb1 (a dirty working tree
hides a path from `git diff T_D HEAD` that a clean CI checkout sees).
Adds two narrowly-scoped, explicitly named entries -- not a `formal/` or
`docs/` prefix -- mirroring the existing formal/p037-kernel/ precedent:
ROCQ_CONSOLIDATION_PREFIXES = ("formal/p037-rocq/",) and
ROCQ_CONSOLIDATION_NOTE_PATH, spliced into the same allowed_prefixes/
governance tuples the check already used. docs/notes/p037-formal-kernel.md
needed no new entry: it is already FORMAL_NOTE_PATH and was never in the
FAIL list.
Factors the check's own logic into classify_outside_paths() so hostile
controls can probe it on synthetic input: the carve-out admits exactly
its own two paths; frontend/roslyn/OwnSharp.Extractor/Program.cs,
rust/crates/own-bridge/src/lower.rs, ownlang/ outside its one named door
file, and an arbitrary unrelated doc all still fail the same check.
formal/p037-kernel/ is deliberately NOT re-asserted as forbidden -- it is
already an allowed PHASE_B_PREFIXES entry, predating and untouched by
this change; asserting it forbidden would assert a regression against
Phase B's own already-accepted policy, not a property of this fix. A
fourth hostile check instead pins that it stays exactly as allowed as it
already was.
Verified: tests/test_p037_a2d_epoch.py green (including the 3 new hostile
checks); ruff check . clean; mypy clean; zero diff under rust/, frontend/,
ownlang/, formal/p037-kernel/ against 06e3d78.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AN6xHbpovxrmZ4AMjS7WQA1 parent 06e3d78 commit 209dac9
1 file changed
Lines changed: 76 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
167 | 191 | | |
168 | 192 | | |
169 | 193 | | |
| |||
189 | 213 | | |
190 | 214 | | |
191 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
192 | 234 | | |
193 | 235 | | |
194 | 236 | | |
| |||
422 | 464 | | |
423 | 465 | | |
424 | 466 | | |
425 | | - | |
426 | | - | |
427 | 467 | | |
428 | 468 | | |
429 | 469 | | |
| |||
455 | 495 | | |
456 | 496 | | |
457 | 497 | | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
| 498 | + | |
463 | 499 | | |
464 | 500 | | |
465 | 501 | | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
466 | 535 | | |
467 | 536 | | |
468 | 537 | | |
| |||
0 commit comments