Skip to content

Add JSON protocol - #4

Merged
ajavanma merged 1 commit into
mainfrom
feat/json-contract
Oct 15, 2026
Merged

ajavanma merged 1 commit into
mainfrom
feat/json-contract

Conversation

@ajavanma

Copy link
Copy Markdown
Owner

Add an opt-in versioned JSON execution contract for programmatic PCW clients. Existing text output, command-local --json payloads and saved artifact formats remain compatible. The new run inspect command verifies completed artifacts and reports a read-only snapshot without creating locks or claiming resume eligibility.

Validation: 224 installed-wheel unit, CLI, CPU ML and historical artifact/runtime compatibility tests passed. New cases cover structured errors, parser/help edge cases, legacy payload equality, lazy imports and corrupt completion data. Wheel/sdist builds, strict Twine checks and strict documentation build passed. A separate Go client completed the synthetic CPU workflow through this contract.

@ajavanma
ajavanma merged commit 838cc59 into main Oct 15, 2026
8 checks passed
@ajavanma
ajavanma deleted the feat/json-contract branch October 15, 2026 18:48
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