docs(trust-levels): state the all-zero measurement rule covers production software-only records too - #242
Open
rajnisht7 wants to merge 3 commits into
Open
docs(trust-levels): state the all-zero measurement rule covers production software-only records too#242rajnisht7 wants to merge 3 commits into
rajnisht7 wants to merge 3 commits into
Conversation
Signed-off-by: rajnisht7 <rajnishtiwari9787@gmail.com>
rajnisht7
force-pushed
the
trace-spec-240
branch
from
August 29, 2026 13:36
428688b to
18c75cb
Compare
|
I don't think this can be treated as editorial as written. The released v0.9.0 reference implementation intentionally emits non-zero
That contradicts the changelog statement that existing software-only records already use the all-zero value. The proposed prose would declare released first-party producer output incorrect, while the unchanged schema/model would continue accepting it, creating a new documentation/validation disagreement. The underlying question appears to be what
I think this PR should pause and #240 should be re-scoped around that semantic choice before the all-zero rule is stated as universal. |
This was referenced Aug 29, 2026
9 tasks
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.
What this changes
Closes #240.
runtime.measurementis required on every record. For asoftware-onlyplatform, the correct value (all-zero digest) was only stated in prose as covering "development records" but a production software-only producer (origin.kind: self, no hardware root of trust) needs to write something too, and today that's only inferable from the example block, not stated by the rule itself.docs/trust-levels.md: the sentence under the Level 0 example now covers both development and production software-only records explicitly.schema/trace-claim.json+ the packaged copy (src/agentrust_trace/schema/trace-v0.2.json, kept in sync pertest_packaged_schema_matches_the_normative_schema): extended themeasurementfield description with the same all-zero-when-software-only note, per the issue's optional suggestion, so the text closest to a validator states the convention too.Type of change
Spec section
None
Checklist
git commit -s)CHANGELOG.mdupdated (for any normative change)<!-- CHANGED: #NNN: description -->in spec text