# stella export — Command Guide ## Commands - `stella export mirror --bundle --profile [--offline]` - `stella export verify --bundle --trust-roots ` - `stella export plan --output json` (preview bundle contents) ## Flags (common) - `--offline`: enforce no network; fail with exit code 5 if registry/object-store calls would occur. - `--profile`: named export profile (schema/manifest version); defaults to latest supported. - `--trust-roots`: PEM/TUF/DSSE trust roots for verification. - `--output`: json (default) or table for plan outputs. ## Inputs/outputs - Inputs: export profiles, mirror configuration, optional cached artefacts. - Outputs: deterministic bundle tarball + manifest (checksums, signatures, metadata); verify emits status + detailed reasons. - Exit codes follow `output-and-exit-codes.md`; verification failure uses exit code 3. ## Determinism rules - Manifest ordering is stable; checksums hex-lowercase; timestamps UTC. - No network-dependent mutation; offline bundles must be reproducible. ## Offline/air-gap notes - `--offline` must be honored; registry pulls are forbidden unless cached in profile path. - Verification uses only local trust roots; no remote key fetch.