Reddit dev proposes LEM/H40: separating AI interpretation from governed execution
_Boon21_ · reddit · 2026-12-07
A Reddit developer shares a dual-engine agent architecture called LEM/H40: LEM interprets and normalizes incoming information, while H40 independently validates whether it may cross an execution boundary, both under predefined constraints the interpreting system cannot modify. The principle: AI may propose operations, but an independent deterministic mechanism governs permission. Parts already run in production without runtime generative AI. The author asks how others prevent AI-generated instructions from gaining unauthorized privileges, whether they use middleware or policy engines, and how to stop agents from circumventing their own governance.
More from coding & agent
- The models are fine — what's missing is context: how to structure your personal AI context — dSebastien · 2026-12-07
- Claude Code ships 3 Roblox games in 6 days via MCP — chasing a million Robux — Builder_0101 · 2026-12-07
- Archil launches checkpoint diffing: git-style snapshots for multi-agent file systems — madhavsinghal_ · 2026-12-07
- One agent rule to keep: agents can read anything, humans approve every write — McDonaghMatthew · 2026-12-07
- Dev builds Orikata: webcam hand-tracked origami site made with Claude Code — Unhappy_Performance8 · 2026-12-07
- Alchemy adds self-hosted workerd clusters: run Cloudflare-style Workers on AWS, GCP, Fly, Hetzner — samgoodwin89 · 2026-12-07