Hard Agentic Gates: AST Checks Block Dangerous Agent Payloads Even After Human Approval
gerardsans · x · 2026-11-30
Developer gerardsans demos "hard agentic gates" in a Gemini Live prototype: security policies no AI can override.
- Even after clicking "Approve," the agent still couldn't run a dangerous payload — Stage 1 AST checks blocked it with zero tokens spent;
- The design principle: rules belong in code. Prompts may explain a rule but never enforce it; AI builds, humans/code sign;
- A practical rebuttal to the assumption that a human approval click is sufficient — deterministic control-plane checks should gate agent actions first.
More from coding & agent
- AI Agents Didn't Make Building Easier — They Moved the Hard Decisions to You — jacalulu · 2026-11-30
- Coding is mostly solved, collective software engineering is not: a capability-boundary thread — nirmal_dist · 2026-11-30
- Developer builds an endless ski game in ~6 hours with Claude Codex — D3VAUX · 2026-11-30
- AI agent render took 40+ min on GPU-less server; local Blender on Mac was faster and smoother — jnack · 2026-11-30
- One prompt, 17 keys gone: dev audits SSH setup and deletes RSA keys dating to 2009 — AccBalanced · 2026-11-30
- Dev builds 'Chromatic OS' for ModRetro handheld with Codex: a 1984 Mac-style desktop at 160×144 — shaunralston · 2026-11-30