01 · What
Turn decisions into checked rules
Enola reads the architecture your code has. enola-intent helps you declare the one you want in enola-intent.yaml: a layer order, components and rules, each with the reason it exists. Intent and Policy as Code describe the vocabulary.
02 · Run
Ask for a proposal
/enola-intent Set up architecture rules for this repository so they are checked from now on. /enola-intent Review and strengthen the architecture we already declare. /enola-intent @payments-api
The last form works on another repository. The skill then:
- Reads what is declared, and what Enola infers.
- Looks for patterns the code almost follows, and drops those that are only habits.
- Writes a draft outside the repository.
- Checks what each rule covers, and what breaks it today.
- Brings you one proposal, with the questions only you can answer.
- Writes what you accept, with your reasons.
03 · Review
Decide what to accept
- Compare it with what is written down. Guidelines, linter settings and comments can hold decisions the agent missed.
- Start with the layer order. Add rules only for what an order cannot express.
- Reject a rule you cannot give a reason for. Every rule needs a because: in your words.
On Gitea, the skill found the documented package order and declared it. It missed one rule that the linter configuration already held, which was added in review.
04 · Enforce
Check every change against it
Turning on enforcement is yours to do:
enola check --base origin/main --fail-on=layers,constraints
By default, only new violations fail the check. To test a patch against the rules before applying it, use enola plan --patch change.diff. It evaluates rules and not the layer order, which enola check covers.
05 · Limits
What it will not do
- Decide for you. Nothing is written until you accept it.
- Enforce, or add exemptions, on its own.
- Know whether a rule is right. A declaration can be wrong or out of date.
Both examples, with their results and cost, are in How to Enforce Architecture Rules for AI Coding Agents.