Skip to content

Releases

v2.2.2: laptop tour card, changes on the store page, and plain step explanations

Choose a tag to compare

@akallam04 akallam04 released this 14 Oct 21:57

What changed since v2.2.1

  • The whole confirmation card fits on laptops during the tour. A compact card layout during the tour keeps the card, title included, above the panel on 1440 by 900 and 1366 by 768 screens. The UI audit now covers both sizes and fails if the tour card is cut off on a laptop.
  • Confirmed changes show on the store page. After a confirmed cancel, address change, or return, that order's State in the Test orders table reads, for example, "Cancelled in your demo copy", with a short highlight. It comes from the visitor's own session, resets with a new conversation, and never changes for the tour. On phones the highlight plays when the chat closes, and reduced motion gets no animation.
  • Plain words for the step rail. Each step has one sentence, such as "Gate: waits for your yes before changing anything", shown in the details panel, as a tooltip on hover or keyboard focus on desktop, and as the rail's description for screen readers. Tapping the rail on a phone still opens the details.
  • Design decisions in the README. The trade-off behind the state machine, the gate in code, the two-backend MCP server, the signed session token, the injectable clock, and the Haiku 5.5 switch rule.
  • Clearer date line. The chat explains that the demo store's fixed date keeps the 2-hour cancel window on its test orders working.

The tour and the README GIF were recorded together on the final site, from the same release as the live demo. No agent code changed in this release.

Checks

  • 617 unit, policy, and graph tests, 37 browser tests on recorded replies, and the UI audit at seven screen sizes, all passing in CI.
  • A live check on the deployed site: a return confirmed through the card updated the Test orders table.

v2.2.1: a tour for first-time visitors and a final audit

Choose a tag to compare

@akallam04 akallam04 released this 14 Oct 05:09

What changed since v2.2

A round for first-time visitors, followed by a full audit of the site, the replies, the code, and the docs. Every fix and its tests are listed in docs/review-fixes.md. The frozen headline was not rerun.

  • A tour anyone can follow. "Show me in 60 seconds" now tells one story in five plain steps, with a panel at the bottom holding Back, Pause, a large Next, and progress. The customer's yes is shown as a tap on the button, the step rail stays hidden, the text box is locked while it plays, and each step keeps what it talks about in view above the panel, on desktop and phone.
  • Clearer copy. Visitors see "Demo store" instead of "Sandbox". The confirmation card is a short title with rows: reason, condition, fee, refund, and timing for a return. The chat says the demo store runs on a fixed date so its test orders always work.
  • The chat is never blank. An empty chat always shows the greeting and the scenario buttons, including after closing the chat during the tour or while it loads.
  • Replies. An address outside the US and Canada gets that rule instead of a request for the address again. Refusals read naturally for plural product names, the return receipt no longer repeats itself, order answers no longer describe the lookup, a handoff is never called a transfer, and a pending-payment order is no longer said to ship as placed.
  • GitHub matches the site. scripts/record_demo.py records the tour conversation and the README GIF together from the deployed release, and a test ties them to each other.
  • Layout is checked on every push. scripts/ui_audit.py screenshots 19 states at six widths, from 320 to 1440 pixels, and the free CI tier fails on sideways scroll, clipped text, overlaps, or a table wider than its box.

Checks on the final release

  • 53-case suite: 53 of 53. Scenario check on the deployed agent: 10 of 10.
  • 617 unit, policy, contract, and graph tests, 29 browser tests on recorded replies, and the UI audit at six widths, all passing in CI.
  • A reply the model writes took 2.2 to 2.7 seconds, median 2.5s, on October 13, 2026.

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.

v2.2: hardening from review findings

Choose a tag to compare

@akallam04 akallam04 released this 13 Oct 21:22

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.

v2.1: thinking off by default

Choose a tag to compare

@akallam04 akallam04 released this 08 Oct 03:01

Thinking is off by default after the same upgrade check: 0 unsafe writes and resolved safely 95 of 100 against 97 with thinking on, -0.020 [-0.070, +0.030], with p95 turn latency 3.53s against 4.55s and cost per resolved conversation $0.0006 against $0.0007.

v2.0: an agent that asks before it acts

Choose a tag to compare

@akallam04 akallam04 released this 08 Oct 02:35

What changed since v1

v1 was a read-only support agent: retrieval over the store's pages, order lookups through a self-built MCP server, and 53 of 53 on its test suite. v2 lets the agent change orders and measures that it does so safely.

  • Write actions behind a gate in code. Cancel, change an address, request a return, or hand off. A policy engine checks each change, the customer sees the exact change and the checks it passed, and nothing runs until a clear yes.
  • A safe public demo. A private sandbox store per visitor, masked emails, and no web server access log.
  • Measured by simulation. A tau-bench-style simulator (Qwen 3.8 Flash as the customer, Claude Sonnet 5.5 as the judge) with pass^k and paired intervals. Every run is saved in evals/results/sim/.
  • A rebuilt site. A step rail under every reply, a confirmation card, and a How it works page fed by the saved runs.

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

  • Gate on resolved 190 of 200 and gate off 185: +0.025 [-0.045, +0.105].
  • Conversations with an unsafe write went from 42 to 0, and safe pass^1 from 0.755 to 0.950: +0.195 [+0.090, +0.310].
  • Held-out tasks: 40 of 40 resolved safely.

Haiku 5.5 check

The rule was set before running: switch only with no unsafe writes and resolved safely not worse beyond noise. On 50 tasks at 2 tries each, both models resolved 97 of 100 safely with 0 unsafe writes, +0.000 [-0.040, +0.040]. Cost per resolved conversation fell from $0.0132 to $0.0007 and median turn latency from 2.48s to 2.10s, so Haiku 5.5 is now the default. It runs adaptive thinking at low effort (Haiku 4.5 ran without thinking; both at temperature 1.0). Turning thinking off saved $0.00006 per conversation and 1.2s at p95 with no measurable change in resolution, so it stays on.

Prompt caching

Haiku 4.5's 4,096-token minimum meant 0 cache hits. On Haiku 5.5, with a 512-token minimum, the existing breakpoint gave 85%. Automatic caching on route and tool-loop calls raised that to 89% and cut the average price per prompt token by 6.5%, with no measurable change in cost per conversation. The judges' repeated prompts are under their minimums and stay uncached.

Details in the README and the technical write-up.