100
clean traces to prove a draft
3 days
of traffic covered
< 0.5%
normal traces it may stop
Fix approvals
A guardrail drafted from a proven cause
What you get
When an issue's cause is proven from its spans, Zespan can draft a policy from that agent's own recorded traces. The draft is proven only if it would have stopped the original failure and no more than 5, and under 0.5%, of at least 100 normal traces covering 3 days. If it is not proven, the page says why, with the counts.
Fix approvals
A prompt fix tested against production
What you get
On an incident traced to one causal prompt deploy, Propose Fix drafts a new prompt version grounded in the incident's own failing traces. Zespan replays those failures against both the production prompt and the draft, scores both with your LLM judge, and compares them on the quality gate. Only a draft that beats production goes to the approval queue.
Fix approvals
A named person decides
What you get
Nothing is ever auto-deployed. The reviewer of a Propose Fix must be someone other than the person who requested it, and chooses staging or production on approval. A drafted guardrail goes live only when someone presses Turn on guardrail, and then it starts in dryrun: it records what it would block and blocks nothing.
Fix approvals
Every decision on the record
What you get
Turning on a guardrail, guardrail changes and every prompt publish or rollback are recorded in the audit log against one actor: a person, an API key or the system. Apply history names the teammate who ran each apply. The Activity logbook shows the team's approval rate and median review time over the last 30 days.
Setup
Two lines of code.
Running in minutes.
No forking and no architecture changes. Traces appear within seconds of the first agent run, with cost attribution, eval scores, and anomaly alerts on by default.
Common questions
How is this different from the Governance and Guardrails pages?
Governance covers policy as code, holding a risky tool call with awaitApproval, and the audit trail. Guardrails covers rule types and actions. This page is the fix loop: how Zespan drafts a fix, proves it on your own traffic and hands it to a person.
Can Zespan apply a fix on its own?
No. It drafts and replays; a person applies. A drafted policy is saved at dryrun and Zespan never applies it, and a code fix draft only gets a Review the fix link, because Zespan does not change your code.
What does dryrun do?
Everything is recorded and nothing is surfaced or blocked. The docs recommend starting every policy at dryrun, checking what it would have caught, then moving to warn, then deny.
What if I don't have enough traffic to prove a draft?
The draft shows the real count, for example "40 of 100 clean traces so far". You can send past traffic to POST /v1/ingest with its original timestamps; traces from the last 14 days count toward the proof.
Explore more features
All features →



