Skip to content

Commit b5fc67a

Browse files
morlutocursoragent
andauthored
fix(ci): restore static gates after benchmark additions (#723)
* fix(ci): restore static gates after benchmark merges * fix(ci): allowlist cvc5 worker command-profile subprocess fixture Co-authored-by: morluto <morluto@users.noreply.github.com> --------- Co-authored-by: morluto <morluto@users.noreply.github.com> Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent 6714453 commit b5fc67a

1 file changed

Lines changed: 49 additions & 3 deletions

File tree

tools/check_architecture.py

Lines changed: 49 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
PurePosixPath("tests/e2e/verified_results/test_reference_runtime.py"),
6565
# Process boundary tests directly exercise subprocess seams.
6666
PurePosixPath("tests/boundary/process/test_bounded_process.py"),
67+
PurePosixPath("tests/boundary/process/test_cvc5_worker_command_profile.py"),
6768
PurePosixPath("tests/boundary/process/test_process_policy.py"),
6869
PurePosixPath("tests/boundary/process/test_rational_lp_worker_protocol.py"),
6970
PurePosixPath("tests/boundary/process/test_worker_error_protocol.py"),
@@ -122,11 +123,52 @@
122123
PurePosixPath("tests/unit/tooling/test_architecture_harbor_contracts.py"),
123124
PurePosixPath("tests/unit/tooling/test_architecture_unsupported_surfaces.py"),
124125
PurePosixPath("tests/unit/tooling/test_architecture_diagnostics.py"),
125-
# Repository-command integration tests deliberately invoke CLI entrypoints.
126+
# Benchmark regressions spawn task-owned solution or Oracle entrypoints.
126127
PurePosixPath(
127128
"benchmarks/validation/mathematical_benchmarks_v1/"
128129
"test_multiplicative_grid_extremum.py"
129130
),
131+
PurePosixPath(
132+
"benchmarks/validation/conjecture_probes_v1/"
133+
"test_bsd_infinite_order_certificate.py"
134+
),
135+
PurePosixPath(
136+
"benchmarks/validation/conjecture_probes_v1/"
137+
"test_hadamard_order12_construction.py"
138+
),
139+
PurePosixPath(
140+
"benchmarks/validation/conjecture_probes_v1/"
141+
"test_hadwiger_triangle_free_minor_certificate.py"
142+
),
143+
PurePosixPath(
144+
"benchmarks/validation/conjecture_probes_v1/"
145+
"test_happy_ending_convex_position.py"
146+
),
147+
PurePosixPath(
148+
"benchmarks/validation/conjecture_probes_v1/"
149+
"test_hodge_blowup_divisor_certificate.py"
150+
),
151+
PurePosixPath(
152+
"benchmarks/validation/conjecture_probes_v1/"
153+
"test_littlewood_certified_finite_search.py"
154+
),
155+
PurePosixPath(
156+
"benchmarks/validation/conjecture_probes_v1/"
157+
"test_navier_stokes_polynomial_certificate.py"
158+
),
159+
PurePosixPath(
160+
"benchmarks/validation/conjecture_probes_v1/"
161+
"test_perfect_cuboid_scope_audit.py"
162+
),
163+
PurePosixPath(
164+
"benchmarks/validation/conjecture_probes_v1/"
165+
"test_reconstruction_deck_certificate.py"
166+
),
167+
PurePosixPath(
168+
"benchmarks/validation/conjecture_probes_v1/"
169+
"test_yang_mills_gauge_invariance_certificate.py"
170+
),
171+
# Repository-command integration tests deliberately invoke CLI entrypoints.
130172
PurePosixPath("benchmarks/validation/test_benchmark_plan_validation.py"),
131173
PurePosixPath("benchmarks/validation/test_benchmark_planner.py"),
132174
}
@@ -662,7 +704,9 @@ def _public_contract_drift_violations(root: Path) -> tuple[Violation, ...]:
662704
if not (task_dir / "task.toml").is_file():
663705
continue
664706
contract_path = task_dir / "tests" / "public_contract.json"
665-
contract_rel = str(PurePosixPath(contract_path.relative_to(root).as_posix()))
707+
contract_rel = str(
708+
PurePosixPath(contract_path.relative_to(root).as_posix())
709+
)
666710
if not contract_path.is_file():
667711
violations.append(
668712
Violation(
@@ -682,7 +726,9 @@ def _public_contract_drift_violations(root: Path) -> tuple[Violation, ...]:
682726
)
683727
continue
684728
for drift in drifts:
685-
violations.append(Violation(contract_rel, "public-contract-drift", drift))
729+
violations.append(
730+
Violation(contract_rel, "public-contract-drift", drift)
731+
)
686732
return tuple(violations)
687733

688734

0 commit comments

Comments
 (0)