How it works

From one-off fix to durable improvement.

The loop has three stages. Each one produces something the next stage can verify.

01 · Observe

Capture the failure with its context

When an agent gets something wrong — a bad tool call, a misread policy, a wrong escalation — LonsLabs records the full trace and the human judgment that flagged it. Similar failures are clustered so the team sees one problem, not forty tickets.

02 · Update the harness

Turn the failure into a test, then fix it

The case is added to the testing harness. LonsLabs drafts candidate changes to the responsible artifact and runs them against the new case and the full suite. Only changes that pass, and that have the required approvals, move on.

03 · Deploy

Ship with measurement attached

The approved change rolls out along with a validation plan. Production signals confirm whether the behaviour improved. If it didn't, the loop reopens with the new evidence already in place.

Carrying the lesson

Written where it will be read.

Most teams store lessons in retros, wikis, or memory. LonsLabs pushes them into the artifact that has to change — the prompt, the context file, the tool schema, the policy clause, the evaluation case, or the environment config — and links the edit back to its evidence.

That is the difference between a team that solved a problem once and a system that no longer has it.

prompts/refund-agent.md · v13 → v14LL-0418
12## Escalation rules
13Escalate refunds over €200 to a human.
13Escalate refunds over €200, or any order containing a gift item, to a human.
14Source: trace #91f2 · policies/gifts.md · approved by Support Ops
Safeguards

Humans decide the ambiguous cases.

Speed comes from the harness. Trust comes from the review.

Permission-aware

Each artifact has owners. A change to a policy routes to the policy owner; a change to a tool routes to the platform team.

Source-linked

No change exists without the evidence that justified it. Reviewers see the trace, not a summary of it.

Human-reviewed

Proposals with conflicting interpretations or weak evidence are held for a person, never auto-merged.

Measured after rollout

Validation moves into production. A change is not "done" until the outcome is confirmed.

Get started

Run the loop on your agents.

Onboarding is hands-on. We start from your real failures.

Request access