Merge nucleic/eager-ancient-heron-p5em into dev

This commit is contained in:
2026-07-18 19:00:14 -07:00
parent 8cfd71c6f7
commit ad3b89f9a1
10 changed files with 386 additions and 4 deletions
@@ -0,0 +1,26 @@
# narOS agent-tier environment (NAROS.md §6.3), sourced by nash -l for every
# containerized exec (ContainerEngine ignores OCI image env, so this file — not the
# Dockerfile ENV — is what agent shells actually see).
#
# Warm shared caches at fixed world-readable paths. Pre-seeded at image build; the
# per-session copy-on-write rootfs clone makes them private per container.
export npm_config_cache=/opt/cache/npm
export PIP_CACHE_DIR=/opt/cache/pip
export UV_CACHE_DIR=/opt/cache/uv
export CARGO_HOME=/opt/cache/cargo
export RUSTUP_HOME=/opt/rustup
export GOMODCACHE=/opt/cache/gomod
export PLAYWRIGHT_BROWSERS_PATH=/opt/playwright-browsers
# mise (§6.3): shims-on-PATH activation — works for non-interactive `nash -lc` scripts,
# where the interactive `mise activate` hook would not run.
export MISE_DATA_DIR=/opt/mise
# Baked toolchains (§6.2): cargo/rustup bins, Go, and the mise shims ahead of them all
# so `mise use` versions win per-project. Idempotent (guarded) — profile.d can be
# sourced more than once per session.
case ":$PATH:" in
*:/opt/mise/shims:*) ;;
*) PATH="/opt/mise/shims:/opt/cache/cargo/bin:/usr/local/go/bin:$PATH" ;;
esac
export PATH