ArchSpec turns a Ruby team's architectural conventions into checks that can run whenever code changes. Its documented examples include preventing models from depending on controllers and forbidding service objects from calling page-rendering methods. Developers express those boundaries as rules, and the ToolAn operation that the software around a model makes available for the model to request, with a name, expected inputs and a kind of result.Full definition → reports code that violates them.
Because it examines source code without starting the ApplicationSoftware arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.Full definition → or connecting to a database, those checks can run in automated development workflows, including after changes made by coding agents. Its contribution is making specified architectural boundaries enforceable during development; it does not establish that the application's behavior is correct.
Terms in this piece · Glossary
Tool — An operation that the software around a model makes available for the model to request, with a name, expected inputs and a kind of result.
Application — Software arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.
File — A named unit of stored data that keeps its contents while no program is using it.