vibe-forge 0.3.12 → 0.8.1

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 (85) 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 +102 -0
  4. package/.claude/commands/forge.md +218 -171
  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 +217 -0
  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 +253 -230
  13. package/agents/aegis/personality.md +303 -269
  14. package/agents/anvil/personality.md +278 -211
  15. package/agents/architect/personality.md +260 -0
  16. package/agents/crucible/personality.md +362 -285
  17. package/agents/crucible-x/personality.md +210 -0
  18. package/agents/ember/personality.md +293 -245
  19. package/agents/flux/personality.md +248 -0
  20. package/agents/furnace/personality.md +342 -262
  21. package/agents/herald/personality.md +249 -247
  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 +473 -251
  26. package/agents/scribe/personality.md +253 -231
  27. package/agents/slag/personality.md +268 -0
  28. package/agents/temper/personality.md +270 -0
  29. package/bin/cli.js +372 -325
  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 +477 -775
  38. package/bin/forge-setup.sh +661 -532
  39. package/bin/forge-spawn.sh +164 -159
  40. package/bin/forge.cmd +83 -83
  41. package/bin/forge.sh +566 -393
  42. package/bin/lib/agents.sh +177 -177
  43. package/bin/lib/check-aliases.js +50 -0
  44. package/bin/lib/colors.sh +44 -44
  45. package/bin/lib/config.sh +347 -271
  46. package/bin/lib/constants.sh +241 -171
  47. package/bin/lib/daemon/budgets.sh +107 -0
  48. package/bin/lib/daemon/dependencies.sh +146 -0
  49. package/bin/lib/daemon/display.sh +128 -0
  50. package/bin/lib/daemon/notifications.sh +273 -0
  51. package/bin/lib/daemon/routing.sh +93 -0
  52. package/bin/lib/daemon/state.sh +163 -0
  53. package/bin/lib/daemon/sync.sh +103 -0
  54. package/bin/lib/database.sh +357 -224
  55. package/bin/lib/frontmatter.js +106 -0
  56. package/bin/lib/heimdall-setup.js +113 -0
  57. package/bin/lib/heimdall.js +265 -0
  58. package/bin/lib/json.sh +264 -0
  59. package/bin/lib/terminal.js +452 -0
  60. package/bin/lib/util.sh +126 -0
  61. package/bin/lib/vcs.js +349 -0
  62. package/config/agent-manifest.yaml +237 -230
  63. package/config/agents.json +207 -85
  64. package/config/task-template.md +159 -87
  65. package/config/task-types.yaml +111 -106
  66. package/config/templates/handoff-template.md +40 -0
  67. package/context/agent-overrides/README.md +41 -0
  68. package/context/architecture.md +42 -0
  69. package/context/modern-conventions.md +129 -129
  70. package/context/project-context-template.md +122 -122
  71. package/docs/agents.md +473 -0
  72. package/docs/architecture.md +194 -0
  73. package/docs/commands.md +451 -0
  74. package/docs/security.md +195 -144
  75. package/package.json +77 -48
  76. package/.claude/hooks/worker-loop.sh +0 -141
  77. package/.claude/settings.local.json +0 -29
  78. package/agents/forge-master/capabilities.md +0 -144
  79. package/agents/forge-master/context-template.md +0 -128
  80. package/agents/forge-master/personality.md +0 -138
  81. package/agents/sentinel/personality.md +0 -194
  82. package/context/forge-state.yaml +0 -19
  83. package/docs/TODO.md +0 -176
  84. package/docs/npm-publishing.md +0 -95
  85. package/tasks/review/task-001.md +0 -78
