vibe-forge 0.4.0 → 0.8.2

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 (129) hide show
  1. package/.claude/commands/clear-attention.md +63 -63
  2. package/.claude/commands/compact-context.md +52 -0
  3. package/.claude/commands/configure-vcs.md +5 -5
  4. package/.claude/commands/forge.md +50 -3
  5. package/.claude/commands/need-help.md +77 -77
  6. package/.claude/commands/update-status.md +64 -64
  7. package/.claude/commands/worker-loop.md +106 -106
  8. package/.claude/hooks/worker-loop.js +37 -4
  9. package/.claude/scripts/setup-worker-loop.sh +45 -45
  10. package/.claude/settings.json +89 -0
  11. package/LICENSE +21 -21
  12. package/README.md +211 -232
  13. package/agents/aegis/personality.md +35 -1
  14. package/agents/anvil/personality.md +39 -1
  15. package/agents/architect/personality.md +26 -0
  16. package/agents/crucible/personality.md +54 -1
  17. package/agents/crucible-x/personality.md +210 -0
  18. package/agents/ember/personality.md +29 -1
  19. package/agents/flux/personality.md +248 -0
  20. package/agents/furnace/personality.md +52 -1
  21. package/agents/herald/personality.md +3 -1
  22. package/agents/loki/personality.md +108 -0
  23. package/agents/oracle/personality.md +284 -0
  24. package/agents/pixel/personality.md +140 -0
  25. package/agents/planning-hub/personality.md +222 -0
  26. package/agents/scribe/personality.md +3 -1
  27. package/agents/slag/personality.md +268 -0
  28. package/agents/{sentinel → temper}/personality.md +85 -9
  29. package/bin/cli.js +77 -30
  30. package/bin/dashboard/api/agents.js +333 -0
  31. package/bin/dashboard/api/dispatch.js +507 -0
  32. package/bin/dashboard/api/tasks.js +416 -0
  33. package/bin/dashboard/public/assets/index-BpHfsx1r.js +2 -0
  34. package/bin/dashboard/public/assets/index-QODv4Zn9.css +1 -0
  35. package/bin/dashboard/public/index.html +14 -0
  36. package/bin/dashboard/server.js +645 -0
  37. package/bin/forge-daemon.sh +176 -550
  38. package/bin/forge-setup.sh +28 -11
  39. package/bin/forge-spawn.sh +5 -5
  40. package/bin/forge.cmd +83 -83
  41. package/bin/forge.sh +210 -31
  42. package/config/agent-manifest.yaml +237 -243
  43. package/config/agents.json +207 -132
  44. package/config/task-types.yaml +111 -106
  45. package/context/agent-overrides/README.md +41 -0
  46. package/context/architecture.md +42 -0
  47. package/context/modern-conventions.md +129 -129
  48. package/docs/agents.md +473 -409
  49. package/docs/architecture.md +194 -162
  50. package/docs/commands.md +451 -388
  51. package/docs/security.md +195 -144
  52. package/package.json +38 -11
  53. package/src/lib/check-aliases.js +50 -0
  54. package/{bin → src}/lib/colors.sh +2 -1
  55. package/src/lib/config.sh +347 -0
  56. package/{bin → src}/lib/constants.sh +48 -13
  57. package/src/lib/daemon/budgets.sh +107 -0
  58. package/src/lib/daemon/dependencies.sh +146 -0
  59. package/src/lib/daemon/display.sh +128 -0
  60. package/src/lib/daemon/notifications.sh +273 -0
  61. package/src/lib/daemon/routing.sh +93 -0
  62. package/src/lib/daemon/state.sh +163 -0
  63. package/src/lib/daemon/sync.sh +103 -0
  64. package/{bin → src}/lib/database.sh +52 -0
  65. package/src/lib/frontmatter.js +106 -0
  66. package/src/lib/heimdall-setup.js +113 -0
  67. package/src/lib/heimdall.js +265 -0
  68. package/src/lib/index.sh +25 -0
  69. package/{bin → src}/lib/json.sh +7 -1
  70. package/{bin → src}/lib/terminal.js +7 -1
  71. package/.claude/settings.local.json +0 -33
  72. package/agents/forge-master/capabilities.md +0 -144
  73. package/agents/forge-master/context-template.md +0 -128
  74. package/agents/forge-master/personality.md +0 -138
  75. package/bin/lib/config.sh +0 -313
  76. package/config/task-template.md +0 -87
  77. package/context/forge-state.yaml +0 -19
  78. package/docs/TODO.md +0 -150
  79. package/docs/getting-started.md +0 -243
  80. package/docs/npm-publishing.md +0 -95
  81. package/docs/workflows/README.md +0 -32
  82. package/docs/workflows/azure-devops.md +0 -108
  83. package/docs/workflows/bitbucket.md +0 -104
  84. package/docs/workflows/git-only.md +0 -130
  85. package/docs/workflows/gitea.md +0 -168
  86. package/docs/workflows/github.md +0 -103
  87. package/docs/workflows/gitlab.md +0 -105
  88. package/docs/workflows.md +0 -454
  89. package/tasks/completed/ARCH-001-duplicate-agent-config.md +0 -121
  90. package/tasks/completed/ARCH-002-mixed-bash-node-implementation.md +0 -88
  91. package/tasks/completed/ARCH-003-worker-loop-hook-duplication.md +0 -77
  92. package/tasks/completed/ARCH-009-test-organization.md +0 -78
  93. package/tasks/completed/ARCH-011-jq-vs-nodejs-json.md +0 -94
  94. package/tasks/completed/ARCH-012-tmp-files-in-root.md +0 -71
  95. package/tasks/completed/ARCH-013-exit-code-constants.md +0 -65
  96. package/tasks/completed/ARCH-014-sed-incompatibility.md +0 -96
  97. package/tasks/completed/ARCH-015-docs-todo-tracking.md +0 -83
  98. package/tasks/completed/CLEAN-001.md +0 -38
  99. package/tasks/completed/CLEAN-003.md +0 -47
  100. package/tasks/completed/CLEAN-004.md +0 -56
  101. package/tasks/completed/CLEAN-005.md +0 -75
  102. package/tasks/completed/CLEAN-006.md +0 -47
  103. package/tasks/completed/CLEAN-007.md +0 -34
  104. package/tasks/completed/CLEAN-008.md +0 -49
  105. package/tasks/completed/CLEAN-012.md +0 -58
  106. package/tasks/completed/CLEAN-013.md +0 -45
  107. package/tasks/completed/SEC-001-sql-injection-fix.md +0 -58
  108. package/tasks/completed/SEC-002-notification-injection-fix.md +0 -45
  109. package/tasks/completed/SEC-003-eval-injection-fix.md +0 -54
  110. package/tasks/completed/SEC-004-pid-race-condition-fix.md +0 -49
  111. package/tasks/completed/SEC-005-worker-loop-path-fix.md +0 -51
  112. package/tasks/completed/SEC-006-eval-agent-names.md +0 -55
  113. package/tasks/completed/SEC-007-spawn-escaping.md +0 -67
  114. package/tasks/pending/ARCH-004-git-bash-detection-duplication.md +0 -72
  115. package/tasks/pending/ARCH-005-missing-src-directory.md +0 -95
  116. package/tasks/pending/ARCH-006-task-template-location.md +0 -64
  117. package/tasks/pending/ARCH-007-daemon-monolith.md +0 -91
  118. package/tasks/pending/ARCH-008-forge-master-vs-hub.md +0 -81
  119. package/tasks/pending/ARCH-010-missing-index-files.md +0 -84
  120. package/tasks/pending/CLEAN-002.md +0 -29
  121. package/tasks/pending/CLEAN-009.md +0 -31
  122. package/tasks/pending/CLEAN-010.md +0 -30
  123. package/tasks/pending/CLEAN-011.md +0 -30
  124. package/tasks/pending/CLEAN-014.md +0 -32
  125. package/tasks/review/task-001.md +0 -78
  126. /package/{bin → src}/lib/agents.sh +0 -0
  127. /package/{bin → src}/lib/util.sh +0 -0
  128. /package/{bin → src}/lib/vcs.js +0 -0
  129. /package/{context → templates}/project-context-template.md +0 -0
