---
title: "crab-tmux-worker-cli — Mova code model"
description: "Mova code model of tools/crab/src/bin/crab-tmux-worker.rs: components with their labels, obernants and the model text."
url: "https://groupants.elamur.ai/free/en/mova/tools/crab/src/bin/crab-tmux-worker.rs.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/crab/src/bin/crab-tmux-worker.rs.groupant/>

# crab-tmux-worker-cli

The groupant beside tools/crab/src/bin/crab-tmux-worker.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/crab/src/bin/crab-tmux-worker.rs`](https://github.com/ElamurAI/mova-free/blob/main/tools/crab/src/bin/crab-tmux-worker.rs)
- **source SHA-256:** `7e1182f1c22bde45…`
- **repository folder:** [`tools/crab/src/bin/crab-tmux-worker.rs.groupant`](https://github.com/ElamurAI/mova-free/tree/main/tools/crab/src/bin/crab-tmux-worker.rs.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 native checks | [checks](#checks) |

## 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 checked | [behavior_complement](#behavior-complement) |
| `reverse_reconstruction` | reverse_reconstruction | source derived finite checked | [reverse_reconstruction](#reverse-reconstruction) |

## Model text


### model

## Crab Dolphin holder binary — source-bound model

### Descriptant

`bin/crab-tmux-worker.rs` is the executable Crab starts for a Dolphin; it forwards to `tmux_worker::main_with_args`.

### Forward

Collect argv after the program name and exit with main_with_args(args).

### Invariant

- No behaviour of its own besides forwarding arguments and the exit status.

### Cost

Constant.

### Composition

Configured as a worker argv in Crab's configuration; see `tmux_worker.rs`.

### behavior_complement

Type: behavior_complement. Not done: any parsing, signalling or tmux operation of its own.

### reverse_reconstruction

Type: reverse_reconstruction. The exit status maps back to the holder outcome class (0, 2, 3, 4, 5, 6).

### checks

#### Checks (2026-11-04)

2026-11-04: covered through tmux_worker tests of main_with_args parts (parse_args, run, outcomes).

Tests use private tmux servers (`tmux -L`) and temporary directories; no real LLM terminal, model or network call.
