{
  "schema": "homeboy/agent-runtime-manifest/v1",
  "id": "sample-runtime",
  "label": "Sample Runtime",
  "materialization": {
    "source_roots": [
      {
        "id": "sample-runtime",
        "label": "Sample Runtime source",
        "path": "~/.cache/homeboy/runtimes/sample-runtime",
        "remote_url": "https://github.com/example-org/sample-runtime.git",
        "git_ref": "main"
      }
    ],
    "dependencies": [
      {
        "id": "runtime-package",
        "label": "Runtime package",
        "source_root": "sample-runtime",
        "requirement": "runtime source checkout"
      }
    ],
    "executable_requirements": [
      {
        "id": "sample-runtime-cli",
        "label": "Sample Runtime CLI",
        "env": ["SAMPLE_RUNTIME_BIN"],
        "candidates": ["sample-runtime", "sample-runtime-cli"],
        "version_command": ["--version"],
        "install_hint": "Install the runtime CLI before dispatching tasks."
      }
    ],
    "readiness_checks": [
      {
        "id": "sample-runtime.ready",
        "label": "Sample Runtime available",
        "secret_env": ["EXAMPLE_PROVIDER_API_KEY"],
        "env_path": {
          "env": ["SAMPLE_RUNTIME_HOME"],
          "revision": true,
          "canonical_path": "~/.cache/homeboy/runtimes/sample-runtime"
        },
        "executable": {
          "env": ["SAMPLE_RUNTIME_BIN"],
          "candidates": ["sample-runtime", "sample-runtime-cli"],
          "version_command": ["--version"]
        }
      }
    ],
    "env_passthrough": [
      "SAMPLE_RUNTIME_HOME",
      "SAMPLE_RUNTIME_BIN",
      "EXAMPLE_PROVIDER_API_KEY"
    ],
    "workspace": {
      "cwd": "git_checkout",
      "requires_git": true,
      "write_scope": "artifacts",
      "artifact_paths": [".homeboy/sample-runtime"]
    }
  },
  "agent_task_executors": [
    {
      "schema": "homeboy/agent-task-executor-provider/v1",
      "id": "sample-runtime.default",
      "backend": "sample-runtime",
      "command": "sample-runtime-agent-task-provider",
      "request_schema": "homeboy/agent-task-request/v1",
      "outcome_schema": "homeboy/agent-task-outcome/v1"
    }
  ]
}
