WM
CUMET Repair Station
Station-service IA — diagnostic, patch, test, PR, déploiement
No secret in UI PR-first Human consent gate V1
CUMET / APIOS / GitHub / Supabase / Appwrite

Une station-service de réparation IA pour systèmes numériques.

CUMET Repair Station reçoit un symptôme — page blanche, build cassé, workflow bloqué, Edge Function instable — puis organise le diagnostic, la réparation, les tests, la PR, le déploiement et le rapport d'audit.

Mode opératoire

8 baies

Intake, Scan, Diagnose, Patch, Test Bench, Deploy Bay, Monitor, Report.

Principe sécurité

0 secret

Aucune clé service-role dans le frontend. Logs redacted. Actions destructrices sous consentement.

Sortie standard

PR

Une branche réparable, un patch minimal, un rapport clair et un rollback documenté.

Pipeline Repair Station

01
Intake
Symptôme, repo, logs, URL, branche, niveau de consentement.
02
Scan
package, Vite, App, providers, workflows, edge functions.
03
Diagnose
Cause racine, preuve, gravité, risque résiduel.
04
Patch
Branche fix/repair, diff minimal, garde-fou.
05
Test Bench
build, typecheck, audit, smoke test, e2e si disponible.
06
PR
Résumé, cause, fichiers, tests, rollback.
07
Deploy
Déploiement guidé Appwrite, Supabase ou GitHub Actions.
08
Monitor
Observer SSE, dashboard, journal read-only, rapport final.

Catalogue V1 des réparations

CodeSymptômeRéparation typeRisque
RUNTIME_BLANK_PAGEPage blanche après build réussiError boundary, runtime guard, diagnostic UIÉlevé
ENV_MISSINGVariable Appwrite/Vite absenteValidation config, écran de correction, doc envMoyen
BUILD_FAILVite/TypeScript/npm échouePatch package/config, lockfile, reproductionÉlevé
CI_FAILGitHub Actions bloquéWorkflow fix, runner guide, rerun contrôléMoyen
SECRET_EXPOSURESecret dans client/logRotation recommandée, suppression, guardCritique

Baies actives

Frontend BayVite, React, SPA, CSP, cache.
ready
CI BayGitHub Actions, runners, artifacts.
ready
Edge BaySupabase functions, CORS, auth.
guarded
Deploy BayAppwrite, Supabase, rollback.
manual gate

Contrat de réparation standard

repair_intake: symptom: "blank_page | build_fail | ci_fail | edge_fail | deploy_drift" repo: "owner/name" evidence: ["build_log", "browser_console", "workflow_run", "url"] consent: "diagnostic_only | patch_pr_only | deploy_after_approval" safety: secrets: "redacted" destructive_actions: "human_approval_required" repair_output: branch: "repair/<symptom>-<date>" pull_request: true report: cause_root: true tests: true rollback: true