docs: say what the gateway measures, and when - #664
Merged
Merged
Conversation
Signed-off-by: Imran Siddique <imran.siddique@opaque.co>
imran-siddique
requested review from
a team,
carloshvp,
qubeena07 and
zohebk8s
as code owners
September 18, 2026 18:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The README (lines 49, 106, 276) and docs/SPEC.md line 83 say the policy bundle hash is measured into the attestation report "before any code runs". That is not what the runtime does, and a reader who checks
startup.pywill find so.Step 3b of startup measures installed code, the policy bundle and config before the gateway serves traffic (
tee/measurement.py,gateway_measurement). On sev-snp, azure-cvm-sev-snp and tdx the digest goes intoreport_data(tee/report_binding.py,MEASUREMENT_BOUND_PROVIDERS); on the TPM tier it is extended into a certified NV index.refresh_measurement_bindingre-attests on every bundle reload.This changes the four sentences to say that. The real guarantee is stronger than the old wording: it covers code and config as well as policy, and it survives a reload. Docs only, no behaviour change.
🤖 Generated with Claude Code