← all posts
October 17, 2026·Ronald Adonyo· 7 min read

Can an AI sort out a missing delivery?

Tracking says delivered. The customer is still missing a charger. We gave an AI the case, checked the records it saved, and watched what happened when the facts changed before its next action.

AIAgentsTestingSoftware engineeringTech Boffins

The ⁠customer ‌has ‌the ​keyboard, ​but ‌says ​the ​charger ‌never ​arrived. ‌The ​courier ‌has ​marked ​the ​charger ​as ‌delivered. ‌One ​order, ‌two ​parcels, ​and ​a ​disagreement ​someone ​has ‌to ‌resolve.

This ​is ‌a ‌prepared ​case, ‌not ​a ‌report ‌of ​a ‌real ​customer ‌incident. ⁠I ⁠built ‌the ‌delivery ​desk ​and ‌wrote ​the ​cases ‌myself. ​No ‌real ​customer ‌data ​or ​shop ​connection ​is ‌involved.

For ‌a ​customer, ‌the ​hard ​part ​is ​not ​reading ​one ‌status ‌badge. ​It ‌is ‌repeating ​the ‌same ​story ‌to ‌a ​second ‌person ​while ‌the ⁠first ⁠record ‌says ‌nothing ​is ​wrong. ‌For ​the ​shop, ‌it ​is ‌investigating ​the ‌same ​order ​twice, ​then ​deciding ‌whether ‌to ​refund, ‌resend ​or ​wait. ​Getting ​that ​wrong ​costs ‌money, ‌and ​a ‌case ‌closed ​before ‌the ​customer ‌has ‌the ​charger ‌is ​a ‌failure ⁠even ⁠when ‌every ‌field ​in ​the ‌system ​is ​filled ‌in.

What does “delivered” mean here?

A ​delivery ‌claim, ​a ‌customer ​report ​and ​a ​receipt ‌are ‌different ​facts. ‌The ​courier's ​update ​concerns ​one ​parcel. ​The ‌customer's ‌report ​concerns ‌the ‌contents ​of ‌the ​order. ‌A ‌delivery ​photo ‌may ​be ‌attached ⁠to ⁠one ‌record, ‌but ​the ​photo ‌does ​not ​settle ‌what ​arrived ‌in ​the ‌other ​parcel. ​None ​of ​those ‌details ‌should ​disappear ‌into ​one ​green ​badge.

The ​desk ​keeps ​the ‌parcels ‌separate ​and ‌shows ‌where ​each ‌claim ​came ‌from. ‌It ​records ‌when ​something ‌happened ⁠and ⁠when ‌the ‌system ​received ​the ‌update. ​Those ​times ‌can ​differ. ‌A ​message ‌that ​arrives ​last ​can ​describe ‌something ‌that ​happened ‌earlier.

The keyboard arrived. The charger has a courier delivery claim, a customer dispute and no receipt proof.
One prepared case, several distinct facts. Explanatory graphic; no live courier or customer connection.

An ​image ​can ​be ​attached ​to ​a ‌delivery ‌record. ​In ‌this ‌experiment ​we ‌record ​the ‌image ‌reference ​and ‌its ​metadata; ‌we ⁠do ⁠not ‌test ‌whether ​a ​model ‌can ​read ​the ‌doorway ​or ‌identify ​a ‌parcel ​from ​a ​picture.

This ​is ‌a ‌documented ​integration ‌problem, ​rather ​than ​a ​contrived ​trick ​for ‌an ‌AI. ​Shopify's webhook guidance ‌warns ‌that ​updates ‌can ​arrive ‌more ‌than ​once, ‌arrive ​out ‌of ⁠order ⁠or ‌be ‌missed. ​Its ​order-status documentation ‌also ​accounts ​for ‌orders ​split ‌across ​shipments ‌and ​carriers. ​Our ​example ​borrows ‌those ‌failure ​patterns; ‌it ​is ​not ​a ​Shopify ​integration.

Give the agent a job

