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
examples/v1.1.0/commonsexample tree that mirrors the v1.0.0 per-verb layout while using the new v1.1.0 schemas and the simplified flat request shape.schemas/v1.1.0/commons/so examples are schema-accurate and judge-friendly.v1.0.0examples and the newv1.1.0json/+ts/layout so CI and local validation work end-to-end.Description
examples/v1.1.0/commonstree for all ten verbs withjson/valid,json/invalid,ts/valid, andts/invalidsubfolders and ~120 example files that follow the v1.0.0 naming/style patterns but usev1.1.0schema shapes.verb,version,input, optionalmode) and each receipt uses the v1.1.0 receipt surface (status,timestamp,agent,request_hash, optionalresult_hash, optionalresult_cid,summary/error,signature) to match schemas exactly.scripts/validate-examples.mjsto validate bothv1.0.0(legacyvalid/invalid) andv1.1.0(newjson/valid/json/invalid) examples by preloading schemas from bothschemas/v1.0.0andschemas/v1.1.0and checking against the correct schema IDs.manifest.jsonandREADME.mdto point to the newexamples/v1.1.0roots and to show the newjson/+ts/structure; retained allv1.0.0examples untouched.Testing
node --check scripts/validate-examples.mjswhich passed with no script syntax errors.npm run validate:exampleswhich validated bothv1.0.0andv1.1.0examples and completed successfully.npm run validate:schemaswhich compiled all schemas and reported✅ All 45 schemas compiled successfully.with no failures.Codex Task