Repository navigation
Closed
Labels
documentationImprovements or additions to documentationepicTracking issue spanning multiple sub-issues
Description
Make .wind a documented, versioned, open winding-program format — the flagship deliverable of the open-format track (roadmap "Open winding-program format"). There is no open interchange format for winding programs today; this publishes one.
Why this matters
A normative, versioned spec with a resolvable schema $id and a conformance corpus is what lets a community form around .wind and lets other tools read/write it with confidence. The Motion IR is documented as a secondary format; emitted G-code stays a build artifact.
Definition of done
.windhas a normative SPEC (MUST/SHOULD, conformance section, media type) with an explicit additive-within-major compatibility policy + changelog.- The canonical JSON-Schema
$idresolves:https://fiberpath.org/schemas/wind/1/wind.schema.json→ 200. - A conformance corpus (
valid/must-parse,invalid/must-reject, golden outputs) gates the format in CI. - The Motion IR is documented as a secondary, separately-versioned format (
irVersion) with weaker stability guarantees.
Slices
- Open-format A — normative .wind SPEC + canonical major-only $id #314 — A normative SPEC + reconcile
$idto major-only/wind/1/(regenerate schema). Self-contained. - Open-format B — conformance corpus (valid/invalid/golden) #315 — B conformance corpus (
valid//invalid//golden), wired into tests. Largest. - Open-format C — Motion IR as a secondary versioned format (irVersion) #316 — C Motion IR as a secondary versioned format (
docs/reference/motion-ir.md+irVersion). - Open-format D — publish schema at fiberpath.org/schemas/wind/1 ($id resolves) #317 — D publish the schema on org-pages so the
$idresolves (cross-repo). Depends on A.
Order: A first (locks $id + normative doc); B and C independent; D after A.
Decisions (made)
- Major-only
$id(/wind/1/): additive minors keep the same identifier;schemaVersiontracks the minor. - Separate
conformance/tree (don't restructureexamples/, which is cited by tests + docs). - Publishing is in-scope (slice D):
fiberpath.orgis already live (verified 200 on/and/fiberpath); only the schema path 404s. No Cloudflare/DNS work needed.
Already landed (groundwork)
- The wired generator (
scripts/generate_schema.py) already sets afiberpath.org$id(slice A just makes it major-only); the orphanedexport_schema.pyis gone. - A schema-drift CI gate exists (backend-ci regenerates +
git diff); the committed schema already carriesschemaVersion(Fix schemaVersion schema constraint (const 1.0 rejects future minors) #140) +endDiameter(Stage 3a — cone (developable) surface support #138, schemaVersion 1.1). - The compatibility policy + format changelog were drafted into
wind-format.mdduring the cone work (slice A formalizes them as normative).
Dependencies
- Stand up fiberpath.github.io org-pages site + retarget docs-deploy + CNAME fiberpath.org #133 (org-pages +
fiberpath.org) — verified live; its checkboxes are stale (slice D ticks them). - Fix schemaVersion schema constraint (const 1.0 rejects future minors) #140 (relax
schemaVersionto^1\.\d+$) — done.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationepicTracking issue spanning multiple sub-issues
Activity
chore: cut over URLs and references to the fiberpath org (#152)
CameronBrooks11 commentedon Jun 26, 2026
Schema-generator drift surfaced while doing #140 (PR #203) — needs reconciling here.
There are currently two competing JSON-Schema generators, and the committed
fiberpath_gui/schemas/wind-schema.jsonis out of sync with the one that's actually wired up:scripts/export_schema.py— produces the committed artifact's shape: sets$id(.../CameronBrooks11/fiberpath/schemas/wind-definition.json, the old org) and keeps the pydantic-default"title": "WindDefinition". It is orphaned — zero references anywhere in the repo.scripts/generate_schema.py— whatfiberpath_gui/package.json'snpm run schema:generateactually invokes. Produces a different shape:"title": "FiberPath Wind Definition", no$id.Net effects to resolve as part of the open-format groundwork:
npm run schema:generatetoday regenerates the artifact but drops the$idand renames the title — diverging further from what's committed.schemaVersionproperty (now a native field onWindDefinition,pattern ^1\.\d+$).Recommended for #141:
export_schema.py), decide the canonical versioned$id(newfiberpath-org / fiberpath.org URL, notCameronBrooks11), regeneratewind-schema.json, andgit diff --exit-code), mirroring the OpenAPI drift gate planned in build: OpenAPI-generated TS client + CI drift gate #191.#140 deliberately left the artifact untouched to avoid making the
$iddecision unilaterally; the runtime/code validation (model + GUI zod) is fixed there.fix(config): accept any 1.x .wind schemaVersion, validate major in code
fix(config): accept any 1.x .wind schemaVersion, validate major in code
fix(config): accept any 1.x .wind schemaVersion, validate major in co…
build: canonical $id for the .wind schema + a drift gate (#210)
[-]Open-format groundwork: normative SPEC, versioned $id, conformance corpus[/-][+]Epic: open winding-program format — normative SPEC, resolvable $id, conformance corpus[/+]docs(wind-format): normative .wind SPEC + major-only schema $id (#318)
docs(ir): document Motion IR as a secondary versioned format + irVers…
test(conformance): .wind conformance corpus (valid/invalid/manifest) (#…
CameronBrooks11 commentedon Jun 29, 2026
Open winding-program format shipped. All four slices merged to main (@ 430ac60):
docs/guides/wind-format.mdpromoted to a normative SPEC (RFC-2119 conformance, media typeapplication/vnd.fiberpath.wind+json, additive-within-major policy); JSON-Schema$idreconciled to major-only.docs/reference/motion-ir.md) withirVersionin the header.$idresolves:https://fiberpath.org/schemas/wind/1/wind.schema.json→ 200, sourced live from the generated artifact.conformance/corpus (valid must-parse, invalid must-reject paired with reasons), enforced bytests/conformance/..windis now a documented, versioned, open format with a resolvable schema and a conformance gate. Per the roadmap's open-format track, the remaining cross-cutting items (#197 machine-profile spec, future format work) are separate; the desktop.windfile association is #148.chore(release): prepare 0.10.0 (#325)
docs: bring capability docs in line with what shipped, and add AGENTS…