Repository navigation
docs(devicetree): use the ev_ retained Evidence id prefix in the example - #7760
Closed
ayobamiseun wants to merge 1 commit into
Closed
ayobamiseun wants to merge 1 commit into
ayobamiseun wants to merge 1 commit into
Conversation
The retained-reference example wrote the Evidence id as "ev:<digest>". Retained ids are "ev_" followed by the digest (prefixedDigestSchema in src/domain/digests.ts), and inspect_analysis_view rejects the colon form with invalid_format. Use the same "ev_<digest>" placeholder as the other guides.
Contributor
[Low impact] This documentation correction appears safe to merge. SummaryCorrects the retained Evidence example in
Reviews (1) · Last reviewed commit: "docs(devicetree): use the ev_ retained E..." · Reviewed by Greptile |
62 tasks
ayobamiseun
marked this pull request as ready for review
October 28, 2026 19:30
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
2 tasks done
N0zoM1z0
pushed a commit
that referenced
this pull request
Nov 14, 2026
The retained-reference example wrote the Evidence id as "ev:<digest>". Retained ids are "ev_" followed by the digest (prefixedDigestSchema in src/domain/digests.ts), and inspect_analysis_view rejects the colon form with invalid_format. Use the same "ev_<digest>" placeholder as the other guides. Fixes #7612 Supersedes #7760 Co-Authored-By: gensokyo-dev <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
|
Thanks! This landed on main in #10490 as its own commit, cherry-picked with your authorship kept (rebase merge). Closing in favor of that merge. |
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.
Summary
Fixes #7612
The devicetree guide's retained-reference example spelled the Evidence id as
"ev:<digest>". Retained Evidence ids areev_followed by 64 lowercase hex characters, so a reader who keeps the example's prefix and fills in a real digest getsinvalid_request/invalid_formatonsource.evidence_id. The example now usesev_<digest>, the placeholder the other guides already use.Problem and expected behavior
inspect_analysis_viewrequest shape fromdocs/devicetree.mdand replace only<digest>with the digest from a realparent_evidence_id.src/domain/evidenceReference.tsbindsevidence_idtoprefixedDigestSchema("ev"), andsrc/domain/digests.tsdefines that as^ev_[a-f0-9]{64}$; the colon form never validates.Change and scope
One-character documentation fix in
docs/devicetree.md. A repository grep (grep -rn 'ev:<' docs website src .agents) found no other occurrence of the colon form;docs/android-analysis.md,docs/go-binaries.md,docs/rust-binaries.md,docs/mcp-contracts.md,docs/wasm-artifacts.md,docs/native-function-matching.md,docs/desktop-applications.md,docs/binary-diagnostics.mdand the skill reference already useev_<...>. No schema change: the producer-returned id already works unchanged. Maintainer scope decision: not applicable.Contract and boundary impact
src/domain/digests.tsowns the id format; only the guide example changes.Expected effects:
Evidence and regression coverage
tsxagainstretainedEvidenceReferenceSchema:ev:+ 64 hex is rejected with "Expected a ev_ prefixed lowercase sha256 digest";ev_+ 64 hex is accepted. The issue's MCP reproduction was not rerun.Validation performed
grep -rn 'ev:<' docs website src .agents— after the change: no matches.grep -rn 'ev_<' docs | wc -l— the remaining placeholders all use the underscore form.node --import tsx <schema check script>—ev: rejected: Expected a ev_ prefixed lowercase sha256 digest,ev_ accepted.Compatibility, safety, and release
Author readiness
Human owner: @ayobamiseun
Before merge
type(scope): outcome.🤖 Generated with Claude Code