Skip to content

fix(docs): correct hallucinations and wrong values in tutorials#61

Merged
imran-siddique merged 1 commit into
mainfrom
fix/tutorial-accuracy
Jun 22, 2026
Merged

fix(docs): correct hallucinations and wrong values in tutorials#61
imran-siddique merged 1 commit into
mainfrom
fix/tutorial-accuracy

Conversation

@imran-siddique

Copy link
Copy Markdown
Contributor

Summary

  • quickstart.md: Replace nonexistent agentrust-trace keygen CLI with Python generate_key(); replace agentmesh section with load_signing_key() persistent-key example; replace CLI verify with verify_record() Python showing correct output
  • hardware-attestation-platforms.md: Fix commented verify_trace_claim(record) stub — add required ApprovedHashes arg and correct result.status.value access
  • integrating-with-cmcp.md: Correct the central RuntimeClaim vs TrustRecord confusion throughout — field paths (trace.cnf.jwk, trace.runtime), removal of validate_json/verify_record misuse (those don't accept the RuntimeClaim envelope), correct verify_trace_claim(claim_json, approved) signature with ApprovedHashes, correct result access via result.status.value, updated Division of Responsibility table

Test plan

  • Read each edited file end-to-end and confirm no remaining CLI-only code, wrong field paths, or hallucinated function signatures
  • Verify verify_trace_claim signature against cmcp/src/cmcp_verify/verify.py
  • Verify RuntimeClaim field layout against cmcp/src/cmcp_runtime/audit/trace_claim.py
  • Confirm CI link checker passes

🤖 Generated with Claude Code

- quickstart: replace nonexistent CLI keygen with Python generate_key();
  replace agentmesh sign section with load_signing_key() persistent key;
  replace CLI verify with verify_record() Python and correct output
- hardware-attestation-platforms: fix commented verify_trace_claim() call
  to show required ApprovedHashes arg and correct VerificationResult access
- integrating-with-cmcp: correct RuntimeClaim vs TrustRecord confusion;
  fix field paths to trace.* nesting; remove validate_json/verify_record
  misuse (those operate on flat TrustRecords, not RuntimeClaims); fix
  verify_trace_claim() signature to require ApprovedHashes; fix result
  access to result.status.value; update Division of Responsibility table

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@imran-siddique imran-siddique merged commit 5b7bd7a into main Jun 22, 2026
6 checks passed
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