Elamur GroupantsāŒ•
☰

mova-modules-command

The groupant beside tools/modules/src/main.rs in the Mova repository: what the code computes, what it never does, how to go back from its outputs, its invariants, cost and checks.

Facts

Implementation material. A Mova code model describes this code at one source revision: partial models, finite checks and their stated scope. It is not a reviewed general exposition, and its labels are shown as written, never raised.

Components

componentlabelwhere
approximantpartial source modelforward
astpartialsyntax.json
compositionpartial source modelcomposition
costpartial source modelcost
descriptantpartial source modelepoch-memory
invariantpartial source modelinvariant
testspartial source modelchecks

Obernants

The typed relations around the forward model: the behaviour complement (what the code never does), the reverse reconstruction (every input compatible with an output) and specialised views.

idtypelabelwhere
mova-modules-command-behavior-complementbehavior_complementpartial source modelbehavior-complement
mova-modules-command-reverse-reconstructionreverse_reconstructionpartial source modelreverse-reconstruction

Model text

forward

Collects the arguments after the program name; modules … calls mova_modules::main_args with the rest; anything else is a usage error. An error prints mova: <chain> to stderr and exits 1.

invariant

No other effect than main_args; exit status 0 only on success.

cost

Argument collection O(arguments) plus the called command.

composition

Leaf adapter over mova-modules-lib; world modules … reaches the same main_args.

behavior-complement

Does not parse options itself, read configuration, or provide subcommands other than modules.

reverse-reconstruction

From the exit status, only success or failure; the failing step is recoverable from the stderr chain.

checks

The library tests cover main_args' commands; the binary was exercised end to end on 2026-11-04 (install, list, info, verify, make-torrent, install-torrent without a client, install into a Git work tree refused).

epoch-memory

2026-11-04, first epoch.

This page in Markdown → https://md.groupants.elamur.ai/free/en/mova/tools/modules/src/main.rs.groupant/