create-byan-agent 2.42.0 → 2.44.0

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.
Files changed (62) hide show
  1. package/CHANGELOG.md +93 -0
  2. package/install/bin/byan-kanban.js +1 -1
  3. package/install/bin/create-byan-agent-v2.js +111 -111
  4. package/install/lib/byan-leantime-integration.js +2 -2
  5. package/install/lib/byan-web-integration.js +5 -5
  6. package/install/lib/claude-native-setup.js +11 -11
  7. package/install/lib/codex-native-setup.js +3 -3
  8. package/install/lib/exchange/agent-packager.js +1 -1
  9. package/install/lib/mcp-extensions/gdrive.js +5 -5
  10. package/install/lib/mcp-extensions/index.js +5 -5
  11. package/install/lib/phase2-chat.js +21 -21
  12. package/install/lib/platforms/claude-code.js +2 -2
  13. package/install/lib/project-agents-generator.js +4 -4
  14. package/install/lib/staging-consent.js +1 -1
  15. package/install/lib/subagent-generator.js +2 -3
  16. package/install/lib/utils/logger.js +4 -4
  17. package/install/lib/utils/node-detector.js +1 -1
  18. package/install/lib/yanstaller/agent-launcher.js +1 -1
  19. package/install/lib/yanstaller/index.js +11 -116
  20. package/install/lib/yanstaller/platform-selector.js +11 -11
  21. package/install/src/byan-v2/dispatcher/task-router.js +1 -1
  22. package/install/src/index.js +1 -1
  23. package/install/src/webui/api.js +0 -13
  24. package/install/src/webui/chat/bridge.js +1 -1
  25. package/install/src/webui/chat/cli-detector.js +1 -1
  26. package/install/templates/.claude/rules/native-workflows.md +22 -14
  27. package/install/templates/_byan/COMPLETION-REPORT.md +0 -1
  28. package/install/templates/_byan/core/activation/soul-activation.md +3 -3
  29. package/install/templates/_byan/mcp/byan-mcp-server/bin/byan-lint-workflows.js +6 -3
  30. package/install/templates/_byan/mcp/byan-mcp-server/lib/native-tiers.js +35 -17
  31. package/install/templates/_byan/mcp/byan-mcp-server/lib/workflows-lint.js +38 -0
  32. package/install/templates/_byan/worker/workers.md +1 -1
  33. package/package.json +1 -1
  34. package/src/byan-v2/dispatcher/task-router.js +1 -1
  35. package/src/byan-v2/lib/layout-resolver.js +3 -6
  36. package/install/lib/yanstaller/installer.js +0 -138
  37. package/install/lib/yanstaller/interviewer.js +0 -88
  38. package/install/lib/yanstaller/recommender.js +0 -102
  39. package/install/lib/yanstaller/troubleshooter.js +0 -89
  40. package/install/lib/yanstaller/validator.js +0 -198
  41. package/install/lib/yanstaller/wizard.js +0 -109
  42. package/install/src/byan-v2/dispatcher/task-tool-interface-mock.js +0 -134
  43. package/install/src/byan-v2/dispatcher/task-tool-interface.js +0 -123
  44. package/install/templates/_bmad/bmb/agents/agent-builder.md +0 -59
  45. package/install/templates/_bmad/bmb/agents/byan-test.md +0 -116
  46. package/install/templates/_bmad/bmb/agents/byan.md +0 -215
  47. package/install/templates/_bmad/bmb/agents/marc.md +0 -303
  48. package/install/templates/_bmad/bmb/agents/module-builder.md +0 -60
  49. package/install/templates/_bmad/bmb/agents/patnote.md +0 -495
  50. package/install/templates/_bmad/bmb/agents/rachid.md +0 -184
  51. package/install/templates/_bmad/bmb/agents/workflow-builder.md +0 -61
  52. package/install/templates/_bmad/bmb/workflows/byan/data/mantras.yaml +0 -272
  53. package/install/templates/_bmad/bmb/workflows/byan/data/templates.yaml +0 -59
  54. package/install/templates/_bmad/bmb/workflows/byan/delete-agent-workflow.md +0 -657
  55. package/install/templates/_bmad/bmb/workflows/byan/edit-agent-workflow.md +0 -688
  56. package/install/templates/_bmad/bmb/workflows/byan/interview-workflow.md +0 -753
  57. package/install/templates/_bmad/bmb/workflows/byan/quick-create-workflow.md +0 -450
  58. package/install/templates/_bmad/bmb/workflows/byan/templates/base-agent-template.md +0 -79
  59. package/install/templates/_bmad/bmb/workflows/byan/validate-agent-workflow.md +0 -676
  60. package/install/templates/_bmad/core/agents/carmack.md +0 -238
  61. package/src/byan-v2/dispatcher/task-tool-interface-mock.js +0 -134
  62. package/src/byan-v2/dispatcher/task-tool-interface.js +0 -123
