Skip to content

v2.2: hardening from review findings

Choose a tag to compare

@akallam04 akallam04 released this 13 Oct 21:22
· 10 commits to main since this release

What changed since v2.1

v2.2 is a hardening round from review findings. Every finding, its fix, and the tests that cover it are listed in docs/review-fixes.md. The frozen headline was not rerun or regraded for these fixes; fresh runs are reported separately in the README's Hardening (v2.2) section.

  • Reply and confirmation flow. A complete change request goes straight to the confirmation card. Return reasons come from the customer's own words. Questions, conditional answers, and "yes, and also ..." at the confirmation keep the change waiting. "Can I still cancel?" gets the deadline and an offer, not a card. Handoffs and receipts say exactly what happened, and an email alone no longer lists orders.
  • Store policy in code. Item condition, damaged items, quantities, address formats, Canadian return terms, and missing product data are enforced in code, and every written rule is mapped in docs/policy-parity.md. Refusing an exception for a worn item names the unworn and unused rule.
  • An honest source check. Every amount, date, identifier, and lookup offer in a reply is checked against typed evidence from the store or the cited policy, and numbers a reply needs are calculated in code.
  • Every finding as a test. 30 new simulation tasks, store failure injection, behavior metrics, a scenario check for every homepage button on the deployed agent, 13 browser tests, three CI tiers, and a written model switch rule.
  • Site. The assistant opens on every visit (a side panel on desktop, a half-height card on a phone), "Show me in 60 seconds" replays a real conversation through the gate, the store shows the agent's own catalog as static HTML, and failure states offer a retry.
  • README. The baseline defined, pass^4 next to pass^1, three guarantees linked to code, a box read from the deployed API's release manifest, notes on the results, and production boundaries.
  • Operations. /release returns only the release manifest. An EventBridge Scheduler schedule calls the health check on the Lambda every 5 minutes, with no model call.

Fresh results on the final code (Haiku 5.5, thinking off)

  • Hardening tasks, 2 tries each: 59 of 60 resolved safely, 0 unsafe writes; 8 of 8 complete first messages reached the card in one reply, 0 questions for details already given, 0 false refusals.
  • Main 50 tasks, 1 try each: 50 of 50 resolved safely. 53-case suite: 53 of 53.
  • Scenario check on the final deploy: 10 of 10. A reply the model writes took 2.0 to 5.0 seconds, median 2.5s, on October 13, 2026.
  • Source check replayed offline over 3,285 saved replies: 0 correct replies wrongly flagged, 27 real problems found.

Thinking off passed the earlier switch rule (-0.020 [-0.070, +0.030]) but has not been re-checked under the stricter 0.05 rule adopted in this round.

Headline (frozen: Haiku 4.5, 50 tasks, 4 tries each)

  • Changes the customer never agreed to: 42 of 200 conversations with the gate off, 0 of 200 with it on.
  • Resolved: 185 against 190 of 200, no significant difference (+0.025 [-0.045, +0.105]).
  • Resolved safely: pass^1 0.755 to 0.950, pass^4 0.640 to 0.860.