Skip to content

docs(schema): read runtime.platform's two situations as examples - #272

Merged
imran-siddique merged 1 commit into
mainfrom
docs/schema-platform-examples-are-examples
Sep 2, 2026
Merged

docs(schema): read runtime.platform's two situations as examples#272
imran-siddique merged 1 commit into
mainfrom
docs/schema-platform-examples-are-examples

Conversation

@imran-siddique

Copy link
Copy Markdown
Member

What this changes

Follow-up to #234, taking @chernistry's remaining wording note from #232.

#234 aligned runtime.platform's schema description with spec 3.1.1. Its lead clause is "no hardware root of trust", and it then names two situations: a development-mode execution, and a record assembled from evidence produced outside the runtime. Read as written, the enumeration is exhaustive.

A third class is covered by the lead clause and named by neither: a production runtime emitting for its own executions, origin.kind: self, with no TEE anywhere in its stack. So the description narrowed the rule again, in a smaller way than the one #234 fixed.

Adding "for example" before the enumeration restores the reading. No case is added and nothing diverges from docs/schema.md. Both schema copies carry the change, as test_packaged_schema_matches_repo_schema requires.

This is not a hypothetical class. It is the same one under argument in #242, where the proposal was to require an all-zero runtime.measurement for production software-only records. I have ruled against that: a software-only record with no hardware root can still carry a real software commitment, and all-zero is reserved for a producer making no commitment at all.

Type of change

  • Editorial (typo, link fix, clarification: no normative effect)
  • Schema change

Spec section

3.1.1

Credit

Raised by @chernistry on #232 and again on #234. Carried by a maintainer rather than sent back to @rajnisht7 for one word.

#234 aligned the schema description with spec 3.1.1, but its enumeration
reads as exhaustive. The lead clause is "no hardware root of trust"; the
two named situations are a development-mode execution and a record
assembled from evidence produced outside the runtime. A production runtime
emitting for its own executions, origin.kind self, with no TEE anywhere in
its stack, is covered by the lead clause and named by neither, so the
description narrowed the rule again in a smaller way.

"For example" restores the reading without adding a case or diverging from
docs/schema.md. Both schema copies carry it.

Raised by @chernistry on #232 and again on #234.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012yyHFd4YA35oNUjhrztJSb
@imran-siddique
imran-siddique requested a review from a team as a code owner September 2, 2026 19:25
@imran-siddique
imran-siddique merged commit 39e0519 into main Sep 2, 2026
6 checks passed
@imran-siddique
imran-siddique deleted the docs/schema-platform-examples-are-examples branch September 2, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant