# Reproduce / verify E141

## 1. Verify this bundle offline (no CAIN code, no network)

    pip install cryptography
    python3 verify_e141_offline.py .

## 2. Re-execute experiments locally (uses CAIN code; this is local re-execution, not independent reproduction)

    git checkout <E141 commit>
    PYTHONPATH=cain/cain2027/unified python3 scripts/unified_apex/e141/reexecute_sample.py artifacts/unified_apex/e141 50

It regenerates each sampled experiment from its preregistered (params, seed), runs every arm, rescores with the
evaluator code, and compares the arm means with the signed verdict. RSI held-out sets need the evaluator's
secret salt and are therefore not re-executable from the bundle.

## 3. Run the engine

    scripts/unified_apex/e141/e141ctl run          # supervisor (foreground)
    scripts/unified_apex/e141/e141ctl status
    scripts/unified_apex/e141/e141ctl kill         # emergency stop
    deploy/e141/cain-e141-research.service         # systemd unit (owner installs) for crash restart + start on boot
