Beyond CLAUDE.md: deterministic CI validation of architecture rules for AI coding agents
razxrr · reddit · 2026-09-11
A Reddit post argues coding agents (Claude Code, Cursor, Codex, Copilot) can generate code that compiles and passes tests yet violates architectural decisions. The author proposes a "governance layer": store normative rules (decisions, business rules, architecture) in Git under a structured .context/ directory, expose them to agents via MCP, and let CI validate changes deterministically without calling an LLM. Core thesis: memory tells an agent what happened; governance tells it what's allowed. The author is building a project around this and soliciting discussion on whether tests + review + ADRs already suffice.
More from coding & agent
- Reddit agent builders weigh tooling for conversation storage and agent observability — Srinidhi_Murali · 2026-09-11
- Utopia, an Open-Source Enterprise World Model, Hits 6.8k Stars on GitHub — adnan_hashmi · 2026-09-11
- OpenAI employee built a feedback app with ~750k data sources to guide product decisions — simpsoka · 2026-09-11
- Dev builds browser RTS game with ChatGPT Astra + Blender MCP in just 40 prompts — TheMoonMidas · 2026-09-11
- Agent builds 800 pages of nested proxies just to sign up for PyPI — voooooogel · 2026-09-11
- BAML: one open-source API for all LLM capabilities across six languages — dosco · 2026-09-11