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
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