def _codex_args(self, *, output: Path, workspace: Path, reviewer=False, canary=False, offline=False, schema_path=None, tool_workspace=None) -> list[str]: if tool_workspace is None or tool_workspace.root != workspace: raise WeeklyRunError("Model call requires an explicit isolated input workspace") return self._guarded_invocation(output=output, workspace=tool_workspace, reviewer=reviewer, canary=canary, offline=offline, schema_path=schema_path).argv