su0xpj-bastion

Coding Agent QA — Testing skill for Claude Code

Testing community

QA + support tooling for AI coding agents (Claude Code, Codex, Muse Code): seeded-bug tasks with hidden tests, change rules, pass@k and consistency gate, triage by layer, escalation packets, error pla.

How to install Coding Agent QA

This entry records only its repository, not the path inside it, so there is no exact command to give. Open su0xpj-bastion/coding-agent-qa and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Coding Agent QA does

QA + support tooling for AI coding agents (Claude Code, Codex, Muse Code): seeded-bug tasks with hidden tests, change rules, pass@k and consistency gate, triage by layer, escalation packets, error playbooks, env doctor

Alternatives in Testing

  • Test After Change Diagnostics.V1 — If any program code changes, run unit-tests and follow up on the test-result (fix code if there is an error) 272 ★
  • GAAI Framework — 95+ Drop-in governance layer (.gaai/ folder) -- backlog authorization, cross-session memory, decision tracking 113 ★
  • Relentless.Analyze — Analyze consistency across spec, plan, tasks, and checklist 97 ★

README

coding-agent-qa

QA and support tooling for **AI coding agents** (Claude Code, Codex CLI, Muse Code, or any CLI that takes a prompt and edits a repo). It runs an agent on a suite of seeded-bug tasks, grades what it left on disk with **hidden tests and change rules**, decides **GO / INCONCLUSIVE / NO-GO** across repeated runs (because agents are not deterministic), and when a run fails, says **which layer failed** (the agent harness, the orchestration around the model, the customer's environment, or the model's change) and writes the escalation packet a support engineer would send.

python3.12 -m venv .venv && .venv/bin/pip install -r requirements.txt
.venv/bin/python -m caq run                               # scripted agent, 8 tasks, ~3 s
.venv/bin/python -m caq run --repeats 4 --faults flaky    # exit 1: consistency fails, pass@4 hides it
.venv/bin/python -m caq run --agent claude-code --repeats 3   # a real agent (docs/LIVE.md)
.venv/bin/python -m caq triage-log agent.log              # log -> playbook -> escalation packet
.venv/bin/python -m caq doctor                            # environment snapshot for a ticket

**Status:** CI runs everything with a scripted mock agent that can misbehave in 11 specific ways. The real-agent path runs any CLI from `agents.json` through a subprocess (tested with a fake CLI), but no real agent run has been recorded yet.

The task suite

Eight small repos, each with one realistic bug, an issue written like a user report, the file the fix may touch, a visible test the agent can run, and **hidden tests it never sees**:

`pagination-offbyone` · `retry-never-stops` · `duration-parse` · `invoice-rounding` (float vs Decimal money) · `slugify-unicode` · `lru-eviction` · `date-range-inclusive` · `token-bucket` (rate-limiter refill)

A test proves every task is valid: the buggy repo fails its visible test, and the reference fix passes visible and hidden tests while touching only the allowed file.

Grading: what's on di