# Opencode Runtime QA

> QAs and verifies OpenCode runtime configs, plugin hooks, and isolated session state.

- Skill: `robertoatila/opencode-runtime-qa` (Agent Skill)
- Install (CLI): `npx skillmds@latest add robertoatila/opencode-runtime-qa`
- Raw SKILL.md: https://api.skillmd.com/api/skills/robertoatila/opencode-runtime-qa/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: robertoatila (https://skillmd.com/u/robertoatila)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/robertoatila/opencode-runtime-qa

---


# OpenCode Runtime QA

Execute automated and live QA verification for OpenCode runtime integrations, custom tools,
agent configuration manifests, and session turn handling.
Exercises plugin capabilities inside an isolated runtime sandbox, ensuring zero drift
on user configuration directories.

## Golden rules

- **Strict Sandbox Isolation**: All execution must target isolated sandbox homes (`OPENCODE_SANDBOX_DIR="$(mktemp -d)"`).
- **No Production API Contamination**: Use local mock model endpoints or deterministic mock turns for automated assertions.
- **Evidence Collection**: Record all JSON-RPC turn streams and state transitions under `${EVIDENCE_DIR:-.evidence/opencode-qa}/`.
- **Cross-Platform Compatibility**: Scripts must execute on Linux, macOS, WSL, and Windows PowerShell without unhandled exit errors.

## Verification Router

| Verification Scope | Command | Expected Evidence |
|---|---|---|
| Plugin Manifest & Schema | `node scripts/qa/validate-manifest.mjs` | Schema validation PASS |
| Isolated Tool Call Execution | `node scripts/qa/test-tool-dispatch.mjs` | Return value schema matched |
| Session Start & Hook Lifecycle | `node scripts/qa/session-hook-probe.mjs` | `hook/completed` events logged |
| Error State & Recovery | `node scripts/qa/chaos-turn-test.mjs` | Graceful error response (no crash) |
