# QA Testing Blueprints (QA-11X v3.12 — @sinfallas/mcp-qa-11x v3.12.0) > Zero-Infra Agentic QA, Dual-Mode AI Evals, FINOS CALM Architecture-as-Code, and DevSecOps Governance Blueprint (`MIT`). Enforces serialized non-root ephemeral Docker execution (`Rule Zero`, `QA_MAX_CONCURRENT_CONTAINERS=1`, `sinfallas/*`, `Trivy HIGH/CRITICAL = 0`, thermal/RAM & CrashLoop guardrails), `>= 95%` unit coverage, `CC <= 5`, multi-role Screenplay E2E, Pact V4 contracts, `k6` load smoke, and 22 DISA ASD STIG V6R5 + OWASP Developer Guide v4.2 reference controls (enforced via 37 static scanner rules including `QA-DOCKER-LOOP-01`) across 28 AI coding agents with SHA-256 manifest verification. ## Quickstart (30s) - Bootstrap any repository in under 30 seconds without cloning this monorepo: `npx -y @sinfallas/mcp-qa-11x@latest quickstart` - Progressive adoption tiers (`.qa-11x.json` v3; unified non-interactive/CI default = `standard`, interactive TTY prompt in `quickstart`, status banner `[QA-11X | Tier: | Path: ]`): `starter` (day-1 secrets, `.qa-11x.json` v3, `AGENTS.md`, assisted contextual governance templates), `standard` (PR AST blast-radius CI, `QA-UI-ANTI-001..005` anti-pattern lint, SARIF security audit, project `qa-lint`/`lint`; `>= 95%` coverage and strict typing via stack Makefile/CI), and `enterprise` (PR FINOS CALM + certify gates; full 13-layer pyramid, PostgreSQL 17 RLS + WORM `seq_num`, Pact V4 + k6, and Release Gate via CI/Makefile). - Multi-agent and language support (`28` AI coding agents, `--lang auto|en|es`, `--agents auto|all`, `--tier starter|standard|enterprise`, `--governance-docs`, `--decline-governance-docs`, `--bilingual-mirrors`, `--dry-run`). - [README.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/README.md) (`README.md`) — English-first project overview, Docker matrix, and 30-second quickstart. - [README.es.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/README.es.md) (`README.es.md`) — Full Spanish mirror and testing tools matrix. - [docs/agent-setup.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/docs/agent-setup.md) (`docs/agent-setup.md`) — Setup matrix for 28 AI coding agents and MCP clients (Spanish mirror: `docs/agent-setup.es.md`). ## Core Architecture & Governance - [AGENTS.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/AGENTS.md) (`AGENTS.md`) — Canonical governance directives (`11` scripts in `scripts/`, `30` files in `.agents/scripts/`, `28` files in `tests/`), 3-path routing (`DOCS_ONLY`, `MICRO_CHANGE`, `FULL_11X`), and High-IQ Token Economy. - [SECURITY.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/SECURITY.md) (`SECURITY.md`) — Security policy, supported versions, and 34 defense-in-depth requirements (`DISA ASD STIG V6R5`, `OWASP v4.2`, and `QA-DOCKER-LOOP-01`). - [TESTING.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/TESTING.md) (`TESTING.md`) — Live certification scoreboard, ephemeral Docker test suites, and coverage evidence. - [FAQ.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/FAQ.md) (`FAQ.md`) — Operational FAQ covering Rule Zero, Thin-Repo mode, coverage gates, and troubleshooting. - [RESOURCES.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/RESOURCES.md) (`RESOURCES.md`) — Master index of guides, 12 skills, 8 rules, 10 blueprints, Docker images, and catalogs. - [docs/01_ARQUITECTURA_PIRAMIDE_11X.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/docs/01_ARQUITECTURA_PIRAMIDE_11X.md) (`docs/01_ARQUITECTURA_PIRAMIDE_11X.md`) — QA-11X v3.12 13-layer quality pyramid specification. - [docs/ARCHITECTURE_C4.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/docs/ARCHITECTURE_C4.md) (`docs/ARCHITECTURE_C4.md`) — C4 architectural diagrams for the QA-11X ecosystem. - [docs/ai-integration.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/docs/ai-integration.md) (`docs/ai-integration.md`) — MCP server integration and client configuration guide across AI coding assistants. - [.github/actions/qa-11x-pr-check/action.yml](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/.github/actions/qa-11x-pr-check/action.yml) (`.github/actions/qa-11x-pr-check/action.yml`) — Reusable GitHub Composite Action for proportional PR quality gates (`starter` / `standard` / `enterprise`). - [architecture/qa-11x.calm.json](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/architecture/qa-11x.calm.json) (`architecture/qa-11x.calm.json`) — Blocking FINOS CALM Architecture-as-Code topology (6 nodes, 5 typed relationships, 7 controls). - [docs/specs/14_LOCAL_LLM_AND_A2A_PROFILES.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/docs/specs/14_LOCAL_LLM_AND_A2A_PROFILES.md) (`docs/specs/14_LOCAL_LLM_AND_A2A_PROFILES.md`) — Air-gapped Ollama/vLLM profiles, Zero-LLM context compactor, and A2A agent card contract. - [docs/specs/15_ENTERPRISE_TMS_TRACEABILITY.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/docs/specs/15_ENTERPRISE_TMS_TRACEABILITY.md) (`docs/specs/15_ENTERPRISE_TMS_TRACEABILITY.md`) — Bidirectional Jira/Zephyr/Xray/GitHub Issues traceability CLI specification. - [docs/specs/16_SPEC_COBERTURA_DIFERENCIAL_MULTISTACK_Y_ANTI_EVASION.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/docs/specs/16_SPEC_COBERTURA_DIFERENCIAL_MULTISTACK_Y_ANTI_EVASION.md) (`docs/specs/16_SPEC_COBERTURA_DIFERENCIAL_MULTISTACK_Y_ANTI_EVASION.md`) — Implemented multi-stack differential coverage gate (`verify_diff_coverage.py`) and anti-evasion exclusion checks (Milestone 21). - [docs/specs/17_SPEC_CORTACIRCUITOS_ANTI_LOOP_Y_ESTADO_HALLAZGOS.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/docs/specs/17_SPEC_CORTACIRCUITOS_ANTI_LOOP_Y_ESTADO_HALLAZGOS.md) (`docs/specs/17_SPEC_CORTACIRCUITOS_ANTI_LOOP_Y_ESTADO_HALLAZGOS.md`) — Implemented deterministic findings memory and anti-loop circuit breaker (`exit 42`) for `run_ephemeral_qa` and certification gates (Milestone 22). - [docs/specs/18_SPEC_MODO_DIFF_BLAST_RADIUS_Y_VEREDICTO_PR.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/docs/specs/18_SPEC_MODO_DIFF_BLAST_RADIUS_Y_VEREDICTO_PR.md) (`docs/specs/18_SPEC_MODO_DIFF_BLAST_RADIUS_Y_VEREDICTO_PR.md`) — Differential mode for `inspect_ast_blast_radius` (preserving `tools/list` / `resources/list` parity) and `PR_VERDICT.md` attestation exporter (Milestone 23). - [docs/specs/19_SPEC_PLAN_ARQUITECTURA_BILINGUE_EN_PRIMARIO_Y_ESPEJO_ES.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/docs/specs/19_SPEC_PLAN_ARQUITECTURA_BILINGUE_EN_PRIMARIO_Y_ESPEJO_ES.md) (`docs/specs/19_SPEC_PLAN_ARQUITECTURA_BILINGUE_EN_PRIMARIO_Y_ESPEJO_ES.md`) — Implemented (v3.1) EN-primary (`*.md`) and ES-mirror (`*.es.md`) documentation architecture specification. - [docs/specs/20_SPEC_PLAN_IMAGEN_BASE_DOCKER_MOBILE_APPIUM_26.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/docs/specs/20_SPEC_PLAN_IMAGEN_BASE_DOCKER_MOBILE_APPIUM_26.md) (`docs/specs/20_SPEC_PLAN_IMAGEN_BASE_DOCKER_MOBILE_APPIUM_26.md`) — Implemented (v3.1) hardened `sinfallas/base-mobile-appium:26` Docker base image architecture specification. - [manifest.json](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/manifest.json) (`manifest.json`) — Cryptographic SHA-256 index (`DISA STIG V-222513`) for zero-clone verified hydration (`blueprint_version: 3.12.0`). ## MCP Server (`@sinfallas/mcp-qa-11x` v3.12.0 — MIT, Zero-Infra) - [mcp-server/README.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/mcp-server/README.md) (`mcp-server/README.md`) — Official npm package documentation (`@sinfallas/mcp-qa-11x@3.12.0`), runtime security guards, and all 12 CLI subcommands (`quickstart`, `init-agents`, `install-skill`, `reconcile-agents`, `tms-sync`, `doctor`, `upgrade`, `certify`, `audit`, `blast-radius`, `mcp-config`, `completion`). - [.agents/scripts/bump_version_11x.py](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/.agents/scripts/bump_version_11x.py) (`.agents/scripts/bump_version_11x.py`) — Deterministic Zero-LLM version and edition synchronizer (`--check` / `--set`). - [mcp-server/src/a2a/agentCard.ts](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/mcp-server/src/a2a/agentCard.ts) (`mcp-server/src/a2a/agentCard.ts`) — Agent2Agent (`A2A`) capability descriptor (`task-capacity` extension, 12 skills, `QA-GIT-GATE-01`). - [mcp-server/src/security/promptGuard.ts](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/mcp-server/src/security/promptGuard.ts) (`mcp-server/src/security/promptGuard.ts`) — Fail-closed `tools/call` interceptor (`NFKC` canonicalization, Trojan Source stripping, injection & `QA-GIT-GATE-01` bypass blocking, PII redaction). - [mcp-server/src/utils/taskStateGuard.ts](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/mcp-server/src/utils/taskStateGuard.ts) (`mcp-server/src/utils/taskStateGuard.ts`) — Bounded concurrency state machine (`AVAILABLE | BUSY | BROKEN`), `AbortController` timeouts, and 0-byte artifact cleanup. - **12 CLI Subcommands (`npx -y @sinfallas/mcp-qa-11x `):** `quickstart`, `init-agents`, `install-skill`, `reconcile-agents`, `tms-sync`, `doctor` (alias: `status`), `upgrade` (alias: `cache-clean`), `certify`, `audit`, `blast-radius`, `mcp-config`, `completion`. - **20 MCP Tools (`tools/list` — 12 core v1 + 6 v2.0 + v3.1 `session_flight_recorder` + `analyze_ecosystem_specs`):** `inspect_project_config`, `fetch_blueprint_bundle`, `bootstrap_or_merge_11x`, `inspect_ast_blast_radius`, `clean_workspace_11x`, `audit_security_stig_owasp`, `run_ephemeral_qa`, `certify_11x_gate`, `audit_test_pyramid_gaps`, `init_or_append_agents_md`, `propose_skill_evolution_pr`, `reconcile_agents_governance`, `validate_calm_architecture`, `evaluate_release_gate`, `evaluate_agent_trajectory`, `run_llm_red_team`, `audit_vibe_prototype`, `sync_enterprise_tms`, `session_flight_recorder`, `analyze_ecosystem_specs`. - **13 MCP Resources (`blueprint://*` — including v3.1 `blueprint://skills/tactical-patterns-11x`):** `blueprint://manifest`, `blueprint://core/philosophy`, `blueprint://security/disa-owasp-22`, `blueprint://database/postgres-rls-worm`, `blueprint://{stack}/readme` (`python`, `fastapi`, `node-backend`, `vue3`, `react-frontend`, `bash-scripts`, `php`, `mobile-appium`, `ai-evals`, `vibe-rescue`), `blueprint://ui/refactoring-ui/{topic}`, `blueprint://core/active-task-template`, `blueprint://core/cleanup-script`, `blueprint://core/roadmap-validator`, `blueprint://ai/evals-redteam`, `blueprint://mobile-appium/readme`, `blueprint://vibe-rescue/readme`, `blueprint://skills/tactical-patterns-11x`. ## 12 Modular AI Agent Skills (`< 20 KB` each) - [qa-11x-architect](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/.agents/skills/qa-11x-architect/SKILL.md) (`.agents/skills/qa-11x-architect/SKILL.md`, `<= 12 KB`) — Master routing orchestrator; invoke for 3-path selection, 13-layer pyramid planning, `.example` merges, and `TESTING.md`/`CHANGELOG.md` governance. - [qa-11x-devsecops-hardener](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/.agents/skills/qa-11x-devsecops-hardener/SKILL.md) (`.agents/skills/qa-11x-devsecops-hardener/SKILL.md`) — Invoke when designing or auditing PostgreSQL 15–17+ RLS schemas, auth/session flows, AES-GCM vaults, WORM audit chains, or mutating MCP tools. - [qa-11x-systematic-debugging](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/.agents/skills/qa-11x-systematic-debugging/SKILL.md) (`.agents/skills/qa-11x-systematic-debugging/SKILL.md`) — Invoke before fixing bugs, test failures, regressions, or runtime issues via 4-phase Docker reproduction and RED-to-GREEN locks. - [qa-11x-screenplay-builder](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/.agents/skills/qa-11x-screenplay-builder/SKILL.md) (`.agents/skills/qa-11x-screenplay-builder/SKILL.md`) — Invoke for multi-role RBAC E2E suites, semantic self-healing ARIA locators, Anti-JSDOM geometry, Anti-Silo checks, and 3-phase temporal assertions. - [qa-11x-llm-evaluator](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/.agents/skills/qa-11x-llm-evaluator/SKILL.md) (`.agents/skills/qa-11x-llm-evaluator/SKILL.md`) — Invoke for dual-mode RAG, agent trajectory, WebRTC voice latency, PDF/OCR fidelity evals, and Promptfoo OWASP LLM Top 10 red-teaming. - [qa-11x-vibe-rescue](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/.agents/skills/qa-11x-vibe-rescue/SKILL.md) (`.agents/skills/qa-11x-vibe-rescue/SKILL.md`) — Invoke when auditing or hardening AI-generated prototypes (Bolt.new, Lovable, v0, Replit) without breaking their UX. - [qa-11x-docker-certifier](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/.agents/skills/qa-11x-docker-certifier/SKILL.md) (`.agents/skills/qa-11x-docker-certifier/SKILL.md`) — Invoke to run ephemeral `Rule Zero` test/lint/mutation/a11y certification (`>= 95%` coverage, `CC <= 5`, WCAG 2.1 AA, Lighthouse CI). - [docker-trivy-keydb-hardening](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/.agents/skills/docker-trivy-keydb-hardening/SKILL.md) (`.agents/skills/docker-trivy-keydb-hardening/SKILL.md`) — Invoke for non-root Dockerfiles, multi-stage builds, `Trivy HIGH/CRITICAL = 0` hardening, and KeyDB multi-threaded caching. - [graphify-ast-navigator](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/.agents/skills/graphify-ast-navigator/SKILL.md) (`.agents/skills/graphify-ast-navigator/SKILL.md`) — Mandatory first step before Code Q&A or refactoring to inspect `graph.json`/`GRAPH_REPORT.md` callers, callees, and layer boundaries. - [refactoring-ui](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/.agents/skills/refactoring-ui/SKILL.md) (`.agents/skills/refactoring-ui/SKILL.md`) — Invoke when building or restyling interfaces for spacing, typography, OKLCH contrast (`WCAG 2.1 AA`), dark mode, and in-flow layouts. - [tactical-patterns-11x](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/.agents/skills/tactical-patterns-11x/SKILL.md) (`.agents/skills/tactical-patterns-11x/SKILL.md`, `<= 2.5 KB`) — JIT tactical design patterns on complexity/lint failures (`CC <= 5`, `SonarJS <= 15`, `max-params: 4`, offline Port/Adapter, Transactional Outbox). - [qa-11x-reverse-specs](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/.agents/skills/qa-11x-reverse-specs/SKILL.md) (`.agents/skills/qa-11x-reverse-specs/SKILL.md`) — Zero-footprint multi-project reverse specifications, cross-project HTTP/`.env` contract mapping, and functional/AST inconsistency reporting without vulnerability audits. ## 10 Production Blueprints > Matrix scope: **10 hydratable stacks** below + `architecture/` (FINOS CALM topology) + `mcp-server/` (`@sinfallas/mcp-qa-11x`) = **12 matrix environments**. - [python/](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/python/README.md) (`python/README.md`) — Standalone Python libraries and CLIs (`uv`, `ruff CC <= 5`, `mypy --strict`, `pytest >= 95%`, Hypothesis, Mutmut, Bandit). - [fastapi/](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/fastapi/README.md) (`fastapi/README.md`) — Async FastAPI services (`PostgreSQL 17` RLS + Alembic parity, Pact V4 consumer, Grafana `k6` smoke, Karate API BDD). - [node-backend/](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/node-backend/README.md) (`node-backend/README.md`) — Node.js/TypeScript APIs (`ESLint --max-warnings 0`, Vitest `>= 95%`, Pact V4 provider verifier, Stryker, ZAP). - [vue3/](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/vue3/README.md) (`vue3/README.md`) — Vue 3 + Vite frontends (Screenplay `Actor.ts`, Self-Healing DOM `semanticLocator.ts`, Vitest `>= 95%`, `@axe-core`, Lighthouse CI). - [react-frontend/](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/react-frontend/README.md) (`react-frontend/README.md`) — React + Vite frontends (Screenplay `Actor.ts`, Self-Healing DOM `semanticLocator.ts`, RTL, Playwright, `@axe-core`). - [php/](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/php/README.md) (`php/README.md`) — PHP 8.2–8.5 services (`PHP-CS-Fixer`, `PHPStan max`, `Psalm --taint-analysis`, `Pest`/`PHPUnit` + PCOV `>= 95%`, Infection). - [bash-scripts/](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/bash-scripts/README.md) (`bash-scripts/README.md`) — POSIX/Bash DevOps automation (`ShellCheck`, `shfmt`, `BATS-core`, `bats-mock`, `kcov >= 95%`). - [ai-evals/](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/ai-evals/README.md) (`ai-evals/README.md`) — Dual-mode AI evals (RAG faithfulness, Promptfoo OWASP LLM Top 10, WebRTC voice latency, PDF/OCR `Decimal` tables, `golden_from_traces.py`). - [mobile-appium/](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/mobile-appium/README.md) (`mobile-appium/README.md`) — Native & hybrid mobile QA (Appium 3 + WebdriverIO `wdio.conf.ts`, `MobileActor.ts` for Android, iOS, Ionic, React Native). - [vibe-rescue/](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/vibe-rescue/README.md) (`vibe-rescue/README.md`) — Vibe-to-Enterprise hardening (`audit_vibe_prototype.py`, `VIBE-SEC-001..QA-005`, PostgreSQL 17 RLS/WORM template). ## Global Catalogs - [catalogs/qaskills-pack.json](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/catalogs/qaskills-pack.json) (`catalogs/qaskills-pack.json`) — QASkills.sh / `@qaskills/cli` Skill Pack descriptor (`12` skills). - [catalogs/skillsllm-manifest.json](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/catalogs/skillsllm-manifest.json) (`catalogs/skillsllm-manifest.json`) — SkillsLLM.com structured manifest (`12` skills, `20` tools, `13` resources, SHA-256 checksums). - [catalogs/agenticskills-submission.md](https://raw.githubusercontent.com/tecno-consultores/qa-testing-blueprints/main/catalogs/agenticskills-submission.md) (`catalogs/agenticskills-submission.md`) — AgenticSkills.io Skill Bundle + MCP Server + Workflow submission descriptor.