Build (CI on every push)
The Containerfile is a stagex multi-stage build, chosen specifically so the result is reproducible — this is the prerequisite for the Nautilus claim that anyone can rebuild the source and get the same PCRs:EC2 deployment
Triggered by every push tomain. Workflow: .github/workflows/deploy.yml.
Inside the enclave at boot
Fromsrc/init/src/main.rs:
~/.env.runtime vs ~/.env.runtime.dynamic
~/.env.runtimeis overwritten on every deploy from thePINAIVU_ENV_FILEGitHub Actions secret. Static config.~/.env.runtime.dynamicis written by post-boot host scripts (e.g.register-coordinator.sh). Holds values discovered after enclave start — currently justPINAIVU_ENCLAVE_OBJECT_ID. Survives across deploys.- The VSOCK:7000 push concatenates both with
awk 1so every line ends in\n— a plaincat A Bcan glue the last line of A onto the first line of B, silently corrupting whichever variable sits at that boundary.
Local dev
Running the coordinator outside an enclave still works (mock NSM attestation):Smoke testing prod
Environment variables
Required env vars for the coordinator, gateway, chat-relayer, and explorer-indexer
Full E2E smoke test
Reproduce a real settled inference, with troubleshooting for common failures