d7ffbf14cf
- Introduced new documentation for design reviews (DR0/DR1) and release rituals. - Created templates for Architecture Decision Records (ADR), Design Reviews, Playtest Reports, and Validation Plans. - Established workflows for consulting, creative processes, systems engineering, R&D spikes, and compliance/QA. - Implemented GitHub Actions workflows for firmware and hardware CI with required checks strategy. - Added setup script for repository configuration, including label creation and branch protection. - Developed installation script for Kill_LIFE with system updates and environment setup.
1.8 KiB
1.8 KiB
INSTALL — Setup local + GitHub
0) Pré-requis
Outils
- Git
- Python 3.10+ (3.11 recommandé)
- (Firmware) PlatformIO
- (Hardware) KiCad (optionnel)
- (Optionnel) GitHub CLI
gh
Accès GitHub
- Droits pour créer labels et secrets (ou admin)
- GitHub Actions activé
1) Installation locale
1.1 Cloner / initialiser
git clone <repo>
cd <repo>
1.2 Environnement Python
python -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install platformio
Si le repo fournit
tools/requirements.txt, installe-le en priorité.
1.3 Build & tests firmware (exemples)
cd firmware
pio run -e esp32s3_idf
pio test -e native
2) Setup GitHub (obligatoire pour l’automation)
2.1 Labels
Crée ces labels (exactement ces noms) :
Automation
ai:specai:planai:tasksai:implai:qaai:docsai:hold
Workflows métiers (recommandé)
type:consultingtype:systemstype:designtype:creativetype:spiketype:compliance
Optionnel : prio:p0..p3, risk:low|med|high, scope:hardware|firmware|docs|ux|content.
2.2 Secrets
Selon ta stack agentique, configure :
OPENAI_API_KEYCOPILOT_GITHUB_TOKEN
2.3 Branch protection (recommandé)
- Exiger que la CI soit verte avant merge
- Interdire le bypass (ou au minimum sur
.github/workflows/*) - 1 review obligatoire
3) Démarrer avec les templates
- Templates d’issues :
.github/ISSUE_TEMPLATE/ - Workflows métiers :
docs/workflows/README.md - Evidence packs :
docs/evidence/evidence_pack.md
4) Vérification “ça marche”
- Ouvre une issue via un template (ex : “Cabinet — Intake / Cadrage”).
- Vérifie qu’elle a le label
type:*+needs:triage. - Ajoute
ai:spec. - Vérifie qu’une PR est créée et que la CI passe (label enforcement + scope guard).