Release 2.1.148 (2026-07-16)¶
Documentation¶
- document read-only cloud-memory projection and platform resolver (#2415)
Features¶
- add empirical fail-closed platform resolver (--platform) (#2414)
-
feat(whoami): add empirical fail-closed platform resolver (--platform)
-
test(whoami): cover _lima_marker_present body deterministically
The helper's body (platform_env.py lines 114-116) was only covered incidentally by an environment-dependent code path — locally the dev-box smoke run hit the local-vm branch, but in CI the runner's reachable 169.254.169.254 metadata endpoint routes resolve_platform down the cloud-vm branch, so _lima_marker_present is never called and coverage drops to 98% (< fail-under=100). Add dedicated real-body tests for _lima_marker_present (marker present -> True, absent -> False), mirroring the existing _cloud_metadata_reachable tests, so coverage is deterministic regardless of environment.
CI Evidence: All gates passed — full audit bundle available. Download →