Windows 11 Release Guard

Agent Chokepoints

Use this before future agents change docs, runtime, generator, signing, workflow, or release behavior.


1. Technical Identity Drift

FieldContent
SymptomPackage/feed/CLI names drift away from win11_release_guard.
History / what went wrongPrevious identities and prototype entrypoints can be accidentally reintroduced.
Resolution / keep it this wayTechnical identifiers stay win11_release_guard; display name is prose-only.
Do notRename import package, feed paths, console script, JSON identity, or workflow identifiers.
Verifypython tools/check_project_identity.py

2. Local Display Labels Overriding Build Evidence

FieldContent
SymptomLocal marketing labels decide installed Windows identity.
History / what went wrongSome Windows 11 machines can expose stale labels while build family is current.
Resolution / keep it this wayBuild-family and signed policy mapping drive evaluation; raw labels stay visible.
Do notLet display labels override RtlGetVersion, DISM, kernel, registry, WMI/CIM build signals.
Verifypytest -q tests/test_local_state.py tests/test_evaluator.py tests/test_edge_cases.py

3. WUA Treated As Verdict Authority

FieldContent
SymptomWUA offer/history changes the target or baseline decision.
History / what went wrongWUA is localized, policy-managed, staged, and noisy.
Resolution / keep it this wayWUA stays read-only diagnostic context.
Do notReplace signed policy target with WUA offers or history.
Verifypytest -q tests/test_wua_probe.py tests/test_wua_diagnostics.py tests/test_evaluator.py

4. Special Release Becomes Existing-Device Target

FieldContent
Symptom26H1 is selected for existing 24H2/25H2 devices.
History / what went wrongHighest release string is not always the broad-fleet target.
Resolution / keep it this wayExisting-device target selection excludes special/new-devices-only releases.
Do notPick target by highest version string alone.
Verifypytest -q tests/test_remote_policy.py tests/test_policy_generator.py tests/test_evaluator.py

5. Strict Production Goes Green From Fallback

FieldContent
SymptomCache or bundled policy returns production-green in strict mode.
History / what went wrongFallbacks are useful but degraded.
Resolution / keep it this wayStrict mode needs fresh live signed remote JSON.
Do notHide fallback source status or candidate status.
Verifypytest -q tests/test_runtime_policy_sources.py tests/test_cli.py

6. Public API Alias Break

FieldContent
Symptom/api/v1 files are missing, mismatched, or undocumented.
History / what went wrongIntegrations rely on stable public aliases.
Resolution / keep it this wayKeep v1 paths and add fields compatibly.
Do notRemove v1 aliases without documented last-resort trust break.
Verifypython -m win11_release_guard --check-public-pages

Common Agent Mistakes Checklist

| Check | | --- | | Did not edit code when asked for docs only. | | Did not use handover files as source truth. | | Did not hide raw admin diagnostic values. | | Did not weaken tests to match a preferred narrative. | | Did not add external dashboard dependencies. | | Did not claim live checks without running them. |

Required Smoke Tests

python -m compileall -q win11_release_guard tools
pytest -q
python tools/check_project_identity.py
python tools/check_version_consistency.py
python -m win11_release_guard --self-test

Home | Troubleshooting | Build, Test and Release