Added safeNum() + migrateNodeData() to sanitize all numeric fields (including positions and allocation percentages) at every data loading boundary. The nullish coalescing operator (??) doesn't catch NaN, so corrupted Automerge/localStorage data cascaded NaN through pipe positions, port coordinates, and edge paths. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| db | ||
| lib | ||
| landing.ts | ||
| local-first-client.ts | ||
| mod.ts | ||
| schemas.ts | ||