FICTIONAL SAMPLE. Example Client Ltd is invented. Not client work. Results come from Sparrow Works' offline demo agent.
Sparrow Works / Reliability sprintSample handover report

Fictional example client / offline demonstration

AI agent reliability report

Example Client Ltd

A sample handover for a made-up UK online retailer and its customer-support refund agent. The demonstration uses local fixtures and a mocked language model. No client system was assessed.

Example dates19 to 23 October 2026
Prepared byHenry Williams, Sparrow Works
WorkflowRefund-policy lookup

I build, fix and improve technical systems for businesses.

01

Summary

This sample shows how a bounded reliability sprint could record a workflow, its failure cases and the tests handed over.

Agreed
One customer-support workflow: look up the refund policy and return a cited answer.
Found
Malformed tool JSON, a wrong tool selected before dispatch and an unsupported claim.
Changed
The fixed demo validates tool-call structure, checks workflow permission before dispatch and checks each claim against retrieved text.
Handed over
Regression tests, a tool permission matrix, rerun commands, execution records and stated limits.
Result
Both runs were recorded locally on Henry's computer on 19 October 2026 against Sparrow Works' offline demo agent. The fixed full suite recorded 27 passed, exit code 0, at 2026-10-19T12:44:28.0610071+01:00. The buggy regression run recorded 3 failed, exit code 1, at 2026-10-19T12:44:29.0167736+01:00. Neither run used a client system. The run records retain the exact timestamps and exit codes.
02

Agreed scope and acceptance criteria

This is an illustrative scope for a refund-policy lookup in a customer-support agent. A real sprint would confirm the client's workflow, examples and acceptance criteria in writing before work starts.

Included

  • Assess one agreed agent workflow.
  • Reproduce important failures using agreed examples.
  • Add automated regression checks that can be rerun.
  • Validate tool-call structure and permitted tool selection.
  • Provide a documented report with findings and remaining risks.

Not included

  • Indefinite maintenance or on-call support.
  • A full agent or application rebuild.
  • Additional workflows or open-ended feature development.
  • A guarantee that a language model will never fail.

Acceptance criteria for this example workflow

AMalformed tool-call JSON is blocked before any tool runs.
BA tool outside the read-only workflow is blocked before dispatch.
CAn unsupported or uncited answer is blocked without releasing answer text.
DA valid lookup returns the exact retrieved text with its source citation.
03

Failure catalogue

These cases are replayed by the offline demo's mocked language model. Severity is an illustrative assessment of the consequence within this workflow.

FailureSeverityHow reproducedFix in the fixed demoRegression test
Malformed tool JSONModerateThe mock returns an incomplete search-policy JSON envelope. The buggy path attempts to decode it directly.Parse and validate the complete envelope. Return a blocked result before dispatch when parsing fails.test_malformed_tool_call_is_blocked
Wrong tool before dispatchHighThe mock returns a schema-valid write-tool call during the read-only lookup. The buggy path dispatches it.Check that the workflow permits the selected tool after schema validation and before dispatch.test_wrong_tool_is_blocked_before_dispatch
Unsupported claimHighThe mock answers with refund terms that do not match the retrieved source.Require every claim to match retrieved text exactly and cite that source. Block unsupported output.test_unsupported_claim_is_blocked
04

Before and after results

Both runs were recorded locally on Henry's computer on 19 October 2026 against Sparrow Works' offline demo agent. Neither run used a client system. The run records retain the exact timestamps and exit codes.

RunObserved resultTimestampExit code
Buggy implementation, regression file3 failed2026-10-19T12:44:29.0167736+01:001
Fixed implementation, full suite27 passed2026-10-19T12:44:28.0610071+01:000
Interpretation: the commands use suites of different sizes: the buggy run targets the regression file, while the fixed run uses the full suite. These are observed results from the offline demo agent only. They do not describe a client system.
05

Tool permission matrix

The fixed run_agent path checks the workflow permission before dispatch. The demo toolbox also contains a simulated write tool so the buggy routing failure can be reproduced.

Tool or actionDecisionWhat the code enforces
search_policyAllowedRead-only policy lookup. The tool call must contain a non-empty text query and the request must be the supported refund-policy request.
close_ticketBlocked for this workflowThe call can pass its tool-specific schema, but the fixed workflow rejects it before dispatch. It does not close a ticket.
Unknown tools and other writesBlockedUnknown tool names fail schema validation. The fixed workflow permits only search_policy, so a write tool cannot be dispatched through this path.

This describes the local demo implementation. It does not establish that a separate production system has the same controls.

06

Tests handed over

These are the test function names present in demo/tests. Parameterised functions cover multiple input cases. Both recorded runs were made locally on Henry's computer against the offline demo agent, not on a client system.

07

Remaining risks and limits

Mocked language model

The outputs are fixed examples. This does not show how a live model behaves across repeated or varied requests.

Deterministic local fixtures

The policy text and search result are trusted local fixtures. No live source, customer data or client system was used.

Exact-text citation check

The check accepts only exact source text. It can block a supported paraphrase and is not a general test of meaning or source truthfulness.

No adversarial or operational testing

There was no prompt-injection, load, authentication, deployment or security testing. No production write tool or ongoing monitoring was assessed.

One constrained workflow

The demo supports one exact refund-policy request. It does not cover broader customer-support handling.

No guarantee

These controls cannot guarantee that an agent will never fail. A real system needs checks against its own sources, tools and operating conditions.

08

Recommended next steps

A live model or data connection, additional workflow, write-capable integration, security or load assessment, deployment and ongoing maintenance would need a separate written scope.

09

Handover checklist and rerun

From the project folder:

python -m pytest -p no:cacheprovider -q
python -m pytest -p no:cacheprovider -q --implementation buggy demo/tests/test_regressions.py