---
title: "mova-beaver-config — Mova code model"
description: "Mova code model of tools/beaver/src/config.rs: components with their labels, obernants and the model text."
url: "https://groupants.elamur.ai/free/en/mova/tools/beaver/src/config.rs.groupant/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · [Research](https://md.research.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · **Groupants**

This page as HTML: <https://groupants.elamur.ai/free/en/mova/tools/beaver/src/config.rs.groupant/>

# mova-beaver-config

The groupant beside tools/beaver/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

- **kind:** groupant
- **status:** partial source bound model
- **source:** [`tools/beaver/src/config.rs`](https://github.com/ElamurAI/mova-free/blob/main/tools/beaver/src/config.rs)
- **repository folder:** [`tools/beaver/src/config.rs.groupant`](https://github.com/ElamurAI/mova-free/tree/main/tools/beaver/src/config.rs.groupant)

> **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 | [Forward approximant](#forward-approximant) |
| **Ast** | partial | `syntax.json` |
| **Composition** | partial | [Composition](#composition) |
| **Cost** | partial | [Cost](#cost) |
| **Descriptant** | present | [Descriptant](#descriptant) |
| **Invariant** | partial | [Invariant](#invariant) |
| **Tests** | finite evidence | `tests.md` |

## 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.

| relation | type | label | where |
|---|---|---|---|
| Behavior complement | behavior complement | partial source derived model | [Behavior complement](#behavior-complement) |
| Reverse reconstruction | reverse reconstruction | partial source derived model | [Reverse reconstruction](#reverse-reconstruction) |

## Model text


### Descriptant

The Beaver's configuration (schema mova-beaver-v1): paths of the site sources, the library, the run state and the Sol-help links directory, the Sol budget (Codex gpt-* only), the caps and the Mova docs list. Source: `tools/beaver/src/config.rs`.

### Forward approximant

JSON text -> Config (deny_unknown_fields, defaults) -> validate: schema equal, gpt-* model and known effort when sol, caps >= 1, mova_docs with a phrase and an https URL; paths derived: dev, src, deepdive(id), page(id).

### Invariant

A validated Config never names a non-gpt teacher when sol is true; unknown fields are refused.

### Cost

One file read and parse.

### Composition

Read by run.rs; validate calls mova_teacher::validate_model.

### Behavior complement

Not done: no file existence checks, no network, no default paths for the site binary or run root. Evidence status: source-derived model with finite checks.

### Reverse reconstruction

From a Config the effective JSON (with defaults) is recoverable; the original text (order, omitted defaults) is not.

### tests.md


cargo test --release --offline --manifest-path tools/beaver/Cargo.toml (2026-11-07): 9 unit tests and 4 end-to-end tests on a fake site tree. Negative control 2026-11-07: switching off heading masking turned the masking test red; restored. Pilot 2026-11-07 on five real deep dives: 13 inserts, 5 Sol calls, all pages re-attached.

## History


#### 2026-11-07 · document

##### Epoch 2026-11-07 (created)

Created with the Beaver for the operator's ask of 2026-11-07 (too few internal and external links in the research site's paper texts).

## Provenance

- **source SHA-256:** `272e72f87dd633a2…`
- **repository commit:** `c755aaec0159`
