You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 23, 2026. It is now read-only.
Arazzo: 1.1 support, and teaching the format about document-level extends #12
Arazzo: bring support up to 1.1, and teach the format that Arazzo has an extends of its own.
Arazzo 1.0 support already exists in the incumbent engine. 1.1 has not been added.
The split between the two halves
This is a useful worked example of the spec/tool separation, which is why it is worth doing early and doing visibly:
The tooling side — recognizing Arazzo 1.1 documents, the format detector, and any bundled ruleset for Arazzo — is a change to the implementation. No change to the ruleset format is required for it.
The specification side — there is exactly one thing the format itself has to be aware of: Arazzo documents have an extends option. A linted document that can itself extend another document is not the same as a self-contained one, and the specification needs to say what a conforming implementation does about it.
That second point is the real work in this issue.
The question the specification has to answer
When the document under evaluation carries its own composition mechanism, is a rule evaluated against:
the document as written, or
the document after its own extends has been applied?
Both are defensible and they produce different diagnostics. There is prior art here in how the format already distinguishes resolved from unresolved documents for $ref, and the answer should be consistent with it rather than invented separately — most likely a document-level composition step that happens before rule evaluation, with the same kind of explicit control the format already gives for reference resolution, and diagnostics that can still point at the source document a finding actually came from.
Getting this right generalizes. Arazzo is the first specification in scope with document-level composition, but it will not be the last, and the format should grow a general answer rather than an Arazzo-shaped special case.
Deliverables
Decide and specify the evaluation model for documents that carry their own composition
State how diagnostics report position when a finding originates in an extended document
Conformance cases for both the composed and uncomposed evaluation paths
Track the implementation-side Arazzo 1.1 work as a separate issue on spotlight-tools
Anyone who has written Arazzo rules in anger: the failure modes you hit are the cases this needs.
The tooling half is now filed separately: api-commons/spotlight-tools#75. That was the last deliverable on this issue's list, and it makes what remains here smaller and sharper.
What moved, and what stays
Where
Recognizing Arazzo 1.1, the format detector, the bundled ruleset, the schema
spotlight-tools#75 — no change to the format required
What a conforming implementation does when the document under evaluation carries its own composition mechanism
Here. This is the real work in this issue
One thing found while splitting it, which sharpens the argument
Arazzo 1.1 does not fail — it is silently unlinted. arazzo1_0 is the only registered format, its regex is ^1\.0(?:\.[0-9]*)?$, and the bundled ruleset is scoped to it. A 1.1 document therefore matches no format, every Arazzo rule declines to fire, and the run reports success.
That is this specification's own conformance note, in production:
Rules that never fire look identical to rules that always pass.
It is also the exact behavior asserted by formats/unknown-identifier-never-matches in the conformance-suite proposal (#37) — and gap 7 in that proposal's GAPS.md asks whether an implementation may warn about a format identifier it cannot resolve. Arazzo 1.1 is the concrete case that makes that question worth answering rather than filing: a green pipeline with no governance behind it.
Worth noting the three issues line up: this one, #37 gap 7, and spotlight-tools#75. The specification question is not academic and there is a shipped example of it.
Remaining deliverables here
Decide and specify the evaluation model for documents that carry their own composition
State how diagnostics report position when a finding originates in an extended document
Conformance cases for both the composed and uncomposed evaluation paths
Track the implementation-side Arazzo 1.1 work as a separate issue — spotlight-tools#75
The second bullet is blocked on something bigger, and it should be said out loud: there is no defined representation for a diagnostic's location at all — gap 1 in #37. "How diagnostics report position when a finding originates in an extended document" cannot be answered before "how diagnostics report position" is.
From the office hours of 28 August 2026 (#40) — there is a person with the Arazzo work already done, and a reason it never landed upstream.
From the OpenAPI Initiative side:
One good opportunity as well: whenever we have the name, and the spec separated, and some base tooling coming out — that will get a first-class set of support for Arazzo 1.1, which I haven't contributed back into current Spectral because, yeah, just timing and status were the main blockers there. And 1.2 will be coming soon as well, so there'll be a good impetus to get that supported as a first-class spec within whatever we're building here.
Three things this changes for this issue.
The work is not speculative and does not need to be scoped from scratch — it exists and was withheld because contributing it upstream did not look like a good use of anyone's time. That is the clearest single illustration of the problem this fork exists to fix, and it should be said out loud when this ships.
The target is 1.1 and 1.2, not just 1.1 as this issue's title says. 1.2 is close enough that building for 1.1 alone would be building something that needs redoing.
It is gated on the rename and the spec/tooling split, not on design work here. Which means the sequencing runs: name (Name the Spectral Fork #39, by 11 September) → org and repos (by 15 September) → Arazzo support as one of the first substantive things the new tooling does. That makes this a good candidate for the first release that demonstrates the point of the fork.
Also from the same call: the Arazzo community meeting is every second Wednesday afternoon, with a dedicated channel in the OpenAPI Slack, and the invitation to attend was explicit. Tracked in #42.
Activity
kinlane commentedon Aug 27, 2026
The tooling half is now filed separately:
api-commons/spotlight-tools#75. That was the last deliverable on this issue's list, and it makes what remains here smaller and sharper.What moved, and what stays
spotlight-tools#75— no change to the format requiredOne thing found while splitting it, which sharpens the argument
Arazzo 1.1 does not fail — it is silently unlinted.
arazzo1_0is the only registered format, its regex is^1\.0(?:\.[0-9]*)?$, and the bundled ruleset is scoped to it. A 1.1 document therefore matches no format, every Arazzo rule declines to fire, and the run reports success.That is this specification's own conformance note, in production:
It is also the exact behavior asserted by
formats/unknown-identifier-never-matchesin the conformance-suite proposal (#37) — and gap 7 in that proposal'sGAPS.mdasks whether an implementation may warn about a format identifier it cannot resolve. Arazzo 1.1 is the concrete case that makes that question worth answering rather than filing: a green pipeline with no governance behind it.Worth noting the three issues line up: this one, #37 gap 7, and
spotlight-tools#75. The specification question is not academic and there is a shipped example of it.Remaining deliverables here
spotlight-tools#75The second bullet is blocked on something bigger, and it should be said out loud: there is no defined representation for a diagnostic's location at all — gap 1 in #37. "How diagnostics report position when a finding originates in an extended document" cannot be answered before "how diagnostics report position" is.
kinlane commentedon Aug 28, 2026
From the office hours of 28 August 2026 (#40) — there is a person with the Arazzo work already done, and a reason it never landed upstream.
From the OpenAPI Initiative side:
Three things this changes for this issue.
Also from the same call: the Arazzo community meeting is every second Wednesday afternoon, with a dedicated channel in the OpenAPI Slack, and the invitation to attend was explicit. Tracked in #42.
Suggest retitling this to cover 1.1 and 1.2.