The ​agent ‌inspects ‌the ​case, ‌asks ‌for ​missing ‌proof ​and ‌decides ‌whether ​to ‌escalate ​or ‌close ⁠it. ⁠It ‌gets ‌a ​small ​set ‌of ​actions ​and ‌sees ​what ‌changed ​after ‌each ​one. ​The ​simulated ​courier ‌and ‌customer ​can ‌supply ​new ​information ​while ​it ​works.

That ​gives ‌us ‌something ​more ‌useful ‌to ​watch ‌than ​an ‌answer ‌appearing ​in ‌a ​chat ‌box. ⁠We ⁠can ‌see ‌which ​record ​the ‌agent ​inspected, ​what ‌it ​tried ‌to ​do ‌and ​whether ​that ​action ​helped ‌the ‌customer. ​A ‌successful ​hand-off ​can ​be ​a ​good ​result. ‌Closing ‌every ​ticket ‌would ‌be ​a ‌terrible ​target.

Each ‌run ‌is ​checked ‌separately ​against ‌the ⁠saved ⁠records. ‌The ‌expected ​outcome ​stays ‌out ​of ​the ‌model's ​observations. ‌If ​an ‌agent ​tries ​to ​close ​an ‌unresolved ‌dispute, ​that ‌attempt ​belongs ​in ​its ​record ​even ​when ‌the ‌application ​blocks ‌it. ‌A ​guard ‌catching ​a ‌mistake ‌does ​not ‌make ​the ‌model's ⁠decision ⁠correct.

Does the prompt change the result?

The ‌comparison ‌runs ​the ​same ‌cases ​from ​a ‌zero-shot ​task ‌through ​increasingly ‌explicit ​guidance. ​Every ​condition ​gets ‌the ‌same ​business ‌rules, ​evidence, ​actions ​and ​response ​format. ​The ‌middle ‌condition ​adds ‌a ‌map ​of ‌the ​workflow. ‌The ‌most ​guided ‌condition ​adds ‌a ⁠checklist ⁠for ‌inspecting ‌evidence, ​checking ​revisions ‌and ​avoiding ​duplicate ‌actions. ​Zero-shot ‌gets ​the ‌job ​without ​examples ​or ​extra ‌strategy; ‌it ​does ‌not ​have ​to ​guess ​the ​shop's ​rules.

The ‌primary ‌comparison ​is ‌DeepSeek ‌v4.1 ​Flash ‌through ​OpenCode ‌Go ‌and ​Claude ‌Opus ​5.5 ‌through ⁠OMP. ⁠We ‌also ‌tried ​the ​native ‌Claude ​Haiku ​5.5 ‌route ​as ‌a ​cheaper ‌hosted ​candidate. ​Its ​warmup ​returned ‌a ‌protocol ​error ‌without ​an ​answer. ​The ​client ​then ​attempted ‌a ‌fallback, ​which ‌the ‌test ​guard ‌blocked ​before ‌it ‌could ​send. ‌Those ​planned ‌Haiku ⁠cases ⁠stay ‌visible ‌as ​unavailable; ​they ‌receive ​no ​accuracy ‌score. ​Haiku ‌would ​not ‌have ​stood ​in ​for ​a ‌small ‌local ​model ‌with ​a ​known ​parameter ​count.

We ​also ​wanted ‌Gemini ‌and ​Qwen3-4B. ‌Neither ‌has ​a ‌qualified ​route ‌in ‌this ​session, ‌so ​neither ‌appears ⁠as ⁠though ‌it ‌answered. ​The ​run ‌record ​names ​the ‌exact ​models ‌that ​did ‌answer, ​with ​their ​settings. ​A ‌failed ‌connection ​is ‌an ​availability ​failure, ​not ​a ​wrong ​decision.

The ‌questions ‌are ​practical. ‌Did ‌the ​agent ‌ask ​for ‌the ‌right ​missing ‌information? ​Did ‌it ⁠wrongly ⁠try ‌to ‌close ​a ​case? ‌Could ​it ​recover ‌when ​a ‌new ​update ‌made ​its ​earlier ​decision ​stale? ‌How ‌long ​did ‌the ​whole ​task ​take, ​including ​client ​startup, ‌tool ‌calls, ​rejected ‌actions ‌and ​retries? ‌Cold ​starts ‌and ‌warm ​runs ‌need ​separate ‌labels; ⁠a ⁠fast ‌answer ‌is ​not ​necessarily ‌a ​fast ​resolution.

