onto-bridge-world-ingest
The groupant beside onto/src/bridge.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
| component | label | where |
|---|---|---|
| approximant | partial | approximant |
| ast | partial | ../syntax.json |
| composition | partial | composition |
| cost | partial | cost |
| descriptant | present | descriptant |
| invariant | partial | invariant |
| tests | executed bounded checks | tests |
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.
| id | type | label | where |
|---|---|---|---|
behavior_complement | behavior_complement | partial source derived model | behavior_complement |
reverse_reconstruction | reverse_reconstruction | partial source derived model | reverse_reconstruction |
field_boundary | field_boundary | partial source derived model | field_boundary |
file_order | file_order | partial source derived model | file_order |
failure_prefix | failure_prefix | partial source derived model | failure_prefix |
effect_exclusion | effect_exclusion | partial source derived model | effect_exclusion |
Model text
descriptant
onto-bridge-world-ingest
Files→first unique content hash→used filename→typed char/obj/loc lines
Epoch 2026-10-31
Specialized source fragment bytes [932,2778); shared parent AST. Excludes unrelated parent operations and added test module.
approximant
Scoped forward
Files→first unique content hash→used filename→typed char/obj/loc lines
Domain
This byte-scoped operator uses the parent valid-state domain plus the following local restrictions:
key requires leading space and =; quotes require closing quote
First identical bytes wins tale naming
UTF8 read error returns Err before processing that file
Reads only; no writes to source world
No executable percentage surrogate established.
invariant
Local observations
Missing type excludes Ent; later same-content copy excludes used/entity extension
key requires leading space and =; quotes require closing quote
First identical bytes wins tale naming
UTF8 read error returns Err before processing that file
Reads only; no writes to source world
cost
Scoped cost
O(B) read/hash/line scans across supplied files, O(E) emitted entities and O(U) distinct digest/used records. Entire current file string allocated; duplicate text is still read and hashed. File-read failure stops iteration.
Symbolic accounting; no timing claim or whole-system speed bound.
composition
Parent join
world-ingest supplies the parent relation: Files→first unique content hash→used filename→typed char/obj/loc lines
Output compatibility is conditional on the local domain and earlier-branch exclusions. Other parent branches are outside this fragment.
models
behavior_complement
Missing type excludes Ent; later same-content copy excludes used/entity extension
reverse_reconstruction
Ent preimage permits ignored fields/lines but first unique filename determines tale
field_boundary
key requires leading space and =; quotes require closing quote
file_order
First identical bytes wins tale naming
failure_prefix
UTF8 read error returns Err before processing that file
effect_exclusion
Reads only; no writes to source world
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/bridge.rs.groupant/world-ingest.groupant/