Files
Clément SAILLANT c2addfd81d feat(hw): add schops tool for schematic operations and kicad-cli integration
- Introduced `kicad_cli.sh` for local and Docker-based kicad-cli execution.
- Created `schops.py` for schematic operations including ERC, BOM, netlist exports, and bulk edits.
- Added README.md for schops with installation and usage instructions.
- Included requirements.txt for necessary Python packages.
- Implemented rules engine for applying field defaults and renaming nets.
- Added tests for rules engine functionality.
- Introduced scope guard script to enforce file modification policies based on PR labels.
- Created watch script to monitor KiCad files and trigger hardware gate on changes.
2026-02-18 23:47:56 +01:00
..

ai-agentic-embedded-base

Repo “de base” qui combine le meilleur de :

  • Specdriven development (Spec Kit) : une spécification comme source de vérité.
  • Standards injection (Agent OS) : standards versionnés + profils.
  • BMAD / BMADMETHOD : agents par rôles + rituels + gates + handoffs.
  • Agent Zero : exécution transparente via outils locaux + logs + artifacts.

Ce dépôt est orienté embarqué (firmware + hardware KiCad) mais extensible multitarget.

TL;DR

  • Écris/itère la spec dans specs/
  • (optionnel) Génère un squelette de spec depuis .specify/ : python tools/ai/specify_init.py --name <feature>
  • Applique les standards dans standards/
  • Exécute le cockpit : python tools/cockpit/cockpit.py menu
  • Pour lautomatisation GitHub : label ai:codex → Issue → PR

Structure

  • specs/ : intake → spec → arch → plan → tasks + contraintes
  • standards/ : règles globales + profils (ESP / STM / multi)
  • bmad/ : rôles, rituels, gates, templates de handoff
  • agents/ : prompts agents (PM/Architect/FW/QA/Doc/HW)
  • tools/ : cockpit + outils AI + outils hardware (schops)
  • firmware/ : PlatformIO + Unity (tests)
  • hardware/ : KiCad + blocks + rules
  • .github/ : workflows (CI firmware/hardware/docs + Issue→PR Codex)

KiCad local + IA

Voir docs/KICAD_AI_LOCAL.md.

Démarrage rapide

# firmware
cd firmware
python -m pip install -U platformio
pio run -e esp32s3_arduino
pio test -e native

# cockpit
python tools/cockpit/cockpit.py menu

Conventions de sortie

Tous les scripts écrivent sous artifacts/<domain>/<timestamp>/ (logs + exports + reports).

V4 — KiCad agentique (bulk + previews + MCP)

  • bash tools/hw/hw_gate.sh hardware/kicad : exports SVG + ERC/DRC JSON + BOM/netlist
  • python tools/watch/watch_hw.py : watch mode (re-run gate on save)
  • docs/MCP_SETUP.md : configuration MCP (kicad-sch-mcp) citeturn0search9

Compliance (2 options)

  • Prototype interne : profil prototype (pas de CE/RED)
  • Produit UE WiFi/BLE : profil iot_wifi_eu (RED + cyber + RoHS/REACH/WEEE + ETSI)

Changer de profil :

python tools/compliance/use_profile.py prototype
python tools/compliance/use_profile.py iot_wifi_eu
python tools/compliance/validate.py

Docs : docs/COMPLIANCE.md