spec-sync: track V2 spec drift - #137
Open
yzld2002 wants to merge 2 commits into
Open
Conversation
yzld2002
temporarily deployed
to
spec-sync-contract
July 31, 2026 06:00 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the V2 OpenAPI snapshot and regenerated reference models to reflect job metadata and progress semantics.
Changes:
- Adds metadata to completed extract and parse delivery jobs.
- Clarifies estimated progress behavior.
- Regenerates models and removes stale build-schema operation models.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
specs/v2-aide.json |
Updates V2 job response contracts. |
specs/_generated/v2_models.py |
Regenerates reference models from the snapshot. |
Comment on lines
+1729
to
+1732
| "type": [ | ||
| "object", | ||
| "null" | ||
| ] |
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.
Automated V2 spec-sync PR (
client.v2).Gates (surface-lock, V2 contract tests, lint/test/typecheck) must pass. When present, the AI commit is a draft a human finishes (the V2 ergonomic layer — unified Job, dual-host, schema coercion — is not in the spec). Human review required before merge.
What changed
AI-generated from the PR diff — verify against the actual changes.
Jobtype (landingai_ade.types.v2.job): added new fieldmetadata: Optional[object]— the result's metadata receipt (V2ParseMetadatafor parse jobs,V2ExtractMetadatafor extract jobs), surfaced when a job created withoutput_save_urlcompletes (delivery goes tooutput_url, but the metadata receipt stays onJob.metadata). Inline jobs leaveJob.metadataasNone, carrying it insideresult.metadatainstead.normalize_parse_job,normalize_extract_job): now parse the envelope's top-levelmetadatafield and populateJob.metadataaccordingly.parse_jobs/extract_jobsstatus responses (v2-aide.json) gained ametadatafield alongsideoutput_url;progressfield description clarified as an estimate (no schema/type change). No new endpoints, routes, or request parameters were added./v2/workflow*) are out of scope for this SDK and unchanged in terms of client surface — not summarized here per SDK scope.