mix-shell

The Mix shell: interactive line and editor facilities, the strict command classifier, the native-session bootstrap and the ABP citizen runtime. All application calls go through noded; the retired per-application socket fast path is omitted. The client supervisor is the shared implementation in bus.

The language itself is the mix library, and its manual is at /mix/.

The binary

This package is a library. The mix binary is built by system, which runs mix_shell::main when started as mix (decision): cargo build -p system. The shell's process-level tests live in cli/system/tests and run that binary (cargo test -p system); the unit tests and library-only tests stay here.

Session and manuals

The bootstrap retains the frozen MIXOS_SESSION_FD marker, sealed memfd name and native-session transcripts. Ordinary shells initialise no grant owner. Bundled manuals are available offline and use the same directory rule as the session's other installed resources. Explicit remote manual selection remains available.

Provenance

Transplanted from src/crates/mix at mixos e0297242305f3a3c3de09f1ca01e8faa771768da, with the complete regression corpus. The native integration fixture compiles noded's production modules and Term's production sealed-FD implementation, rather than simulating session RPCs.

The source is cli/mix-shell.

This page as Markdown · This page describes the current main branch of MixOS.