066acde0cb
- Feature maps: agentic intelligence, digital factory, yiacad global/UI/UX/backend - Audits: consolidation, refactor manifest, exhaustive refonte - Research: OSS AI-native CAD, digital factory stack, mascarade observability - Plans: lots 19-26 (mesh tri-repo, UI/UX refonte, yiacad global, intelligence agentique, mistral agents/studio, hypnoled, EDA AI tools, git EDA platform) - Operator docs: machine registry, alignment, sync status, provider compat - Mascarade/Kill_LIFE product contracts and OPS bridge - PCB AI fab integration map, artifact WMS index - References directory Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2.3 KiB
2.3 KiB
YiACAD backend service - 2026-03-21
Objectif
Remplacer le chemin purement CLI direct par un backend local plus stable et adressable, tout en gardant un fallback direct pour ne pas casser les surfaces deja livrees.
Livrables
- service local:
tools/cad/yiacad_backend_service.py
- client service-first:
tools/cad/yiacad_backend_client.py
- TUI operatoire:
tools/cockpit/yiacad_backend_service_tui.sh
Fonctionnement
flowchart LR
UI["KiCad plugin / FreeCAD workbench"] --> Client["yiacad_backend_client.py"]
Client --> Service["yiacad_backend_service.py"]
Client --> Fallback["yiacad_native_ops.py"]
Service --> Native["yiacad_native_ops.py"]
Native --> Backend["yiacad_backend.py"]
Backend --> Artifacts["context.json / uiux_output.json / service artifacts"]
Chemin d'execution
- la surface appelle
yiacad_backend_client.py - le client tente
service-first - si le service n'est pas disponible, il l'auto-demarre
- si le service reste indisponible, le client retombe sur
yiacad_native_ops.py
Surfaces recablees
- KiCad plugin:
.runtime-home/cad-ai-native-forks/kicad-ki/scripting/plugins/yiacad_kicad_plugin/yiacad_action.py
- FreeCAD workbench:
.runtime-home/cad-ai-native-forks/freecad-ki/src/Mod/YiACADWorkbench/yiacad_freecad_gui.py
Commandes utiles
- statut:
bash tools/cockpit/yiacad_backend_service_tui.sh --action status
- health JSON:
bash tools/cockpit/yiacad_backend_service_tui.sh --action health --json
- logs:
bash tools/cockpit/yiacad_backend_service_tui.sh --action logs-summary
Artefacts
artifacts/cad-ai-native/service/latest_server.jsonartifacts/cad-ai-native/service/latest_health.jsonartifacts/cad-ai-native/service/latest_response.jsonartifacts/cad-ai-native/service/server.log
Veille officielle utile
Etat
T-ARCH-101Cest maintenant engage sur les surfaces actives Python.- le prochain palier restant est l'extension eventuelle du chemin service-first aux surfaces compilees plus profondes.