Commit environment
commit_environment
Invocation-local transport for a declared commit dependency environment.
commit_environment(environment)
Bind an immutable snapshot for this invocation and always restore it.
Source code in packages/axm-git/src/axm_git/core/commit_environment.py
dependency_environment(candidate, declared)
Validate the explicit read runtime before staging, without preparing it.
Source code in packages/axm-git/src/axm_git/core/commit_environment.py
environment_options(explicit=None)
Snapshot scoped runtime plus local Git options for one subprocess.
Without a scope, an explicit mapping is a complete subprocess environment. Within a scope, explicit options overlay it while declared Python runtime keys remain authoritative. No mapping supplied by a caller is mutated.