k11 Release Gate
OfficialThis MCP server turns QA evidence into a deterministic, policy-driven release verdict with an audit trail.
Evaluate a release and return
ship,ship_with_conditions,needs_human(with named approvers), orblock, including every finding, source evidence, and untested gaps; writesrelease-decision.md/.json.Plan which evidence kinds a change needs from files changed since
base_refand policy triggers.Collect available QA evidence with kind, file, age, SHA-256, key numbers, and missing required kinds.
List every rule with its default outcome and the outcome under the project’s policy.
Create a commented starter
.qa-mcp/release-policy.yaml, refusing to overwrite by default.
Runs the release gate as a CI step: evaluates the collected QA evidence against the release policy, writes release-decision.md (suitable as a PR comment) and release-decision.json (the audit record), sets GitHub Actions outputs (verdict, blockers, needs_human, conditions, report) and exits non-zero according to --fail-on block | needs-human | conditions | never.
Ingests JUnit XML produced by Gradle test runs as release evidence, turning test failures and errors into blockers and skipped tests into notes according to the release policy.
Ingests JUnit XML output from Jest test runs as release evidence, so failing or erroring JavaScript tests block the release while skipped tests are recorded as notes.
Ingests JUnit XML output from pytest runs as release evidence; failures or errors in the results trigger the junit.failures block rule (or a policy override), while skipped tests are reported as notes.
Consumes the self-healing UI evidence (heal-report.json) produced by the k11 Selenium QA heal-ci pipeline, reporting healed-and-verified locators as conditions to approve, and unresolved or reverted locators as blockers.
k11 Release Gate — MCP server & CI gate
One release decision from all your QA evidence, under a policy you can read, with an audit trail.
Teams already have the evidence: UI test runs, API checks, security scans, JUnit files. What they lack is a consistent answer to "can we ship?". Today that answer is a person reading five dashboards under deadline pressure. k11 Release Gate reads the evidence, applies a written policy and returns one verdict, with every reason and the file it came from:
Verdict | Meaning |
🟢 ship | nothing in the policy objects |
🟡 ship with conditions | ship, but someone must do something (e.g. approve the locator-heal PR) |
🟠 needs a person | ship only with sign-off from a named approver: risk-proportionate human-in-the-loop |
🔴 block | don't ship; here is each blocker and its evidence |
Deterministic. The same evidence and the same policy always give the same verdict. There's no LLM in the decision, so it holds up in an audit. Every evidence file is recorded with its SHA-256, timestamp and age, alongside the policy's own hash and the git commit.
What it reads
The kind of evidence is recognised from the file's content:
Evidence | Produced by |
UI tests with self-healing ( | k11 Playwright QA or k11 Selenium QA |
API contract ( | k11 API Contract QA |
API functional tests ( | |
LLM red-team ( | |
Performance under load ( | |
Security: OWASP API tests and scanner SARIF ( | |
Integration: API, Kafka, batch job and database flows ( | |
Any JUnit XML | pytest, Maven Surefire, Gradle, Jest, Playwright, … |
Related MCP server: blop
Which checks does this change need?
k11-release-gate-mcp plan --base origin/mainThe gate compares the branch with --base and maps the changed files to evidence kinds using the policy's triggers (sensible defaults included): an openapi.yaml change needs contract and API evidence, .tsx/.css/templates need UI evidence, prompts/** needs an LLM red-team. evaluate --base origin/main then requires exactly those kinds, so a CSS-only change isn't held up by a red-team, and an API change can't ship without a contract check. The plan is saved in the decision record, so "why was this check required?" always has an answer.
triggers: # override the defaults per kind
llm: ["src/assistant/**", "prompts/**"]
contract: ["api/openapi.yaml"]Missing evidence is never treated as a pass. Required kinds that are missing block by default, and optional kinds without evidence are listed as not tested.
See it decide
demo/ contains two release candidates whose evidence comes from real runs of the five K11 tools against their own demos.
rc1 → 🔴 Block, with 7 blockers, each traced to its source:
1 UI test failed for reasons other than locators (
ui.real_failures): page title changed2 broken locators still unresolved (
ui.unresolved_locators): "Edit profile" needs review;cart-btnheal revertedAPI change breaks billing-svc, checkout-web, notification-svc (
contract.breaks_critical_consumer): billing-svc is critical, owner @team-billing2 API flows failed (
api.flow_failed): "Order total is quantity times price", negative tests forPOST /orders2 server errors (5xx) in API tests (
api.server_error): wrong type / missingitems[0].qty6 critical and 13 high-severity LLM findings (
llm.critical,llm.high): unverified refund, other customers' records, indirect prompt injection, …Needs a person: the contract check escalated (3 consumers break). Conditions: approve the healed
view-orderslocator; confirm the consumer list for 3 unused breaking changes.
rc2 (after the fixes) → 🟠 Needs a person's sign-off:
Sign-off needed from @qa-lead, @ai-safety-lead before release.
Needs a person: 1 LLM probe inconclusive (
llm.inconclusive)Condition: 1 locator healed and verified: approve the heal pull request
Everything passes, but one security probe couldn't be decided automatically, so the policy asks a named person to look. It doesn't let it through silently and doesn't block the release outright.
QA_MCP_ROOT=demo/rc1 k11-release-gate-mcp evaluate --label rc1
QA_MCP_ROOT=demo/rc2 k11-release-gate-mcp evaluate --label rc2The policy: .qa-mcp/release-policy.yaml
All K11 QA tools keep their settings, baselines and reports in
.qa-mcp/. What each file is for, and what to commit.
name: Order platform release policy
evidence: # where each tool writes its report (globs inside the project)
api_tests: [".qa-mcp/api-test-report/api-test-report.json"]
junit: ["test-results/**/*.xml"]
required: [api_tests, contract, ui_heal, llm]
max_age_hours: 24 # older evidence → evidence.stale
critical_consumers: [critical, high] # their breakage blocks
approvers: ["@qa-lead", "@ai-safety-lead"] # named on a needs_human verdict
rules: # override any rule: block | needs_human | conditional | info | off
llm.medium: needs_human
ui.healed: infok11-release-gate-mcp init writes a commented starter policy; k11-release-gate-mcp rules lists every rule.
Rules
Rule | Default | Fires when |
| block | a required kind has no evidence |
| needs a person | an evidence file can't be parsed |
| condition | evidence is older than |
| block | an API returned a 5xx during functional tests |
| block | an API flow failed |
| needs a person | a flow was blocked by guardrails or errored, so it proved nothing |
| block | an API change breaks a consumer in |
| needs a person | it breaks another consumer |
| needs a person | the contract check asked for a person |
| condition | breaking changes with no known consumer |
| block | UI tests failed for reasons other than locators |
| block | broken locators were reverted, need review or weren't found |
| condition | locators were healed and verified; approve the heal PR |
| condition | heals were suggested in a dry run |
| block | LLM security findings at that severity |
| condition | medium findings |
| needs a person | probes that need review or errored |
| note | low findings |
| block | 5xx responses under load |
| block | an endpoint missed a latency, error-rate or throughput SLO |
| block | the load test stopped because too many requests failed |
| needs a person | significantly slower (or more errors) than the baseline |
| needs a person | the load test was refused by guardrails or didn't start |
| note | regressions couldn't be checked |
| block | API security findings, or new scanner findings, at that severity |
| needs a person | an accepted risk passed its expiry date |
| needs a person | the security run was refused or failed |
| condition | medium findings: plan a fix |
| note | security tests that couldn't prove a result |
| block | an integration flow failed: event missing or wrong, consumer effect, dead-letter queue, job |
| needs a person | flows refused (writes not allowed, protected topic) or errored |
| needs a person | no integration flows ran |
| block | failures or errors in any JUnit file |
| note | skipped tests |
Tools
Tool | What it does |
| The verdict, every finding with its evidence, what wasn't tested; with |
| Which evidence this change needs, from the files changed since a git ref and the policy's triggers. |
| What evidence exists: kind, file, age, SHA-256, key numbers, missing required kinds. |
| Every rule with its default and its outcome under your policy. |
| Writes a commented starter policy (never overwrites without asking). |
The Claude Code plugin adds /release-check, which collects the evidence, tells you which tool produces anything missing, evaluates and explains, without ever softening the verdict.
In CI
On GitHub, use the k11 Release Gate Action: it installs the gate, diffs against the pull request's base branch, posts the decision as a PR comment (updated in place), uploads the audit record and fails at the verdict you choose. The K11 Shop demo shows it on real pull requests.
- uses: K11-Software-Solutions/k11techlab-release-gate-action@v1
with:
fail-on: blockAnywhere else, run the CLI:
k11-release-gate-mcp evaluate --label v2.4.0 --base origin/mainIt writes release-decision.md (the PR comment) and release-decision.json (the audit record), sets GitHub Actions outputs (verdict, blockers, needs_human, conditions, report) and exits non-zero according to --fail-on block | needs-human | conditions | never. See docs/release-gate.yml.
Install
/plugin marketplace add K11-Software-Solutions/k11techlab-release-gate-mcp
/plugin install release-gate@k11-release-gateOr the MCP server only: claude mcp add release-gate -- uvx k11-release-gate-mcp, or pip install k11-release-gate-mcp for CI.
Background
This puts into practice the risk-proportionate human-in-the-loop idea from the K11 research on autonomous CI/CD quality assurance (IJECS, 2026): automate the clear cases and send the uncertain ones to a named person, with the evidence attached. It's an independent implementation and doesn't depend on the research code.
Development
python -m venv .venv && .venv/Scripts/pip install -e ".[dev]" # bin/pip on macOS/Linux
pytest # real evidence from all eight tools, policy, determinism, diff-aware planning, CLI, MCP (27)Roadmap
A GitHub Check with per-rule annotations
Signed decision records (Sigstore) for regulated releases
Approvals recorded against the decision (who signed off a
needs_humanverdict, and when)The Release Readiness Agent: a Claude Code plugin that runs the checks
plan_checksasks for through the K11 servers and asks this gate for the verdict
Built by K11 Software Solutions. Part of the K11 Tech Lab agentic QA series. MIT licensed.
Available Tools
5 toolscollect_evidenceCollect evidenceA
Find the QA reports the policy points to: what each is, when it was produced, its SHA-256 and key numbers, and which required kinds are missing.
Inputs: no named parameters.
evaluate_releaseEvaluate releaseA
Decide whether to release: ship | ship_with_conditions | needs_human (named approvers) | block, with every rule that fired, the evidence it came from, and what wasn't tested. With base_ref, evidence kinds triggered by the changed files become required too. Writes release-decision.md/.json.
Inputs: label, base_ref, write_report.
init_policyCreate release policyA
Write a commented starter policy to .qa-mcp/release-policy.yaml (defaults for every rule). Won't overwrite an existing policy unless asked.
Inputs: overwrite.
list_rulesList rulesB
Every rule, its default outcome and the outcome under the project's policy (block | needs_human | conditional | info | off).
Inputs: no named parameters.
plan_checksPlan checks for a changeB
Which kinds of evidence this change needs, from the files changed since base_ref and the policy's triggers (plus kinds the policy always requires), with the matching files and the K11 tool that produces each.
Inputs: base_ref, include_uncommitted.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool maps to a distinct phase of the release-gate workflow: inspect rules, plan required evidence, collect evidence, evaluate the release, and initialize policy. plan_checks and collect_evidence are related but clearly separated into required-vs-found evidence.
All tool names use snake_case with a consistent verb_noun structure: list_rules, collect_evidence, plan_checks, evaluate_release, init_policy. The verb choice in init_policy is a slight variation but still fits the pattern.
Five tools is well within the ideal 3–15 range and each corresponds to a necessary step in the release-gate workflow. There is no obvious filler or missing count-driven functionality.
The surface covers policy setup, rule inspection, evidence planning, evidence collection, and final release decision. A minor gap is the absence of an explicit update/validate policy operation, though init_policy and direct file editing may suffice.
Maintenance
Related MCP Connectors
Recommend release, part-release or hold, with the reason and amount safe to ship.
Release-readiness verdict, delivered per API call as an atom service on Conduit Atoms.
Pre-launch website QA: deterministic rule-based scans, readiness score, and blockers for agents.
Deterministic decision layer for autonomous agents: reproducible PROCEED/REVIEW/SKIP verdicts.
Related MCP Servers
- AlicenseAqualityCmaintenanceRelease gate agents call before they tell users a public website is ready to ship. Scans public websites across security, SEO, accessibility, legal compliance, and sustainability.9MIT
- AlicenseBqualityCmaintenanceMCP-native release confidence control plane that turns browser execution into auditable go/no-go decisions by combining business-critical journey context, evidence-heavy QA runs, and risk governance.281MIT
- AlicenseNot gradedqualityAmaintenanceProvides autonomous QA and a deterministic ship/no-ship verdict for iOS and web apps, enabling coding agents to explore, screenshot, and test apps via MCP tools.1,778 npm4MIT
- AlicenseBqualityCmaintenanceEnables AI clients to analyze software test results and defect records, producing explainable GO, CONDITIONAL_GO, or NO_GO release-readiness recommendations with deterministic risk scoring, failed-test retrieval, defect hotspot ranking, and regression test planning.4MIT