Verify shared Runtime proof and independent review before integration
This commit is contained in:
@@ -305,5 +305,20 @@ if os.environ.get('OWNER_P08_SEMANTIC_REFERENCE_REVIEW') == '7e2368f5':
|
||||
module.run(semantic_core)
|
||||
sys.exit(0)
|
||||
|
||||
_runtime_support_verify = Runner.verify
|
||||
def verify_exact_runtime_support(self, task_id, wt, sha, kind):
|
||||
if self.config["project"] == "the-tree-p08-runtime-preview" and task_id == "P08-03-RTPREVIEW" and kind in ("integration", "final"):
|
||||
import importlib.util
|
||||
from runner.core import git, require
|
||||
require(git(wt, "rev-parse", "HEAD") == sha, "exact support candidate")
|
||||
path = Path("/Users/korizatou114/Projects/とりにく工房ゲーム制作部/docs/plans/original-completion-2026-10-02/execution/p08-03/runtime_support_proof.py")
|
||||
spec = importlib.util.spec_from_file_location("owner_runtime_support_proof", path)
|
||||
module = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(module)
|
||||
result = module.bind_exact_candidate(Path(wt), Path(self.allocation(task_id)["build_dir"]))
|
||||
self.event(task_id, "exact_native_source_applicability", {"commit": sha, "kind": kind, "executed_native_candidate": result["executed_native_candidate"], "new_native_runs": 0})
|
||||
return _runtime_support_verify(self, task_id, wt, sha, kind)
|
||||
Runner.verify = verify_exact_runtime_support
|
||||
|
||||
from runner.cli import main
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user