mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-10 12:47:04 +00:00
load.sh short-circuits on INFINITO_ENV_LOADED, so a shell that already sourced the env kept a stale copy after 'make dotenv' regenerated .env (make runs in a subshell and cannot reset the parent's guard), and a freshly added key was missing until a new shell. Gate the short-circuit on the .env mtime: re-source when it changed, still a fast no-op when it did not. A stat failure falls back to the previous idempotent behaviour. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>