enolaDocsWorkflows

Documentation

Workflows

Where Enola fits in a change: before the edit, during an agent session, before the commit, on the pull request and over time.

01 · Overview

Where Enola fits in a change

The same graph serves every step between opening a codebase and looking back at what happened to it. Each row works without the others.

When What you get Guide
Before you edit What depends on the code, and which rules govern it Explore a codebase
While an agent works Each session checked when the agent finishes Agent hooks
Before you commit What your change did to the structure Change control
On the pull request The same check in CI, annotated on the diff CI setup
When reviewing Where to look, and what to test Review, Test plan
Over time When a dependency appeared or left History

02 · Before the edit

Ask what depends on it

With an agent connected over MCP, ask in plain words:

Ask your agenttext
I need to change AuthService. What depends on it?
Which architecture rules apply to this package?

Without one, the same answers come from the shell:

Without an agentshell
enola impact AuthService
enola plan --paths internal/auth

Explore a codebase covers orientation, impact and findings. Intent covers the rules.

03 · During a session

Check each agent session

In your repositoryshell
enola install --hooks

Enola records the structure when a session starts and compares it when the agent finishes. If the agent added a dependency cycle or crossed a declared layer the wrong way, it is told before it reports the work as done. Agent hooks lists what runs, in which agents, and what hooks never do.

04 · Before you commit

See what your change did

By yourselfshell
enola baseline pin
# make the change, or pull
enola check

On a branch, skip the pin and compare with where the branch left its target:

On a branchshell
enola check --base main

Only what the change introduced is reported. Nothing fails until you name what should with --fail-on. Change control covers policies, scope and exit codes, and VS Code shows the same verdict in the editor.

05 · On the pull request

Run the same check in CI

.github/workflows/architecture.ymlyaml
- uses: actions/checkout@v7
  with:
    fetch-depth: 0
- uses: enola-labs/enola-action@v2

With no inputs the action reports and never fails a job. CI setup has the whole workflow, how to choose what fails, and how to run the check outside GitHub.

06 · In review

Hand the reviewer and QA a starting point

Ask your agenttext
Review this branch against main.
What should be tested for this change? Give me a plan I can hand over.

Two skills answer these: review names at most five places to look, and test-plan lists the tests and entry points that reach the change.

07 · Over time

Look back

What the architecture has doneshell
enola log
enola blame "internal/engine -> internal/history"

Every snapshot is recorded, so you can ask when a dependency or a finding appeared. History is experimental. To see which functions keep changing, use enola touched, which reads git and needs no snapshot.

08 · More than one repository

Work across repositories

Every step above also works on a set of repositories. A backend and its clients become one graph, and a change to a route names the clients that call it. Multi-repo shows how to load them.