package/README.md CHANGED
@@ -1,230 +1,253 @@
1
- # Vibe Forge ⚒️
2
-
3
- A multi-agent development orchestration system for terminal-native vibe coding.
4
-
5
- ## Vision
6
-
7
- Vibe Forge transforms your terminal into a collaborative AI development environment. Multiple Claude agents - each with distinct personalities and specializations - work together to build software, coordinated through a file-based task system.
8
-
9
- ```
10
- ┌─────────────────────────────────────────────────────────────────┐
11
- │ PLANNING HUB │
12
- │ (Your main terminal session) │
13
- │ │
14
- │ You + Sage (Architect) + Oracle (Analyst) + Quartermaster (PM)
15
- └─────────────────────────────────────────────────────────────────┘
16
-
17
-
18
- ┌─────────────────────────────────────────────────────────────────┐
19
- FORGE MASTER ⚒️
20
- │ Task Distribution & Orchestration │
21
- └─────────────────────────────────────────────────────────────────┘
22
-
23
- ┌────────────┬───────┴───────┬────────────┐
24
- ▼ ▼ ▼ ▼
25
- ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐
26
- │ Anvil │ │ Furnace │ │Crucible │ │Sentinel │
27
- │ 🔨 │ │ 🔥 │ │ 🧪 │ │ 🛡️ │
28
- │Frontend │ │ Backend │ │ Testing │ │ Review │
29
- └─────────┘ └─────────┘ └─────────┘ └─────────┘
30
- ```
31
-
32
- ## Key Features
33
-
34
- - **Personality-driven agents** - Each agent has a distinct voice, expertise, and decision-making style
35
- - **File-based task coordination** - Reliable, debuggable, no WebSocket complexity
36
- - **Token-efficient design** - Context stored locally, minimal wire traffic
37
- - **Terminal-native** - Built for Windows Terminal, works with any terminal supporting tabs
38
-
39
- ## Agents
40
-
41
- ### Core Agents (Always Running)
42
-
43
- | Agent | Icon | Role |
44
- |-------|------|------|
45
- | Forge Master | ⚒️ | Chief Orchestrator - distributes tasks, tracks progress |
46
- | Sentinel | 🛡️ | Code Reviewer - quality gates, adversarial review |
47
-
48
- ### Worker Agents (Per-Task)
49
-
50
- | Agent | Icon | Role |
51
- |-------|------|------|
52
- | Anvil | 🔨 | Frontend Dev - components, UI, styling |
53
- | Furnace | 🔥 | Backend Dev - APIs, database, services |
54
- | Crucible | 🧪 | Tester/QA - tests, bug hunting |
55
- | Scribe | 📜 | Documentation - docs, README, API specs |
56
- | Herald | 📯 | Release Manager - versioning, deployment |
57
-
58
- ### Planning Hub Agents (Your Terminal)
59
-
60
- | Agent | Icon | Role |
61
- |-------|------|------|
62
- | Sage | 🏛️ | System Architect |
63
- | Oracle | 🔮 | Requirements Analyst |
64
- | Quartermaster | 📋 | Product Manager |
65
-
66
- ### Specialists (On-Demand)
67
-
68
- | Agent | Icon | Role |
69
- |-------|------|------|
70
- | Ember | ⚙️ | DevOps/Infrastructure |
71
- | Aegis | 🔒 | Security Specialist |
72
-
73
- ## Project Structure
74
-
75
- ```
76
- vibe-forge/
77
- ├── agents/ # Agent definitions
78
- │ ├── forge-master/
79
- │ │ ├── personality.md # Identity, voice, principles
80
- │ │ ├── capabilities.md # Commands, tools, decisions
81
- │ │ └── context-template.md # Session startup context
82
- │ ├── sentinel/
83
- │ ├── anvil/
84
- │ ├── furnace/
85
- │ ├── crucible/
86
- │ └── ...
87
- ├── tasks/ # Task lifecycle folders
88
- │ ├── pending/ # New tasks waiting for pickup
89
- │ ├── in-progress/ # Currently being worked on
90
- │ ├── completed/ # Done, ready for review
91
- │ ├── review/ # Under Sentinel review
92
- │ ├── approved/ # Passed review
93
- │ ├── needs-changes/ # Review feedback to address
94
- │ └── merged/ # Archive
95
- ├── specs/ # Planning documents
96
- │ ├── epics/
97
- └── stories/
98
- ├── context/ # Shared context files
99
- │ ├── project-context.md # Tech stack, patterns, rules
100
- └── forge-state.yaml # Current forge status
101
- └── config/ # Configuration
102
- ├── agent-manifest.yaml # Agent roster
103
- ├── task-template.md # Task file template
104
- └── task-types.yaml # Task routing rules
105
- ```
106
-
107
- ## Task Lifecycle
108
-
109
- ```
110
- ┌─────────┐ ┌─────────────┐ ┌───────────┐ ┌────────┐
111
- pending │ -> │ in-progress │ -> │ completed │ -> │ review │
112
- └─────────┘ └─────────────┘ └───────────┘ └────────┘
113
-
114
- ┌──────────────┐
115
- needs-changes│ <────────────────┤
116
- └──────────────┘
117
-
118
- ▼ ▼
119
- ┌─────────────┐ ┌──────────┐
120
- in-progress │ │ approved
121
- └─────────────┘ └──────────┘
122
-
123
-
124
- ┌─────────┐
125
- merged │
126
- └─────────┘
127
- ```
128
-
129
- ## Getting Started
130
-
131
- ### Prerequisites
132
-
133
- - Claude Code CLI ([install](https://claude.ai/download))
134
- - Windows Terminal (recommended) or any terminal with tabs
135
- - Node.js 16+ (for npx installer)
136
- - Git
137
-
138
- ### Quick Start
139
-
140
- ```bash
141
- # In your project directory
142
- npx vibe-forge init
143
- ```
144
-
145
- This will:
146
-
147
- 1. Clone Vibe Forge into `_vibe-forge/`
148
- 2. Detect your platform and terminal
149
- 3. Set up the daemon and configuration
150
- 4. Create a project context file
151
-
152
- Then start the Planning Hub:
153
-
154
- ```bash
155
- cd _vibe-forge
156
- ./bin/forge.sh
157
- ```
158
-
159
- ### Manual Setup
160
-
161
- If you prefer not to use npx:
162
-
163
- ```bash
164
- # Clone into your project
165
- git clone https://github.com/SpasticPalate/vibe-forge.git _vibe-forge
166
-
167
- # Run setup
168
- cd _vibe-forge
169
- ./bin/forge-setup.sh
170
-
171
- # Start the Planning Hub
172
- ./bin/forge.sh
173
- ```
174
-
175
- ### Updating
176
-
177
- ```bash
178
- npx vibe-forge update
179
- ```
180
-
181
- ## Slash Commands
182
-
183
- When using Claude Code inside your project, use the `/forge` command:
184
-
185
- ```
186
- /forge - Start the Planning Hub (default)
187
- /forge status - Show status dashboard
188
- /forge spawn <agent> - Spawn worker in new terminal
189
- /forge task [desc] - Create a new task
190
- /forge help - Show available commands
191
- ```
192
-
193
- Agents (with aliases):
194
-
195
- | Agent | Aliases | Role |
196
- |-------|---------|------|
197
- | anvil | frontend, ui, fe | Frontend Developer |
198
- | furnace | backend, api, be | Backend Developer |
199
- | crucible | test, testing, qa | Tester / QA |
200
- | sentinel | review, reviewer, cr | Code Reviewer |
201
- | scribe | docs, documentation | Documentation |
202
- | herald | release, deploy | Release Manager |
203
- | ember | devops, ops, infra | DevOps |
204
- | aegis | security, sec, appsec | Security |
205
-
206
- Use either the forge name or any alias: `/forge spawn frontend` or `/forge spawn anvil`
207
-
208
- ## Token Efficiency
209
-
210
- Vibe Forge is designed for minimal token usage:
211
-
212
- 1. **Local context** - Agents read from files, not conversation history
213
- 2. **Task files as truth** - Instructions in files, not repeated in chat
214
- 3. **Reference, don't duplicate** - Point to paths, don't paste contents
215
- 4. **Batch updates** - One status report per cycle, not per task
216
- 5. **Exception-based** - Report problems, not smooth operations
217
-
218
- ## Philosophy
219
-
220
- > "A forge is not a factory. Each piece is crafted with intention."
221
-
222
- Vibe Forge embraces the craft of software development. Each agent brings expertise and personality to their work. The goal isn't maximum automation - it's maximum collaboration between human and AI.
223
-
224
- ## Acknowledgments
225
-
226
- Inspired by BMAD (Business Model-Agnostic Development) methodology and its multi-agent workflow system.
227
-
228
- ## License
229
-
230
- MIT
1
+ # Vibe Forge ⚒️
2
+
3
+ A multi-agent development orchestration system for terminal-native vibe coding.
4
+
5
+ ## Vision
6
+
7
+ Vibe Forge transforms your terminal into a collaborative AI development environment. Multiple Claude agents - each with distinct personalities and specializations - work together to build software, coordinated through a file-based task system.
8
+
9
+ ```
10
+ ┌─────────────────────────────────────────────────────────────────┐
11
+ │ PLANNING HUB │
12
+ │ (Your main terminal session) │
13
+ │ │
14
+ │ You + Architect · Aegis · Ember · Pixel · Oracle
15
+ └─────────────────────────────────────────────────────────────────┘
16
+
17
+
18
+ ┌─────────────────────────────────────────────────────────────────┐
19
+ PLANNING HUB 🔥
20
+ │ Task Distribution & Orchestration │
21
+ └─────────────────────────────────────────────────────────────────┘
22
+
23
+ ┌────────────┬───────┴───────┬────────────┐
24
+ ▼ ▼ ▼ ▼
25
+ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐
26
+ │ Anvil │ │ Furnace │ │Crucible │ │Sentinel │
27
+ │ 🔨 │ │ 🔥 │ │ 🧪 │ │ 🛡️ │
28
+ │Frontend │ │ Backend │ │ Testing │ │ Review │
29
+ └─────────┘ └─────────┘ └─────────┘ └─────────┘
30
+ ```
31
+
32
+ ## Key Features
33
+
34
+ - **Personality-driven agents** - Each agent has a distinct voice, expertise, and decision-making style
35
+ - **File-based task coordination** - Reliable, debuggable, no WebSocket complexity
36
+ - **Token-efficient design** - Context stored locally, minimal wire traffic
37
+ - **Terminal-native** - Built for Windows Terminal, works with any terminal supporting tabs
38
+
39
+ ## Agents
40
+
41
+ ### Core Agents (Always Running)
42
+
43
+ | Agent | Icon | Role |
44
+ |-------|------|------|
45
+ | Planning Hub | 🔥 | Chief Orchestrator - distributes tasks, tracks progress |
46
+ | Sentinel | 🛡️ | Code Reviewer - quality gates, adversarial review |
47
+
48
+ ### Worker Agents (Per-Task)
49
+
50
+ | Agent | Icon | Role |
51
+ |-------|------|------|
52
+ | Anvil | 🔨 | Frontend Dev - components, UI, styling |
53
+ | Furnace | 🔥 | Backend Dev - APIs, database, services |
54
+ | Crucible | 🧪 | Tester/QA - tests, bug hunting |
55
+ | Scribe | 📜 | Documentation - docs, README, API specs |
56
+ | Herald | 📯 | Release Manager - versioning, deployment |
57
+
58
+ ### Planning Hub Voices (Your Terminal)
59
+
60
+ The Planning Hub is a **multi-voice planning session** -- not separate agents. When you run `/forge`, these expert voices collaborate in a single session:
61
+
62
+ | Voice | Icon | Expertise |
63
+ |-------|------|-----------|
64
+ | Forge Master | 🔥 | Orchestration & task coordination |
65
+ | Architect | 🏛️ | Technical design & architecture |
66
+ | Aegis | 🔒 | Security & risk |
67
+ | Ember | ⚙️ | DevOps & infrastructure |
68
+ | Pixel | 🎨 | User experience & design |
69
+ | Oracle | 📊 | Requirements & scope |
70
+ | Crucible | 🧪 | Quality & edge cases |
71
+
72
+ ### Specialists (On-Demand)
73
+
74
+ | Agent | Icon | Role |
75
+ |-------|------|------|
76
+ | Architect | 🏛️ | System Architect |
77
+ | Ember | ⚙️ | DevOps/Infrastructure |
78
+ | Aegis | 🔒 | Security Specialist |
79
+ | Pixel | 🎨 | UX Designer |
80
+ | Oracle | 🔮 | Product Owner / Requirements |
81
+ | Loki | 🎭 | Lateral Thinker, Assumption Challenger |
82
+
83
+ ### Red Team (On-Demand)
84
+
85
+ | Agent | Icon | Role |
86
+ |-------|------|------|
87
+ | Slag | 💀 | Red Team Lead - OWASP, auth attacks, engagement reporting |
88
+ | Flux | | Red Team Operator - dependency CVEs, CI/CD, supply chain |
89
+
90
+ ## Project Structure
91
+
92
+ ```
93
+ vibe-forge/
94
+ ├── agents/ # Agent definitions
95
+ ├── planning-hub/
96
+ ├── personality.md # Identity, voice, principles
97
+ │ ├── capabilities.md # Commands, tools, decisions
98
+ │ │ └── context-template.md # Session startup context
99
+ │ ├── sentinel/
100
+ ├── anvil/
101
+ │ ├── furnace/
102
+ ├── crucible/
103
+ │ └── ...
104
+ ├── tasks/ # Task lifecycle folders
105
+ │ ├── pending/ # New tasks waiting for pickup
106
+ │ ├── in-progress/ # Currently being worked on
107
+ │ ├── completed/ # Done, ready for review
108
+ │ ├── review/ # Under Sentinel review
109
+ │ ├── approved/ # Passed review
110
+ │ ├── needs-changes/ # Review feedback to address
111
+ └── merged/ # Archive
112
+ ├── specs/ # Planning documents
113
+ ├── epics/
114
+ └── stories/
115
+ ├── context/ # Shared context files
116
+ ├── project-context.md # Tech stack, patterns, rules
117
+ └── forge-state.yaml # Current forge status
118
+ └── config/ # Configuration
119
+ ├── agents.json # Agent roster (source of truth)
120
+ ├── agent-manifest.yaml # Agent documentation (non-normative)
121
+ ├── task-template.md # Task file template
122
+ └── task-types.yaml # Task routing rules
123
+ ```
124
+
125
+ ## Task Lifecycle
126
+
127
+ ```
128
+ ┌─────────┐ ┌─────────────┐ ┌───────────┐ ┌────────┐
129
+ pending │ -> │ in-progress │ -> │ completed │ -> │ review │
130
+ └─────────┘ └─────────────┘ └───────────┘ └────────┘
131
+
132
+ ┌──────────────┐ │
133
+ │ needs-changes│ <────────────────┤
134
+ └──────────────┘ │
135
+ │ │
136
+ ▼ ▼
137
+ ┌─────────────┐ ┌──────────┐
138
+ in-progress │ │ approved │
139
+ └─────────────┘ └──────────┘
140
+
141
+
142
+ ┌─────────┐
143
+ │ merged │
144
+ └─────────┘
145
+ ```
146
+
147
+ ## Getting Started
148
+
149
+ ### Prerequisites
150
+
151
+ - Claude Code CLI ([install](https://claude.ai/download))
152
+ - Windows Terminal (recommended) or any terminal with tabs
153
+ - Node.js 16+ (for npx installer)
154
+ - Git
155
+
156
+ ### Quick Start
157
+
158
+ ```bash
159
+ # In your project directory
160
+ npx vibe-forge init
161
+ ```
162
+
163
+ This will:
164
+
165
+ 1. Clone Vibe Forge into `_vibe-forge/`
166
+ 2. Detect your platform and terminal
167
+ 3. Set up the daemon and configuration
168
+ 4. Create a project context file
169
+
170
+ Then start the Planning Hub:
171
+
172
+ ```bash
173
+ cd _vibe-forge
174
+ ./bin/forge.sh
175
+ ```
176
+
177
+ ### Manual Setup
178
+
179
+ If you prefer not to use npx:
180
+
181
+ ```bash
182
+ # Clone into your project
183
+ git clone https://github.com/sugar-crash-studios/vibe-forge.git _vibe-forge
184
+
185
+ # Run setup
186
+ cd _vibe-forge
187
+ ./bin/forge-setup.sh
188
+
189
+ # Start the Planning Hub
190
+ ./bin/forge.sh
191
+ ```
192
+
193
+ ### Updating
194
+
195
+ ```bash
196
+ npx vibe-forge update
197
+ ```
198
+
199
+ ## Slash Commands
200
+
201
+ When using Claude Code inside your project, use the `/forge` command:
202
+
203
+ ```
204
+ /forge - Start the Planning Hub (default)
205
+ /forge status - Show status dashboard
206
+ /forge spawn <agent> - Spawn worker in new terminal
207
+ /forge task [desc] - Create a new task
208
+ /forge redteam [scope] - Launch red team engagement
209
+ /forge help - Show available commands
210
+ ```
211
+
212
+ Agents (with aliases):
213
+
214
+ | Agent | Aliases | Role |
215
+ |-------|---------|------|
216
+ | anvil | frontend, ui, fe | Frontend Developer |
217
+ | furnace | backend, api, be | Backend Developer |
218
+ | crucible | test, testing, qa | Tester / QA |
219
+ | sentinel | review, reviewer, cr | Code Reviewer |
220
+ | scribe | docs, documentation | Documentation |
221
+ | herald | release, deploy | Release Manager |
222
+ | ember | devops, ops, infra | DevOps |
223
+ | aegis | security, sec, appsec | Security |
224
+ | slag | redteam, pentest | Red Team Lead |
225
+ | flux | infra-sec, chaos | Red Team Operator |
226
+
227
+ Use either the forge name or any alias: `/forge spawn frontend` or `/forge spawn anvil`
228
+
229
+ Red team engagements: `/forge redteam [scope]`
230
+
231
+ ## Token Efficiency
232
+
233
+ Vibe Forge is designed for minimal token usage:
234
+
235
+ 1. **Local context** - Agents read from files, not conversation history
236
+ 2. **Task files as truth** - Instructions in files, not repeated in chat
237
+ 3. **Reference, don't duplicate** - Point to paths, don't paste contents
238
+ 4. **Batch updates** - One status report per cycle, not per task
239
+ 5. **Exception-based** - Report problems, not smooth operations
240
+
241
+ ## Philosophy
242
+
243
+ > "A forge is not a factory. Each piece is crafted with intention."
244
+
245
+ Vibe Forge embraces the craft of software development. Each agent brings expertise and personality to their work. The goal isn't maximum automation - it's maximum collaboration between human and AI.
246
+
247
+ ## Acknowledgments
248
+
249
+ Inspired by BMAD (Business Model-Agnostic Development) methodology and its multi-agent workflow system.
250
+
251
+ ## License
252
+
253
+ MIT