Behavior-Driven Story Testing Keeps Your AI Agent Harness Grounded in Domain Language
samgoodwin89 · x · 2026-11-29
Alchemy author Sam Goodwin shows how behavior-driven story testing and invariant formal verification can describe an agent harness's behavior in Given/When/Then form, keeping agents anchored to the domain's ubiquitous language. The example defines invariants like RepliesAreCounted on an Issue aggregate, plus a full story test: report issue → policy routes to a Triage session → auto-labeling → an external comment flips the label.
More from coding & agent
- Alchemy Makes Agent Harnesses Swappable as Layers, Launching with Pi and OpenCode — samgoodwin89 · 2026-11-29
- Alchemy Lets You Swap Agent Sandboxes Across Boat, E2B, Daytona and 6 More Providers — samgoodwin89 · 2026-11-29
- 165-agent swarm writes kernel code, makes Qwen3.5-4B decision model ~80% faster than vLLM — ProfBuehlerMIT · 2026-11-29
- Workday demos agents that predict next actions, not words, with action cards — iamrobotbear · 2026-11-29
- Routing agent steps to cheap models: when should you escalate to the strong one? — Wezabis2 · 2026-11-29
- Auditing Claude with a second model: interim report cites six patterns of obstruction — Yamapama · 2026-11-29