Structural and Behavioral Architecture: Graph-Based Approach to Complexity Control
AI agents generate code quickly but often create architectural chaos. After two weeks of vibe-coding, the project turned into an unmaintainable mess. It became clear: a formal architecture model is needed. This article shows how to automatically build two types of architectural graphs: structural (from source code via AST) and behavioral (from acceptance test traces). In future articles, I'll cover architecture validation based on these graphs.