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 }}
Repository navigation
feat: one shared versioned output/wire schema for compute results (plan/simulate/plot) #198
From the plan review. Folds into #189 and #191. The output-side analog of #141 (which did this for the input .wind schema).
Today the API hand-renames engine dataclasses into Pydantic DTOs (fiberpath_api/schemas.py:24-27 — timeSeconds←total_time_s; routes/plan.py:32PlanLayer(**asdict(metric))), and the CLI emits inconsistent shapes (plan camelCase vs simulate snake_case).
Scope
Define one shared, versioned output/wire schema for plan/simulate/plot results — not the raw engine dataclasses (so the wire format isn't hostage to engine refactors). Both the API responses (#189) and the generated client (#191) derive from it.
Acceptance
A single versioned output schema is the source of truth for compute responses; no hand-rename DTOs remain.
Activity
feat(wire): shared versioned output schema for compute results