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
| component | label | where |
|---|---|---|
| approximant | partial source derived | Forward |
| ast | partial | syntax.json |
| composition | partial source derived | Composition |
| cost | partial source derived | Cost |
| descriptant | partial source derived | Descriptant |
| invariant | partial source derived | Invariant |
| tests | finite native 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 |
reverse_reconstruction | reverse_reconstruction | source derived finite checked | 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.
This page in Markdown โ https://md.groupants.elamur.ai/free/en/mova/tools/crab/src/bin/crab-tmux-worker.rs.groupant/