Shell variables and process environments Executed on 2026-11-07: macOS 27.0.1, arm64, Bash 3.2.57, CPython 3.12.14. Run from the extracted directory: python3 process-environment-lab.py > rerun.json The lab uses the Python standard library, /bin/bash, /usr/bin/printenv, and /usr/bin/printf. The main shell checks start with an explicitly empty environment and no startup files. The Python worker starts with synthetic keys only. The report reads only GUMI_ENV_MODE and GUMI_ENV_MARKER, never dumps a caller's environment. It contacts no services, writes only a fixture within a temporary directory, and cleans up that directory on exit. Shell checks: assignment vs export, one-command assignment, a subshell group, caller argument expansion vs expansion inside the new Bash, executed vs sourced fixture, and the local printenv exit status for an absent versus empty value. Python checks: an env mapping replaces inherited values; a copy with one override preserves the other synthetic key; None differs from the empty string; an old child reads the original value after a pipe signal sent after the parent change. It can change its own value for its child, while a new child of the original parent receives the changed parent value by default. Another new child given the earlier mapping explicitly receives its earlier override instead. Python and Bash versions are recorded in the JSON and may differ on another host. No Windows, alternate-shell, launcher, daemon reload, or application-specific configuration behavior is tested. References checked 2026-11-07: https://tiswww.case.edu/php/chet/bash/bashref.html#Command-Execution-Environment https://tiswww.case.edu/php/chet/bash/bashref.html#Command-Grouping https://tiswww.case.edu/php/chet/bash/bashref.html#Simple-Command-Expansion https://tiswww.case.edu/php/chet/bash/bashref.html#Bourne-Shell-Builtins https://docs.python.org/3.12/library/os.html#os.environ https://docs.python.org/3.12/library/subprocess.html#subprocess.run