Repository navigation
Commit 51e9124
[red] pin V4 fixed SLOs, source-era routing, NVS reopening
Witnessed RED for the ADR-0037/ADR-0038 replacement contract and the
amended C3 post-OI NVS receipt.
Audited and completed the predecessor's unwitnessed draft:
- test_oi1_profile_bench.py: keep the V3/V4 registries, fixed
3000/7000 ms and 6600 B/s SLOs, the 9,929,696,969/9,929,696,970 ns
goodput boundary pair, the a8be631 baseline immutability pin, and the
v0.5.1 historical-derivation pin; fix the boundary test to assert the
derived fixed SLOs instead of overwriting them and to match the
*_min_* threshold failure keys; pin the active policy identity to
exactly 5,015 bytes, sha256 b9b19ddc.
- test_oi1_rp2_profile_bench.py: same two fixes for the exact Pico
7000/6600 boundary test.
- test_release_v060_contract.py: new V060ReplacementSourceEraContract
tests; release tooling must expose QUALIFICATION_DERIVATION_V4 and
the frozen 5620f2f boundary / 719b211 abandoned-candidate identities,
select the derivation from the bound source commit's git ancestry
(strict descendant => V4; boundary/ancestor => historical; unknown,
unrelated, or unprovable => fail closed), and keep the superseded
policy identity (4,986 bytes, sha256 09e208ab) auditable with the
active policy as its exact 11-numeric-field + derivation-id delta.
- test_target_runtime_contract.py: the committed C3 policy row must
carry the fixed 6600 B/s floors with byte-identical static/heap gates.
- test_v060_qualification_workflow.py + test_release_v060_private_gates.py:
amend the bypassable 5620f2f receipt RED to the raw-slice design; the
runner captures the raw NVS slice after the workload and before
teardown/threshold evaluation; the only passing slice is 24,576 bytes
all 0xff (sha256 1df8949b); writer, completion, and finalization
reopen and re-hash the exclusive mode-0600 receipt/slice/acquisition
log and reject copied summaries; a diagnostic capture never mints a
passing result.
Witnessed failing suites (all for missing-V4 / missing-receipt
behavior; collateral suites stay green):
test_oi1_profile_bench.py FAILED (failures=8)
test_oi1_rp2_profile_bench.py FAILED (failures=2)
test_release_v060_contract.py FAILED (failures=4)
test_v060_qualification_workflow.py FAILED (failures=5, errors=6)
test_release_v060_private_gates.py FAILED (failures=2, errors=4)
test_target_runtime_contract.py C3 policy pin FAILED (failures=1)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CAVghCmvKjF4BZFBUjAMwc
Signed-off-by: Viwat Vchirawongkwin <viwat.v@chula.ac.th>1 parent 482c57b commit 51e9124
6 files changed
Lines changed: 897 additions & 90 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
45 | 71 | | |
46 | 72 | | |
47 | 73 | | |
| |||
378 | 404 | | |
379 | 405 | | |
380 | 406 | | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
| 407 | + | |
388 | 408 | | |
389 | 409 | | |
390 | | - | |
| 410 | + | |
391 | 411 | | |
392 | 412 | | |
393 | 413 | | |
394 | 414 | | |
395 | 415 | | |
396 | 416 | | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | 417 | | |
402 | 418 | | |
403 | 419 | | |
| |||
428 | 444 | | |
429 | 445 | | |
430 | 446 | | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
431 | 494 | | |
432 | 495 | | |
433 | 496 | | |
| |||
443 | 506 | | |
444 | 507 | | |
445 | 508 | | |
446 | | - | |
| 509 | + | |
447 | 510 | | |
448 | 511 | | |
449 | 512 | | |
| |||
874 | 937 | | |
875 | 938 | | |
876 | 939 | | |
877 | | - | |
| 940 | + | |
878 | 941 | | |
879 | 942 | | |
880 | 943 | | |
| |||
908 | 971 | | |
909 | 972 | | |
910 | 973 | | |
911 | | - | |
912 | | - | |
| 974 | + | |
| 975 | + | |
913 | 976 | | |
914 | 977 | | |
915 | 978 | | |
| |||
941 | 1004 | | |
942 | 1005 | | |
943 | 1006 | | |
944 | | - | |
945 | | - | |
| 1007 | + | |
| 1008 | + | |
946 | 1009 | | |
947 | 1010 | | |
948 | 1011 | | |
| |||
971 | 1034 | | |
972 | 1035 | | |
973 | 1036 | | |
974 | | - | |
| 1037 | + | |
975 | 1038 | | |
976 | 1039 | | |
977 | 1040 | | |
| |||
1024 | 1087 | | |
1025 | 1088 | | |
1026 | 1089 | | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
1027 | 1160 | | |
1028 | 1161 | | |
1029 | 1162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
373 | | - | |
374 | | - | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
390 | 453 | | |
391 | 454 | | |
392 | 455 | | |
| |||
0 commit comments