This module owns regular .env* initialization, .env.mk rebuild and sync targets, and variable debug output.
ALMKFS_ENV_EXAMPLE_PROVENANCE_WARN_ONLY_CSV.env*.examplefiles that should warn instead of being rewritten byenv.fix-example-provenance
ALMKFS_ENV_TARGET_FILE_VARIABLES- whitespace-separated variable names whose values are single env target paths
ALMKFS_ENV_TARGET_FILES_CSV_VARIABLES- whitespace-separated variable names whose values are CSV env target lists
ALMKFS_NO_AUTO_ENV_INIT- disables the late regular
.env*auto-init step when set to1
- disables the late regular
env.sync-env.mkenv.reinit-env.mkenv.fix-example-provenanceenv.reinit-<file>var.debugvar.debug-full
- Resolves the managed regular
.env*target set from the configured registries. - Excludes
ALMKFS_ENV_FILEand its default location from regular env-file discovery. - Auto-initializes missing regular
.env*files from matching.env*.examplefiles on normal top-level runs. - Fails when a declared env target has no matching
.env*.examplefile. - Warns on missing or invalid provenance headers in source
.env*.examplefiles during normal top-level runs without rewriting the tracked examples. - Repairs source
.env*.exampleprovenance only through the explicitenv.fix-example-provenancemaintenance target. - Rebuilds or syncs
ALMKFS_ENV_FILEfrom discovered non-duplicate top-level?=defaults. - Writes
env.sync-env.mkupdates atomically and normalizes the missing trailing newline case before appending new defaults. - Ignores
?=text that appears inside recipes, heredocs, ordefineblocks. - Prints Make-database-based winner reports through
var.debugandvar.debug-full.
env.reinit-env.mkrebuilds the Make-local config file.env.reinit-<file>targets operate on regular project env files, not onALMKFS_ENV_FILE.- The syntax contract for
ALMKFS_ENV_FILEitself is defined in../contracts.md.