Why protocols
Without a standard, every experiment picks its metrics ad hoc — and the fifth checkout experiment measures something subtly different from the first four. Protocols move that decision from each change to the team: whoever owns measurement defines and certifies the standard, and every change on a covered surface gets the right metrics, guardrails, and statistical requirements without anyone re-deciding them. Agents starting changes through the MCP server face exactly the same standard as humans in the dashboard.What a protocol contains
A protocol has an applicability predicate (which changes it covers) and up to four kinds of rules (what it requires of them).Applicability
A protocol declares which changes it applies to using four optional dimensions:
A dimension you leave empty matches everything; every dimension you set must match. A protocol scoped only to the checkout surface applies to all checkout changes regardless of template or risk.
The measurement template is derived from the change’s shape and surfaces:
gradual_rollout, canary_experiment_rollout, adaptive_optimization, prompt_model_tuning (any change touching an AI surface), or backend_threshold_tuning (a backend surface with a threshold-style numeric parameter). The risk class — low, medium, high, or critical — is computed from the kinds of surfaces the change touches and how its parameters bind to them; see Approvals & autonomy.
Metric rules
Each metric rule attaches a metric from your project with a role:- Primary — the decision-driving outcome. A plan carries exactly one.
- Secondary — supporting outcomes, reported alongside the primary.
- Exploratory — directional signals with no bearing on the verdict.
Guardrail rules
Guardrails are the “do no harm” side of the plan. Each rule sets:- Direction —
must not increase(e.g. error rate),must not decrease(e.g. conversion), orwithin range - Threshold — the relative regression tolerated before the guardrail fires, entered as a percentage (e.g. 1%)
- Severity —
warningflags the change for review;blockingis enforced automatically: when a blocking guardrail turns failing on a running phase, the monitor applies the phase’s armed breach action — pausing the policy by default, reverting or recording only when configured — and writes a decision record citing the evidence.
Diagnostic rules
Diagnostics are named data-quality checks, each declared with aninfo, warning, or blocking severity. They’re recorded on the protocol and carried onto the resolved plan, so reviewers see the data-quality expectations the standard sets — separate from whether the treatment is winning — alongside the metrics and guardrails.
Per-phase rules
Beyond metrics and guardrails, a protocol can set phase-specific requirements:
The experiment design targets drive runtime and sample-size estimates for the change. When you leave them blank, system defaults apply — alpha 0.05, power 0.80, relative MDE 5% — and the estimates are labeled as assumed. See Statistics for how significance is computed.
Protocol lifecycle
A protocol moves through three states:
Certifying is deliberate: a protocol can only be certified when every metric it references is itself certified, and certification is a separate permission from editing. Once certified, the protocol can’t be edited in place — New version creates a fresh draft to iterate on, and certifying that new version deprecates the prior certified one. Plans that were resolved from the old version keep their pinned snapshot; nothing changes retroactively.
From protocols to a measurement plan
When a change resolves its plan, Traffical collects the change’s surfaces (its primary surface, declared impacted surfaces, and every surface its parameters bind to), derives the measurement template and risk class, and matches all certified protocols against them. If no certified protocol matches, draft protocols are used as a cold-start fallback — but each one is flagged as an unresolved risk on the plan. Matched rules are merged into a single plan:- Metric roles are reconciled by precedence. A metric that is primary in any protocol is primary; it never appears in two roles.
- Competing guardrails collapse to the strictest. When two protocols constrain the same metric in the same direction, the plan keeps the higher severity and the lower threshold, and notes the reconciliation.
- One primary survives. If several protocols contribute primaries, the change’s stated objective designates the winner and the rest demote to secondary. Multiple primaries with no designation is an unresolved risk — and a hard block on approval until a human disambiguates.
Plan states
Unresolved risks
The resolver is honest about gaps. A plan records an unresolved risk when:- No certified protocol matched the change at all
- The plan was built from draft (uncertified) protocols
- A manually added metric isn’t certified
- Multiple primary metrics resolved with no designated objective
- An experiment-template change resolved no primary metric
- A required surface has no matching certified protocol
- The change’s parameters span multiple layers
The start gate
Every path that starts traffic — the dashboard, an agent calling the MCP server, an automated phase advance — passes through the same gate. When traffic is about to start, one of three things happens:- An approved plan exists. The start proceeds; metrics and guardrails are attached.
- The plan qualifies for auto-approval. The latest plan is low risk, built entirely from certified protocols, and carries zero unresolved risks — the system approves it on your behalf and the start proceeds. This is what makes routine, well-covered changes frictionless.
- The start is blocked. With certified coverage but a higher risk class, the change waits for a human to approve the plan. With no certified protocol coverage at all, the start is blocked with: “No certified measurement protocol matches this change — a human must approve a measurement plan before exposing traffic.”
Manual metric choices pass through the same validation. A manually added metric that isn’t certified is tracked as an unresolved risk, which disables auto-approval — a human has to sign off, with the gap recorded next to the signature. A certified metric added manually carries no risk.
Where this lives in the dashboard
The Changes surface is enabled per organization. If you don’t see Changes in the sidebar, it isn’t enabled for your organization yet.
Protocols pages
Protocols live under Metrics → Protocols. The list shows every protocol with its version, state, and certification date, filterable by state.
The Protocols list
1
Create a draft
Click New protocol. Name it, set the applicability (surfaces, change templates, risk classes), and add metric rules, guardrails, and the experiment design targets (MDE, alpha, power).
2
Certify it
On the protocol page, click Certify. Certification requires every referenced metric to be certified and asks for explicit confirmation — from that point the version is immutable and starts matching changes as certified coverage.
3
Iterate with versions
To change a certified protocol, click New version, edit the draft, and certify it. The prior certified version is deprecated automatically.
The change’s Plan tab
Every change’s detail page has a Plan tab showing the resolved plan: its state badge, the resolution summary, primary and impacted surfaces, the source protocols with their pinned versions, the metric sets, guardrails and diagnostics, and any unresolved risks. From here you can Resolve plan (or re-resolve after editing the change) and Approve plan.
A change's Plan tab
Next steps
Changes
The unit of work protocols measure — phases, templates, and lifecycle.
Approvals & autonomy
Risk classes and who (or what) may advance a change.
Metrics
Defining the metrics your protocols reference.
Working with changes
The Changes pages end to end.