Elamur GroupantsโŒ•
โ˜ฐ

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

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

componentlabelwhere
approximantpartial source derivedForward
astpartialsyntax.json
compositionpartial source derivedComposition
costpartial source derivedCost
descriptantpartial source derivedDescriptant
invariantpartial source derivedInvariant
testsfinite native checkschecks

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.

idtypelabelwhere
behavior_complementbehavior_complementsource derived finite checkedbehavior_complement
reverse_reconstructionreverse_reconstructionsource derived finite checkedreverse_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

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.

This page in Markdown โ†’ https://md.groupants.elamur.ai/free/en/mova/tools/crab/src/bin/crab-tmux-worker.rs.groupant/