2 Commits
Author SHA1 Message Date
vinihcrosaandClaude Sonnet 4.6 af9a058fbf fix: resolve gcc-12 build errors in Docker Linux target
- NavalDomain.cpp: materialize BodyState temporaries before taking const& to
  member (dangling-pointer= false positive on clang, real UB caught by gcc-12)
- TestBerthManeuverSystem.cpp: add GCC diagnostic pragma alongside existing
  clang pragma to suppress deprecated-declarations on TugParametricForces
- TestWaveSpectrum.cpp: add missing #include <cmath> for std::sqrt
  (transitively included on macOS/clang, required explicitly on gcc-12)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-28 00:29:32 -03:00
vinihcrosaandClaude Sonnet 4.6 6295d540a4 feat: migrate to monorepo with WASM core, Fastify API, and React frontend
- Move C++ sources to core/ subdirectory (T05)
- Add pnpm workspaces + Turborepo pipeline (T06)
- Add Emscripten CMake target and build-wasm.sh (T07)
- Implement Embind bindings via YmirBindings.cpp (T08)
- Add packages/types with TypeBox schemas for VesselDTO, ScenarioDTO, SimulationStateDTO (T09)
- Create apps/api: Fastify v4 + Drizzle ORM + SQLite with vessels/scenarios CRUD (T10-T13)
- Create apps/web: Vite + React 18 + COOP/COEP headers (T14)
- Add simulation.worker.ts for WASM loop in Web Worker (T15)
- Add Zustand simulationStore (T16)
- Add TelemetryPanel component (T17)
- Verified: pnpm build 3/3 tasks, 21ms cached; ctest 211/211 pass (T18-T19)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-28 00:08:28 -03:00