Repository navigation
DOCS-090: fold --format json with a versioned, published schema - #48
Conversation
…never parse English (DOCS-090) One JSON document on stdout in every fold mode, naming schema ewc3-docs/fold@1 and matching schema/fold.v1.schema.json (JSON Schema 2020-12, shipped in the package). Additive within v1; a rename or removal is v2. Every problem carries a stable code, set where it is raised. Did-not-run is JSON however early the tool stops. Text output is unchanged. Tests validate real output against the closed schema, and compare its codes with the source. Slice: DOCS-090 State: tested Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@codex review |
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
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. |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
DOCS-090:
fold --format json, so a CI wrapper never parses this tool's English. Asked for by the owner, with contract versioning and a stored schema.--write,--check,--check-message,--commits-from). Exit codes unchanged;ok== exit 0.schema/fold.v1.schema.json(JSON Schema 2020-12), added to the npm package. Every document names it:"schema": "ewc3-docs/fold@1".fold.v2.schema.jsonbeside v1.problem(code, message)constructor where each problem is raised. No classifier reading messages afterwards.from: nullfor a first state (asked by the wrapper author).How it is held: tests validate real output from every mode against the closed schema (
additionalProperties: false) with an in-file validator; a test refuses schema keywords the validator does not implement; the schema's code list is compared with the codes in the source. A stray output field fails 3 tests (measured).358 tests pass.
check,index --check,values --check,fold --check --sinceclean.🤖 Generated with Claude Code