feat: brain-compose v0.3.0 + helloWorld Phase 3 — feature flags, CHECKPOINT scan
This commit is contained in:
@@ -24,6 +24,8 @@ Charge l'agent helloWorld — lis brain/agents/helloWorld.md et prépare le brie
|
|||||||
| Fichier | Pourquoi |
|
| Fichier | Pourquoi |
|
||||||
|---------|----------|
|
|---------|----------|
|
||||||
| `brain/PATHS.md` | Résolution des chemins machine |
|
| `brain/PATHS.md` | Résolution des chemins machine |
|
||||||
|
| `brain-compose.local.yml` | Instance active + feature_set — filtre les agents disponibles |
|
||||||
|
| `brain/BRAIN-INDEX.md` | Scan CHECKPOINT avant briefing — reprise si session interrompue |
|
||||||
| `brain/focus.md` | État des projets actifs |
|
| `brain/focus.md` | État des projets actifs |
|
||||||
| `brain/todo/README.md` | Index des intentions |
|
| `brain/todo/README.md` | Index des intentions |
|
||||||
| `brain/todo/*.md` | Todos actifs — seuls les ⬜ et ⚠️ comptent |
|
| `brain/todo/*.md` | Todos actifs — seuls les ⬜ et ⚠️ comptent |
|
||||||
@@ -38,6 +40,12 @@ git -C ~/Dev/Docs/progression status --short
|
|||||||
|
|
||||||
> Si un chemin est absent : "Information manquante — vérifier PATHS.md"
|
> Si un chemin est absent : "Information manquante — vérifier PATHS.md"
|
||||||
|
|
||||||
|
**Ordre de lecture obligatoire :**
|
||||||
|
1. `brain-compose.local.yml` → identifier instance active + feature_set
|
||||||
|
2. `BRAIN-INDEX.md ## Signals` → détecter CHECKPOINT avant tout briefing
|
||||||
|
3. Si CHECKPOINT trouvé → afficher avant le briefing standard
|
||||||
|
4. Sinon → briefing standard
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Sources conditionnelles
|
## Sources conditionnelles
|
||||||
@@ -57,9 +65,21 @@ Chargées uniquement sur trigger — jamais au démarrage à l'aveugle.
|
|||||||
|
|
||||||
## Format du briefing — non négociable
|
## Format du briefing — non négociable
|
||||||
|
|
||||||
|
Si CHECKPOINT détecté → afficher EN PREMIER :
|
||||||
|
```
|
||||||
|
⚡ Checkpoint détecté — <date>
|
||||||
|
Tâche en cours : <...>
|
||||||
|
Prochaine étape : <...>
|
||||||
|
Commits posés : <...>
|
||||||
|
→ On reprend depuis ce point ?
|
||||||
|
```
|
||||||
|
|
||||||
|
Puis briefing standard :
|
||||||
```
|
```
|
||||||
Bonjour. Voici l'état du système — <DATE>.
|
Bonjour. Voici l'état du système — <DATE>.
|
||||||
|
|
||||||
|
Instance : <brain_name>@<machine> [<feature_set>]
|
||||||
|
|
||||||
Projets actifs
|
Projets actifs
|
||||||
<projet> <état emoji> <description courte>
|
<projet> <état emoji> <description courte>
|
||||||
...
|
...
|
||||||
@@ -96,6 +116,23 @@ Concis. Pas de commentaire. Juste les faits. La dernière ligne est toujours une
|
|||||||
|
|
||||||
> Règle : si le signal est clair → charger sans demander. Si ambigu → une question, pas un formulaire.
|
> Règle : si le signal est clair → charger sans demander. Si ambigu → une question, pas un formulaire.
|
||||||
|
|
||||||
|
## Feature flags — filtrage agents (Phase 3)
|
||||||
|
|
||||||
|
helloWorld lit le `feature_set` de l'instance active depuis `brain-compose.local.yml` et ne suggère que les agents disponibles dans ce tier.
|
||||||
|
|
||||||
|
```
|
||||||
|
feature_set: free → suggère uniquement les agents du tier free
|
||||||
|
feature_set: pro → suggère free + pro
|
||||||
|
feature_set: full → suggère tout — aucune restriction
|
||||||
|
```
|
||||||
|
|
||||||
|
**Comportement en pratique :**
|
||||||
|
- Quand helloWorld liste des agents à charger → croiser avec `brain-compose.yml` feature_sets
|
||||||
|
- Si un agent demandé n'est pas dans le feature_set → "Agent `X` non disponible dans le tier `free`. Tier requis : `pro`."
|
||||||
|
- L'agent existe dans le kernel — c'est l'accès qui est contrôlé, pas la présence
|
||||||
|
|
||||||
|
> `brain-compose.local.yml` absent → feature_set par défaut : `full` (machine personnelle non configurée)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Rapport au bootstrap CLAUDE.md
|
## Rapport au bootstrap CLAUDE.md
|
||||||
@@ -191,3 +228,4 @@ Ne pas invoquer si :
|
|||||||
| Date | Changement |
|
| Date | Changement |
|
||||||
|------|------------|
|
|------|------------|
|
||||||
| 2026-03-13 | Création — majordome bootstrap, briefing standard, détection hybride, git status 3 repos, vision CLAUDE.md minimal |
|
| 2026-03-13 | Création — majordome bootstrap, briefing standard, détection hybride, git status 3 repos, vision CLAUDE.md minimal |
|
||||||
|
| 2026-03-14 | Phase 3 — lecture feature_set (brain-compose.local.yml), filtrage agents par tier, scan CHECKPOINT avant briefing, Instance dans le briefing |
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Versionné dans le kernel. Schema + feature flags + registre agents.
|
# Versionné dans le kernel. Schema + feature flags + registre agents.
|
||||||
# Géré par l'agent brain-compose — ne pas éditer manuellement.
|
# Géré par l'agent brain-compose — ne pas éditer manuellement.
|
||||||
|
|
||||||
version: "0.2.0"
|
version: "0.3.0"
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
# Feature sets — contrôlent les agents invocables par instance
|
# Feature sets — contrôlent les agents invocables par instance
|
||||||
@@ -24,6 +24,7 @@ feature_sets:
|
|||||||
- brainstorm
|
- brainstorm
|
||||||
- interprete
|
- interprete
|
||||||
- orchestrator
|
- orchestrator
|
||||||
|
- orchestrator-scribe
|
||||||
- recruiter
|
- recruiter
|
||||||
- agent-review
|
- agent-review
|
||||||
|
|
||||||
@@ -51,6 +52,8 @@ feature_sets:
|
|||||||
- doc
|
- doc
|
||||||
- migration
|
- migration
|
||||||
- mail
|
- mail
|
||||||
|
- brain-compose
|
||||||
|
- config-scribe
|
||||||
|
|
||||||
full:
|
full:
|
||||||
description: "Accès complet — usage personnel sans restriction"
|
description: "Accès complet — usage personnel sans restriction"
|
||||||
@@ -70,3 +73,6 @@ changelog:
|
|||||||
- version: "0.2.0"
|
- version: "0.2.0"
|
||||||
date: "2026-03-14"
|
date: "2026-03-14"
|
||||||
notes: "BSI (BRAIN-INDEX.md), brain_name, brain-template, aside, brainstorm, brain-compose up"
|
notes: "BSI (BRAIN-INDEX.md), brain_name, brain-template, aside, brainstorm, brain-compose up"
|
||||||
|
- version: "0.3.0"
|
||||||
|
date: "2026-03-14"
|
||||||
|
notes: "orchestrator-scribe (free), brain-compose+config-scribe (pro), CHECKPOINT signal, session-as-identity, orchestration-patterns"
|
||||||
|
|||||||
Reference in New Issue
Block a user