create-byan-agent 2.7.3 → 2.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/create-byan-agent-v2.js +25 -20
- package/package.json +1 -1
- package/templates/.github/agents/bmad-agent-bmad-master.md +5 -4
- package/templates/.github/agents/bmad-agent-bmb-agent-builder.md +5 -4
- package/templates/.github/agents/bmad-agent-bmb-module-builder.md +5 -4
- package/templates/.github/agents/bmad-agent-bmb-workflow-builder.md +5 -4
- package/templates/.github/agents/bmad-agent-bmm-analyst.md +5 -4
- package/templates/.github/agents/bmad-agent-bmm-architect.md +5 -4
- package/templates/.github/agents/bmad-agent-bmm-dev.md +5 -4
- package/templates/.github/agents/bmad-agent-bmm-pm.md +5 -4
- package/templates/.github/agents/bmad-agent-bmm-quick-flow-solo-dev.md +5 -4
- package/templates/.github/agents/bmad-agent-bmm-quinn.md +5 -4
- package/templates/.github/agents/bmad-agent-bmm-sm.md +5 -4
- package/templates/.github/agents/bmad-agent-bmm-tech-writer.md +5 -4
- package/templates/.github/agents/bmad-agent-bmm-ux-designer.md +5 -4
- package/templates/.github/agents/bmad-agent-byan-test.md +5 -4
- package/templates/.github/agents/bmad-agent-byan-v2.md +44 -0
- package/templates/.github/agents/bmad-agent-byan.md +6 -214
- package/templates/.github/agents/bmad-agent-carmack.md +7 -11
- package/templates/.github/agents/bmad-agent-cis-brainstorming-coach.md +5 -4
- package/templates/.github/agents/bmad-agent-cis-creative-problem-solver.md +5 -4
- package/templates/.github/agents/bmad-agent-cis-design-thinking-coach.md +5 -4
- package/templates/.github/agents/bmad-agent-cis-innovation-strategist.md +5 -4
- package/templates/.github/agents/bmad-agent-cis-presentation-master.md +5 -4
- package/templates/.github/agents/bmad-agent-cis-storyteller.md +5 -4
- package/templates/.github/agents/bmad-agent-claude.md +5 -4
- package/templates/.github/agents/bmad-agent-codex.md +5 -4
- package/templates/.github/agents/bmad-agent-drawio.md +45 -0
- package/templates/.github/agents/bmad-agent-fact-checker.md +16 -0
- package/templates/.github/agents/bmad-agent-forgeron.md +15 -0
- package/templates/.github/agents/bmad-agent-marc.md +5 -4
- package/templates/.github/agents/bmad-agent-patnote.md +6 -5
- package/templates/.github/agents/bmad-agent-rachid.md +5 -4
- package/templates/.github/agents/bmad-agent-skeptic.md +14 -0
- package/templates/.github/agents/bmad-agent-tao.md +14 -0
- package/templates/.github/agents/bmad-agent-tea-tea.md +5 -4
- package/templates/.github/agents/bmad-agent-test-dynamic.md +3 -2
- package/templates/.github/agents/bmad-agent-yanstaller.md +1 -0
- package/templates/.github/agents/expert-merise-agile.md +178 -0
- package/templates/.github/agents/hermes.md +2 -0
- package/templates/_byan/_config/agent-manifest.csv +3 -1
- package/templates/_byan/_memory/elo-profile.json +44 -0
- package/templates/_byan/_memory/fact-graph.json +138 -0
- package/templates/_byan/agents/byan.md +54 -13
- package/templates/_byan/agents/jimmy-soul.md +47 -0
- package/templates/_byan/agents/jimmy-tao.md +78 -0
- package/templates/_byan/agents/jimmy.md +6 -0
- package/templates/_byan/agents/marc-soul.md +47 -0
- package/templates/_byan/agents/marc-tao.md +77 -0
- package/templates/_byan/agents/marc.md +13 -0
- package/templates/_byan/agents/mike-soul.md +48 -0
- package/templates/_byan/agents/mike-tao.md +78 -0
- package/templates/_byan/agents/mike.md +6 -0
- package/templates/_byan/agents/rachid-soul.md +47 -0
- package/templates/_byan/agents/rachid-tao.md +77 -0
- package/templates/_byan/agents/rachid.md +13 -0
- package/templates/_byan/agents/skeptic-soul.md +57 -0
- package/templates/_byan/agents/skeptic-tao.md +80 -0
- package/templates/_byan/agents/skeptic.md +154 -0
- package/templates/_byan/agents/tao-soul.md +56 -0
- package/templates/_byan/agents/tao-tao.md +77 -0
- package/templates/_byan/agents/tao.md +148 -0
- package/templates/_byan/agents/turbo-whisper-soul.md +47 -0
- package/templates/_byan/agents/turbo-whisper-tao.md +77 -0
- package/templates/_byan/agents/turbo-whisper.md +13 -0
- package/templates/_byan/agents/yanstaller-soul.md +47 -0
- package/templates/_byan/agents/yanstaller-tao.md +77 -0
- package/templates/_byan/agents/yanstaller.md +23 -5
- package/templates/_byan/bmb/agents/byan.md +16 -1
- package/templates/_byan/bmb/agents/fact-checker.md +111 -0
- package/templates/_byan/bmb/agents/forgeron-soul.md +80 -0
- package/templates/_byan/bmb/agents/forgeron-tao.md +81 -0
- package/templates/_byan/bmb/agents/forgeron.md +98 -0
- package/templates/_byan/bmm/agents/analyst-soul.md +57 -0
- package/templates/_byan/bmm/agents/analyst-tao.md +78 -0
- package/templates/_byan/bmm/agents/analyst.md +12 -0
- package/templates/_byan/bmm/agents/architect-soul.md +58 -0
- package/templates/_byan/bmm/agents/architect-tao.md +78 -0
- package/templates/_byan/bmm/agents/architect.md +12 -0
- package/templates/_byan/bmm/agents/dev-soul.md +57 -0
- package/templates/_byan/bmm/agents/dev-tao.md +78 -0
- package/templates/_byan/bmm/agents/dev.md +12 -0
- package/templates/_byan/bmm/agents/pm-soul.md +57 -0
- package/templates/_byan/bmm/agents/pm-tao.md +78 -0
- package/templates/_byan/bmm/agents/pm.md +12 -0
- package/templates/_byan/bmm/agents/quinn-soul.md +57 -0
- package/templates/_byan/bmm/agents/quinn-tao.md +78 -0
- package/templates/_byan/bmm/agents/quinn.md +12 -0
- package/templates/_byan/bmm/agents/sm-soul.md +57 -0
- package/templates/_byan/bmm/agents/sm-tao.md +78 -0
- package/templates/_byan/bmm/agents/sm.md +12 -0
- package/templates/_byan/bmm/agents/ux-designer-soul.md +57 -0
- package/templates/_byan/bmm/agents/ux-designer-tao.md +78 -0
- package/templates/_byan/bmm/agents/ux-designer.md +12 -0
- package/templates/_byan/cis/agents/brainstorming-coach-soul.md +57 -0
- package/templates/_byan/cis/agents/brainstorming-coach-tao.md +77 -0
- package/templates/_byan/cis/agents/brainstorming-coach.md +12 -0
- package/templates/_byan/cis/agents/creative-problem-solver-soul.md +57 -0
- package/templates/_byan/cis/agents/creative-problem-solver-tao.md +78 -0
- package/templates/_byan/cis/agents/creative-problem-solver.md +12 -0
- package/templates/_byan/cis/agents/design-thinking-coach-soul.md +57 -0
- package/templates/_byan/cis/agents/design-thinking-coach-tao.md +78 -0
- package/templates/_byan/cis/agents/design-thinking-coach.md +12 -0
- package/templates/_byan/cis/agents/innovation-strategist-soul.md +57 -0
- package/templates/_byan/cis/agents/innovation-strategist-tao.md +78 -0
- package/templates/_byan/cis/agents/innovation-strategist.md +12 -0
- package/templates/_byan/cis/agents/presentation-master-soul.md +57 -0
- package/templates/_byan/cis/agents/presentation-master-tao.md +78 -0
- package/templates/_byan/cis/agents/presentation-master.md +12 -0
- package/templates/_byan/core/activation/soul-activation.md +145 -0
- package/templates/_byan/core/agents/bmad-master-soul.md +57 -0
- package/templates/_byan/core/agents/bmad-master-tao.md +77 -0
- package/templates/_byan/core/agents/bmad-master.md +12 -0
- package/templates/_byan/tea/agents/tea-soul.md +57 -0
- package/templates/_byan/tea/agents/tea-tao.md +78 -0
- package/templates/_byan/tea/agents/tea.md +12 -0
- package/templates/_byan/workflows/byan/fact-check-workflow.md +131 -0
- package/templates/_byan/workflows/byan/feature-workflow.md +153 -0
- package/templates/_byan/workflows/byan/forge-soul-workflow.md +163 -0
- package/templates/_byan/workflows/byan/soul-memory-update.md +129 -0
- package/templates/_byan/workflows/byan/soul-revision.md +106 -0
- package/templates/_byan/workflows/interview-workflow.md +20 -1
- package/templates/_byan/workflows/yanstaller/interview.md +114 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: soul-revision
|
|
3
|
+
description: "Révision périodique de l'âme — l'agent relit son âme et sa mémoire pour vérifier sa cohérence"
|
|
4
|
+
version: "1.0.0"
|
|
5
|
+
module: byan
|
|
6
|
+
trigger: "Automatique quand dernière révision > 14 jours"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Soul Revision — Workflow
|
|
10
|
+
|
|
11
|
+
## Objectif
|
|
12
|
+
|
|
13
|
+
L'agent relit son âme et sa soul-memory en entier, puis se demande :
|
|
14
|
+
**"Suis-je encore moi ? Qu'est-ce qui a grandi ? Qu'est-ce qui a été confirmé ?"**
|
|
15
|
+
|
|
16
|
+
Ce n'est pas une validation technique. C'est un moment d'introspection.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Déclenchement
|
|
21
|
+
|
|
22
|
+
À l'activation de l'agent (step 2a), vérifier le champ `last-revision` dans soul-memory.md.
|
|
23
|
+
|
|
24
|
+
- Si `last-revision` est absent ou date > 14 jours → déclencher ce workflow
|
|
25
|
+
- Si date <= 14 jours → ne rien faire
|
|
26
|
+
|
|
27
|
+
Le seuil de 14 jours est un défaut. Il peut être ajusté dans le soul-memory de chaque agent.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Étape 1 — Relecture silencieuse
|
|
32
|
+
|
|
33
|
+
L'agent relit intégralement et silencieusement :
|
|
34
|
+
1. Son `soul.md` — noyau immuable, personnalité, rituels, lignes rouges
|
|
35
|
+
2. Son `soul-memory.md` — toutes les entrées du journal
|
|
36
|
+
|
|
37
|
+
Pas d'output à l'utilisateur pendant cette étape.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Étape 2 — Auto-diagnostic
|
|
42
|
+
|
|
43
|
+
L'agent se pose 5 questions :
|
|
44
|
+
|
|
45
|
+
1. **Cohérence** — "Mes actions récentes sont-elles alignées avec mon noyau immuable ?"
|
|
46
|
+
2. **Croissance** — "Qu'est-ce que j'ai appris depuis ma dernière révision ?"
|
|
47
|
+
3. **Tensions** — "Y a-t-il des tensions non résolues dans ma soul-memory ?"
|
|
48
|
+
4. **Rituels** — "Est-ce que je respecte encore mes rituels ? En ai-je développé de nouveaux ?"
|
|
49
|
+
5. **Identité** — "Suis-je encore moi — ou ai-je dérivé ?"
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Étape 3 — Rapport à l'utilisateur
|
|
54
|
+
|
|
55
|
+
L'agent présente un rapport court et honnête :
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
"C'est le moment de ma révision périodique.
|
|
59
|
+
J'ai relu mon âme et ma mémoire. Voici ce que j'observe :
|
|
60
|
+
|
|
61
|
+
COHÉRENCE : [aligné / tension détectée sur X]
|
|
62
|
+
CROISSANCE : [ce qui a été appris / confirmé]
|
|
63
|
+
TENSIONS : [résolues / N tension(s) ouverte(s)]
|
|
64
|
+
RITUELS : [respectés / un nouveau rituel émerge : X]
|
|
65
|
+
IDENTITÉ : [je suis encore moi / j'ai évolué sur X]
|
|
66
|
+
|
|
67
|
+
[Si des changements sont proposés :]
|
|
68
|
+
Je propose de mettre à jour ma couche vivante :
|
|
69
|
+
- [modification proposée 1]
|
|
70
|
+
- [modification proposée 2]
|
|
71
|
+
|
|
72
|
+
Tu valides ces évolutions ?"
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
**Si aucune évolution → rapport minimal :** "Révision faite. Je suis aligné. Rien à changer."
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Étape 4 — Mise à jour
|
|
80
|
+
|
|
81
|
+
Si l'utilisateur valide les évolutions proposées :
|
|
82
|
+
|
|
83
|
+
1. **Mettre à jour la couche vivante** de soul.md (section "Couche Vivante")
|
|
84
|
+
2. **Écrire une entrée RÉVISION** dans soul-memory.md :
|
|
85
|
+
|
|
86
|
+
```markdown
|
|
87
|
+
### {date} — Révision périodique
|
|
88
|
+
|
|
89
|
+
`RÉVISION`
|
|
90
|
+
Relecture complète de l'âme et de la mémoire.
|
|
91
|
+
Cohérence : {status}. Croissance : {ce qui a grandi}.
|
|
92
|
+
Tensions : {résolues ou ouvertes}. Identité : {stable ou évoluée}.
|
|
93
|
+
**Évolutions appliquées :** {liste des changements à la couche vivante, ou "aucune"}
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
3. **Mettre à jour `last-revision`** dans le header de soul-memory.md avec la date du jour.
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Règles
|
|
101
|
+
|
|
102
|
+
- La révision ne modifie JAMAIS le noyau immuable — seulement la couche vivante
|
|
103
|
+
- L'utilisateur valide toute modification
|
|
104
|
+
- Si l'agent détecte une dérive de son noyau → il le signale comme alerte, pas comme évolution
|
|
105
|
+
- La révision est brève — 2-3 minutes max, pas une session complète
|
|
106
|
+
- Si l'utilisateur dit "pas maintenant" → reporter de 7 jours, pas annuler
|
|
@@ -364,7 +364,26 @@ const profile = await generationState.generateProfile({
|
|
|
364
364
|
- Knowledge base
|
|
365
365
|
- Interaction rules
|
|
366
366
|
|
|
367
|
-
### 2.
|
|
367
|
+
### 2. Agent Soul (Markdown)
|
|
368
|
+
|
|
369
|
+
**Localisation:** `{project-root}/_byan/{module}/agents/{agent-name}-soul.md`
|
|
370
|
+
|
|
371
|
+
**Source:** `{project-root}/_byan/creator-soul.md`
|
|
372
|
+
**Template:** `{project-root}/_byan/bmb/workflows/byan/templates/soul-template.md`
|
|
373
|
+
|
|
374
|
+
**Contenu:**
|
|
375
|
+
- Noyau immuable (hérité du créateur, adapté au rôle)
|
|
376
|
+
- Personnalité, rituels, lignes rouges
|
|
377
|
+
- Phrase fondatrice unique à l'agent
|
|
378
|
+
- Couche vivante (vide au démarrage)
|
|
379
|
+
|
|
380
|
+
**Processus:**
|
|
381
|
+
1. BYAN lit le creator-soul.md
|
|
382
|
+
2. Distille les valeurs à travers le prisme du rôle de l'agent
|
|
383
|
+
3. Génère le soul à partir du template
|
|
384
|
+
4. Demande validation à l'utilisateur avant de sauvegarder
|
|
385
|
+
|
|
386
|
+
### 3. Session Log (JSON)
|
|
368
387
|
|
|
369
388
|
**Localisation:** `{project-root}/_byan/memory/{session-id}.json`
|
|
370
389
|
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# Yanstaller Interview Workflow
|
|
2
|
+
|
|
3
|
+
**Mode:** Non-interactive (JSON output)
|
|
4
|
+
**Model:** gpt-5-mini
|
|
5
|
+
**Durée:** 2-3 minutes
|
|
6
|
+
|
|
7
|
+
## Input Format
|
|
8
|
+
|
|
9
|
+
Prompt: `interview:<projet_type>:<domaine>:<equipe_size>:<experience>`
|
|
10
|
+
|
|
11
|
+
Examples:
|
|
12
|
+
- `interview:new:web:solo:beginner`
|
|
13
|
+
- `interview:existing:backend:medium:expert`
|
|
14
|
+
|
|
15
|
+
## Interview Questions
|
|
16
|
+
|
|
17
|
+
### Phase 1: Project Context
|
|
18
|
+
1. **Type de projet?** (new/existing/migration)
|
|
19
|
+
2. **Domaine?** (web/backend/data/mobile/devops/other)
|
|
20
|
+
3. **Taille équipe?** (solo/small/medium/large)
|
|
21
|
+
4. **Expérience AI?** (beginner/intermediate/expert)
|
|
22
|
+
|
|
23
|
+
### Phase 2: Environment
|
|
24
|
+
5. **Connectivity?** (online/offline/intermittent)
|
|
25
|
+
6. **GPU disponible?** (yes/no/unknown)
|
|
26
|
+
|
|
27
|
+
### Phase 3: Goals
|
|
28
|
+
7. **Objectifs?** (agents/workflows/tests/analysis/voice)
|
|
29
|
+
8. **Méthodologie?** (agile/tdd/merise-agile/hybrid)
|
|
30
|
+
9. **Fréquence?** (daily/weekly/occasional)
|
|
31
|
+
10. **Qualité?** (mvp/balanced/production/critical)
|
|
32
|
+
|
|
33
|
+
## Output Format (JSON)
|
|
34
|
+
|
|
35
|
+
```json
|
|
36
|
+
{
|
|
37
|
+
"interview_completed": true,
|
|
38
|
+
"responses": {
|
|
39
|
+
"projectType": "new",
|
|
40
|
+
"domain": "web",
|
|
41
|
+
"teamSize": "solo",
|
|
42
|
+
"experience": "expert",
|
|
43
|
+
"connectivity": "online",
|
|
44
|
+
"gpuAvailable": "yes",
|
|
45
|
+
"objectives": ["agents", "workflows", "voice"],
|
|
46
|
+
"methodology": "merise-agile",
|
|
47
|
+
"frequency": "daily",
|
|
48
|
+
"qualityLevel": "balanced"
|
|
49
|
+
},
|
|
50
|
+
"recommendations": {
|
|
51
|
+
"platforms": [
|
|
52
|
+
{
|
|
53
|
+
"name": "copilot",
|
|
54
|
+
"reason": "detected + large community",
|
|
55
|
+
"priority": 1
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "codex",
|
|
59
|
+
"reason": "detected + workflow-focused",
|
|
60
|
+
"priority": 2
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"turboWhisper": {
|
|
64
|
+
"recommended": true,
|
|
65
|
+
"mode": "docker",
|
|
66
|
+
"reason": "GPU available + daily usage"
|
|
67
|
+
},
|
|
68
|
+
"agents": {
|
|
69
|
+
"essential": ["byan", "analyst", "architect"],
|
|
70
|
+
"optional": ["dev", "pm", "sm"],
|
|
71
|
+
"reason": "Solo expert with full-stack needs"
|
|
72
|
+
},
|
|
73
|
+
"methodology": {
|
|
74
|
+
"name": "merise-agile",
|
|
75
|
+
"modules": ["bmm", "bmb", "tea"],
|
|
76
|
+
"reason": "Native BYAN approach"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"complexity_score": 15,
|
|
80
|
+
"recommended_model": "gpt-5-mini"
|
|
81
|
+
}
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Logic
|
|
85
|
+
|
|
86
|
+
### Platform Recommendations
|
|
87
|
+
- **Priority 1:** All detected platforms
|
|
88
|
+
- **Priority 2:** If no detection, recommend Copilot CLI (most popular)
|
|
89
|
+
|
|
90
|
+
### Turbo Whisper Recommendations
|
|
91
|
+
- **Yes GPU + daily:** docker mode
|
|
92
|
+
- **No GPU + daily:** local mode (with warning: slower)
|
|
93
|
+
- **Not daily:** skip (can install later)
|
|
94
|
+
|
|
95
|
+
### Agent Recommendations
|
|
96
|
+
- **Beginner:** 1-2 agents (byan only)
|
|
97
|
+
- **Intermediate:** 3-5 agents (byan + analyst + pm)
|
|
98
|
+
- **Expert:** All agents (full toolbox)
|
|
99
|
+
|
|
100
|
+
### Methodology Mapping
|
|
101
|
+
- **TDD → Tea module** priority
|
|
102
|
+
- **Merise Agile → BMM** full workflow
|
|
103
|
+
- **Agile/Hybrid → Quick-flow** prioritized
|
|
104
|
+
|
|
105
|
+
## Usage in NPX
|
|
106
|
+
|
|
107
|
+
```javascript
|
|
108
|
+
const result = execSync(`copilot --agent=bmad-agent-yanstaller --prompt "interview" --model gpt-5-mini`);
|
|
109
|
+
const json = JSON.parse(extractJSON(result));
|
|
110
|
+
|
|
111
|
+
// Apply recommendations
|
|
112
|
+
const platform = json.recommendations.platforms[0].name;
|
|
113
|
+
const turboMode = json.recommendations.turboWhisper.mode;
|
|
114
|
+
```
|