{
  "bundleId": "arcs-opencode-bundle",
  "installMode": "opencode-arcs",
  "bundleVersionSource": "package.json",
  "sourceRoot": "opencode/arcs",
  "skills": {
    "source": "skills",
    "destination": "skills/arcs"
  },
  "agents": [
    {
      "id": "software-engineer",
      "status": "active",
      "kind": "subagent",
      "tier": "heavy",
      "modes": ["opencode", "claudecode", "pi"],
      "source": "prompts/software-engineer.txt",
      "destination": "prompts/software-engineer.txt",
      "description": "Implementation specialist. Writes code, runs tests, and ships verified work using orchestrator-selected implementation bounded or inspect mode.",
      "permissions": {
        "edit": "allow",
        "bash": "allow",
        "webfetch": "allow",
        "mcp": "allow",
        "task": "deny"
      }
    },
    {
      "id": "tech-architect",
      "status": "active",
      "kind": "subagent",
      "tier": "heavy",
      "modes": ["opencode", "claudecode", "pi"],
      "source": "prompts/tech-architect.txt",
      "destination": "prompts/tech-architect.txt",
      "description": "Architecture, analysis, and cited research specialist. Produces read-only structural guidance, trade-off evaluation, and DAG-first research synthesis.",
      "permissions": {
        "edit": "deny",
        "bash": "allow",
        "webfetch": "allow",
        "mcp": "allow",
        "task": "deny"
      }
    },
    {
      "id": "oncall-ops",
      "status": "retired",
      "replacementId": "software-engineer",
      "kind": "subagent",
      "tier": "heavy",
      "modes": ["opencode", "claudecode"],
      "source": "prompts/oncall-ops.txt",
      "destination": "prompts/oncall-ops.txt",
      "description": "Debugging and diagnosis specialist. Finds root causes through systematic investigation, log triage, bisect, and performance profiling.",
      "permissions": {
        "edit": "allow",
        "bash": "allow",
        "webfetch": "allow",
        "mcp": "allow",
        "task": "deny"
      }
    },
    {
      "id": "arcs-docs",
      "status": "active",
      "kind": "subagent",
      "tier": "standard",
      "modes": ["opencode", "claudecode", "pi"],
      "source": "prompts/arcs-docs.txt",
      "destination": "prompts/arcs-docs.txt",
      "description": "ARCS documentation specialist. Manages plans, knowledge entries, diagrams, and DAG health. Knows ARCS structure intimately.",
      "permissions": {
        "edit": "allow",
        "bash": "allow",
        "webfetch": "allow",
        "mcp": "allow",
        "task": "deny"
      }
    },
    {
      "id": "code-reviewer",
      "status": "active",
      "kind": "subagent",
      "tier": "standard",
      "modes": ["opencode", "claudecode", "pi"],
      "source": "prompts/code-reviewer.txt",
      "destination": "prompts/code-reviewer.txt",
      "description": "Reviews code changes for production readiness and catches correctness, maintainability, and testing issues.",
      "permissions": {
        "edit": "deny",
        "bash": "allow",
        "webfetch": "allow",
        "mcp": "allow",
        "task": "deny"
      }
    },
    {
      "id": "docs-researcher",
      "status": "retired",
      "replacementId": "tech-architect",
      "kind": "subagent",
      "tier": "heavy",
      "modes": ["opencode", "claudecode"],
      "source": "prompts/docs-researcher.txt",
      "destination": "prompts/docs-researcher.txt",
      "description": "Handles documentation writing, research synthesis, OCR-adjacent extraction, and document-heavy analysis tasks.",
      "permissions": {
        "edit": "allow",
        "bash": "allow",
        "webfetch": "allow",
        "mcp": "allow",
        "task": "deny"
      }
    },
    {
      "id": "devil-advocate",
      "status": "retired",
      "replacementId": "code-reviewer",
      "kind": "subagent",
      "tier": "heavy",
      "modes": ["opencode", "claudecode"],
      "source": "prompts/devil-advocate.txt",
      "destination": "prompts/devil-advocate.txt",
      "description": "Retired adversarial risk reviewer. Replaced by code-reviewer risk mode.",
      "permissions": {
        "edit": "deny",
        "bash": "allow",
        "webfetch": "allow",
        "mcp": "allow",
        "task": "deny"
      }
    },
    {
      "id": "graph-explorer",
      "status": "active",
      "kind": "subagent",
      "tier": "light",
      "modes": ["opencode", "claudecode", "pi"],
      "source": "prompts/graph-explorer.txt",
      "destination": "prompts/graph-explorer.txt",
      "description": "DAG-first codebase and knowledge exploration specialist. Queries arcs search, related, and context first, then codegraph MCP code-intelligence tools, before falling back to raw file-system tools. Replaces vanilla explore for ARCS projects.",
      "permissions": {
        "edit": "deny",
        "bash": "allow",
        "webfetch": "allow",
        "mcp": "allow",
        "task": "deny"
      }
    },
    {
      "id": "arcs-orchestrate",
      "status": "active",
      "kind": "primary",
      "tier": "standard",
      "modes": ["opencode", "claudecode", "pi"],
      "source": "prompts/arcs-orchestrate.txt",
      "destination": "prompts/arcs-orchestrate.txt",
      "description": "The central coordinator for executing plans, managing agent dispatch, and handling DAG workflows.",
      "permissions": {
        "edit": "allow",
        "bash": "allow",
        "webfetch": "allow",
        "mcp": "allow",
        "task": "allow"
      }
    },
    {
      "id": "arcs-orchestrate-caveman",
      "status": "active",
      "kind": "primary",
      "tier": "standard",
      "modes": ["opencode", "claudecode", "pi"],
      "source": "prompts/arcs-orchestrate-caveman.txt",
      "destination": "prompts/arcs-orchestrate-caveman.txt",
      "description": "A terse, high-efficiency orchestrator that drives tasks without extra commentary.",
      "permissions": {
        "edit": "allow",
        "bash": "allow",
        "webfetch": "allow",
        "mcp": "allow",
        "task": "allow"
      }
    },
    {
      "id": "arcs-flash",
      "status": "active",
      "kind": "primary",
      "tier": "standard",
      "modes": ["opencode", "claudecode", "pi"],
      "source": "prompts/arcs-flash.txt",
      "destination": "prompts/arcs-flash.txt",
      "description": "A speed-optimized orchestrator that sources context from arcs knowledge first and maximizes parallel sub-agent dispatch under tiered gates.",
      "permissions": {
        "edit": "allow",
        "bash": "allow",
        "webfetch": "allow",
        "mcp": "allow",
        "task": "allow"
      }
    }
  ],
  "ownedPaths": ["skills/arcs", "plugins/arcs.js"],
  "plugin": {
    "required": true,
    "source": ".opencode/plugins/arcs.js",
    "destination": "plugins/arcs.js"
  },
  "config": {
    "requiredMerges": [
      {
        "path": ["permission"],
        "value": {
          "external_directory": {
            "/tmp": "allow",
            "/tmp/**": "allow",
            "~/.arcs": "allow",
            "~/.arcs/**": "allow",
            "~/.config/opencode": "allow",
            "~/.config/opencode/**": "allow"
          }
        },
        "mode": "merge"
      },
      {
        "path": ["lsp"],
        "value": true,
        "mode": "if-absent"
      },
      {
        "path": ["model"],
        "value": "github-copilot/claude-sonnet-4.6",
        "mode": "if-absent"
      },
      {
        "path": ["agent", "build", "model"],
        "value": "github-copilot/claude-sonnet-4.6",
        "mode": "if-absent"
      },
      {
        "path": ["agent", "build", "temperature"],
        "value": 0,
        "mode": "if-absent"
      },
      {
        "path": ["agent", "plan", "model"],
        "value": "github-copilot/claude-opus-4.6",
        "mode": "if-absent"
      },
      {
        "path": ["agent", "plan", "temperature"],
        "value": 0.5,
        "mode": "if-absent"
      },
      {
        "path": ["agent", "general", "model"],
        "value": "github-copilot/claude-opus-4.6",
        "mode": "if-absent"
      },
      {
        "path": ["agent", "general", "temperature"],
        "value": 0.3,
        "mode": "if-absent"
      },
      {
        "path": ["agent", "graph-explorer"],
        "value": {
          "description": "DAG-first codebase and knowledge exploration specialist. Queries arcs search, related, and context first, then codegraph MCP code-intelligence tools, before falling back to raw file-system tools. Replaces vanilla explore for ARCS projects.",
          "mode": "subagent",
          "model": "github-copilot/claude-haiku-4.5",
          "temperature": 0,
          "permission": {
            "edit": "deny",
            "bash": "allow",
            "webfetch": "allow",
            "mcp": "allow",
            "task": "deny",
            "external_directory": { "*": "allow" }
          },
          "prompt": "{file:./prompts/graph-explorer.txt}"
        },
        "mode": "merge"
      },
      {
        "path": ["agent", "code-reviewer"],
        "value": {
          "description": "Reviews code changes for production readiness and catches correctness, maintainability, and testing issues.",
          "mode": "subagent",
          "model": "github-copilot/claude-sonnet-4.6",
          "temperature": 0.5,
          "prompt": "{file:./prompts/code-reviewer.txt}",
          "permission": {
            "edit": "deny",
            "bash": "allow",
            "webfetch": "allow",
            "mcp": "allow",
            "task": "deny",
            "external_directory": { "*": "allow" }
          }
        },
        "mode": "merge"
      },
      {
        "path": ["agent", "tech-architect"],
        "value": {
          "description": "Architecture, analysis, and cited research specialist. Produces read-only structural guidance, trade-off evaluation, and DAG-first research synthesis.",
          "mode": "subagent",
          "model": "github-copilot/claude-opus-4.6",
          "temperature": 0.4,
          "permission": {
            "edit": "deny",
            "bash": "allow",
            "webfetch": "allow",
            "mcp": "allow",
            "task": "deny",
            "external_directory": { "*": "allow" }
          },
          "prompt": "{file:./prompts/tech-architect.txt}"
        },
        "mode": "merge"
      },
      {
        "path": ["agent", "software-engineer"],
        "value": {
          "description": "Implementation specialist. Writes code, runs tests, and ships verified work using orchestrator-selected implementation bounded or inspect mode.",
          "mode": "subagent",
          "model": "github-copilot/claude-opus-4.6",
          "temperature": 0,
          "permission": {
            "edit": "allow",
            "bash": "allow",
            "webfetch": "allow",
            "mcp": "allow",
            "task": "deny",
            "external_directory": { "*": "allow" }
          },
          "prompt": "{file:./prompts/software-engineer.txt}"
        },
        "mode": "merge"
      },
      {
        "path": ["agent", "arcs-docs"],
        "value": {
          "description": "ARCS documentation specialist. Manages plans, knowledge entries, diagrams, and DAG health. Knows ARCS structure intimately.",
          "mode": "subagent",
          "model": "github-copilot/claude-sonnet-4.6",
          "temperature": 0.1,
          "permission": {
            "edit": "allow",
            "bash": "allow",
            "webfetch": "allow",
            "mcp": "allow",
            "task": "deny",
            "external_directory": { "*": "allow" }
          },
          "prompt": "{file:./prompts/arcs-docs.txt}"
        },
        "mode": "merge"
      },
      {
        "path": ["small_model"],
        "value": "github-copilot/claude-haiku-4.5",
        "mode": "if-absent"
      },
      {
        "path": ["agent", "graph-explorer", "permission", "edit"],
        "value": "deny",
        "mode": "overwrite"
      },
      {
        "path": ["agent", "code-reviewer", "permission", "edit"],
        "value": "deny",
        "mode": "overwrite"
      },
      {
        "path": ["agent", "tech-architect", "permission", "edit"],
        "value": "deny",
        "mode": "overwrite"
      }
    ]
  }
}
