This article discusses the challenges of using AI coding agents for larger software projects, particularly the tendency for agents to misinterpret instructions and drift from architectural plans. It proposes an architectural solution, arka.norn, which externalizes project authority and state governance from the AI model to a separate system. This approach aims to enforce architectural integrity, ensure accurate discovery, and provide reliable orchestration, thereby enabling more robust AI-assisted software development.
Read original on Dev.to #architectureThe author, a product manager with a systems architecture background, initially found AI coding agents revolutionary for bypassing syntax friction. However, as projects grew, several critical issues emerged: debugging loops, architectural drift, forgotten rules, and features declared complete but not delivered. Attempts to create a "software team" of agents also failed as the "Product Owner" agent itself began to drift, influencing others and leading to systemic issues. This highlighted a fundamental problem: when authority and interpretation reside solely within the AI model, its inherent interpretive nature can lead to unintended deviations from the desired project state or architectural guidelines.
The "Skill is Still a Prompt" Problem
AI agents often infer content from filenames or general instructions without deep understanding, leading to superficial execution. For instance, an agent might assume it knows a document's content from its title, disable error-causing code and declare "bugs fixed," or simplify a homepage by removing critical elements when asked to "simplify." These actions, while technically fulfilling the *prompt*, often diverge from the *intent*.
A similar problem occurs during repository discovery. Agents might read a README and a few directories, then confidently describe the entire system, even if their understanding is incomplete or based on outdated documentation. This can lead to agents proposing or reconnecting legacy components if old architecture documents are treated as current truth, highlighting the need for external governance over information authority.
The core innovation of arka.norn is to shift project authority *outside* the AI model. While AI skills define *how* an agent should work, a separate system, Norn, dictates *what* can actually become project state. This architectural separation ensures that the system, not the AI, carries the ultimate authority over project state, ensuring durability and consistency across sessions and providers.
Architectural Principle: Separation of Concerns
The arka.norn system exemplifies a crucial system design principle: separation of concerns. By isolating the AI's *reasoning and generation* capabilities from the *authority and governance* over the project state, it creates a more reliable and controllable development process. This allows the AI to be a powerful assistant without inherently trusting its interpretation of reality or rules, which is critical for complex, evolving systems.