fix(template): onboarding laptop-ready
- brain-setup.sh : étape 3b — collaboration.md copié depuis .example - now.md : starter cold-boot (helloWorld en a besoin) - BRAIN-INDEX.md : starter cold-boot (BSI-v3 claim) - README : agent count 57→63, wiki ref supprimée, contexts/ + agent-memory/ dans structure
This commit is contained in:
20
BRAIN-INDEX.md
Normal file
20
BRAIN-INDEX.md
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# BRAIN-INDEX.md — Registre global sessions
|
||||||
|
|
||||||
|
> Maintenu automatiquement par le protocole BSI-v3.
|
||||||
|
> Source de vérité pour toutes les instances actives.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Sessions actives
|
||||||
|
|
||||||
|
*(aucune — cold boot)*
|
||||||
|
|
||||||
|
## Dernière activité
|
||||||
|
|
||||||
|
boot: cold
|
||||||
|
timestamp: —
|
||||||
|
instances: 0
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
> Ce fichier est commité après chaque boot claim (voir helloWorld.md ## Boot claim automatique).
|
||||||
@@ -176,7 +176,7 @@ bash scripts/brain-status.sh # voit tout ce qui se passe
|
|||||||
# mutex si fichier partagé → BRAIN-INDEX.md synchronise tout
|
# mutex si fichier partagé → BRAIN-INDEX.md synchronise tout
|
||||||
```
|
```
|
||||||
|
|
||||||
Guide complet : `wiki/multi-instance.md`
|
Guide complet : `agents/AGENTS.md` — le wiki se construit au fil des sessions.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -184,7 +184,9 @@ Guide complet : `wiki/multi-instance.md`
|
|||||||
|
|
||||||
```
|
```
|
||||||
brain/
|
brain/
|
||||||
├── agents/ ← 57 agents calibrés (index : agents/AGENTS.md)
|
├── agents/ ← 63 agents calibrés (index : agents/AGENTS.md)
|
||||||
|
├── contexts/ ← sessions BSI prédéfinies (navigate, work, pilote…)
|
||||||
|
├── agent-memory/ ← mémoire persistante agents (README + _template/)
|
||||||
├── scripts/ ← BSI-v3 protocol (index : scripts/README.md)
|
├── scripts/ ← BSI-v3 protocol (index : scripts/README.md)
|
||||||
│ ├── brain-status.sh ← vue live multi-instances
|
│ ├── brain-status.sh ← vue live multi-instances
|
||||||
│ ├── preflight-check.sh← 6 checks avant écriture
|
│ ├── preflight-check.sh← 6 checks avant écriture
|
||||||
@@ -192,7 +194,6 @@ brain/
|
|||||||
│ ├── human-gate-ack.sh ← gate humain + pause cascade
|
│ ├── human-gate-ack.sh ← gate humain + pause cascade
|
||||||
│ └── ...
|
│ └── ...
|
||||||
├── workflows/ ← chaînes de satellites déclarées
|
├── workflows/ ← chaînes de satellites déclarées
|
||||||
├── wiki/ ← guides (multi-instance, patterns, concepts…)
|
|
||||||
├── locks/ ← registre mutex fichiers (BSI-v3-7)
|
├── locks/ ← registre mutex fichiers (BSI-v3-7)
|
||||||
├── claims/ ← sessions BSI (vide au démarrage)
|
├── claims/ ← sessions BSI (vide au démarrage)
|
||||||
├── BRAIN-INDEX.md ← état global — lu par toutes les instances
|
├── BRAIN-INDEX.md ← état global — lu par toutes les instances
|
||||||
|
|||||||
18
now.md
Normal file
18
now.md
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# now.md — État session courante
|
||||||
|
|
||||||
|
> Fichier généré et maintenu par Claude à chaque session.
|
||||||
|
> Ne pas éditer manuellement — source de vérité session-to-session.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## État
|
||||||
|
|
||||||
|
cold-boot: true
|
||||||
|
dernière_session: (aucune)
|
||||||
|
focus_actif: setup initial
|
||||||
|
blockers: []
|
||||||
|
|
||||||
|
## Contexte
|
||||||
|
|
||||||
|
Premier boot — brain-template installé, setup en cours.
|
||||||
|
Compléter `profil/collaboration.md` et relancer helloWorld.
|
||||||
@@ -104,6 +104,18 @@ else
|
|||||||
ok "brain-compose.local.yml existe"
|
ok "brain-compose.local.yml existe"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# ETAPE 3b — collaboration.md
|
||||||
|
echo ""
|
||||||
|
echo "--- 3b/5 Profil collaboration ---"
|
||||||
|
COLLAB="$BRAIN_ROOT/profil/collaboration.md"
|
||||||
|
COLLAB_EX="$BRAIN_ROOT/profil/collaboration.md.example"
|
||||||
|
if [ ! -f "$COLLAB" ] && [ -f "$COLLAB_EX" ]; then
|
||||||
|
cp "$COLLAB_EX" "$COLLAB"
|
||||||
|
ok "profil/collaboration.md cree depuis .example — a personnaliser"
|
||||||
|
else
|
||||||
|
ok "profil/collaboration.md existe"
|
||||||
|
fi
|
||||||
|
|
||||||
# ETAPE 4 — Git remote
|
# ETAPE 4 — Git remote
|
||||||
echo ""
|
echo ""
|
||||||
echo "--- 4/5 Git remote ---"
|
echo "--- 4/5 Git remote ---"
|
||||||
|
|||||||
Reference in New Issue
Block a user