Some ‌decisions ​are ‌already ​defined ‌well ​enough ​for ​ordinary ​code. ‌We ‌discuss ​that ‌boundary, ​but ​the ​scripted ​handlers ​used ​to ‌check ‌this ​harness ‌know ‌which ​fixture ‌they ​are ‌running. ‌They ​are ‌test ​controls, ‌so ⁠they ⁠cannot ‌fairly ‌compete ​with ​an ‌agent ​seeing ​an ‌unfamiliar ​case. ‌This ​pilot ‌does ​not ​score ​a ​rules-only ‌baseline.

What actually happened

Opus ‌5.5 ​passed ‌all ​four ​prepared ​cases ​at ​each ​instruction ‌level: ‌4/4 ​with ‌the ‌task ​alone, ‌4/4 ​with ‌a ‌workflow ​map, ‌and ​4/4 ‌with ⁠the ⁠checklist. ‌Each ‌condition ​already ​included ‌the ​business ​rules. ‌The ​extra ‌guidance ​added ‌no ​passes ​in ​this ​sample. ‌These ‌are ​twelve ‌runs ​of ​four ​cases, ​with ​one ​attempt ‌per ‌case ​and ‌condition; ‌they ​do ‌not ​establish ‌a ‌general ​rule ‌about ​prompting.

Prepared caseWhat the agent did
One parcel is missingInspected that parcel's evidence, then created a proof-request handoff.
Receipt proof conflicts with the complaintInspected the evidence, then escalated for a person to review.
An older courier update arrives againClosed the case once both parcels had receipt proof and no dispute remained.
A dispute arrives before the saveHad its old close refused, refreshed the case, inspected the proof and created one human-review handoff.

The ‌last ⁠case ⁠is ‌the ‌one ​I ​would ‌keep ​in ​the ‌film. ​The ‌agent's ​first ‌choice ​matched ​the ​facts ​it ‌had ‌read. ​A ‌new ​customer ​report ​changed ​the ​case ​before ‌that ‌choice ​could ‌be ‌saved. ​The ‌application ​refused ‌the ‌old ​revision. ‌The ​agent ‌then ⁠read ⁠the ‌new ‌facts ​and ​changed ‌its ​next ​step. ‌The ​saved ‌database ​contains ‌one ​committed ​action; ​the ​refused ‌close ‌wrote ​none.

The agent's old facts, its refused close, refreshed evidence and one committed human-review handoff.
One actual Opus task-alone run in a prepared simulation. The agent still had revision 4 when a new dispute made revision 5 current. The refused close wrote no action; the later handoff saved revision 6.

The ‌DeepSeek ​comparison ​stopped ​partway ​through. ​Some ​responses ‌exhausted ‌the ​requested ‌output ‌allowance. ​One ‌guided ​attempt ‌skipped ‌the ​required ‌inspection. ​Later, ‌a ⁠single ⁠response ‌reported ‌4,385 ​output ​tokens ‌against ​the ​requested ‌1,536 ​ceiling, ‌and ​the ‌harness ​stopped ​before ​executing ​that ‌response's ‌proposal. ​Those ‌are ​different ​failures. ​I ​cannot ​turn ​this ‌interrupted ‌run ​into ‌a ‌full ​model ‌ranking. ​The ‌remaining ‌Opus ​cases ‌were ​completed ‌in ⁠an ⁠explicitly ‌recorded ‌continuation, ​with ​the ‌original ​cases, ​rules ‌and ​limits ‌unchanged.

