# Autonomous QA Guard

> Audit automated test plans and execution evidence without letting repairs weaken assertions — clean sessions, isolated runs and mutation evidence required.

Autonomous QA Guard is a paid AI agent skill on Agensi by andan, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $29 (one-time purchase)
- Creator: [andan](https://www.agensi.io/creators/andan)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.0
- Last updated: 2026-11-25
- Security: scan passed (2026-11-25); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/autonomous-qa-guard
- Tags: testing, node-js, qa-automation, test-audit, ci-cd

## About this skill

**Fix broken tests without weakening them.**

When a selector breaks, the fast fix is to loosen the assertion — and the test stops protecting anything. Autonomous QA Guard audits the plan and the evidence around it: it proposes repairs that preserve the approved assertions, and it refuses to report a pass on a dirty session, reused browser state or an unproven mutation.

### How it works
1. **Audit the plan.** The contract defines steps, assertions, cleanup steps and at least one mutation for each primary assertion.
2. **Propose repairs, never approve them.** A broken selector is matched against the approved locator identity and the observed DOM. A unique exact match yields a proposal marked `approved: false`, with the reason, for a human or host to approve.
3. **Verify execution honestly.** A pass requires a clean isolated session, evidence bound to the contract revision and build, and mutations that were actually detected.

### What the report gives you
- Per-step rows with status and the reason a step could not be counted.
- Repair proposals showing `from` and `to` selectors with the identity evidence behind them.
- Mutation outcomes: survived (the test is too weak) versus detected.
- A pass that means “assertions preserved, isolation proven, mutation caught”, not “the test went green”.
### What is bundled
- `SKILL.md`, quickstart and the v2 reference.
- A deterministic engine plus a helper for preparing and auditing inputs.
- An example contract with cleanup steps and a mutation, ready to adapt.

### Requirements
- Node.js 18+. An agent host that can run local Node scripts.
- No API key, account or network access needed by the bundled engine.

### Licence
Proprietary commercial-use licence for authorised work. No redistribution or resale.

## Requires

- Node.js

The skill audits plans and evidence. It never executes a repair, approves a selector, or drives a browser by itself.

## Known limitations

Requires Node.js 18+. Will not perform external network calls or disk writes. Requires pre-existing authorized host tools for live observations.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Autonomous QA Guard skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does the Autonomous QA Guard prevent test suites from degrading during automated healing?

This skill prevents 'silent failures' by auditing automated test repairs to ensure assertions haven't been weakened just to make a test pass. It strictly validates that execution evidence matches the original test plan, maintaining the integrity of your QA gates.

### What technical environment and AI agents are compatible with this skill?

The skill is designed for Node.js 18+ environments and works seamlessly with agents that support internal script execution via CommonJS. It is particularly effective when integrated into workflows involving Playwright, Cypress, or other browser-based automation frameworks.

### What exactly is included in the purchase of this skill?

The package includes the core logic for the 'Analyze-Prepare-Execute' workflow, along with the internal helper scripts `assist.cjs` and `engine.cjs` required for secure validation and binding.

### Why should I use this skill instead of just prompting an LLM to fix my failing tests?

Unlike a generic prompt that might prioritize a 'green build' over accuracy, this skill enforces a strict separation between plan approval and execution. It uses a structured binding process that makes it impossible to bypass failing assertions without explicit audit detection.

### Is there any complex configuration or network access required for setup?

Setup involves integrating the skill into your agent's capability set and ensuring it has read-access to your test observations. Because it operates without external network requests or disk-write permissions, it is safe for secure, air-gapped, or highly regulated environments.

### Are there any specific limitations regarding how the skill interacts with my infrastructure?

The skill currently focuses on validating execution against plan; however, it requires authorized host tools to be present for real-world observations. It cannot perform its own network requests or direct file writes to ensure it remains a safe, observation-only auditor.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
