Files
Kill_LIFE/docs/YIACAD_BACKEND_SERVICE_2026-03-21.md
T
L'électron rare 066acde0cb docs: add feature maps, audits, research, plans lots 19-26
- 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>
2026-03-24 00:20:32 +01:00

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

  1. la surface appelle yiacad_backend_client.py
  2. le client tente service-first
  3. si le service n'est pas disponible, il l'auto-demarre
  4. 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.json
  • artifacts/cad-ai-native/service/latest_health.json
  • artifacts/cad-ai-native/service/latest_response.json
  • artifacts/cad-ai-native/service/server.log

Veille officielle utile

Etat

  • T-ARCH-101C est maintenant engage sur les surfaces actives Python.
  • le prochain palier restant est l'extension eventuelle du chemin service-first aux surfaces compilees plus profondes.