jobs-main-flags
The groupant beside tools/jobs/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
| component | label | where |
|---|---|---|
| approximant | partial | approximant |
| ast | partial | ../syntax.json |
| cost | partial | invariant-and-cost |
| descriptant | present | descriptant |
| invariant | partial | invariant-and-cost |
| tests | bounded or representation | 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 |
first_index | first_index | partial source derived model | first_index |
missing_successor | missing_successor | partial source derived model | missing_successor |
numeric_domain | numeric_domain | partial source derived model | numeric_domain |
caller_default | caller_default | partial source derived model | caller_default |
Model text
descriptant
jobs-main-flags
Epoch 2026-10-31
Prospective inspection identified this relation before additions: Find first args element equal key, take following string, parse f64; any missing step yields None.
The production implementation is unchanged; only selected inline tests are appended. Source-bound syntax is generated twice and compared. Native checks exercise bounded helpers; entry orchestration, teacher calls, models and corpora remain source-derived. Partial syntax is not semantic proof. Preserve failure prefixes and ambiguity when refining this model.
approximant
Forward relation
Find first args element equal key, take following string, parse f64; any missing step yields None.
Composition
This fragment isolates the stated helper relation; parent composition retains surrounding effects and failures.
catalog
Typed observations: jobs-main-flags
Subject: tools/jobs/src/main.rs, SHA-256 ddb2e9ecf8ef78a1d13ce00030932ef2703746e56c52f29c33fc428366f20a29. Domain: bounded source inputs, declared filesystem/environment state and normal allocations. Each view is a partial source-derived relation, not a universal proof. Observation is one helper call or the explicitly described trace. Checks are in tests.md; unexecuted effects remain gaps.
behavior_complement
A later valid duplicate cannot repair invalid first occurrence. Missing key or value cannot produce Some.
Scope: the bound source interval and stated assumptions. Evidence: source inspection plus the checks explicitly named in tests.md; no finite check establishes all inputs.
reverse_reconstruction
Some(v) admits all argv vectors whose first key successor parses v, arbitrary prefixes without key and arbitrary suffix. NaN lexical variants and equivalent floats prevent uniqueness.
Scope: the bound source interval and stated assumptions. Evidence: source inspection plus the checks explicitly named in tests.md; no finite check establishes all inputs.
first_index
position scans forward exact equality; no --key=value syntax and no option namespace parsing.
Scope: the bound source interval and stated assumptions. Evidence: source inspection plus the checks explicitly named in tests.md; no finite check establishes all inputs.
missing_successor
Key in final slot maps None, same observation as absent key and parse failure.
Scope: the bound source interval and stated assumptions. Evidence: source inspection plus the checks explicitly named in tests.md; no finite check establishes all inputs.
numeric_domain
f64 parse admits negatives, infinity and NaN. Returning Some is syntactic parse success, not a valid budget.
Scope: the bound source interval and stated assumptions. Evidence: source inspection plus the checks explicitly named in tests.md; no finite check establishes all inputs.
caller_default
Caller unwrap_or substitutes only None, never Some(NaN); default 7200 secs does not sanitize NaN.
Scope: the bound source interval and stated assumptions. Evidence: source inspection plus the checks explicitly named in tests.md; no finite check establishes all inputs.
tests
Checks and limits
wave33_tests::flag_first_occurrence_and_nonfinite covers repeated/invalid/missing/negative/NaN cases.
Exact native outcomes and command metadata are retained in the external wave33 cycle receipt bundle. Selected names run twice in debug and release; syntax is independently regenerated twice. Compiled mutations and source restoration receipts distinguish behavior changes from assertion-only controls. These claims are finalized in evidence.md. No live teacher, real model/corpus, benchmark CLI or lesson-learning CLI is run.
invariant-and-cost
Invariant and cost
No duplicate retry and no finite/positive constraint.
O(argument count+numeric token bytes), constant extra memory.
No executable percentage surrogate is claimed: effects, categorical acceptance and report text have no justified approximate metric here. Future profiles require a useful metric, zero case, reference and evidence at caps 1/2/5/10%.
This page in Markdown โ https://md.groupants.elamur.ai/free/en/mova/tools/jobs/src/main.rs.groupant/flags.groupant/