Vibeleaderboard
← All Intel
Intel / article

ArchSpec – Static architecture linter for Ruby

Source
archspecrb.dev
Author
earcar
Date

Context

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 reports code that violates them.

Because it examines source code without starting the 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.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source archspecrb.dev
Recommended reads