aontu

Use cases

Each use case defines a system such as a service catalog, an event registry, or an access-control model. Its check.sh runs the CLI and checks both expected output and expected refusals.

Every page here is the case's own worked example, rendered from use-cases/ in the engine repository, with the verbatim output of its checks. The short version compresses all 18 into one page.

4 cases include Mermaid diagrams, such as entity graphs and ER diagrams. Other views include dependency matrices, trees, and architecture layers. aontu view generates the figures from each model, and the case's checks compare them with saved output.

A case is a model with its refusals asserted. Where a model is put to work generating a whole application (held to the reference implementation's own tests, over HTTP) that is an example.

Running them yourself

The suite is part of the engine repository, not a separate download. It needs Node with ts/node_modules installed, plus python3 and git for a few cases.

$ ./use-cases/03-api-contract/check.sh   # one case
$ ./use-cases/run-all.sh                 # all of them, one verdict line per case

If a documented result differs from a case's output, report the discrepancy with your engine version and the command you ran.