Elamur Groupants⌕
☰

mova-hard-cases-config

The groupant beside tools/hard-cases/src/config.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
approximantpartialForward approximant
astpartialsyntax.json
compositionpartialComposition
costpartialCost
descriptantpresentDescriptant
invariantpartialInvariant
testsfinite evidenceTests

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
behavior_complementbehavior_complementpartial source derived modelbehavior_complement
reverse_reconstructionreverse_reconstructionpartial source derived modelreverse_reconstruction

Model text

Descriptant

The mova-hard-cases-v1 configuration: list, lane root, source bundle commands, policy, held-out pins, en/prag models, gparse, Fish lane, witnesses, measurement, Eel track configurations, control; unknown fields refused; pinned files checked by SHA-256. Source: tools/hard-cases/src/config.rs.

Forward approximant

load(path) -> Config after schema, absolute-path, bound (pagers 1..8, page 1..256, targets 1..8, context 0..8, timeout 1..900, poll 1..60) and track-name checks; Pin::check -> path when the file's SHA-256 matches.

Invariant

A loaded configuration has absolute paths and bounded lane parameters; eel tracks are only shipped/internal.

Cost

One file read; pins hash their files on use.

Composition

Read by every command (main.rs).

behavior_complement

Does not create directories, start workers or verify that executables are the right programs beyond their pinned hashes. Evidence status: source-derived model with finite checks, not a proof.

reverse_reconstruction

The parsed Config serializes back to an equivalent JSON object; key order and formatting are not preserved.

Tests

cargo test --manifest-path tools/hard-cases/Cargo.toml --offline (2026-11-04: 9 unit tests, two identical runs) Finite fixtures and live samples; not a proof.

This page in Markdown → https://md.groupants.elamur.ai/free/en/mova/tools/hard-cases/src/config.rs.groupant/