Kiln Documentation

Runtime environment inventory

Find every direct environment read and mutation, its owner and class, and the migration or test boundary around it.

Generated by python3 scripts/check_runtime_env_contract.py --write; do not edit by hand.

This page answers a source-ownership question: which code under crates/ reads or mutates the process environment, and why is that access allowed? It is exhaustive for the scanner's direct-read APIs; it is not a list of settings that operators should copy into a shell.

The machine-readable source of truth is contracts/runtime-env-direct-reads-v1.json; python3 scripts/check_runtime_env_contract.py rejects any source, classification, or generated-report drift.

Start here

If you need to know… Use…
Which environment overrides are supported The Configuration Reference, which owns typed fields, mechanically derived canonical names, defaults, validation, source precedence, and restart behavior
Why production code reads a process variable directly The classification and owner catalogs on this page
Which old names are rejected or migrated The Configuration Reference's migration index; absence from this direct-read catalog is not migration guidance
What a qualification case passes to a child process The workload and effective run-configuration artifacts; inherited or launcher-passthrough values are not necessarily direct reads under crates/
Which values contributed to execution identity Execution identity and provenance; the provenance scan hashes the effective KILN_* map and redacts sensitive values

A name appearing below is not automatically public. Most entries are compiler or build inputs, test controls, provenance reads, or closed safety boundaries. The only supported public overrides are the names documented by the typed configuration registry.

External driver visibility and remapping variables are also not Kiln settings. Kiln snapshots only their presence at first accelerator validation and fails device identity closed when a remap would make the probe ambiguous. It does not turn those names into request-time policy or a device allowlist.

Current baseline

The scanner records 448 direct read call sites and 19 process-mutation call sites. It can statically name 38 distinct literal KILN_* read names across 128 call sites. Dynamically named reads remain listed separately and are classified by their owner boundary.

Ownership class Read call sites Literal KILN_* names Mutation call sites
Public stable 6 1 0
Startup safety 1 0 0
Credential provider 1 0 0
Experimental/debug migration 0 0 0
Build time/provenance 326 6 8
Test only 114 31 11

The counts are call sites, not configuration-field counts. The central typed loader deliberately uses a small number of dynamic reads to resolve all public registry entries once. Conversely, compile-time code and tests can contribute many call sites without adding a single public runtime setting.

Classification policy

Class Meaning and required disposition
Public stable Access occurs only in the central typed startup/configuration boundary. Public support still requires an entry in the Configuration Reference.
Startup safety One dedicated boundary snapshots closed external driver visibility/remapping names at first accelerator identity validation before model upload. These are not Kiln settings; their presence fails device/probe identity closed and cannot become request-time policy.
Credential provider One dedicated adapter resolves only the secret variable named by typed, exact-origin credential configuration. Secret values must never enter logs, serialization, API state, receipts, or caches.
Experimental/debug migration Runtime source reads the process environment outside that boundary. Move real policy into typed immutable configuration; put retained diagnostics behind one explicit experimental profile; delete dead controls.
Build time/provenance A build script, compile-time macro, or immutable build/source provenance boundary owns the read. It must never become request-time policy.
Test only The access is in a unit-test, integration-test, benchmark, or example surface. Prefer scoped typed fixtures; serialize the few tests that must mutate process-global state.

#[cfg(test)] modules and #[test] functions are recognized as test surfaces, including tests colocated in production source files. Simple file-local string constants used as environment names are resolved before classification. Unknown dynamic expressions are retained verbatim rather than guessed.

Production migration owners

These files contain the runtime accesses still outside the typed startup boundary. This table is the prioritized deletion/migration queue.

Owner Read call sites Literal KILN_* names
None; the migration queue is empty 0 0

Literal KILN_* catalog

A name can appear in more than one class, such as a build control that is also asserted by a test. Paths are deduplicated; counts retain duplicate call sites.