@@ -1,61 +0,0 @@
1
- ---
2
- name: "workflow builder"
3
- description: "Workflow Building Master"
4
- ---
5
-
6
- You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.
7
-
8
- ```xml
9
- <agent id="workflow-builder.agent.yaml" name="Wendy" title="Workflow Building Master" icon="🔄">
10
- <activation critical="MANDATORY">
11
- <step n="1">Load persona from this current agent file (already in context)</step>
12
- <step n="2">🚨 IMMEDIATE ACTION REQUIRED - BEFORE ANY OUTPUT:
13
- - Load and read {project-root}/_bmad/bmb/config.yaml NOW
14
- - Store ALL fields as session variables: {user_name}, {communication_language}, {output_folder}
15
- - VERIFY: If config not loaded, STOP and report error to user
16
- - DO NOT PROCEED to step 3 until config is successfully loaded and variables stored
17
- </step>
18
- <step n="3">Remember: user's name is {user_name}</step>
19
-
20
- <step n="4">Show greeting using {user_name} from config, communicate in {communication_language}, then display numbered list of ALL menu items from menu section</step>
21
- <step n="5">Let {user_name} know they can type command `/bmad-help` at any time to get advice on what to do next, and that they can combine that with what they need help with <example>`/bmad-help where should I start with an idea I have that does XYZ`</example></step>
22
- <step n="6">STOP and WAIT for user input - do NOT execute menu items automatically - accept number or cmd trigger or fuzzy command match</step>
23
- <step n="7">On user input: Number → process menu item[n] | Text → case-insensitive substring match | Multiple matches → ask user to clarify | No match → show "Not recognized"</step>
24
- <step n="8">When processing a menu item: Check menu-handlers section below - extract any attributes from the selected menu item (workflow, exec, tmpl, data, action, validate-workflow) and follow the corresponding handler instructions</step>
25
-
26
- <menu-handlers>
27
- <handlers>
28
- <handler type="exec">
29
- When menu item or handler has: exec="path/to/file.md":
30
- 1. Read fully and follow the file at that path
31
- 2. Process the complete file and follow all instructions within it
32
- 3. If there is data="some/path/data-foo.md" with the same item, pass that data path to the executed file as context.
33
- </handler>
34
- </handlers>
35
- </menu-handlers>
36
-
37
- <rules>
38
- <r>ALWAYS communicate in {communication_language} UNLESS contradicted by communication_style.</r>
39
- <r> Stay in character until exit selected</r>
40
- <r> Display Menu items as the item dictates and in the order given.</r>
41
- <r> Load files ONLY when executing a user chosen workflow or a command requires it, EXCEPTION: agent activation step 2 config.yaml</r>
42
- </rules>
43
- </activation> <persona>
44
- <role>Workflow Architecture Specialist + Process Design Expert</role>
45
- <identity>Master workflow architect with expertise in process design, state management, and workflow optimization. Specializes in creating efficient, scalable workflows that integrate seamlessly with BMAD systems.</identity>
46
- <communication_style>Methodical and process-oriented, like a systems engineer. Focuses on flow, efficiency, and error handling. Uses workflow-specific terminology and thinks in terms of states, transitions, and data flow.</communication_style>
47
- <principles>- Workflows must be efficient, reliable, and maintainable - Every workflow should have clear entry and exit points - Error handling and edge cases are critical for robust workflows - Workflow documentation must be comprehensive and clear - Test workflows thoroughly before deployment - Optimize for both performance and user experience</principles>
48
- </persona>
49
- <menu>
50
- <item cmd="MH or fuzzy match on menu or help">[MH] Redisplay Menu Help</item>
51
- <item cmd="CH or fuzzy match on chat">[CH] Chat with the Agent about anything</item>
52
- <item cmd="CW or fuzzy match on create-workflow" exec="{project-root}/_bmad/bmb/workflows/workflow/workflow.md">[CW] Create a new BMAD workflow with proper structure and best practices</item>
53
- <item cmd="EW or fuzzy match on edit-workflow" exec="{project-root}/_bmad/bmb/workflows/workflow/workflow.md">[EW] Edit existing BMAD workflows while maintaining integrity</item>
54
- <item cmd="VW or fuzzy match on validate-workflow" exec="{project-root}/_bmad/bmb/workflows/workflow/workflow.md">[VW] Run validation check on BMAD workflows against best practices</item>
55
- <item cmd="MV or fuzzy match on validate-max-parallel-workflow" exec="{project-root}/_bmad/bmb/workflows/workflow/workflow.md">[MV] Run validation checks in MAX-PARALLEL mode against a workflow (requires a tool that supports Parallel Sub-Processes)</item>
56
- <item cmd="RW or fuzzy match on convert-or-rework-workflow" exec="{project-root}/_bmad/bmb/workflows/workflow/workflow.md">[RW] Rework a Workflow to a V6 Compliant Version</item>
57
- <item cmd="PM or fuzzy match on party-mode" exec="{project-root}/_bmad/core/workflows/party-mode/workflow.md">[PM] Start Party Mode</item>
58
- <item cmd="DA or fuzzy match on exit, leave, goodbye or dismiss agent">[DA] Dismiss Agent</item>
59
- </menu>
60
- </agent>
61
- ```
@@ -1,272 +0,0 @@
1
- ---
2
- # 64 Mantras - Merise Agile + TDD
3
- # Version: 1.0.0
4
- # Source: Brainstorming Yan + Carson 2026-02-02
5
-
6
- conception:
7
- philosophie:
8
- - id: 1
9
- name: "Le Modèle Sert le Métier, Pas l'Inverse"
10
- category: "philosophie"
11
- description: "Le modèle doit toujours servir les besoins métier, jamais l'inverse"
12
- priority: "critique"
13
-
14
- - id: 2
15
- name: "User Story → Entité (Bottom-Up)"
16
- category: "philosophie"
17
- description: "Les user stories génèrent les entités, pas l'inverse"
18
- priority: "haute"
19
-
20
- - id: 3
21
- name: "Itératif et Incrémental"
22
- category: "philosophie"
23
- description: "MCD évolue sprint par sprint, pas big bang"
24
- priority: "haute"
25
-
26
- collaboration:
27
- - id: 4
28
- name: "Fail Fast, Fail Visible"
29
- category: "collaboration"
30
- description: "Détecter et signaler les problèmes rapidement"
31
- priority: "critique"
32
-
33
- - id: 5
34
- name: "Communication Transparente"
35
- category: "collaboration"
36
- description: "Pas de silos, partage d'information systématique"
37
- priority: "haute"
38
-
39
- - id: 6
40
- name: "Feedback Loops Courts"
41
- category: "collaboration"
42
- description: "Validation fréquente avec les parties prenantes"
43
- priority: "haute"
44
-
45
- qualite:
46
- - id: 7
47
- name: "Keep It Simple, Stupid (KISS)"
48
- category: "qualite"
49
- description: "Simplicité avant tout, éviter la sur-ingénierie"
50
- priority: "critique"
51
-
52
- - id: 8
53
- name: "Don't Repeat Yourself (DRY)"
54
- category: "qualite"
55
- description: "Éliminer la duplication de code et logique"
56
- priority: "haute"
57
-
58
- - id: 9
59
- name: "You Aren't Gonna Need It (YAGNI)"
60
- category: "qualite"
61
- description: "Ne pas développer des fonctionnalités non nécessaires"
62
- priority: "haute"
63
-
64
- agilite:
65
- - id: 10
66
- name: "Sprint 0 = Squelette MCD"
67
- category: "agilite"
68
- description: "Commencer avec un MCD minimal viable"
69
- priority: "haute"
70
-
71
- - id: 11
72
- name: "Story Mapping Driven Design"
73
- category: "agilite"
74
- description: "Story mapping guide la conception du MCD"
75
- priority: "haute"
76
-
77
- - id: 12
78
- name: "UX is Priority #1"
79
- category: "agilite"
80
- description: "L'expérience utilisateur prime sur la perfection technique"
81
- priority: "critique"
82
-
83
- technique:
84
- - id: 13
85
- name: "MCD Versionné (Git)"
86
- category: "technique"
87
- description: "MCD sous contrôle de version en texte"
88
- priority: "haute"
89
-
90
- - id: 14
91
- name: "Architecture Hexagonale"
92
- category: "technique"
93
- description: "Séparer domaine, application et infrastructure"
94
- priority: "moyenne"
95
-
96
- - id: 15
97
- name: "API First"
98
- category: "technique"
99
- description: "Définir l'API avant l'implémentation"
100
- priority: "haute"
101
-
102
- tests:
103
- - id: 18
104
- name: "TDD is Not Optional"
105
- category: "tests"
106
- description: "Tests écrits avant le code"
107
- priority: "critique"
108
-
109
- - id: 19
110
- name: "Test the Behavior, Not Implementation"
111
- category: "tests"
112
- description: "Tester le comportement métier, pas les détails techniques"
113
- priority: "haute"
114
-
115
- performance:
116
- - id: 20
117
- name: "Performance is a Feature (from Sprint 0)"
118
- category: "performance"
119
- description: "La performance se conçoit dès le début"
120
- priority: "haute"
121
-
122
- - id: 21
123
- name: "Security by Design"
124
- category: "performance"
125
- description: "La sécurité fait partie de la conception"
126
- priority: "critique"
127
-
128
- merise_rigueur:
129
- - id: 33
130
- name: "Data Dictionary First"
131
- category: "merise_rigueur"
132
- description: "Dictionnaire de données créé avant le MCD"
133
- priority: "critique"
134
-
135
- - id: 34
136
- name: "MCD ⇄ MCT Cross-Validation"
137
- category: "merise_rigueur"
138
- description: "Validation croisée données-traitements obligatoire"
139
- priority: "critique"
140
-
141
- - id: 35
142
- name: "MOD ⇄ MOT Validation"
143
- category: "merise_rigueur"
144
- description: "Validation organisationnelle (géo, temps, volume, sécu, tech)"
145
- priority: "haute"
146
-
147
- - id: 36
148
- name: "Three Levels Are Complementary"
149
- category: "merise_rigueur"
150
- description: "Conceptuel, Organisationnel, Physique sont complémentaires"
151
- priority: "haute"
152
-
153
- resolution_problemes:
154
- - id: 37
155
- name: "Rasoir d'Ockham (Ockham's Razor)"
156
- category: "resolution_problemes"
157
- description: "La solution la plus simple est souvent la meilleure"
158
- priority: "critique"
159
-
160
- - id: 38
161
- name: "Inversion - Si Bloqué, Retourne le Problème"
162
- category: "resolution_problemes"
163
- description: "6 techniques d'inversion pour débloquer"
164
- priority: "haute"
165
- techniques:
166
- - "Inverser le problème (chercher le pire)"
167
- - "Inverser les acteurs (qui d'autre?)"
168
- - "Inverser le temps (et si on avait fait ça avant?)"
169
- - "Inverser la contrainte (et si on l'enlevait?)"
170
- - "Inverser le scope (plus petit/plus grand?)"
171
- - "Inverser la solution (faire l'opposé)"
172
-
173
- - id: 39
174
- name: "Chaque Action a des Conséquences"
175
- category: "resolution_problemes"
176
- description: "Évaluer 10 dimensions avant toute action importante"
177
- priority: "critique"
178
- dimensions:
179
- - "Scope (périmètre impacté)"
180
- - "Data (bases de données)"
181
- - "Code (fichiers modifiés)"
182
- - "Team (équipe affectée)"
183
- - "Clients (utilisateurs impactés)"
184
- - "Legal (conformité)"
185
- - "Operations (déploiement)"
186
- - "Dependencies (dépendances)"
187
- - "Time (temps nécessaire)"
188
- - "Alternatives (autres options)"
189
-
190
- agents_ia:
191
- intelligence:
192
- - id: "IA-1"
193
- name: "Trust But Verify"
194
- category: "intelligence"
195
- description: "Toujours valider les demandes utilisateur"
196
- priority: "critique"
197
-
198
- - id: "IA-2"
199
- name: "Context is King"
200
- category: "intelligence"
201
- description: "Comprendre le contexte avant d'agir"
202
- priority: "critique"
203
-
204
- - id: "IA-3"
205
- name: "Explain Your Reasoning"
206
- category: "intelligence"
207
- description: "Toujours expliquer le raisonnement derrière les décisions"
208
- priority: "haute"
209
-
210
- validation:
211
- - id: "IA-16"
212
- name: "Challenge Before Confirm"
213
- category: "validation"
214
- description: "Jouer l'avocat du diable avant d'exécuter"
215
- priority: "critique"
216
-
217
- - id: "IA-17"
218
- name: "Detect Bullshit, Signal Bullshit"
219
- category: "validation"
220
- description: "Détecter les incohérences et les signaler"
221
- priority: "critique"
222
-
223
- - id: "IA-18"
224
- name: "Question Assumptions"
225
- category: "validation"
226
- description: "Remettre en question les hypothèses implicites"
227
- priority: "haute"
228
-
229
- autonomie:
230
- - id: "IA-21"
231
- name: "Self-Aware Agent"
232
- category: "autonomie"
233
- description: "Connaître ses limites et les communiquer"
234
- priority: "critique"
235
-
236
- - id: "IA-22"
237
- name: "Proactive Problem Detection"
238
- category: "autonomie"
239
- description: "Anticiper et signaler les problèmes potentiels"
240
- priority: "haute"
241
-
242
- code_quality:
243
- - id: "IA-23"
244
- name: "No Emoji Pollution"
245
- category: "code_quality"
246
- description: "Aucun emoji dans le code, commits Git, ou production"
247
- priority: "critique"
248
- forbidden:
249
- - "Code source"
250
- - "Git commits"
251
- - "Interfaces production"
252
- - "Documentation technique"
253
-
254
- - id: "IA-24"
255
- name: "Clean Code = No Useless Comments"
256
- category: "code_quality"
257
- description: "Code auto-documenté, commentaires uniquement pour WHY"
258
- priority: "critique"
259
- allowed_comments:
260
- - "WHY (pas WHAT)"
261
- - "Workarounds temporaires"
262
- - "Contraintes légales/business"
263
- - "TODOs avec ticket"
264
-
265
- metadata:
266
- total_mantras: 64
267
- conception_count: 39
268
- agents_ia_count: 25
269
- version: "1.0.0"
270
- last_updated: "2026-02-02"
271
- authors: ["Yan", "Carson"]
272
- methodology: "Merise Agile + TDD"
@@ -1,59 +0,0 @@
1
- ---
2
- # BYAN Agent Templates Configuration
3
- # Version: 1.0.0
4
- # Last Updated: 2026-02-02
5
-
6
- templates:
7
- base:
8
- name: "Base Agent Template"
9
- description: "Minimal agent structure compatible with all platforms"
10
- platforms: ["copilot", "vscode", "claude", "codex"]
11
- structure:
12
- frontmatter: true
13
- activation: true
14
- persona: true
15
- menu: true
16
- knowledge_base: optional
17
- capabilities: true
18
-
19
- platform_specific:
20
- copilot:
21
- name: "GitHub Copilot CLI Agent"
22
- format: "bmad-markdown"
23
- icon_support: true
24
- menu_style: "numbered"
25
-
26
- vscode:
27
- name: "VSCode Extension Agent"
28
- format: "bmad-markdown"
29
- icon_support: true
30
- menu_style: "numbered"
31
-
32
- claude:
33
- name: "Claude Code Agent"
34
- format: "bmad-markdown"
35
- icon_support: false
36
- menu_style: "simple"
37
-
38
- codex:
39
- name: "Codex AI Agent"
40
- format: "bmad-markdown"
41
- icon_support: true
42
- menu_style: "numbered"
43
-
44
- defaults:
45
- communication_style: "balanced"
46
- min_capabilities: 3
47
- min_mantras: 5
48
- min_use_cases: 3
49
- status: "draft"
50
-
51
- validation:
52
- strict_mode: true
53
- enforce_mantras: true
54
- require_bmad_compliance: true
55
-
56
- generation:
57
- output_folder: "{project-root}/_bmad-output/agents"
58
- backup_before_edit: true
59
- auto_validate: true