Skip to content

docs(wind-format): normative .wind SPEC + major-only schema $id - #318

Merged
CameronBrooks11 merged 1 commit into
mainfrom
feat/openformat-a-spec
Jun 29, 2026
Merged

CameronBrooks11 merged 1 commit into
mainfrom
feat/openformat-a-spec

Conversation

@CameronBrooks11

Copy link
Copy Markdown
Member

Summary

Open-format slice A (#314) of epic #141 — make .wind a normative spec and fix the schema $id versioning. Self-contained (no corpus / IR / hosting — those are B/C/D).

What's here

  • docs/guides/wind-format.md → normative SPEC: RFC-2119 conventions; a Conformance section (conforming document / producer / consumer requirements — tolerant reader, absent schemaVersion = 1.0, reject incompatible major); the media type application/vnd.fiberpath.wind+json; a normative additive-within-major compatibility policy; an identity table linking the canonical $id. The old "Backwards Compatibility" prose now defers to the normative policy instead of contradicting it.
  • $id → major-only: scripts/generate_schema.py emits https://fiberpath.org/schemas/wind/1/wind.schema.json (was /wind/1.0/). Additive 1.x revisions keep this $id; schemaVersion carries the minor. wind-schema.json regenerated (drift-gated; generator verified deterministic).
  • CHANGELOG.md: a [Unreleased] entry for this change, plus a backfill for the cone feature (Stage 3a — cone (developable) surface support #138) that shipped unlogged.

Verification

  • pytest 214 passed; ruff + mypy clean; schema-drift gate satisfied (committed wind-schema.json == regenerated).
  • The spec's normative claims were cross-checked against the implementation (adversarial review, no blockers): absent→1.0, ^1\.\d+$ rejects major 2.0 while accepting unknown minors, and the reference reader genuinely ignores unknown members (pydantic default extra="ignore", no additionalProperties:false). All internal anchors resolve.

Scope

The $id does not resolve yet — slice D (#317) publishes the schema on the org-pages site. No conformance corpus (B/#315) or IR doc (C/#316) here.

Closes #314.

Promote the .wind format guide to a normative specification: RFC-2119
conventions, a Conformance section (reader/writer requirements: tolerant
reader, absent schemaVersion = 1.0, reject incompatible major), the media type
application/vnd.fiberpath.wind+json, and a normative additive-within-major
compatibility policy. Reference the canonical JSON-Schema $id.

Reconcile the $id to major-only: scripts/generate_schema.py now emits
https://fiberpath.org/schemas/wind/1/wind.schema.json (was /wind/1.0/), so every
additive 1.x revision validates against the same schema and schemaVersion carries
the minor; regenerate wind-schema.json. Also backfill the CHANGELOG for the cone
feature (#138) and this change.

The $id need not resolve yet (slice D publishes it). Schema drift gate passes.

Slice A of #141 (open-format epic). Closes #314.
@CameronBrooks11
CameronBrooks11 merged commit 789d4fe into main Jun 29, 2026
18 checks passed
@CameronBrooks11
CameronBrooks11 deleted the feat/openformat-a-spec branch June 29, 2026 22: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.

Open-format A — normative .wind SPEC + canonical major-only $id

1 participant