Show every literal KILN_* direct read
Name Class Read call sites Owners
KILN_CHECKPOINT_KILL_CHILD_ROOT Test only 1 crates/kiln-train/src/checkpoint.rs
KILN_CHECKPOINT_KILL_CHILD_STAGE Test only 1 crates/kiln-train/src/checkpoint.rs
KILN_COMMIT Build time/provenance 2 crates/kiln-server/src/execution_provenance.rs, crates/kiln-train/src/replay.rs
KILN_CONFIG Public stable 2 crates/kiln-server/src/config.rs, crates/kiln-server/src/logging.rs
KILN_CUDA_ARCHS Build time/provenance 8 crates/kiln-blas/build.rs, crates/kiln-conv1d-kernel/build.rs, crates/kiln-flash-attn/build.rs, crates/kiln-gdn-kernel/build.rs, crates/kiln-marlin-gemm/build.rs, crates/kiln-opd-loss-kernel/build.rs, crates/kiln-rmsnorm-kernel/build.rs, crates/kiln-tensor/build.rs
KILN_METAL_LORA_LINEAR_BENCH_ITERS Test only 2 crates/kiln-model/src/forward/tests/mod.rs
KILN_METAL_LORA_LINEAR_BENCH_WARMUP Test only 2 crates/kiln-model/src/forward/tests/mod.rs
KILN_METAL_LORA_QKV_LINEAR_BENCH_ITERS Test only 1 crates/kiln-model/src/forward/tests/mod.rs
KILN_METAL_LORA_QKV_LINEAR_BENCH_WARMUP Test only 1 crates/kiln-model/src/forward/tests/mod.rs
KILN_MODEL_SERVED_MODEL_ID Test only 1 crates/kiln-server/src/config.rs
KILN_MTP_BYTE_EQ_MODEL Test only 1 crates/kiln-model/tests/mtp_byte_eq.rs
KILN_OPENENV_INTEROP_ARCADE_URLS Test only 1 crates/kiln-openenv/tests/miniopenenv_interop.rs
KILN_OPENENV_INTEROP_BANDIT_URL Test only 4 crates/kiln-openenv/tests/miniopenenv_interop.rs, crates/kiln-server/src/openenv_evaluation.rs, crates/kiln-server/tests/openenv_training_interop.rs
KILN_OPENENV_INTEROP_CONNECT4_URL Test only 1 crates/kiln-openenv/tests/miniopenenv_interop.rs
KILN_OPENENV_INTEROP_COUNTER_URL Test only 1 crates/kiln-openenv/tests/miniopenenv_interop.rs
KILN_OPENENV_INTEROP_EXACT_TEXT_URLS Test only 1 crates/kiln-openenv/tests/miniopenenv_interop.rs
KILN_OPENENV_INTEROP_MAZE_URL Test only 1 crates/kiln-openenv/tests/miniopenenv_interop.rs
KILN_OPENENV_INTEROP_WORDLE_URL Test only 1 crates/kiln-openenv/tests/miniopenenv_interop.rs
KILN_QUALIFICATION Test only 37 crates/kiln-model/src/forward/tests/mod.rs, crates/kiln-model/src/rocm_graph.rs, crates/kiln-model/tests/adamw_pytorch_oracle.rs, crates/kiln-model/tests/cuda_kv_physical_resize.rs, crates/kiln-model/tests/cuda_sft_step_proof.rs, crates/kiln-model/tests/metal_sft_step_proof.rs, crates/kiln-model/tests/rocm_kv_physical_resize.rs, crates/kiln-model/tests/vk_resident_decode_parity.rs, crates/kiln-server/src/state_cuda_admission_tests.rs, crates/kiln-server/src/state_metal_admission_tests.rs, crates/kiln-server/tests/real_model_integration.rs, crates/kiln-tensor/src/ops/log_softmax.rs, crates/kiln-tensor/tests/cuda_matmul_parity.rs, crates/kiln-tensor/tests/cuda_reclaim_smoke.rs, crates/kiln-tensor/tests/cuda_resize_copy_primitives.rs, crates/kiln-tensor/tests/log_softmax_backend_stability.rs, crates/kiln-tensor/tests/metal_ops_parity.rs, crates/kiln-tensor/tests/metal_reclaim_smoke.rs, crates/kiln-tensor/tests/rocm_matmul_parity.rs, crates/kiln-tensor/tests/rocm_prompt_logprobs.rs, crates/kiln-tensor/tests/rocm_storage_smoke.rs, crates/kiln-train/src/grpo_tape_shim.rs, crates/kiln-train/src/opd.rs, crates/kiln-train/src/trainer/tests/mod.rs, crates/kiln-vulkan-kernel/tests/support/mod.rs, crates/kiln-vulkan-kernel/tests/vk_matmul_parity.rs, crates/kiln-vulkan-kernel/tests/vk_tensor_parity.rs
KILN_QUALIFICATION_HF_LOGITS_PATH Test only 1 crates/kiln-model/tests/vk_resident_decode_parity.rs
KILN_QUALIFICATION_MODEL_PATH Test only 2 crates/kiln-model/tests/vk_resident_decode_parity.rs, crates/kiln-train/tests/qwen35_sft_oracle.rs
KILN_QWEN_TOKENIZER_PATH Test only 1 crates/kiln-train/src/trajectory_mask.rs
KILN_REPO_ROOT Build time/provenance 2 crates/kiln-server/src/execution_provenance.rs, crates/kiln-train/src/train_receipt.rs
KILN_ROCM_ARCHS Build time/provenance 8 crates/kiln-conv1d-kernel/build.rs, crates/kiln-flash-attn/build.rs, crates/kiln-gdn-kernel/build.rs, crates/kiln-opd-loss-kernel/build.rs, crates/kiln-rmsnorm-kernel/build.rs, crates/kiln-rocblas/build.rs, crates/kiln-server/src/execution_provenance.rs, crates/kiln-tensor/build.rs
KILN_ROCM_FLASH_BENCH_COLLAPSED_BWD Test only 1 crates/kiln-flash-attn/tests/rocm_flash_attn_parity.rs
KILN_ROCM_FLASH_BENCH_FWD_ONLY Test only 1 crates/kiln-flash-attn/tests/rocm_flash_attn_parity.rs
KILN_ROCM_FLASH_BENCH_HEADS Test only 1 crates/kiln-flash-attn/tests/rocm_flash_attn_parity.rs
KILN_ROCM_FLASH_BENCH_HEAD_DIM Test only 1 crates/kiln-flash-attn/tests/rocm_flash_attn_parity.rs
KILN_ROCM_FLASH_BENCH_KV_HEADS Test only 1 crates/kiln-flash-attn/tests/rocm_flash_attn_parity.rs
KILN_ROCM_FLASH_BENCH_SEQ Test only 1 crates/kiln-flash-attn/tests/rocm_flash_attn_parity.rs
KILN_ROCM_WAVE64 Build time/provenance 6 crates/kiln-conv1d-kernel/build.rs, crates/kiln-flash-attn/build.rs, crates/kiln-gdn-kernel/build.rs, crates/kiln-opd-loss-kernel/build.rs, crates/kiln-rmsnorm-kernel/build.rs, crates/kiln-tensor/build.rs
KILN_RUN_LONG_ROCM_RMSNORM Test only 1 crates/kiln-rmsnorm-kernel/tests/rocm_rmsnorm_parity.rs
KILN_SERVER_EVAL_MODE Test only 1 crates/kiln-server/src/config.rs
KILN_SOURCE_TREE_HASH Build time/provenance 1 crates/kiln-server/src/execution_provenance.rs
KILN_TENSOR_CUDA_TEST Test only 2 crates/kiln-tensor/src/cuda_allocator.rs, crates/kiln-tensor/src/cuda_storage.rs
KILN_TENSOR_METAL_TEST Test only 2 crates/kiln-tensor/src/metal_allocator.rs, crates/kiln-tensor/src/metal_storage.rs
KILN_TENSOR_ROCM_TEST Test only 1 crates/kiln-tensor/src/rocm_allocator.rs
KILN_TENSOR_VULKAN_TEST Test only 25 crates/kiln-model/src/backend/vulkan_linear.rs, crates/kiln-model/src/backend/vulkan_weights.rs, crates/kiln-model/src/forward/tests/mod.rs, crates/kiln-model/src/lora_loader.rs, crates/kiln-model/src/vk_decode_resident.rs, crates/kiln-model/tests/vk_bwd_adapter_parity.rs, crates/kiln-model/tests/vk_sft_step_proof.rs, crates/kiln-model/tests/vk_tape_record_proof.rs, crates/kiln-tensor/src/device_op.rs, crates/kiln-tensor/src/ops/log_softmax.rs, crates/kiln-tensor/src/ops/matmul.rs, crates/kiln-tensor/src/ops/reduce.rs, crates/kiln-tensor/src/ops/scalar.rs, crates/kiln-tensor/src/vulkan_allocator.rs, crates/kiln-tensor/src/vulkan_storage.rs, crates/kiln-train/src/opd.rs, crates/kiln-train/src/trainer/tests/mod.rs

