Skip to content

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

Closed

Description

@CameronBrooks11

Open-format slice A — normative SPEC + canonical $id. Self-contained (no cross-repo, no domain work). Establishes the format identity that B/C/D build on.

Scope

  • Promote docs/guides/wind-format.md to a normative SPEC: RFC 2119 MUST/SHOULD/MAY language, a Conformance section (what a conforming reader/writer must do — tolerant reader ignores unknown fields; writer emits schemaVersion), and the media type application/vnd.fiberpath.wind+json (documented conventionally; no IANA registration). Formalize the compatibility policy + format changelog already drafted in the cone work (additive-only within a major; absent schemaVersion = 1.0).
  • Reference the canonical JSON-Schema $id from the SPEC.
  • Reconcile the $id to major-only: change scripts/generate_schema.py from .../wind/1.0/... to https://fiberpath.org/schemas/wind/1/wind.schema.json (additive minors keep the same $id; schemaVersion tracks the minor). Regenerate fiberpath_gui/schemas/wind-schema.json + src/types/wind-schema.ts (the drift CI gate enforces this).

Gate

  • Schema drift gates pass (regenerated artifacts committed). Full pytest + ruff + mypy clean; docs build clean. Adversarial review.

Out of scope

Conformance corpus (B), IR doc (C), publishing the schema at the URL (D). The $id may not resolve until D lands — fine (JSON Schema allows non-resolving $id).

Part of #141.

Activity

  1. added
    documentation
    on Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions