---
title: "fish-executor-reservation — Mova code model"
description: "Mova code model of tools/fish/src/execute.rs: components with their labels, obernants and the model text."
url: "https://groupants.elamur.ai/free/en/mova/tools/fish/src/execute.rs.groupant/reservation.groupant/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Research](https://md.research.elamur.ai/free/en/) · **Groupants**

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

# fish-executor-reservation

The groupant beside tools/fish/src/execute.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_fragment
- **status:** partial source bound model
- **source:** [`tools/fish/src/execute.rs`](https://github.com/ElamurAI/mova-free/blob/main/tools/fish/src/execute.rs)
- **source SHA-256:** `20e3973c51e44a5b…`
- **covers:** run() reservation, prelaunch deadline, bounded child capture and terminal receipt prefixes
- **part of:** [fish-annotation-executor](https://md.groupants.elamur.ai/free/en/mova/tools/fish/src/execute.rs.groupant/)
- **repository folder:** [`tools/fish/src/execute.rs.groupant/reservation.groupant`](https://github.com/ElamurAI/mova-free/tree/main/tools/fish/src/execute.rs.groupant/reservation.groupant)
- **repository commit:** `855da7bd4a7b`

> **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 source derived | [forward](#forward) |
| **ast** | partial | `../syntax.json` |
| **composition** | partial source derived | [composition](#composition) |
| **cost** | partial source derived | [cost](#cost) |
| **descriptant** | partial source derived | [descriptant](#descriptant) |
| **invariant** | partial source derived | [invariant](#invariant) |
| **tests** | finite fake cli controls | [tests](#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 | source derived finite checks | [behavior_complement](#behavior-complement) |
| `reverse_reconstruction` | reverse_reconstruction | source derived finite checks | [reverse_reconstruction](#reverse-reconstruction) |

## Model text


### model

## Attempt reservation and temporal boundary
### forward
Domain: a new caller-selected attempt directory. Validate local inputs and deadline, create directory privately, sync reservation, write and sync exact prompt and raw streams, check deadline again, then spawn at most one direct child for that attempt. Poll completion/timeout/output, retain diagnostics and sync terminal receipt.
### behavior_complement
An existing directory cannot launch another request through this run function. Expired deadline or oversize full prompt cannot launch. Timeout and malformed response cannot automatically retry. Counterexample to a stronger exclusion: a fresh second directory can bypass per-directory uniqueness unless the supervisor pins task reservations. Evidence: fake nonlaunch, replay and timeout controls.
### reverse_reconstruction
Reservation without receipt corresponds to both unsent and possibly sent histories. It cannot distinguish a local crash before spawn from interrupted post-spawn capture. A receipt narrows the history but does not recover remote accounting. Assumptions: local fsync behavior and trusted paths; no power-loss theorem.
### invariant
Reserve precedes spawn; receipt is terminal evidence before successful return. Active requests use a separate monotonic timeout; wall deadline governs new launch admission. Missing receipt is uncertainty, never evidence that no paid call occurred.
### cost
Bounded JSON/prompt file I/O plus one child lifetime and 50ms polling. Polling output detection may overshoot its nominal read bound; no disk-quota or real-time bound.
### composition
The outer supervisor owns immutable task queues, global uniqueness and process lifetime. This fragment owns one direct-child attempt. Their shared directory and identity protocol must be checked together; neither alone supplies exactly-once remote execution.
### descriptant
Partial artifacts are useful crash evidence. Recovery requires inspection and an explicitly new reviewed campaign decision, not automatic directory reuse.

### tests

Finite fake-CLI controls are shared with execute.rs tests. Source-level prefix ordering is inspected; no exhaustive crash, provider or semantic proof.