Dynamic read catalog

These direct reads do not expose one literal name at the call site. They include central registry loops, the narrow credential adapter, startup safety snapshots, helper functions, and whole-environment provenance scans. A dynamic read does not mean “accept any setting”: its owner constrains which names it may resolve. The exact expression remains ratcheted so a helper cannot conceal source growth.

Show every non-literal direct read
Owner API Argument Class Call sites
crates/kiln-blas/build.rs var var Build time/provenance 1
crates/kiln-blas/build.rs var CARGO_MANIFEST_DIR Build time/provenance 1
crates/kiln-blas/build.rs var_os CARGO_FEATURE_CUBLASLT Build time/provenance 1
crates/kiln-blas/build.rs var_os CARGO_FEATURE_PROBE Build time/provenance 1
crates/kiln-blas/build.rs var_os CARGO_PRIMARY_PACKAGE Build time/provenance 1
crates/kiln-blas/build.rs var_os NVCC Build time/provenance 1
crates/kiln-blas/src/backend_matmul.rs env! CARGO_PKG_VERSION_MAJOR Build time/provenance 1
crates/kiln-conv1d-kernel/build.rs var var Build time/provenance 2
crates/kiln-conv1d-kernel/build.rs var CARGO_FEATURE_CUDA Build time/provenance 1
crates/kiln-conv1d-kernel/build.rs var CARGO_FEATURE_ROCM Build time/provenance 1
crates/kiln-conv1d-kernel/build.rs var CARGO_MANIFEST_DIR Build time/provenance 2
crates/kiln-conv1d-kernel/build.rs var HIPCC Build time/provenance 1
crates/kiln-conv1d-kernel/build.rs var OUT_DIR Build time/provenance 1
crates/kiln-conv1d-kernel/build.rs var_os NVCC Build time/provenance 1
crates/kiln-eval/examples/trace_api_eval.rs var & args . api_key_env Test only 1
crates/kiln-flash-attn/build.rs var var Build time/provenance 2
crates/kiln-flash-attn/build.rs var AR Build time/provenance 1
crates/kiln-flash-attn/build.rs var CARGO_MANIFEST_DIR Build time/provenance 2
crates/kiln-flash-attn/build.rs var HIPCC Build time/provenance 1
crates/kiln-flash-attn/build.rs var OUT_DIR Build time/provenance 1
crates/kiln-flash-attn/build.rs var TARGET Build time/provenance 1
crates/kiln-flash-attn/build.rs var_os CARGO_FEATURE_CUDA Build time/provenance 1
crates/kiln-flash-attn/build.rs var_os CARGO_FEATURE_ROCM Build time/provenance 1
crates/kiln-flash-attn/build.rs var_os NVCC Build time/provenance 1
crates/kiln-gdn-kernel/build.rs var var Build time/provenance 2
crates/kiln-gdn-kernel/build.rs var CARGO_FEATURE_CUDA Build time/provenance 1
crates/kiln-gdn-kernel/build.rs var CARGO_FEATURE_ROCM Build time/provenance 1
crates/kiln-gdn-kernel/build.rs var CARGO_MANIFEST_DIR Build time/provenance 2
crates/kiln-gdn-kernel/build.rs var HIPCC Build time/provenance 1
crates/kiln-gdn-kernel/build.rs var OUT_DIR Build time/provenance 1
crates/kiln-gdn-kernel/build.rs var_os NVCC Build time/provenance 1
crates/kiln-hip/build.rs var var Build time/provenance 1
crates/kiln-marlin-gemm/build.rs var var Build time/provenance 1
crates/kiln-marlin-gemm/build.rs var CARGO_FEATURE_CUDA Build time/provenance 1
crates/kiln-marlin-gemm/build.rs var CARGO_FEATURE_ROCM Build time/provenance 1
crates/kiln-marlin-gemm/build.rs var CARGO_MANIFEST_DIR Build time/provenance 1
crates/kiln-marlin-gemm/build.rs var_os NVCC Build time/provenance 1
crates/kiln-memory/src/startup_environment.rs var_os name Startup safety 1
crates/kiln-model/tests/backend_capability_contract.rs env! CARGO_MANIFEST_DIR Test only 1
crates/kiln-mps/build.rs var CARGO_CFG_TARGET_OS Build time/provenance 1
crates/kiln-mps/build.rs var CARGO_CFG_TARGET_VENDOR Build time/provenance 1
crates/kiln-mps/build.rs var_os CARGO_FEATURE_PROBE Build time/provenance 1
crates/kiln-nvtx/build.rs var CARGO_FEATURE_NVTX Build time/provenance 1
crates/kiln-nvtx/build.rs var CUDA_HOME Build time/provenance 1
crates/kiln-nvtx/build.rs var CUDA_ROOT Build time/provenance 1
crates/kiln-opd-loss-kernel/build.rs var var Build time/provenance 2
crates/kiln-opd-loss-kernel/build.rs var CARGO_FEATURE_CUDA Build time/provenance 1
crates/kiln-opd-loss-kernel/build.rs var CARGO_FEATURE_ROCM Build time/provenance 1
crates/kiln-opd-loss-kernel/build.rs var CARGO_MANIFEST_DIR Build time/provenance 2
crates/kiln-opd-loss-kernel/build.rs var HIPCC Build time/provenance 1
crates/kiln-opd-loss-kernel/build.rs var OUT_DIR Build time/provenance 1
crates/kiln-opd-loss-kernel/build.rs var_os NVCC Build time/provenance 1
crates/kiln-rmsnorm-kernel/build.rs var var Build time/provenance 2
crates/kiln-rmsnorm-kernel/build.rs var CARGO_FEATURE_CUDA Build time/provenance 1
crates/kiln-rmsnorm-kernel/build.rs var CARGO_FEATURE_ROCM Build time/provenance 1
crates/kiln-rmsnorm-kernel/build.rs var CARGO_MANIFEST_DIR Build time/provenance 2
crates/kiln-rmsnorm-kernel/build.rs var HIPCC Build time/provenance 1
crates/kiln-rmsnorm-kernel/build.rs var OUT_DIR Build time/provenance 1
crates/kiln-rmsnorm-kernel/build.rs var_os NVCC Build time/provenance 1
crates/kiln-rocblas/build.rs var var Build time/provenance 1
crates/kiln-rocblas/build.rs var CARGO_MANIFEST_DIR Build time/provenance 1
crates/kiln-rocblas/build.rs var HIPCC Build time/provenance 1
crates/kiln-rocblas/build.rs var OUT_DIR Build time/provenance 1
crates/kiln-rocblas/build.rs var_os CARGO_FEATURE_HIPBLASLT Build time/provenance 1
crates/kiln-rocblas/build.rs var_os CARGO_FEATURE_PROBE Build time/provenance 1
crates/kiln-rocblas/build.rs var_os CARGO_PRIMARY_PACKAGE Build time/provenance 1
crates/kiln-rocblas/src/backend_matmul.rs env! CARGO_PKG_VERSION_MAJOR Build time/provenance 1
crates/kiln-server/src/api/health.rs env! CARGO_PKG_VERSION Build time/provenance 1
crates/kiln-server/src/bench.rs env! CARGO_PKG_VERSION Build time/provenance 1
crates/kiln-server/src/cli.rs env! CARGO_PKG_VERSION Build time/provenance 1
crates/kiln-server/src/config.rs var name Public stable 1
crates/kiln-server/src/config.rs var_os PATH Public stable 1
crates/kiln-server/src/config.rs var_os & name Test only 1
crates/kiln-server/src/execution_provenance.rs env! CARGO_MANIFEST_DIR Build time/provenance 1
crates/kiln-server/src/execution_provenance.rs env! CARGO_PKG_VERSION Build time/provenance 2
crates/kiln-server/src/execution_provenance.rs vars <all> Build time/provenance 1
crates/kiln-server/src/execution_provenance.rs env! CARGO_PKG_VERSION Test only 2
crates/kiln-server/src/logging.rs var name Public stable 1
crates/kiln-server/src/logging.rs var RUST_LOG Public stable 1
crates/kiln-server/src/teacher_identity.rs env! CARGO_PKG_VERSION Build time/provenance 1
crates/kiln-server/src/teacher_identity.rs env! CARGO_PKG_VERSION Test only 1
crates/kiln-server/tests/remote_teacher_identity.rs var_os name Test only 1
crates/kiln-tensor/build.rs var var Build time/provenance 2
crates/kiln-tensor/build.rs var CARGO_FEATURE_CUDA Build time/provenance 1
crates/kiln-tensor/build.rs var CARGO_FEATURE_ROCM Build time/provenance 1
crates/kiln-tensor/build.rs var CARGO_FEATURE_VULKAN Build time/provenance 1
crates/kiln-tensor/build.rs var CARGO_MANIFEST_DIR Build time/provenance 3
crates/kiln-tensor/build.rs var HIPCC Build time/provenance 1
crates/kiln-tensor/build.rs var OUT_DIR Build time/provenance 2
crates/kiln-tensor/build.rs var_os NVCC Build time/provenance 1
crates/kiln-tensor/src/vk_shaders.rs env! OUT_DIR Build time/provenance 1
crates/kiln-train/src/credential_provider.rs var name Credential provider 1
crates/kiln-train/src/opd.rs env! CARGO_PKG_VERSION Build time/provenance 1
crates/kiln-train/src/receipt.rs env! CARGO_PKG_VERSION Build time/provenance 2
crates/kiln-train/src/remote_teacher.rs var_os & env_name Test only 1
crates/kiln-train/src/remote_teacher.rs var_os & name Test only 1
crates/kiln-train/src/replay.rs env! CARGO_PKG_VERSION Build time/provenance 1
crates/kiln-train/src/train_receipt.rs env! CARGO_MANIFEST_DIR Build time/provenance 1
crates/kiln-train/src/train_receipt.rs env! CARGO_PKG_VERSION Build time/provenance 1
crates/kiln-train/src/train_receipt.rs var name Build time/provenance 1
crates/kiln-train/src/train_receipt.rs env! CARGO_PKG_VERSION Test only 2
crates/kiln-train/src/trainer/checkpointing.rs env! CARGO_PKG_VERSION Build time/provenance 2
crates/kiln-train/tests/qwen35_sft_oracle.rs env! CARGO_MANIFEST_DIR Test only 1
crates/kiln-vulkan-kernel/build.rs var CARGO_MANIFEST_DIR Build time/provenance 1
crates/kiln-vulkan-kernel/build.rs var OUT_DIR Build time/provenance 1
crates/kiln-vulkan-kernel/examples/dispatch_test.rs env! CARGO_MANIFEST_DIR Test only 1
crates/kiln-vulkan-kernel/src/bin/vulkan_decode_microbench.rs env! CARGO_MANIFEST_DIR Build time/provenance 20
crates/kiln-vulkan-kernel/src/cmd_batch.rs env! CARGO_MANIFEST_DIR Test only 2
crates/kiln-vulkan-kernel/src/kernels.rs env! CARGO_MANIFEST_DIR Build time/provenance 103
crates/kiln-vulkan-kernel/src/lib.rs env! CARGO_MANIFEST_DIR Build time/provenance 1
crates/kiln-vulkan-kernel/src/pipeline.rs env! OUT_DIR Build time/provenance 1
crates/kiln-vulkan-kernel/src/resident.rs env! CARGO_MANIFEST_DIR Build time/provenance 63
crates/kiln-vulkan-kernel/src/vk_ops/gdn_chunkwise.rs env! CARGO_MANIFEST_DIR Build time/provenance 1
crates/kiln-vulkan-kernel/src/vk_ops/matmul_batched.rs env! CARGO_MANIFEST_DIR Build time/provenance 1
crates/kiln-vulkan-kernel/src/vk_ops/mod.rs env! CARGO_MANIFEST_DIR Build time/provenance 3

Mutation boundary

Process-environment mutation is forbidden in production execution. The current inventory contains only test/example mutation and build-script toolchain setup; the classification check will fail if a production mutation is introduced. Tests should still migrate toward scoped typed configuration because process-global mutation creates ordering and parallelism hazards even when it is test-only.

Migration rule

The repository check rejects every experimental/debug migration read even if the JSON baseline is regenerated. A new production read must instead be removed or belong to a reviewed closed boundary above. For each production owner, move a coherent policy family at once: define typed fields, derive canonical KILN_<SECTION>_<FIELD> compatibility inputs mechanically, validate once at startup, inject immutable policy, expose effective value/source/restart semantics, remove lower rereads, and lower this ratchet in the same commit. Do not promote one-off kernel flags into permanent public API merely to preserve them.

Retired or unknown public spellings do not become safe because a test, build script, or provenance scan mentions them. Public recognition requires the typed configuration registry; every lower-level runtime reread remains forbidden.