AI
Disciplined Engineering: How We Build AI Systems That Actually Work
AI coding agents are making us worse engineers, unless we add discipline back. Here is what we do instead of vibe coding, and how you can do it too in 30 seconds.
Guarding OpenCode with Destructive Command Guard
AI coding assistants are fast, productive, and occasionally catastrophic. One misplaced rm -rf, one accidental git reset --hard, and hours of uncommitted work vanish.
Jeffrey Emanuel (@Dicklesworthstone) built Destructive Command Guard (dcg): a Rust binary with SIMD-accelerated pattern matching, 49+ security packs, and a fail-open design. It is one of the best tools to come out of the AI agent safety space, and it solved a problem we had been fighting with regex hacks.
This post shows how we integrated dcg with OpenCode using its plugin hook system, so destructive commands are intercepted before they run.
Teaching AI Agents to Learn from Their Mistakes
AI coding agents make the same mistakes over and over. We built a learning system that captures failures, stores corrections, and feeds them back into future sessions — turning every error into institutional memory.
Builds on Why Graph Embeddings Matter — the deterministic engine that makes "remember this correction forever" cheap. Apply the pattern in your own project via the Command Rewriting How-to.
Teaching AI Coding Agents with Knowledge Graph Hooks
How we use Aho-Corasick automata and knowledge graphs to automatically enforce coding standards across AI coding agents like Claude Code, Cursor, and Aider.
New: see Why Graph Embeddings Matter for the underlying engine that makes these hooks possible — sub-millisecond, deterministic, fully explainable.