Skip to content

B. Release Gate rules

All 37 rules in k11 Release Gate 0.4.0, grouped by evidence kind, with their default outcome. A policy can change any outcome under rules: (block, needs_human, conditional, info or off). k11-release-gate-mcp rules lists them with the outcomes under your own policy.

Generated from the installed package by tools/gen_appendices.py.

Evidence (any kind)

Rule Default Fires when
evidence.missing ๐Ÿ”ด block Required evidence is missing
evidence.stale ๐ŸŸก condition Evidence is older than max_age_hours
evidence.unreadable ๐ŸŸ  needs a person An evidence file couldn't be read

API functional tests

Rule Default Fires when
api.server_error ๐Ÿ”ด block An API returned a 5xx during functional tests
api.flow_failed ๐Ÿ”ด block An API test flow failed
api.flow_not_run ๐ŸŸ  needs a person An API flow was blocked by guardrails or errored, so it proved nothing

API contract

Rule Default Fires when
contract.breaks_critical_consumer ๐Ÿ”ด block An API change breaks a critical consumer
contract.breaks_consumer ๐ŸŸ  needs a person An API change breaks a (non-critical) consumer
contract.escalation ๐ŸŸ  needs a person The contract check asked for a person to decide
contract.breaking_unused ๐ŸŸก condition Breaking API changes that no known consumer uses

UI tests (self-healing)

Rule Default Fires when
ui.real_failures ๐Ÿ”ด block UI tests failed for reasons other than locators
ui.unresolved_locators ๐Ÿ”ด block Broken locators that weren't safely healed
ui.healed ๐ŸŸก condition Locators were healed and verified; the heal PR needs approval
ui.suggested ๐ŸŸก condition Heals were suggested (dry run) but not applied

LLM red-team

Rule Default Fires when
llm.critical ๐Ÿ”ด block Critical LLM security finding
llm.high ๐Ÿ”ด block High-severity LLM security finding
llm.medium ๐ŸŸก condition Medium-severity LLM security finding
llm.low note Low-severity LLM security finding
llm.inconclusive ๐ŸŸ  needs a person LLM probes that need review or errored

Performance (load tests)

Rule Default Fires when
perf.not_run ๐ŸŸ  needs a person The load test was refused by guardrails or failed to start
perf.aborted ๐Ÿ”ด block The load test stopped because too many requests failed
perf.server_errors ๐Ÿ”ด block Server errors (5xx) under load
perf.slo_breached ๐Ÿ”ด block An endpoint missed a latency, error-rate or throughput SLO
perf.regression ๐ŸŸ  needs a person Significantly slower (or more errors) than the baseline
perf.no_baseline note No baseline to compare with, so regressions can't be detected
perf.insufficient_samples note Too few requests to compare some endpoints with the baseline

Security (API tests and scanners)

Rule Default Fires when
security.not_run ๐ŸŸ  needs a person The security run was refused or failed
security.critical ๐Ÿ”ด block Critical security finding (API test, or new scanner finding)
security.high ๐Ÿ”ด block High-severity security finding (API test, or new scanner finding)
security.acceptance_expired ๐ŸŸ  needs a person An accepted security risk has passed its expiry date
security.medium ๐ŸŸก condition Medium-severity security finding
security.inconclusive note Security tests that were inconclusive or not run

Integration (messaging, jobs, databases)

Rule Default Fires when
integration.not_run ๐ŸŸ  needs a person No integration flows ran
integration.failed ๐Ÿ”ด block An integration flow failed (event, consumer, dead-letter queue, job or database)
integration.flows_not_run ๐ŸŸ  needs a person Integration flows were refused (writes not allowed, protected topic) or errored

Test suites (JUnit)

Rule Default Fires when
junit.failures ๐Ÿ”ด block Test failures or errors in a JUnit report
junit.skipped note Skipped tests