Make deterministic model stub runner portable

This commit is contained in:
2026-07-20 00:21:44 -07:00
parent 81c42c41b9
commit c2914af401
2 changed files with 7 additions and 2 deletions

View File

@@ -325,6 +325,8 @@ class RepositoryTest < Minitest::Test
assert_includes probe, "ExactLiveContract.assert_authoritative_assistant_count!"
refute_includes probe, "full_text.include?"
assert_includes runner, "exact_live_contract.rb"
assert_includes runner, 'docker cp "$repo_root/scripts/fake_llm.py"'
refute_includes runner, '--volume "$repo_root/scripts:/compat:ro"'
assert_includes runner, "OPENCODE_COMPAT_EVIDENCE_PATH"
assert_includes runner, "OPENCODE_EXPECTED_VERSION"
refute_match(/request_count.*-lt\s+1/, runner)