All ​seventeen ‌retained ​case ​databases ​were ​reopened ‌read-only. ‌Twelve ​passed; ‌the ​five ​failed ​or ​partial ​DeepSeek ​cases ‌remain ‌in ​the ‌record. ‌The ​protocol ‌failure, ​missing ‌cases ‌and ​continuation ‌belong ​beside ‌the ⁠result. ⁠Native ‌usage ‌estimates ​are ​not ‌account ​bills, ​and ‌the ​timing ‌includes ​client ‌startup ​and ​the ​whole ​tool ‌loop. ‌The ​coding ‌attempts ​below ​are ​a ​separate ​experiment.

Make one change in front of the camera

The ​change ‌starts ‌with ​a ‌smaller ‌question: ​proof ‌for ​which ‌parcel?

A ‌proof ​message ‌can ​reach ‌the ⁠shared ⁠update ‌code ‌without ​naming ​a ‌parcel. ​The ​HTTP ‌endpoint ​already ‌rejects ​that ‌message. ​The ​shared ​code ​still ‌records ‌an ​applied ‌update ​and ​advances ​the ​case ​revision, ​even ‌though ‌it ​has ‌no ‌parcel ​to ‌attach ​the ‌proof ‌to. ​Checking ‌one ​entrance ‌has ⁠left ⁠another ‌entrance ‌open.

We ​ask ​a ‌coding ​agent ​to ‌reject ​that ‌message ​cleanly, ‌while ​keeping ​valid ​proof, ​repeated ‌messages ‌and ​customer ‌disputes ​intact. ​The ​agent ​gets ​its ​own ‌copy ‌of ​the ‌app. ‌It ​can ‌inspect ​the ‌code, ‌edit ​it, ‌run ​tests ‌and ⁠repair ⁠its ‌attempt. ‌Separate ​checks ​inspect ‌the ​saved ​records ‌afterwards, ​including ‌after ​the ‌database ​is ​reopened. ​A ​green ‌test ‌command ​alone ‌is ​not ​the ​result.

Three ​fresh ​DeepSeek ​v4.1 ‌Flash ‌agents ​got ‌that ‌same ​job ‌from ​the ‌same ‌starting ​code ‌through ​OMP ‌on ⁠OpenCode ⁠Go. ‌One ‌got ​the ​task ‌alone, ​one ​also ‌got ​the ‌workflow ​map, ‌and ​one ​got ​a ​checklist. ‌All ‌three ​inspected ‌files, ​changed ​the ​code ​and ​ran ​tests. ‌All ‌three ​finished, ‌and ‌their ​visible ‌tests ​passed.

InstructionsSeparate saved-record checksWhole attempt
Task alone7/8108.9 seconds
Workflow map8/893.2 seconds
Checklist8/874.7 seconds

The ‌missed ‌input ​matters. ‌The ​first ‌agent ⁠rejected ⁠an ‌explicit ‌empty ​parcel ​target, ‌but ​a ​message ‌that ​omitted ‌the ​field ‌still ​threw ​an ​error. ​Its ‌regression ‌test ​claimed ‌to ​cover ​a ​missing ​target ​while ​testing ‌only ‌the ​explicit ‌empty ‌value. ​The ‌separate ​check ‌caught ‌the ​difference. ‌For ​the ‌person ⁠chasing ⁠a ‌charger, ‌both ​messages ​mean ‌the ​same ​thing: ‌nobody ​has ‌said ​which ‌parcel ​the ​proof ​belongs ​to.

Coding results: task alone 7 of 8 checks, workflow map and checklist each 8 of 8. Empty and omitted parcel targets are distinct inputs.
Separate saved-record checks: the task-alone repair missed an omitted parcel target. One run per condition, not a general ranking.

The ‌other ‌two ​candidates ‌handled ​both ​forms ​and ​preserved ​valid ​proof, ‌repeated ‌messages ​and ‌disputes. ‌We ​reopened ‌the ​actual ‌SQLite ‌records ​to ‌check ​that ‌a ⁠refusal ⁠wrote ‌no ‌new ​audit ​row ‌or ​case ​revision. ‌The ​reviewed ‌checklist ​candidate ‌was ​then ​adopted ​into ​a ‌separate ‌app ​revision; ‌the ​benchmark ​copies ​stayed ​unchanged.

