Files
L'électron rare f55093d6fe
ESP-IDF CI / Host Tests (Unity) (push) Successful in 1m8s
CI / firmware-native (push) Successful in 2m57s
Rust Protection Tests / Cargo test (host) (push) Failing after 3m21s
ESP-IDF CI / ESP-IDF Build (v5.4) (push) Failing after 6m55s
ESP-IDF CI / Memory Budget Gate (push) Has been skipped
qa-cicd-environments / qa-kxkm-s3-build (push) Successful in 8m53s
qa-cicd-environments / qa-sim-host (push) Successful in 2m2s
qa-cicd-environments / qa-kxkm-s3-memory-budget (push) Successful in 11m17s
chore: import KXKM Batterie Parallelator
Context: the project archive (KXKM_Batterie_Parallelator-main) had
no git history locally; a fresh repository is needed to host it on
git.saillant.cc (electron/KXKM_Batterie_Parallelator).

Approach: initialize a new repo on branch main, stage the archive
content, and harden .gitignore before the first commit.

Changes:
- Import the full project tree: firmware/, firmware-idf/,
  firmware-rs/, iosApp/, kxkm-bmu-app/, kxkm-api/, hardware/,
  docs/, specs/, scripts/, models/, tests/
- Keep project dotfiles tracked despite the trailing '.*' ignore
  rule: .github/, .claude/, .superpowers/, .gitattributes,
  .markdownlint.json
- Extend .gitignore: firmware/src/credentials.h (local secrets,
  template kept), kxkm-bmu-app/**/build/ (66 MB compiled iOS
  framework), .remember/ (session data)

Impact: the project can now be maintained on the self-hosted Gitea
forge with a clean, secret-free initial history.
2026-07-04 12:32:28 +02:00

71 lines
3.4 KiB
Markdown

# Assignation Agents et Tâches
Date: 2026-03-30
Statut: active (post-audit)
## Matrice opérationnelle
| Axe | Agent principal | Sous-agent/Support | Sortie attendue | KPI |
|---|---|---|---|---|
| Sécurité firmware | BMU Safety Review | SE: Security | Findings classés + recommandations | 0 régression critique |
| Gate QA/CI | QA Gate | SE: DevOps/CI | Verdict PASS/FAIL + preuves runs | preuves distantes archivées |
| Cartographie contexte | Explore | Context Architect | Context map + dépendances | couverture fichiers critiques |
| Implémentation code | SWE | gem-implementer | Patchs vérifiés + tests | tests verts + build stable |
| Documentation | SE: Tech Writer | Explore | README/plans/specs synchronisés | 0 contradiction statut |
| ML/Cloud orchestration | SWE | QA Gate | Pipeline conteneur exécuté + artefacts | run-container success |
| Audit CRIT fixes | SWE | BMU Safety Review | Patchs CRIT-A..D + tests | sim-host PASS + S3 build |
## Assignation par lot — Phase 4 (Audit Fixes)
| Lot | Priorité | Owner | Support | Entrée | Sortie |
|---|---|---|---|---|---|
| P0-UNIT-FIX | P0 | SWE | BMU Safety Review | CRIT-A + CRIT-B findings | BatteryParallelator.cpp + main.cpp patchés |
| P1-DEADLOCK-FIX | P1 | SWE | — | CRIT-C finding | BatteryRouteValidation.cpp patché |
| P2-WEB-AUTH | P2 | SWE | SE: Security | CRIT-D finding | Routes POST + token JS + #warning |
| P3-OVERCURRENT | P3 | SWE | — | HIGH-1 finding | fabs() dans ERROR handler |
| P4-LOCK-IMPL | P4 | SWE | — | MED-1 finding | Permanent lock implémenté |
| P5-TESTS-ALIGN | P5 | QA Gate | SWE | Tests stub vs code réel | Tests alignés config.h (10A) |
| P6-HARDWARE-BENCH | P6 | Clément (manuel) | — | BMU v1/v2 + PSUs + charges | TB01-TB13 résultats |
## Assignation continue (P1)
| Lot | Owner | Support | Entrée | Sortie |
|---|---|---|---|---|
| P1-README-SYNC | SE: Tech Writer | QA Gate | plans + evidence récents | README cohérent |
| P1-SCHEMA-CONTRACT | ML Team | SWE | telemetry/inference payloads | JSON schema versionnés |
| P1-CI-REMOTE-PROOF | QA Gate | SE: DevOps/CI | workflow sur branche défaut | URL runs + statut |
| P1-PDF-LIBRARY | SE: Tech Writer | — | 12 papers classés | HIGH/MEDIUM/LOW organisés |
## Diagramme de responsabilités Phase 4
```mermaid
flowchart LR
AUDIT[Audit 2026-03-30\n4 CRIT + 8 HIGH] --> P0[P0: SWE\nUnités + imbalance]
AUDIT --> P1[P1: SWE\nDeadlock fix]
AUDIT --> P2[P2: SWE + Security\nWeb auth]
AUDIT --> P3[P3: SWE\nOvercurrent]
AUDIT --> P4[P4: SWE\nPermanent lock]
P0 --> TESTS[P5: QA Gate\nTests alignés]
P1 --> TESTS
P2 --> TESTS
P3 --> TESTS
P4 --> TESTS
TESTS --> BUILD[Build validation\npio test + pio run]
BUILD --> S3[S3: Clément\nBanc hardware]
```
## Règles de fonctionnement
1. Une tâche `completed` doit contenir une évidence vérifiable (commande, artefact, URL run).
2. Une tâche `blocked` doit déclarer un unique `Next Action` exécutable immédiatement.
3. Les sorties IA restent consultatives; la sûreté batterie reste locale firmware.
4. Les changements sur plans/docs doivent être synchronisés dans la même itération.
5. **Nouveau:** Aucun fix CRIT ne peut être marqué DONE sans test sim-host vert.
## Escalade
- P0: BMU Safety Review + QA Gate immédiat.
- P1: Team owner + support associé.
- P2: consolidation hebdomadaire par Tech Writer.
- **P6 (hardware bench): intervention Clément requise** — seul lot nécessitant intervention humaine.