{
  "schema_version": "1.0",
  "targets": {
    "pi-ornith-high": {
      "agent": "pi",
      "model": "ornith:35b",
      "execution_class": "local_model",
      "selfcheck_required": true,
      "runtime": {
        "command": [
          "pi",
          "-p",
          "--mode",
          "json",
          "--approve",
          "--provider",
          "iop",
          "--model",
          "{model}",
          "--thinking",
          "high",
          "--session-id",
          "{session_id}",
          "--session-dir",
          "{attempt_dir}/pi-sessions",
          "{prompt}"
        ],
        "output_format": "jsonl"
      }
    },
    "agy-gemini-low": {
      "agent": "agy",
      "model": "Gemini 3.6 Flash (Low)",
      "execution_class": "cloud_model",
      "selfcheck_required": false,
      "runtime": {
        "command": [
          "agy",
          "--print",
          "{prompt}",
          "--print-timeout",
          "8h",
          "--model",
          "{model}",
          "--dangerously-skip-permissions",
          "--log-file",
          "{attempt_dir}/agy-cli.log"
        ],
        "output_format": "text",
        "auxiliary_logs": ["{attempt_dir}/agy-cli.log"]
      }
    },
    "agy-gemini-medium": {
      "agent": "agy",
      "model": "Gemini 3.6 Flash (Medium)",
      "execution_class": "cloud_model",
      "selfcheck_required": false,
      "runtime": {
        "command": [
          "agy",
          "--print",
          "{prompt}",
          "--print-timeout",
          "8h",
          "--model",
          "{model}",
          "--dangerously-skip-permissions",
          "--log-file",
          "{attempt_dir}/agy-cli.log"
        ],
        "output_format": "text",
        "auxiliary_logs": ["{attempt_dir}/agy-cli.log"]
      }
    },
    "agy-gemini-high": {
      "agent": "agy",
      "model": "Gemini 3.6 Flash (High)",
      "execution_class": "cloud_model",
      "selfcheck_required": false,
      "runtime": {
        "command": [
          "agy",
          "--print",
          "{prompt}",
          "--print-timeout",
          "8h",
          "--model",
          "{model}",
          "--dangerously-skip-permissions",
          "--log-file",
          "{attempt_dir}/agy-cli.log"
        ],
        "output_format": "text",
        "auxiliary_logs": ["{attempt_dir}/agy-cli.log"]
      }
    },
    "opencode-glm-medium": {
      "agent": "opencode",
      "model": "glm-5.2",
      "execution_class": "cloud_model",
      "selfcheck_required": false,
      "runtime": {
        "command": [
          "opencode",
          "run",
          "--format",
          "json",
          "--dir",
          "{workspace}",
          "--agent",
          "build",
          "--model",
          "iop-glm/glm-5.2",
          "--variant",
          "medium",
          "--auto",
          "{prompt}"
        ],
        "output_format": "jsonl"
      }
    },
    "opencode-glm-high": {
      "agent": "opencode",
      "model": "glm-5.2",
      "execution_class": "cloud_model",
      "selfcheck_required": false,
      "runtime": {
        "command": [
          "opencode",
          "run",
          "--format",
          "json",
          "--dir",
          "{workspace}",
          "--agent",
          "build",
          "--model",
          "iop-glm/glm-5.2",
          "--variant",
          "high",
          "--auto",
          "{prompt}"
        ],
        "output_format": "jsonl"
      }
    },
    "opencode-glm-max": {
      "agent": "opencode",
      "model": "glm-5.2",
      "execution_class": "cloud_model",
      "selfcheck_required": false,
      "runtime": {
        "command": [
          "opencode",
          "run",
          "--format",
          "json",
          "--dir",
          "{workspace}",
          "--agent",
          "build",
          "--model",
          "iop-glm/glm-5.2",
          "--variant",
          "max",
          "--auto",
          "{prompt}"
        ],
        "output_format": "jsonl"
      }
    },
    "claude-opus-xhigh": {
      "agent": "claude",
      "model": "claude-opus-5",
      "execution_class": "cloud_model",
      "selfcheck_required": false,
      "runtime": {
        "command": [
          "claude",
          "-p",
          "--output-format",
          "stream-json",
          "--verbose",
          "--session-id",
          "{session_id}",
          "--model",
          "{model}",
          "--effort",
          "xhigh",
          "--dangerously-skip-permissions",
          "{prompt}"
        ],
        "output_format": "jsonl"
      }
    },
    "codex-spark-xhigh": {
      "agent": "codex",
      "model": "gpt-5.3-codex-spark",
      "execution_class": "cloud_model",
      "selfcheck_required": false,
      "runtime": {
        "command": [
          "codex",
          "exec",
          "--json",
          "-C",
          "{workspace}",
          "-m",
          "{model}",
          "-c",
          "model_reasoning_effort=\"xhigh\"",
          "--dangerously-bypass-approvals-and-sandbox",
          "{prompt}"
        ],
        "output_format": "jsonl"
      }
    },
    "codex-sol-xhigh": {
      "agent": "codex",
      "model": "gpt-5.6-sol",
      "execution_class": "cloud_model",
      "selfcheck_required": false,
      "runtime": {
        "command": [
          "codex",
          "exec",
          "--json",
          "-C",
          "{workspace}",
          "-m",
          "{model}",
          "-c",
          "model_reasoning_effort=\"xhigh\"",
          "--dangerously-bypass-approvals-and-sandbox",
          "{prompt}"
        ],
        "output_format": "jsonl"
      }
    },
    "codex-terra-high": {
      "agent": "codex",
      "model": "gpt-5.6-terra",
      "execution_class": "cloud_model",
      "selfcheck_required": false,
      "runtime": {
        "command": [
          "codex",
          "exec",
          "--json",
          "-C",
          "{workspace}",
          "-m",
          "{model}",
          "-c",
          "model_reasoning_effort=\"high\"",
          "--dangerously-bypass-approvals-and-sandbox",
          "{prompt}"
        ],
        "output_format": "jsonl"
      }
    }
  },
  "routes": {
    "worker": {
      "local-G01": {
        "candidates": ["pi-ornith-high"],
        "rule_id": "worker-local-g01-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      },
      "local-G02": {
        "candidates": ["pi-ornith-high"],
        "rule_id": "worker-local-g02-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      },
      "local-G03": {
        "candidates": ["pi-ornith-high"],
        "rule_id": "worker-local-g03-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      },
      "local-G04": {
        "candidates": ["pi-ornith-high"],
        "rule_id": "worker-local-g04-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      },
      "local-G05": {
        "candidates": ["pi-ornith-high"],
        "rule_id": "worker-local-g05-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      },
      "local-G06": {
        "candidates": ["pi-ornith-high"],
        "rule_id": "worker-local-g06-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      },
      "local-G07": {
        "policy_priority": 20,
        "windows": [
          {
            "timezone": "Asia/Seoul",
            "start": "07:00",
            "end": "23:00",
            "candidates": ["agy-gemini-high", "opencode-glm-max", "codex-terra-high"],
            "rule_id": "worker-local-g07-kst-day-catalog",
            "reason_codes": ["worker_catalog_lane_kst_day"]
          },
          {
            "timezone": "Asia/Seoul",
            "start": "23:00",
            "end": "07:00",
            "candidates": ["agy-gemini-high", "opencode-glm-max", "codex-terra-high"],
            "rule_id": "worker-local-g07-kst-night-catalog",
            "reason_codes": ["worker_catalog_lane_kst_night"]
          }
        ]
      },
      "local-G08": {
        "policy_priority": 20,
        "windows": [
          {
            "timezone": "Asia/Seoul",
            "start": "07:00",
            "end": "23:00",
            "candidates": ["agy-gemini-high", "opencode-glm-max", "codex-terra-high"],
            "rule_id": "worker-local-g08-kst-day-catalog",
            "reason_codes": ["worker_catalog_lane_kst_day"]
          },
          {
            "timezone": "Asia/Seoul",
            "start": "23:00",
            "end": "07:00",
            "candidates": ["agy-gemini-high", "opencode-glm-max", "codex-terra-high"],
            "rule_id": "worker-local-g08-kst-night-catalog",
            "reason_codes": ["worker_catalog_lane_kst_night"]
          }
        ]
      },
      "local-G09": {
        "candidates": ["claude-opus-xhigh", "codex-terra-high"],
        "rule_id": "worker-local-g09-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      },
      "local-G10": {
        "candidates": ["claude-opus-xhigh", "codex-terra-high"],
        "rule_id": "worker-local-g10-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      },
      "cloud-G01": {
        "candidates": ["codex-spark-xhigh", "agy-gemini-low", "opencode-glm-medium", "codex-terra-high"],
        "rule_id": "worker-cloud-g01-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      },
      "cloud-G02": {
        "candidates": ["codex-spark-xhigh", "agy-gemini-low", "opencode-glm-medium", "codex-terra-high"],
        "rule_id": "worker-cloud-g02-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      },
      "cloud-G03": {
        "candidates": ["agy-gemini-medium", "opencode-glm-high", "codex-terra-high"],
        "rule_id": "worker-cloud-g03-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      },
      "cloud-G04": {
        "candidates": ["agy-gemini-medium", "opencode-glm-high", "codex-terra-high"],
        "rule_id": "worker-cloud-g04-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      },
      "cloud-G05": {
        "candidates": ["agy-gemini-high", "opencode-glm-max", "codex-terra-high"],
        "rule_id": "worker-cloud-g05-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      },
      "cloud-G06": {
        "candidates": ["agy-gemini-high", "opencode-glm-max", "codex-terra-high"],
        "rule_id": "worker-cloud-g06-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      },
      "cloud-G07": {
        "candidates": ["claude-opus-xhigh", "codex-terra-high"],
        "rule_id": "worker-cloud-g07-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      },
      "cloud-G08": {
        "candidates": ["claude-opus-xhigh", "codex-terra-high"],
        "rule_id": "worker-cloud-g08-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      },
      "cloud-G09": {
        "candidates": ["codex-sol-xhigh"],
        "rule_id": "worker-cloud-g09-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      },
      "cloud-G10": {
        "candidates": ["codex-sol-xhigh"],
        "rule_id": "worker-cloud-g10-catalog",
        "policy_priority": 30,
        "reason_codes": ["worker_catalog_lane"]
      }
    },
    "review": {
      "local-G01": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-local-g01-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "local-G02": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-local-g02-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "local-G03": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-local-g03-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "local-G04": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-local-g04-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "local-G05": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-local-g05-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "local-G06": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-local-g06-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "local-G07": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-local-g07-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "local-G08": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-local-g08-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "local-G09": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-local-g09-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "local-G10": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-local-g10-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "cloud-G01": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-cloud-g01-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "cloud-G02": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-cloud-g02-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "cloud-G03": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-cloud-g03-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "cloud-G04": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-cloud-g04-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "cloud-G05": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-cloud-g05-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "cloud-G06": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-cloud-g06-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "cloud-G07": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-cloud-g07-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "cloud-G08": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-cloud-g08-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "cloud-G09": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-cloud-g09-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]},
      "cloud-G10": {"candidates": ["codex-sol-xhigh"], "rule_id": "review-cloud-g10-catalog", "policy_priority": 10, "reason_codes": ["review_catalog_lane"]}
    }
  }
}
