Ex-manufacturing engineer ports Toyota Andon system to Claude Code, open-sources it
PrimeFold · reddit · 2026-09-08
A developer with 15 years in Lean/Six Sigma manufacturing open-sourced Andon (MIT, free), adapting Toyota production-line thinking to Claude Code so agents stop repeating the same mistakes.
Origin: an agent fixed a bug in 5 spots, claimed it was done, but 9 more instances lurked in files it never opened. The fix wasn't better prompts — it was changing the process, as manufacturing learned decades ago.
How it works:
- Every meaningful failure is logged, understood, and turned into a countermeasure that makes the error harder to repeat;
- The standout piece is a Stop hook: when the agent says "done/shipped/verified," the hook checks for fresh verification evidence; if absent, the session enters warn mode (promotable to blocking) instead of quietly ending;
- Rest is modular: a memory file, instructions with a mistakes log, hooks, and a setup for parallel agent sessions.
Deliberately boring infrastructure: Markdown, two Python hooks using only the standard library, no dependencies. The repo also includes a defect ledger inviting PRs in the format defect → root cause → countermeasure → result.
More from coding & agent
- OpenAI opens up agent sandboxes: BYO or pick from Cloudflare, E2B, Modal, Vercel and more — threepointone · 2026-09-11
- SocialCrawl MCP lets agents search Reddit, YouTube, TikTok, X with one API key — dooddyman · 2026-09-11
- Astra builds a surprisingly polished Catan game in three.js, reusing past UI and 3D assets — FinanceYF5 · 2026-09-11
- Open-Source Tool Highlights the Exact PDF Paragraphs Behind AI Answers — Flat-Phone-1596 · 2026-09-11
- OpenAI Codex may issue another usage reset this weekend, says Codex lead resets happen — umesh_ai · 2026-09-11
- Dev swaps gemini-3.8 for gemini-3.5-flash-lite in his MCP harness at a fraction of cost — julianharris · 2026-09-11