Close the loop from production
Most agent platforms break silently when you tweak a prompt. Norilu makes production feedback part of a versioned, evaluated release pipeline:
- Capture the real failure — call
norilu.threads.reportIssue()from your backend or enableallowFeedbackon<AgentThread />. - Pin a regression test — Norilu links the trace and expected outcome into your agent’s test suite and generates a candidate fix.
- Prove v2 before shipping — candidates are scored against both your pinned regressions and unseen holdout cases so a fix for Client A never silently breaks Client B.
- Promote selectively & roll back instantly — roll out v2 to canary customer spaces first, then expand to every space.
// 1. Report a real production miss directly from your app
await norilu.threads.reportIssue(thread.id, {
turnId,
reason: "Refunded the wrong invoice line item",
expectedBehavior: "Confirm the invoice ID before calling create_refund",
});
// 2. After evaluating candidate v2 in Norilu, promote to canary customers first
await norilu.agents.promote("agt_billing_01", {
version: 2,
spaces: ["org_canary_a"],
});
// 3. Roll out to all remaining spaces—or roll back one space in one call
await norilu.agents.promote("agt_billing_01", {
version: 2,
spaces: "all",
});
# 1. Report a real production miss directly from your app
norilu.threads.report_issue(
thread.id,
turn_id=turn_id,
reason="Refunded the wrong invoice line item",
expected_behavior="Confirm the invoice ID before calling create_refund",
)
# 2. Promote evaluated v2 to canary customers first
norilu.agents.promote(
"agt_billing_01",
version=2,
spaces=["org_canary_a"],
)
# 3. Expand to all remaining spaces
norilu.agents.promote("agt_billing_01", version=2, spaces="all")
// 1. Report a real production miss directly from your app
_, err := client.Threads.ReportIssue(ctx, thread.ID, norilu.ReportIssueParams{
TurnID: turnID,
Reason: "Refunded the wrong invoice line item",
ExpectedBehavior: "Confirm the invoice ID before calling create_refund",
})
// 2. Promote evaluated v2 to canary customers first
err = client.Agents.Promote(ctx, "agt_billing_01", norilu.PromoteAgentParams{
Version: 2,
Spaces: []string{"org_canary_a"},
})
Match checks to the response format
Use a required quality check to judge whether a free-text reply asks an appropriate clarification question. Describe the missing information and what a good question should establish.
The Structured interview questions (JSON only) hard check (kind: "question"
in the MCP scenario schema) counts entries in a structured final output such as
{ "questions": [{ "text": "Which date should I use?", "options": [] }] }.
It does not count questions written in prose. The dashboard disables this check
for agents without a structured output contract. Existing saved test results
are preserved; correcting a mismatched check requires a reviewed new test set.
Safe by default
- No silent auto-activation: end-user feedback and candidate improvements never push unreviewed changes live.
- Zero disruption to active chats: existing threads stay pinned to v1 until they finish; new threads pick up v2 automatically.
- Per-space connections preserved: rolling out v2 updates instructions, skills, and tools while keeping each customer’s Agent Vault credentials and spend caps intact.