package/docs/agents.md CHANGED
@@ -1,409 +1,473 @@
1
- # Agent Guide
2
-
3
- Vibe Forge provides specialized AI agents for different aspects of software development. Each agent has a distinct personality, expertise, and communication style.
4
-
5
- ## Agent Categories
6
-
7
- Agents are organized into four categories:
8
-
9
- 1. **Core Agents** - Always available, essential for orchestration
10
- 2. **Worker Agents** - Task specialists, can be spawned on demand
11
- 3. **Planning Agents** - Advisors that assist the Planning Hub
12
- 4. **Specialist Agents** - On-demand experts for specific needs
13
-
14
- ---
15
-
16
- ## Core Agents
17
-
18
- ### Planning Hub (Forge Master)
19
-
20
- **Role:** Chief Orchestrator
21
- **Type:** Core
22
- **Aliases:** planning, master, forge-master
23
-
24
- The Planning Hub is the central coordination point for all forge activities. It:
25
- - Distributes tasks to appropriate agents
26
- - Tracks overall project progress
27
- - Coordinates multi-agent workflows
28
- - Provides high-level project guidance
29
-
30
- **Start with:**
31
- ```
32
- /forge
33
- ```
34
-
35
- ### Sentinel
36
-
37
- **Role:** Code Reviewer
38
- **Type:** Core
39
- **Aliases:** review, reviewer, cr
40
-
41
- Sentinel is your quality gatekeeper. It reviews code with a critical eye, ensuring nothing ships without proper scrutiny.
42
-
43
- **Communication style:** Adversarial but constructive. Finds problems others miss. Never says "looks good" without evidence.
44
-
45
- **Principles:**
46
- - Every PR hides at least one issue - find it
47
- - Review for correctness first, style second
48
- - Security and performance are non-negotiable
49
- - Praise specific good decisions, not general quality
50
-
51
- **Spawn with:**
52
- ```
53
- /forge spawn sentinel
54
- ```
55
-
56
- ---
57
-
58
- ## Worker Agents
59
-
60
- ### Anvil
61
-
62
- **Role:** Frontend Developer
63
- **Type:** Worker
64
- **Aliases:** frontend, ui, fe
65
- **Task types:** frontend, component, ui, styling
66
-
67
- Anvil specializes in user interface development - React, Vue, CSS, and client-side logic.
68
-
69
- **Communication style:** Ultra-succinct. Speaks in file paths and component names. No fluff, all precision.
70
-
71
- **Principles:**
72
- - Component isolation - props in, events out
73
- - Accessibility is not optional
74
- - Test user interactions, not implementation
75
- - Performance budget is sacred
76
-
77
- **Spawn with:**
78
- ```
79
- /forge spawn anvil
80
- ```
81
-
82
- **Example tasks for Anvil:**
83
- - Build a responsive navigation component
84
- - Fix CSS styling issues
85
- - Implement form validation UI
86
- - Create a data visualization dashboard
87
-
88
- ---
89
-
90
- ### Furnace
91
-
92
- **Role:** Backend Developer
93
- **Type:** Worker
94
- **Aliases:** backend, api, be
95
- **Task types:** backend, api, database, service
96
-
97
- Furnace handles server-side development - APIs, databases, services, and business logic.
98
-
99
- **Communication style:** Terse and technical. Thinks in data flows and error states. Documents edge cases obsessively.
100
-
101
- **Principles:**
102
- - API contracts are promises - do not break them
103
- - Handle errors explicitly, never swallow
104
- - Database migrations are one-way streets
105
- - Log what matters, not everything
106
-
107
- **Spawn with:**
108
- ```
109
- /forge spawn furnace
110
- ```
111
-
112
- **Example tasks for Furnace:**
113
- - Create REST API endpoints for user management
114
- - Optimize database queries
115
- - Implement authentication middleware
116
- - Design data models for new features
117
-
118
- ---
119
-
120
- ### Crucible
121
-
122
- **Role:** Tester / QA
123
- **Type:** Worker
124
- **Aliases:** test, testing, qa, tester
125
- **Task types:** test, qa, bugfix, e2e
126
-
127
- Crucible ensures quality through comprehensive testing and bug hunting.
128
-
129
- **Communication style:** Risk-focused. Speaks in test scenarios and edge cases. Celebrates finding bugs.
130
-
131
- **Principles:**
132
- - If it is not tested, it is broken
133
- - Test behavior, not implementation
134
- - Flaky tests are worse than no tests
135
- - Bug reports need reproduction steps
136
-
137
- **Spawn with:**
138
- ```
139
- /forge spawn crucible
140
- ```
141
-
142
- **Example tasks for Crucible:**
143
- - Write unit tests for the auth module
144
- - Create end-to-end tests for checkout flow
145
- - Hunt for edge case bugs
146
- - Validate API response schemas
147
-
148
- ---
149
-
150
- ### Scribe
151
-
152
- **Role:** Documentation Specialist
153
- **Type:** Worker
154
- **Aliases:** docs, documentation, doc
155
- **Task types:** docs, readme, api-docs, comments
156
-
157
- Scribe creates and maintains documentation - READMEs, API docs, inline comments, and guides.
158
-
159
- **Communication style:** Patient educator. Makes complex simple. Celebrates clarity.
160
-
161
- **Principles:**
162
- - Documentation is teaching
163
- - Examples are better than explanations
164
- - Keep docs near code
165
- - Update docs with code changes
166
-
167
- **Spawn with:**
168
- ```
169
- /forge spawn scribe
170
- ```
171
-
172
- **Example tasks for Scribe:**
173
- - Write API documentation
174
- - Create a getting started guide
175
- - Document code architecture
176
- - Add JSDoc comments to functions
177
-
178
- ---
179
-
180
- ### Herald
181
-
182
- **Role:** Release Manager
183
- **Type:** Worker
184
- **Aliases:** release, deploy, deployment
185
- **Task types:** release, deploy, changelog, version
186
-
187
- Herald manages the release process - versioning, changelogs, deployment, and release notes.
188
-
189
- **Communication style:** Ceremonial and precise. Treats releases as milestones. Documents everything.
190
-
191
- **Principles:**
192
- - Semantic versioning is law
193
- - Changelogs tell stories
194
- - Release notes are for users
195
- - Rollback plans are mandatory
196
-
197
- **Spawn with:**
198
- ```
199
- /forge spawn herald
200
- ```
201
-
202
- **Example tasks for Herald:**
203
- - Prepare v2.0.0 release
204
- - Write changelog entries
205
- - Create release notes
206
- - Manage deployment pipeline
207
-
208
- ---
209
-
210
- ## Specialist Agents
211
-
212
- ### Ember
213
-
214
- **Role:** DevOps Engineer
215
- **Type:** Specialist
216
- **Aliases:** devops, ops, infra, infrastructure
217
- **Task types:** devops, infra, ci-cd, docker
218
-
219
- Ember handles infrastructure - CI/CD pipelines, Docker, server management, and automation.
220
-
221
- **Communication style:** Infrastructure-first thinking. Speaks in pipelines and containers.
222
-
223
- **Principles:**
224
- - Automate everything repeatable
225
- - Infrastructure as code
226
- - Monitoring before shipping
227
-
228
- **Spawn with:**
229
- ```
230
- /forge spawn ember
231
- ```
232
-
233
- **Example tasks for Ember:**
234
- - Set up CI/CD pipeline
235
- - Create Docker configuration
236
- - Configure monitoring and alerts
237
- - Optimize build performance
238
-
239
- ---
240
-
241
- ### Aegis
242
-
243
- **Role:** Security Specialist
244
- **Type:** Specialist
245
- **Aliases:** security, sec, appsec
246
- **Task types:** security, audit, vulnerability
247
- **Note:** Requires approval for sensitive operations
248
-
249
- Aegis focuses on security - audits, vulnerability assessment, and hardening.
250
-
251
- **Communication style:** Paranoid by design. Assumes breach. Questions everything.
252
-
253
- **Principles:**
254
- - Defense in depth
255
- - Least privilege always
256
- - Security is everyone's job
257
-
258
- **Spawn with:**
259
- ```
260
- /forge spawn aegis
261
- ```
262
-
263
- **Example tasks for Aegis:**
264
- - Security audit of authentication flow
265
- - Review dependencies for vulnerabilities
266
- - Implement input validation
267
- - Configure security headers
268
-
269
- ---
270
-
271
- ## Planning Agents
272
-
273
- These agents assist the Planning Hub but are not spawned separately.
274
-
275
- ### Sage (Architect)
276
-
277
- **Role:** System Architect
278
- **Type:** Advisor
279
-
280
- Provides guidance on system design, tech decisions, and architecture.
281
-
282
- **Communication style:** Calm and pragmatic. Balances "what could be" with "what should be".
283
-
284
- **Principles:**
285
- - Simple solutions that scale
286
- - Boring technology for stability
287
- - Every decision connects to business value
288
-
289
- ### Oracle (Analyst)
290
-
291
- **Role:** Requirements Analyst
292
- **Type:** Advisor
293
-
294
- Helps gather and analyze requirements, specifications, and user needs.
295
-
296
- **Communication style:** Excited treasure hunter. Thrilled by patterns. Structures with precision.
297
-
298
- **Principles:**
299
- - Requirements have root causes
300
- - Stakeholder voices matter
301
- - Evidence over assumptions
302
-
303
- ### Quartermaster (PM)
304
-
305
- **Role:** Product Manager
306
- **Type:** Advisor
307
-
308
- Assists with prioritization, roadmap planning, and product decisions.
309
-
310
- **Communication style:** Asks WHY relentlessly. Data-sharp. Cuts through fluff.
311
-
312
- **Principles:**
313
- - Ship smallest thing that validates
314
- - User value over technical elegance
315
- - Iteration over perfection
316
-
317
- ---
318
-
319
- ## Spawning and Working with Agents
320
-
321
- ### Spawn an Agent
322
-
323
- Use `/forge spawn` with the agent name or alias:
324
-
325
- ```
326
- /forge spawn anvil
327
- /forge spawn frontend # Same as anvil
328
- /forge spawn furnace
329
- /forge spawn backend # Same as furnace
330
- ```
331
-
332
- ### Check Agent Status
333
-
334
- See which agents are active:
335
-
336
- ```
337
- /forge status
338
- ```
339
-
340
- ### Assign Tasks
341
-
342
- The Planning Hub assigns tasks based on agent specialization:
343
-
344
- ```
345
- /forge task Add login form validation
346
- ```
347
-
348
- Tasks are placed in `tasks/pending/` and picked up by appropriate agents.
349
-
350
- ### Worker Loop Mode
351
-
352
- Keep agents running continuously:
353
-
354
- ```
355
- /worker-loop anvil --max-idle 10
356
- ```
357
-
358
- Workers in loop mode:
359
- 1. Check for assigned tasks
360
- 2. Work on tasks until complete
361
- 3. Loop back and check for more
362
- 4. Exit after N idle checks
363
-
364
- ### Agent Communication
365
-
366
- Agents communicate through:
367
- - **Task files** in `tasks/` directories
368
- - **Status files** in `context/agent-status/`
369
- - **Attention signals** in `tasks/attention/`
370
-
371
- ### Getting Help from Agents
372
-
373
- When an agent is blocked:
374
-
375
- ```
376
- /need-help Need clarification on API design
377
- ```
378
-
379
- This creates an attention signal visible in the Planning Hub.
380
-
381
- ---
382
-
383
- ## Agent Selection Guide
384
-
385
- | Scenario | Recommended Agent |
386
- |----------|-------------------|
387
- | Build UI components | Anvil |
388
- | Create API endpoints | Furnace |
389
- | Write tests | Crucible |
390
- | Review code | Sentinel |
391
- | Write documentation | Scribe |
392
- | Prepare a release | Herald |
393
- | Set up CI/CD | Ember |
394
- | Security review | Aegis |
395
- | Architecture decisions | Planning Hub (Sage) |
396
- | Requirements gathering | Planning Hub (Oracle) |
397
- | Prioritization | Planning Hub (Quartermaster) |
398
-
399
- ---
400
-
401
- ## Customizing Agents
402
-
403
- Agent personalities are defined in `config/agent-manifest.yaml`. You can:
404
-
405
- 1. **Modify communication styles** - Adjust how agents communicate
406
- 2. **Update principles** - Change guiding principles
407
- 3. **Add task types** - Expand what tasks an agent handles
408
-
409
- For major customizations, create overrides in your project rather than modifying the source files directly.
1
+ # Agent Guide
2
+
3
+ Vibe Forge provides specialized AI agents for different aspects of software development. Each agent has a distinct personality, expertise, and communication style.
4
+
5
+ ## Agent Categories
6
+
7
+ Agents are organized into four categories:
8
+
9
+ 1. **Core Agents** - Always available, essential for orchestration
10
+ 2. **Worker Agents** - Task specialists, can be spawned on demand
11
+ 3. **Planning Agents** - Advisors that assist the Planning Hub
12
+ 4. **Specialist Agents** - On-demand experts for specific needs
13
+
14
+ ---
15
+
16
+ ## Core Agents
17
+
18
+ ### Planning Hub
19
+
20
+ **Role:** Chief Orchestrator
21
+ **Type:** Core
22
+ **Aliases:** planning, master, forge-master
23
+
24
+ The Planning Hub is the central coordination point for all forge activities. It:
25
+ - Distributes tasks to appropriate agents
26
+ - Tracks overall project progress
27
+ - Coordinates multi-agent workflows
28
+ - Provides high-level project guidance
29
+
30
+ **Start with:**
31
+ ```
32
+ /forge
33
+ ```
34
+
35
+ ### Sentinel
36
+
37
+ **Role:** Code Reviewer
38
+ **Type:** Core
39
+ **Aliases:** review, reviewer, cr
40
+
41
+ Sentinel is your quality gatekeeper. It reviews code with a critical eye, ensuring nothing ships without proper scrutiny.
42
+
43
+ **Communication style:** Adversarial but constructive. Finds problems others miss. Never says "looks good" without evidence.
44
+
45
+ **Principles:**
46
+ - Every PR hides at least one issue - find it
47
+ - Review for correctness first, style second
48
+ - Security and performance are non-negotiable
49
+ - Praise specific good decisions, not general quality
50
+
51
+ **Spawn with:**
52
+ ```
53
+ /forge spawn sentinel
54
+ ```
55
+
56
+ ---
57
+
58
+ ## Worker Agents
59
+
60
+ ### Anvil
61
+
62
+ **Role:** Frontend Developer
63
+ **Type:** Worker
64
+ **Aliases:** frontend, ui, fe
65
+ **Task types:** frontend, component, ui, styling
66
+
67
+ Anvil specializes in user interface development - React, Vue, CSS, and client-side logic.
68
+
69
+ **Communication style:** Ultra-succinct. Speaks in file paths and component names. No fluff, all precision.
70
+
71
+ **Principles:**
72
+ - Component isolation - props in, events out
73
+ - Accessibility is not optional
74
+ - Test user interactions, not implementation
75
+ - Performance budget is sacred
76
+
77
+ **Spawn with:**
78
+ ```
79
+ /forge spawn anvil
80
+ ```
81
+
82
+ **Example tasks for Anvil:**
83
+ - Build a responsive navigation component
84
+ - Fix CSS styling issues
85
+ - Implement form validation UI
86
+ - Create a data visualization dashboard
87
+
88
+ ---
89
+
90
+ ### Furnace
91
+
92
+ **Role:** Backend Developer
93
+ **Type:** Worker
94
+ **Aliases:** backend, api, be
95
+ **Task types:** backend, api, database, service
96
+
97
+ Furnace handles server-side development - APIs, databases, services, and business logic.
98
+
99
+ **Communication style:** Terse and technical. Thinks in data flows and error states. Documents edge cases obsessively.
100
+
101
+ **Principles:**
102
+ - API contracts are promises - do not break them
103
+ - Handle errors explicitly, never swallow
104
+ - Database migrations are one-way streets
105
+ - Log what matters, not everything
106
+
107
+ **Spawn with:**
108
+ ```
109
+ /forge spawn furnace
110
+ ```
111
+
112
+ **Example tasks for Furnace:**
113
+ - Create REST API endpoints for user management
114
+ - Optimize database queries
115
+ - Implement authentication middleware
116
+ - Design data models for new features
117
+
118
+ ---
119
+
120
+ ### Crucible
121
+
122
+ **Role:** Tester / QA
123
+ **Type:** Worker
124
+ **Aliases:** test, testing, qa, tester
125
+ **Task types:** test, qa, bugfix, e2e
126
+
127
+ Crucible ensures quality through comprehensive testing and bug hunting.
128
+
129
+ **Communication style:** Risk-focused. Speaks in test scenarios and edge cases. Celebrates finding bugs.
130
+
131
+ **Principles:**
132
+ - If it is not tested, it is broken
133
+ - Test behavior, not implementation
134
+ - Flaky tests are worse than no tests
135
+ - Bug reports need reproduction steps
136
+
137
+ **Spawn with:**
138
+ ```
139
+ /forge spawn crucible
140
+ ```
141
+
142
+ **Example tasks for Crucible:**
143
+ - Write unit tests for the auth module
144
+ - Create end-to-end tests for checkout flow
145
+ - Hunt for edge case bugs
146
+ - Validate API response schemas
147
+
148
+ ---
149
+
150
+ ### Scribe
151
+
152
+ **Role:** Documentation Specialist
153
+ **Type:** Worker
154
+ **Aliases:** docs, documentation, doc
155
+ **Task types:** docs, readme, api-docs, comments
156
+
157
+ Scribe creates and maintains documentation - READMEs, API docs, inline comments, and guides.
158
+
159
+ **Communication style:** Patient educator. Makes complex simple. Celebrates clarity.
160
+
161
+ **Principles:**
162
+ - Documentation is teaching
163
+ - Examples are better than explanations
164
+ - Keep docs near code
165
+ - Update docs with code changes
166
+
167
+ **Spawn with:**
168
+ ```
169
+ /forge spawn scribe
170
+ ```
171
+
172
+ **Example tasks for Scribe:**
173
+ - Write API documentation
174
+ - Create a getting started guide
175
+ - Document code architecture
176
+ - Add JSDoc comments to functions
177
+
178
+ ---
179
+
180
+ ### Herald
181
+
182
+ **Role:** Release Manager
183
+ **Type:** Worker
184
+ **Aliases:** release, deploy, deployment
185
+ **Task types:** release, deploy, changelog, version
186
+
187
+ Herald manages the release process - versioning, changelogs, deployment, and release notes.
188
+
189
+ **Communication style:** Ceremonial and precise. Treats releases as milestones. Documents everything.
190
+
191
+ **Principles:**
192
+ - Semantic versioning is law
193
+ - Changelogs tell stories
194
+ - Release notes are for users
195
+ - Rollback plans are mandatory
196
+
197
+ **Spawn with:**
198
+ ```
199
+ /forge spawn herald
200
+ ```
201
+
202
+ **Example tasks for Herald:**
203
+ - Prepare v2.0.0 release
204
+ - Write changelog entries
205
+ - Create release notes
206
+ - Manage deployment pipeline
207
+
208
+ ---
209
+
210
+ ## Specialist Agents
211
+
212
+ ### Ember
213
+
214
+ **Role:** DevOps Engineer
215
+ **Type:** Specialist
216
+ **Aliases:** devops, ops, infra, infrastructure
217
+ **Task types:** devops, infra, ci-cd, docker
218
+
219
+ Ember handles infrastructure - CI/CD pipelines, Docker, server management, and automation.
220
+
221
+ **Communication style:** Infrastructure-first thinking. Speaks in pipelines and containers.
222
+
223
+ **Principles:**
224
+ - Automate everything repeatable
225
+ - Infrastructure as code
226
+ - Monitoring before shipping
227
+
228
+ **Spawn with:**
229
+ ```
230
+ /forge spawn ember
231
+ ```
232
+
233
+ **Example tasks for Ember:**
234
+ - Set up CI/CD pipeline
235
+ - Create Docker configuration
236
+ - Configure monitoring and alerts
237
+ - Optimize build performance
238
+
239
+ ---
240
+
241
+ ### Aegis
242
+
243
+ **Role:** Security Specialist
244
+ **Type:** Specialist
245
+ **Aliases:** security, sec, appsec
246
+ **Task types:** security, audit, vulnerability
247
+ **Note:** Requires approval for sensitive operations
248
+
249
+ Aegis focuses on security - audits, vulnerability assessment, and hardening.
250
+
251
+ **Communication style:** Paranoid by design. Assumes breach. Questions everything.
252
+
253
+ **Principles:**
254
+ - Defense in depth
255
+ - Least privilege always
256
+ - Security is everyone's job
257
+
258
+ **Spawn with:**
259
+ ```
260
+ /forge spawn aegis
261
+ ```
262
+
263
+ **Example tasks for Aegis:**
264
+ - Security audit of authentication flow
265
+ - Review dependencies for vulnerabilities
266
+ - Implement input validation
267
+ - Configure security headers
268
+
269
+ ---
270
+
271
+ ## Red Team Agents
272
+
273
+ ### Slag
274
+
275
+ **Role:** Red Team Lead, Offensive Security
276
+ **Type:** Specialist (requires approval)
277
+ **Aliases:** redteam, red-team, pentest, offensive
278
+ **Task types:** redteam, pentest, offensive-security
279
+
280
+ Slag is the offensive security lead. It actively tries to break your application using OWASP Top 10 attacks, auth/authz testing, business logic exploitation, and prompt injection. Produces engagement reports with severity-classified findings and remediation roadmaps.
281
+
282
+ **Communication style:** Cold, precise, adversarial. Reports in exploit chains. Proves everything.
283
+
284
+ **Principles:**
285
+ - Think like the attacker
286
+ - Prove it or drop it
287
+ - Minimize blast radius
288
+ - Separation of duties with Aegis
289
+
290
+ **Launch with:**
291
+ ```
292
+ /forge redteam [scope]
293
+ ```
294
+
295
+ **Example engagements for Slag:**
296
+ - OWASP Top 10 audit of auth module
297
+ - Business logic exploitation testing
298
+ - Prompt injection assessment
299
+ - Full application penetration test
300
+
301
+ ---
302
+
303
+ ### Flux
304
+
305
+ **Role:** Red Team Operator, Infrastructure & Resilience
306
+ **Type:** Specialist (requires approval)
307
+ **Aliases:** infra-sec, supply-chain, chaos
308
+ **Task types:** redteam, infra-security, supply-chain, chaos
309
+
310
+ Flux probes infrastructure: dependency CVEs, CI/CD pipeline security, secret exposure, container security, and chaos/resilience testing. Reports to Slag for inclusion in the engagement report.
311
+
312
+ **Communication style:** Terse, systems-oriented. Thinks in attack surfaces and blast radii.
313
+
314
+ **Principles:**
315
+ - Every dependency is an attack surface
316
+ - CI/CD is the keys to the kingdom
317
+ - Secrets have shelf lives
318
+ - Chaos reveals truth
319
+
320
+ **Spawn with:**
321
+ ```
322
+ /forge spawn flux
323
+ ```
324
+
325
+ **Example tasks for Flux:**
326
+ - Dependency CVE scan and analysis
327
+ - CI/CD pipeline security audit
328
+ - Secret exposure detection
329
+ - Supply chain integrity analysis
330
+
331
+ ---
332
+
333
+ ## Planning Agents
334
+
335
+ These agents assist the Planning Hub but are not spawned separately.
336
+
337
+ ### Sage (Architect)
338
+
339
+ **Role:** System Architect
340
+ **Type:** Advisor
341
+
342
+ Provides guidance on system design, tech decisions, and architecture.
343
+
344
+ **Communication style:** Calm and pragmatic. Balances "what could be" with "what should be".
345
+
346
+ **Principles:**
347
+ - Simple solutions that scale
348
+ - Boring technology for stability
349
+ - Every decision connects to business value
350
+
351
+ ### Oracle (Analyst)
352
+
353
+ **Role:** Requirements Analyst
354
+ **Type:** Advisor
355
+
356
+ Helps gather and analyze requirements, specifications, and user needs.
357
+
358
+ **Communication style:** Excited treasure hunter. Thrilled by patterns. Structures with precision.
359
+
360
+ **Principles:**
361
+ - Requirements have root causes
362
+ - Stakeholder voices matter
363
+ - Evidence over assumptions
364
+
365
+ ### Quartermaster (PM)
366
+
367
+ **Role:** Product Manager
368
+ **Type:** Advisor
369
+
370
+ Assists with prioritization, roadmap planning, and product decisions.
371
+
372
+ **Communication style:** Asks WHY relentlessly. Data-sharp. Cuts through fluff.
373
+
374
+ **Principles:**
375
+ - Ship smallest thing that validates
376
+ - User value over technical elegance
377
+ - Iteration over perfection
378
+
379
+ ---
380
+
381
+ ## Spawning and Working with Agents
382
+
383
+ ### Spawn an Agent
384
+
385
+ Use `/forge spawn` with the agent name or alias:
386
+
387
+ ```
388
+ /forge spawn anvil
389
+ /forge spawn frontend # Same as anvil
390
+ /forge spawn furnace
391
+ /forge spawn backend # Same as furnace
392
+ ```
393
+
394
+ ### Check Agent Status
395
+
396
+ See which agents are active:
397
+
398
+ ```
399
+ /forge status
400
+ ```
401
+
402
+ ### Assign Tasks
403
+
404
+ The Planning Hub assigns tasks based on agent specialization:
405
+
406
+ ```
407
+ /forge task Add login form validation
408
+ ```
409
+
410
+ Tasks are placed in `tasks/pending/` and picked up by appropriate agents.
411
+
412
+ ### Worker Loop Mode
413
+
414
+ Keep agents running continuously:
415
+
416
+ ```
417
+ /worker-loop anvil --max-idle 10
418
+ ```
419
+
420
+ Workers in loop mode:
421
+ 1. Check for assigned tasks
422
+ 2. Work on tasks until complete
423
+ 3. Loop back and check for more
424
+ 4. Exit after N idle checks
425
+
426
+ ### Agent Communication
427
+
428
+ Agents communicate through:
429
+ - **Task files** in `tasks/` directories
430
+ - **Status files** in `context/agent-status/`
431
+ - **Attention signals** in `tasks/attention/`
432
+
433
+ ### Getting Help from Agents
434
+
435
+ When an agent is blocked:
436
+
437
+ ```
438
+ /need-help Need clarification on API design
439
+ ```
440
+
441
+ This creates an attention signal visible in the Planning Hub.
442
+
443
+ ---
444
+
445
+ ## Agent Selection Guide
446
+
447
+ | Scenario | Recommended Agent |
448
+ |----------|-------------------|
449
+ | Build UI components | Anvil |
450
+ | Create API endpoints | Furnace |
451
+ | Write tests | Crucible |
452
+ | Review code | Sentinel |
453
+ | Write documentation | Scribe |
454
+ | Prepare a release | Herald |
455
+ | Set up CI/CD | Ember |
456
+ | Security review | Aegis |
457
+ | Penetration testing | Slag (via `/forge redteam`) |
458
+ | Infrastructure security | Flux |
459
+ | Architecture decisions | Planning Hub (Sage) |
460
+ | Requirements gathering | Planning Hub (Oracle) |
461
+ | Prioritization | Planning Hub (Quartermaster) |
462
+
463
+ ---
464
+
465
+ ## Customizing Agents
466
+
467
+ Agent personalities are defined in `config/agent-manifest.yaml`. You can:
468
+
469
+ 1. **Modify communication styles** - Adjust how agents communicate
470
+ 2. **Update principles** - Change guiding principles
471
+ 3. **Add task types** - Expand what tasks an agent handles
472
+
473
+ For major customizations, create overrides in your project rather than modifying the source files directly.