Record P08 current candidate and Opus shared-preview support scope

This commit is contained in:
Takeshi
2026-10-14 17:43:14 +09:00
parent 42c4a74923
commit d4747dd7e1
10 changed files with 145 additions and 8 deletions
@@ -73,6 +73,13 @@ def owner_model_argv(self, service, role, runtime, schema):
position = argv.index('--model')
del argv[position:position + 2]
argv += ['--model', 'claude-opus-5-5' if service == 'claude' else getattr(self, '_owner_codex_model', 'gpt-6.1-sol')]
if service == 'claude' and role == 'reviewer' and self.config['project'] == 'the-tree-p08-03-code':
task_runtime = self.runtime('P08-03').resolve()
if Path(runtime).resolve().is_relative_to(task_runtime):
build = Path(self.allocation('P08-03')['build_dir']).resolve()
if not build.is_relative_to(task_runtime):
raise ValueError('existing task build scope required')
argv += ['--add-dir', str(build)]
return argv
Runner.provider_argv = owner_model_argv