This ​is ​one ‌task, ‌one ​run ‌per ‌condition, ​in ‌a ​fixed ‌order ‌with ​shared ‌caches. ​The ‌times ⁠include ⁠the ‌native ‌client's ​startup, ​inspection, ‌editing ​and ​checks. ‌They ​do ‌not ​establish ‌that ​a ​checklist ​generally ​makes ‌an ‌agent ​faster. ‌An ​earlier ​task-only ​attempt ​was ​interrupted ​by ‌our ‌capture ​limit; ‌the ‌candidate ​it ‌left ​behind ‌passed ‌all ​eight ‌separate ​checks. ‌That ⁠attempt ⁠remains ‌in ‌the ​record, ​with ‌no ​completed-task ​time. ‌There ​is ‌no ​honest ‌version ​of ​this ​result ​in ‌which ‌zero-shot ​always ‌fails.

Process ​compliance ​is ​a ​separate ​result ​too. ‌All ‌three ​completed ‌agents ‌missed ​the ‌required ​commit-before-RED ‌sequence; ‌the ​task-only ‌agent ​also ‌used ⁠a ⁠temporary ‌probe ‌outside ​its ​assigned ‌copy. ​Passing ​the ‌functional ​checks ‌did ​not ‌erase ​those ​misses. ​The ​practical ‌gain ‌here ​was ‌an ​agent ​doing ​useful ​coding ​work, ​with ‌a ‌second ​way ‌to ‌check ​its ‌claims.

The ​comparison ‌retains ‌filtered ​native ‌tool ​events, ‌source ⁠diffs, ⁠check ‌receipts ‌and ​capture ​limits. ‌It ​does ​not ‌publish ​private ‌model ​reasoning ‌or ​claim ​an ​unfiltered ​transcript. ‌A ‌follow-up ​repair ‌is ​a ​continuation, ​not ​a ​fresh ​comparison. ‌The ‌film ​can ‌use ‌a ​labelled ‌rehearsal ​replay ‌or ‌a ​newly ‌recorded ​attempt; ‌it ⁠must ⁠not ‌present ‌the ​rehearsal ​as ‌a ​spontaneous ​camera ‌result. ​Manual ‌coding ​and ‌pasting ​generated ​answers ​are ​background ‌history, ‌not ​the ‌demo.

Where Jev fits

Jev ​is ​relevant ​at ​the ​small ​decision ‌points: ‌inspect ​the ‌proof, ‌refresh ​the ‌case, ​request ‌information ‌or ​hand ‌it ​to ‌a ⁠person. ⁠The ‌surrounding ‌system ​still ​controls ‌which ​actions ​are ‌allowed ​and ‌checks ​what ‌happened ​afterwards.

Seahaven ​and ​OpenEnv ​are ‌useful ‌references ​for ‌resettable ​worlds ​and ​action–observation ​loops. ​Our ​local ‌delivery ‌simulation ​is ‌its ‌own ​implementation. ‌It ​is ‌not ‌evidence ​that ‌either ​framework, ‌or ⁠Jev, ⁠has ‌been ‌integrated.

The ​part ​I ‌want ​to ​keep ‌in ​the ‌edit ​is ‌the ​useful ​work: ​an ​agent ‌sorting ‌through ​a ‌messy ​case, ​finding ​what ​is ​missing ​and ‌moving ‌it ​forward. ‌Alongside ‌that, ​I ‌want ​to ‌show ‌the ​moment ‌it ​needs ‌another ⁠fact ⁠or ‌another ‌person. ​Most ​people ‌have ​waited ​for ‌a ​delivery ‌or ​had ‌to ​chase ​a ​complaint. ​They ‌don't ‌need ​a ‌lecture ​about ​agents ​to ​understand ​whether ​this ‌one ‌helped.

Resources

boracode.ai · Ronald Adonyo · can-ai-sort-out-a-missing-delivery
content hash c950d036b5f3
A wide horizon at dusk: layered hills in muted plum and ochre above a lake that holds the last light, a family of crested cranes at the water's edge, an acacia in silhouette and a single bright star above the ridge.