Conversation
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.
Motivation
Description
README.mdto remove legacy trace/x402 framing, replace stale examples with real v1.1.0 request/receipt fields, changeCID: PENDINGtoCID: TBD (pre-release), and replace the brokennpx cl-validateguidance with workingnpm/nodevalidation commands and examples.Commons v1.1.0section toSPEC.mdthat defines the flat request shape and the proof-oriented receipt shape (fields:verb,version,status,timestamp,request_hash, optionalresult_hash/result_cid,summaryon success,signature,erroron failure), and markedv1.0.0as legacy and structurally different.SCHEMAS.mdto document the current flatschemas/v1.1.0/commons/<verb>/layout, update deterministic$idexamples to the v1.1.0 pattern, remove references that implied nestedrequests/andreceipts/in v1.1.0, and align validation guidance with the repository scripts.README.md,SPEC.md,SCHEMAS.md.manifest.jsonstill contains"schemas_cid": "PENDING"and checksum-generation scripts default toschemas/v1.0.0, which may be surprising given v1.1.0 is the current layout.Testing
npm run validate(this runsvalidate:schemasandvalidate:examples); result: all schemas compiled and all examples for bothv1.0.0andv1.1.0validated successfully (no failures).scripts/validate-all.mjsandscripts/validate-examples.mjsrun cleanly in Ajv 2020-12 strict-style configuration; outcome: success.Codex Task