sprint-0: fundaciones VMS-Sailor

Sprint 0 completo del producto VMS-Sailor (Vessel Management System
integrado para buques 30-40m). Brief de referencia en
VMS_Sailor_v2_Parte_*.md (intacto).

Core (vmssailor.core, 95.17% coverage, 99 tests verde):
- ShipCoord: sistema naval x_pp/y_cl/z_bl frozen
- Vessel, Deck, Bulkhead
- Equipment, EquipmentModel, Sensor, EquipmentSpec
- Tag, AlarmConfig, TagBinding, Scaling
- CardInstance, Bus, Topology con validacion 21 puntos I/O AR-NMEA-IO-v1.0
- Alarm, PermissiveRule, Condition
- Project agregado raiz con validacion cross-entity
- Persistencia portable .vmsproj (SQLite) con roundtrip verificable

Biblioteca curada seed (vmssailor.library):
- systems_catalog.json completo (catalogo maestro Parte 1 sec 7)
- 2 vessels: Sunseeker 76, Ferretti 850
- 2 motores: MTU 12V 2000 M96, Volvo D13-900
- 1 genset: Northern Lights M65C13
- yacht_motor_planeo.yaml (reglas heuristicas)
- TODO marcado data_source=seed_estimate - requiere validacion datasheets

Tools:
- vms-validate-library: CLI valida biblioteca completa
- vms-generate-test-project: CLI demo + verificacion roundtrip persistencia

Design System + 8 mockups HTML estaticos:
- docs/design_system.md (paleta Deep Ocean, gradientes, typography, motion)
- docs/brand/ (logo + variantes SVG)
- docs/mockups/splash, studio_main, runtime_overview,
  runtime_mimic_fuel (P&ID animado), runtime_alarms, runtime_trim (panel
  estrella con horizonte artificial), mobile_overview, mobile_trim
- docs/mockups/index.html (galeria)

Firmware (Sprint 12+ implementacion):
- firmware/ar_nmea_io_v1/src/config/pinout.h con macros GPIO

Decisiones autonomas documentadas en docs/decisions_sprint0.md.

Stack: Python 3.11 + uv + Pydantic v2 + SQLite stdlib + hatchling +
pytest 9 + ruff + mypy. Sin PySide6, FastAPI, Flutter ni firmware
funcional (entran en sprints siguientes).

Criterio de aceptacion Sprint 0: cumplido.
- uv sync: OK
- pytest: 99/99 verde
- cov vmssailor.core: 95.17% (objetivo >=80%)
- ruff: clean
- vms-validate-library: OK
- vms-generate-test-project: INTEGRIDAD OK

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-17 07:26:06 -04:00
commit deb04c9315
96 changed files with 15335 additions and 0 deletions
+53
View File
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 80" width="320" height="80" role="img" aria-label="VMS-Sailor">
<defs>
<linearGradient id="cyanGrad" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#00D9FF"/>
<stop offset="55%" stop-color="#5BC0EB"/>
<stop offset="100%" stop-color="#1B7FB5"/>
</linearGradient>
<linearGradient id="hullGrad" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" stop-color="#E6EAF0"/>
<stop offset="100%" stop-color="#7C8B9F"/>
</linearGradient>
<radialGradient id="glow" cx="50%" cy="50%" r="60%">
<stop offset="0%" stop-color="#00D9FF" stop-opacity="0.55"/>
<stop offset="100%" stop-color="#00D9FF" stop-opacity="0"/>
</radialGradient>
<filter id="softGlow" x="-30%" y="-30%" width="160%" height="160%">
<feGaussianBlur stdDeviation="2.5" result="blur"/>
<feMerge>
<feMergeNode in="blur"/>
<feMergeNode in="SourceGraphic"/>
</feMerge>
</filter>
</defs>
<!-- Compass / hull mark -->
<g transform="translate(40,40)" filter="url(#softGlow)">
<circle r="34" fill="url(#glow)" />
<circle r="28" fill="none" stroke="url(#cyanGrad)" stroke-width="2.2"/>
<!-- 8-point compass star -->
<g stroke="#E6EAF0" stroke-width="1.2" stroke-linecap="round">
<line x1="0" y1="-26" x2="0" y2="26"/>
<line x1="-26" y1="0" x2="26" y2="0"/>
<line x1="-18" y1="-18" x2="18" y2="18" opacity="0.4"/>
<line x1="-18" y1="18" x2="18" y2="-18" opacity="0.4"/>
</g>
<!-- Stylized boat silhouette -->
<path d="M -19 4 Q -16 -2 0 -2 Q 16 -2 19 4 L 14 10 L -14 10 Z"
fill="url(#hullGrad)" stroke="#04111F" stroke-width="0.6"/>
<path d="M -1 -2 L -1 -16 L 12 -2 Z" fill="#00D9FF" opacity="0.95"/>
<circle r="2.2" fill="#FFFFFF" cx="0" cy="0"/>
</g>
<!-- Wordmark -->
<g font-family="'Space Grotesk', 'Inter', system-ui, sans-serif" fill="#F2F5F9">
<text x="88" y="44" font-size="28" font-weight="700" letter-spacing="-0.5">VMS</text>
<text x="146" y="44" font-size="28" font-weight="300" letter-spacing="-0.3" fill="#00D9FF">·</text>
<text x="158" y="44" font-size="28" font-weight="400" letter-spacing="-0.3">Sailor</text>
<text x="88" y="62" font-size="10" font-weight="500" letter-spacing="3" fill="#7C8B9F">
VESSEL · MANAGEMENT · SYSTEM
</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB