Elamur Groupants⌕
☰

onto-main-startup

The groupant beside onto/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
approximantpartialapproximant
astpartial../syntax.json
compositionpartialcomposition
costpartialcost
descriptantpresentdescriptant
invariantpartialinvariant
testsexecuted bounded checkstests

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
gate_switchgate_switchpartial source derived modelgate_switch
loader_orderloader_orderpartial source derived modelloader_order
shape_joinshape_joinpartial source derived modelshape_join
effect_domaineffect_domainpartial source derived modeleffect_domain

Model text

descriptant

onto-main-startup

Result composition snapshot→layers→relations→defaults→core gate

Epoch 2026-10-31

Specialized source fragment bytes [2238,2989); shared parent AST. Excludes unrelated parent operations and added test module.

approximant

Scoped forward

Result composition snapshot→layers→relations→defaults→core gate

Domain

This byte-scoped operator uses the parent valid-state domain plus the following local restrictions:

Only exact ONTO_CORE_GATE=off allows conflicts with warning

Layer names must exist before relation/default parsing

store shape checks precede Kb construction, not semantic DAG checks

Reads real resources in production; startup unexecuted by selected helpers

No executable percentage surrogate established.

invariant

Local observations

Snapshot error excludes seed loads; core contradiction excludes Ok unless switch off

Only exact ONTO_CORE_GATE=off allows conflicts with warning

Layer names must exist before relation/default parsing

store shape checks precede Kb construction, not semantic DAG checks

Reads real resources in production; startup unexecuted by selected helpers

cost

Scoped cost

Reads whole snapshot plus three TSV files; decode/check cost O(snapshot bytes+references), seed load repeatedly traverses graph, then core::check. Errors terminate later stages; all effects here are reads and optional stderr warning, but file sizes are not capped.

Symbolic accounting; no timing claim or whole-system speed bound.

composition

Parent join

startup supplies the parent relation: Result composition snapshot→layers→relations→defaults→core gate

Output compatibility is conditional on the local domain and earlier-branch exclusions. Other parent branches are outside this fragment.

models

behavior_complement

Snapshot error excludes seed loads; core contradiction excludes Ok unless switch off

reverse_reconstruction

Successful Kb compatible with all resource paths containing same snapshot/seeds; environment lost

gate_switch

Only exact ONTO_CORE_GATE=off allows conflicts with warning

loader_order

Layer names must exist before relation/default parsing

shape_join

store shape checks precede Kb construction, not semantic DAG checks

effect_domain

Reads real resources in production; startup unexecuted by selected helpers

tests

Evidence

Parent tests.md identifies selected actual-code checks. Fragment is a source-scoped partial model; parent finite fixtures do not establish exhaustive branch coverage or every local equation.

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