Adopt accepted main input while preserving P08 authored scope

This commit is contained in:
Takeshi
2026-10-14 20:41:01 +09:00
parent ebc851c26e
commit 7fe58d83bb
6 changed files with 200 additions and 2 deletions
@@ -3,6 +3,7 @@ import os
import json
import sys
from pathlib import Path
sys.dont_write_bytecode = True
control = Path(os.environ['OWNER_RUNNER_CONTROL']).resolve()
sys.path.insert(0, str(control))
@@ -320,5 +321,14 @@ def verify_exact_runtime_support(self, task_id, wt, sha, kind):
return _runtime_support_verify(self, task_id, wt, sha, kind)
Runner.verify = verify_exact_runtime_support
if os.environ.get("OWNER_P08_ACCEPTED_INPUT_SCOPE") == "7297a4c":
import importlib.util
import runner.core as accepted_scope_core
adapter = Path("/Users/korizatou114/Projects/とりにく工房ゲーム制作部/docs/plans/original-completion-2026-10-02/execution/p08-03/accepted_input_scope.py")
spec = importlib.util.spec_from_file_location("owner_accepted_input_scope", adapter)
module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(module)
module.install(accepted_scope_core)
from runner.cli import main
main()