Skip to content

Commit 818740c

Browse files
committed
fix(b10): make candidate maturity CI portable
1 parent 5a12c78 commit 818740c

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

tests/no-model-candidate-maturity/test_contract.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def test_production_builder_rejects_tracked_ci_test_fixture(self) -> None:
285285

286286
def test_production_builder_rejects_relocated_structural_ci_fixture(self) -> None:
287287
run_root = ROOT / ".IMPLEMENTAUDIT/runs/daee-v046-runtime-footprint-b10-sxsMU5"
288-
with tempfile.TemporaryDirectory(dir=run_root) as tmp:
288+
with tempfile.TemporaryDirectory(dir=ROOT) as tmp:
289289
temp_root = Path(tmp)
290290
receipt_path = temp_root / "relocated-receipt.json"
291291
receipt_path.write_bytes((ROOT / self.ci_receipt["path"]).read_bytes())
@@ -405,7 +405,7 @@ def test_live_escape_registry_rejects_arbitrary_protocol_role(self) -> None:
405405

406406
def test_live_escape_registry_rejects_unstructured_review_bytes(self) -> None:
407407
review = artifact_ref(
408-
".IMPLEMENTAUDIT/runs/daee-v046-runtime-footprint-b10-sxsMU5/reviews/task4-candidate-custody-independent-review.md"
408+
"docs/audits/evidence/v0.4.6.0-b10/task4-candidate-custody-independent-review.md"
409409
)
410410
with self.assertRaisesRegex(ValueError, "review.*JSON|schema"):
411411
builder.build_live_escape_registry(

tools/producer-contract-registry.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"harness_anchor": "Stage 02",
2222
"visible_surfaces": ["release_prompt", "release_section_prompt", "stage_prompt"],
2323
"delivery_projection": {"component_id": "package:references/runtime-core-ir.md", "component_sha256": "806b009f891ac9794e064c5bfb91cd65339ba45e441be5cc9d1ccfcd4287dc9e", "delivery": "prompt-bound", "visible_before_call": true},
24-
"checker": {"obligation": "pre-producer-semantic", "path": "tools/check_staged_runtime_handshake.py", "sha256": "4f5fb5644d03933ffa62f5911729c4ea678019a4bad9853c9d9e3a846c4d1ed2"},
24+
"checker": {"obligation": "pre-producer-semantic", "path": "tools/check_staged_runtime_handshake.py", "sha256": "de7c700f8a3489f64c3d12b30080d4a0918737dc028f97cc2ad1b50db8791e96"},
2525
"normalizer": {"class": "none", "semantic_fields": []},
2626
"selection_inputs": ["validated_stage01_state", "stage_policy"],
2727
"resolver_selection": {"stage": "02", "validated_state": {"route_shards": [], "owner_module_ids": [], "cold_clause_ids": [], "live_pressure": false, "ambiguous": false}},
@@ -36,7 +36,7 @@
3636
"harness_anchor": "route_targets",
3737
"visible_surfaces": ["stage_prompt"],
3838
"delivery_projection": {"component_id": "package:references/runtime-core-routing.md", "component_sha256": "fd4173e016084740def242afeea89821b3ab5f2af49df35a08772d253a22b044", "delivery": "prompt-bound", "visible_before_call": true},
39-
"checker": {"obligation": "pre-producer-semantic", "path": "tools/check_staged_runtime_handshake.py", "sha256": "4f5fb5644d03933ffa62f5911729c4ea678019a4bad9853c9d9e3a846c4d1ed2"},
39+
"checker": {"obligation": "pre-producer-semantic", "path": "tools/check_staged_runtime_handshake.py", "sha256": "de7c700f8a3489f64c3d12b30080d4a0918737dc028f97cc2ad1b50db8791e96"},
4040
"normalizer": {"class": "lossless-alias", "semantic_fields": []},
4141
"selection_inputs": ["validated_stage02_state", "route_state"],
4242
"resolver_selection": {"stage": "03", "validated_state": {"route_shards": [], "owner_module_ids": [], "cold_clause_ids": [], "live_pressure": false, "ambiguous": false}},
@@ -91,7 +91,7 @@
9191
"harness_anchor": "held_burden_activation",
9292
"visible_surfaces": ["release_prompt", "release_section_prompt", "stage_prompt"],
9393
"delivery_projection": {"component_id": "package:references/runtime-core-recursion.md", "component_sha256": "b001617be7984656cfccf55a48f9b7d45404f255fd104a32dd12260dbbd7666d", "delivery": "prompt-bound", "visible_before_call": true},
94-
"checker": {"obligation": "pre-producer-semantic", "path": "tools/check_staged_runtime_handshake.py", "sha256": "4f5fb5644d03933ffa62f5911729c4ea678019a4bad9853c9d9e3a846c4d1ed2"},
94+
"checker": {"obligation": "pre-producer-semantic", "path": "tools/check_staged_runtime_handshake.py", "sha256": "de7c700f8a3489f64c3d12b30080d4a0918737dc028f97cc2ad1b50db8791e96"},
9595
"normalizer": {"class": "none", "semantic_fields": []},
9696
"selection_inputs": ["validated_mrp_state", "terminal_states", "dependency_edges"],
9797
"resolver_selection": {"stage": "05", "validated_state": {"route_shards": [], "owner_module_ids": [], "cold_clause_ids": [], "live_pressure": false, "ambiguous": false}},
@@ -151,7 +151,7 @@
151151
"harness_anchor": "Return exactly one JSON object",
152152
"visible_surfaces": ["stage_prompt"],
153153
"delivery_projection": {"component_id": "harness:transport-json-only", "component_sha256": "51048ff3566e5ad916d78787250594af5d9bb926c1417df9cd357c24c26587d4", "delivery": "prompt-bound", "visible_before_call": true},
154-
"checker": {"obligation": "post-producer-non-semantic", "path": "tools/check_staged_runtime_handshake.py", "sha256": "4f5fb5644d03933ffa62f5911729c4ea678019a4bad9853c9d9e3a846c4d1ed2"},
154+
"checker": {"obligation": "post-producer-non-semantic", "path": "tools/check_staged_runtime_handshake.py", "sha256": "de7c700f8a3489f64c3d12b30080d4a0918737dc028f97cc2ad1b50db8791e96"},
155155
"normalizer": {"class": "transport-only", "semantic_fields": []},
156156
"selection_inputs": ["stage_policy"],
157157
"proof_class": "harness-assisted"
@@ -164,7 +164,7 @@
164164
"generated_owner": null,
165165
"harness_anchor": "raw response text",
166166
"delivery_projection": {"component_id": "none", "component_sha256": "51048ff3566e5ad916d78787250594af5d9bb926c1417df9cd357c24c26587d4", "delivery": "not-model-visible", "visible_before_call": false},
167-
"checker": {"obligation": "post-producer-custody", "path": "tools/check_staged_runtime_handshake.py", "sha256": "4f5fb5644d03933ffa62f5911729c4ea678019a4bad9853c9d9e3a846c4d1ed2"},
167+
"checker": {"obligation": "post-producer-custody", "path": "tools/check_staged_runtime_handshake.py", "sha256": "de7c700f8a3489f64c3d12b30080d4a0918737dc028f97cc2ad1b50db8791e96"},
168168
"normalizer": {"class": "none", "semantic_fields": []},
169169
"selection_inputs": [],
170170
"proof_class": "custody-only"

0 commit comments

Comments
 (0)