@sugar-crash-studios/vibe-forge 0.4.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 (201) hide show
  1. package/.claude/commands/clear-attention.md +63 -0
  2. package/.claude/commands/compact-context.md +52 -0
  3. package/.claude/commands/configure-vcs.md +102 -0
  4. package/.claude/commands/forge.md +171 -0
  5. package/.claude/commands/need-help.md +77 -0
  6. package/.claude/commands/update-status.md +64 -0
  7. package/.claude/commands/worker-loop.md +106 -0
  8. package/.claude/hooks/worker-loop.js +198 -0
  9. package/.claude/scripts/setup-worker-loop.sh +45 -0
  10. package/.claude/settings.local.json +46 -0
  11. package/LICENSE +21 -0
  12. package/README.md +238 -0
  13. package/agents/aegis/personality.md +294 -0
  14. package/agents/anvil/personality.md +276 -0
  15. package/agents/architect/personality.md +258 -0
  16. package/agents/crucible/personality.md +360 -0
  17. package/agents/ember/personality.md +291 -0
  18. package/agents/forge-master/capabilities.md +144 -0
  19. package/agents/forge-master/context-template.md +128 -0
  20. package/agents/forge-master/personality.md +138 -0
  21. package/agents/furnace/personality.md +340 -0
  22. package/agents/herald/personality.md +247 -0
  23. package/agents/loki/personality.md +108 -0
  24. package/agents/oracle/personality.md +283 -0
  25. package/agents/pixel/personality.md +113 -0
  26. package/agents/planning-hub/personality.md +320 -0
  27. package/agents/scribe/personality.md +251 -0
  28. package/agents/temper/personality.md +218 -0
  29. package/bin/cli.js +375 -0
  30. package/bin/dashboard/api/agents.js +333 -0
  31. package/bin/dashboard/api/dispatch.js +483 -0
  32. package/bin/dashboard/api/tasks.js +416 -0
  33. package/bin/dashboard/frontend/index.html +13 -0
  34. package/bin/dashboard/frontend/package.json +16 -0
  35. package/bin/dashboard/frontend/src/App.svelte +222 -0
  36. package/bin/dashboard/frontend/src/app.css +1777 -0
  37. package/bin/dashboard/frontend/src/lib/components/AgentCard.svelte +60 -0
  38. package/bin/dashboard/frontend/src/lib/components/AgentsPanel.svelte +57 -0
  39. package/bin/dashboard/frontend/src/lib/components/DispatchModal.svelte +180 -0
  40. package/bin/dashboard/frontend/src/lib/components/Footer.svelte +33 -0
  41. package/bin/dashboard/frontend/src/lib/components/Header.svelte +84 -0
  42. package/bin/dashboard/frontend/src/lib/components/IssueCard.svelte +33 -0
  43. package/bin/dashboard/frontend/src/lib/components/IssuesPanel.svelte +73 -0
  44. package/bin/dashboard/frontend/src/lib/components/KeyboardShortcutsModal.svelte +108 -0
  45. package/bin/dashboard/frontend/src/lib/components/MobileTabs.svelte +52 -0
  46. package/bin/dashboard/frontend/src/lib/components/NotificationCard.svelte +60 -0
  47. package/bin/dashboard/frontend/src/lib/components/NotificationsPanel.svelte +44 -0
  48. package/bin/dashboard/frontend/src/lib/components/TaskCard.svelte +63 -0
  49. package/bin/dashboard/frontend/src/lib/components/TasksPanel.svelte +82 -0
  50. package/bin/dashboard/frontend/src/lib/components/Toast.svelte +45 -0
  51. package/bin/dashboard/frontend/src/lib/stores/agents.js +34 -0
  52. package/bin/dashboard/frontend/src/lib/stores/issues.js +54 -0
  53. package/bin/dashboard/frontend/src/lib/stores/notifications.js +48 -0
  54. package/bin/dashboard/frontend/src/lib/stores/tasks.js +63 -0
  55. package/bin/dashboard/frontend/src/lib/stores/theme.js +33 -0
  56. package/bin/dashboard/frontend/src/lib/stores/toast.js +35 -0
  57. package/bin/dashboard/frontend/src/lib/stores/ui.js +25 -0
  58. package/bin/dashboard/frontend/src/lib/stores/voice.js +275 -0
  59. package/bin/dashboard/frontend/src/lib/stores/websocket.js +295 -0
  60. package/bin/dashboard/frontend/src/lib/utils/api.js +101 -0
  61. package/bin/dashboard/frontend/src/lib/utils/formatters.js +54 -0
  62. package/bin/dashboard/frontend/src/main.js +9 -0
  63. package/bin/dashboard/frontend/svelte.config.js +5 -0
  64. package/bin/dashboard/frontend/vite.config.js +20 -0
  65. package/bin/dashboard/public/assets/index-DnfVj9Ce.css +1 -0
  66. package/bin/dashboard/public/assets/index-Ze5h0kXQ.js +2 -0
  67. package/bin/dashboard/public/index.html +14 -0
  68. package/bin/dashboard/server.js +566 -0
  69. package/bin/forge-daemon.sh +463 -0
  70. package/bin/forge-setup.sh +645 -0
  71. package/bin/forge-spawn.sh +164 -0
  72. package/bin/forge.cmd +83 -0
  73. package/bin/forge.sh +533 -0
  74. package/bin/lib/agents.sh +177 -0
  75. package/bin/lib/colors.sh +44 -0
  76. package/bin/lib/config.sh +347 -0
  77. package/bin/lib/constants.sh +241 -0
  78. package/bin/lib/daemon/display.sh +128 -0
  79. package/bin/lib/daemon/notifications.sh +263 -0
  80. package/bin/lib/daemon/routing.sh +77 -0
  81. package/bin/lib/daemon/state.sh +115 -0
  82. package/bin/lib/daemon/sync.sh +95 -0
  83. package/bin/lib/database.sh +310 -0
  84. package/bin/lib/heimdall-setup.js +113 -0
  85. package/bin/lib/heimdall.js +265 -0
  86. package/bin/lib/json.sh +264 -0
  87. package/bin/lib/terminal.js +451 -0
  88. package/bin/lib/util.sh +126 -0
  89. package/bin/lib/vcs.js +349 -0
  90. package/config/agent-manifest.yaml +203 -0
  91. package/config/agents.json +168 -0
  92. package/config/task-template.md +159 -0
  93. package/config/task-types.yaml +106 -0
  94. package/context/agent-status/aegis.json +7 -0
  95. package/context/agent-status/anvil.json +7 -0
  96. package/context/agent-status/architect.json +7 -0
  97. package/context/agent-status/crucible.json +7 -0
  98. package/context/agent-status/ember.json +7 -0
  99. package/context/agent-status/furnace.json +7 -0
  100. package/context/agent-status/loki.json +7 -0
  101. package/context/agent-status/oracle.json +7 -0
  102. package/context/agent-status/pixel.json +7 -0
  103. package/context/agent-status/planning-hub.json +7 -0
  104. package/context/agent-status/scribe.json +7 -0
  105. package/context/agent-status/temper.json +7 -0
  106. package/context/feature-brainstorm.md +426 -0
  107. package/context/forge-state.yaml +19 -0
  108. package/context/modern-conventions.md +129 -0
  109. package/context/project-context-template.md +122 -0
  110. package/context/project-context.md +122 -0
  111. package/docs/TODO.md +150 -0
  112. package/docs/agents.md +409 -0
  113. package/docs/architecture/decisions/ADR-001-daemon-modularization.md +122 -0
  114. package/docs/architecture/vibe-lab-integration.md +684 -0
  115. package/docs/architecture.md +194 -0
  116. package/docs/bmad-gap-analysis-2026-03-31.md +444 -0
  117. package/docs/cleanup-workflow.md +329 -0
  118. package/docs/commands.md +451 -0
  119. package/docs/dashboard-mockup.html +989 -0
  120. package/docs/getting-started.md +261 -0
  121. package/docs/integration/forge-ownership-policy.md +112 -0
  122. package/docs/npm-publishing.md +132 -0
  123. package/docs/roadmap-2026.md +519 -0
  124. package/docs/security.md +144 -0
  125. package/docs/wireframes/dashboard-mvp.md +1164 -0
  126. package/docs/workflows/README.md +32 -0
  127. package/docs/workflows/azure-devops.md +108 -0
  128. package/docs/workflows/bitbucket.md +104 -0
  129. package/docs/workflows/git-only.md +130 -0
  130. package/docs/workflows/gitea.md +168 -0
  131. package/docs/workflows/github.md +103 -0
  132. package/docs/workflows/gitlab.md +105 -0
  133. package/docs/workflows.md +454 -0
  134. package/package.json +73 -0
  135. package/tasks/completed/ARCH-001-duplicate-agent-config.md +121 -0
  136. package/tasks/completed/ARCH-002-mixed-bash-node-implementation.md +88 -0
  137. package/tasks/completed/ARCH-003-worker-loop-hook-duplication.md +77 -0
  138. package/tasks/completed/ARCH-009-test-organization.md +78 -0
  139. package/tasks/completed/ARCH-011-jq-vs-nodejs-json.md +94 -0
  140. package/tasks/completed/ARCH-012-tmp-files-in-root.md +71 -0
  141. package/tasks/completed/ARCH-013-exit-code-constants.md +65 -0
  142. package/tasks/completed/ARCH-014-sed-incompatibility.md +96 -0
  143. package/tasks/completed/ARCH-015-docs-todo-tracking.md +83 -0
  144. package/tasks/completed/BUG-dash-001-tasks-filter-error.md +31 -0
  145. package/tasks/completed/BUG-dash-002-agents-unknown.md +41 -0
  146. package/tasks/completed/CLEAN-001.md +38 -0
  147. package/tasks/completed/CLEAN-002.md +43 -0
  148. package/tasks/completed/CLEAN-003.md +47 -0
  149. package/tasks/completed/CLEAN-004.md +56 -0
  150. package/tasks/completed/CLEAN-005.md +75 -0
  151. package/tasks/completed/CLEAN-006.md +47 -0
  152. package/tasks/completed/CLEAN-007.md +34 -0
  153. package/tasks/completed/CLEAN-008.md +49 -0
  154. package/tasks/completed/CLEAN-012.md +58 -0
  155. package/tasks/completed/CLEAN-013.md +45 -0
  156. package/tasks/completed/FEATURE-001a-dashboard-wireframes.md +162 -0
  157. package/tasks/completed/IMPL-007a-daemon-notifications-module.md +82 -0
  158. package/tasks/completed/IMPL-007b-daemon-sync-module.md +71 -0
  159. package/tasks/completed/IMPL-007c-daemon-state-module.md +80 -0
  160. package/tasks/completed/IMPL-007d-daemon-routing-module.md +77 -0
  161. package/tasks/completed/IMPL-007e-daemon-display-module.md +77 -0
  162. package/tasks/completed/IMPL-007f-daemon-integration.md +124 -0
  163. package/tasks/completed/PLAT-1-heimdall.md +420 -0
  164. package/tasks/completed/SEC-001-sql-injection-fix.md +58 -0
  165. package/tasks/completed/SEC-002-notification-injection-fix.md +45 -0
  166. package/tasks/completed/SEC-003-eval-injection-fix.md +54 -0
  167. package/tasks/completed/SEC-004-pid-race-condition-fix.md +49 -0
  168. package/tasks/completed/SEC-005-worker-loop-path-fix.md +51 -0
  169. package/tasks/completed/SEC-006-eval-agent-names.md +55 -0
  170. package/tasks/completed/SEC-007-spawn-escaping.md +67 -0
  171. package/tasks/completed/TASK-DASH-001-server-infrastructure.md +185 -0
  172. package/tasks/completed/TASK-anvil-001-dashboard-frontend.md +133 -0
  173. package/tasks/completed/review-bmad-aegis.md +89 -0
  174. package/tasks/completed/review-bmad-anvil.md +80 -0
  175. package/tasks/completed/review-bmad-crucible.md +81 -0
  176. package/tasks/completed/review-bmad-ember.md +90 -0
  177. package/tasks/completed/review-bmad-furnace.md +79 -0
  178. package/tasks/completed/review-bmad-pixel.md +82 -0
  179. package/tasks/completed/review-bmad-scribe.md +92 -0
  180. package/tasks/completed/review-bmad-sentinel.md +83 -0
  181. package/tasks/pending/ARCH-004-git-bash-detection-duplication.md +72 -0
  182. package/tasks/pending/ARCH-005-missing-src-directory.md +95 -0
  183. package/tasks/pending/ARCH-006-task-template-location.md +64 -0
  184. package/tasks/pending/ARCH-008-forge-master-vs-hub.md +81 -0
  185. package/tasks/pending/ARCH-010-missing-index-files.md +84 -0
  186. package/tasks/pending/CLEAN-009.md +31 -0
  187. package/tasks/pending/CLEAN-010.md +30 -0
  188. package/tasks/pending/CLEAN-011.md +30 -0
  189. package/tasks/pending/CLEAN-014.md +32 -0
  190. package/tasks/pending/DESIGN-dash-001-layout-review.md +45 -0
  191. package/tasks/pending/FEATURE-001-dashboard-mvp.md +268 -0
  192. package/tasks/review/ARCH-007-daemon-monolith.md +162 -0
  193. package/tasks/review/bmad-review-aegis.md +349 -0
  194. package/tasks/review/bmad-review-anvil.md +259 -0
  195. package/tasks/review/bmad-review-crucible.md +277 -0
  196. package/tasks/review/bmad-review-ember.md +307 -0
  197. package/tasks/review/bmad-review-furnace.md +285 -0
  198. package/tasks/review/bmad-review-pixel.md +329 -0
  199. package/tasks/review/bmad-review-scribe.md +361 -0
  200. package/tasks/review/bmad-review-sentinel.md +242 -0
  201. package/tasks/review/task-001.md +78 -0
@@ -0,0 +1,451 @@
1
+ # Command Reference
2
+
3
+ This document covers all Vibe Forge commands available in Claude Code.
4
+
5
+ ## CLI Commands
6
+
7
+ These commands are run from your terminal.
8
+
9
+ ### vibe-forge init
10
+
11
+ Initialize Vibe Forge in your project.
12
+
13
+ ```bash
14
+ npx vibe-forge init
15
+ ```
16
+
17
+ **What it does:**
18
+ - Clones Vibe Forge into `_vibe-forge/`
19
+ - Detects your platform (Windows, macOS, Linux)
20
+ - Finds Git Bash on Windows
21
+ - Validates Claude Code installation
22
+ - Configures terminal preferences
23
+ - Optionally starts the daemon
24
+ - Installs the `/forge` slash command
25
+ - Creates project context file
26
+
27
+ **Options:**
28
+ - `--non-interactive` - Skip prompts, use defaults
29
+
30
+ ### vibe-forge update
31
+
32
+ Update Vibe Forge to the latest version.
33
+
34
+ ```bash
35
+ npx vibe-forge update
36
+ ```
37
+
38
+ **What it does:**
39
+ - Fetches latest changes from GitHub
40
+ - Preserves your tasks and context files
41
+ - Updates scripts and agent configurations
42
+
43
+ ### vibe-forge version
44
+
45
+ Show the installed version.
46
+
47
+ ```bash
48
+ npx vibe-forge version
49
+ npx vibe-forge --version
50
+ npx vibe-forge -v
51
+ ```
52
+
53
+ ### vibe-forge help
54
+
55
+ Show help information.
56
+
57
+ ```bash
58
+ npx vibe-forge help
59
+ npx vibe-forge --help
60
+ npx vibe-forge -h
61
+ ```
62
+
63
+ ---
64
+
65
+ ## Slash Commands
66
+
67
+ These commands are used inside Claude Code sessions.
68
+
69
+ ### /forge
70
+
71
+ Start the Planning Hub (default command).
72
+
73
+ ```
74
+ /forge
75
+ ```
76
+
77
+ **What it does:**
78
+ - Activates the multi-expert planning team
79
+ - Displays the forge council welcome message
80
+ - Prepares for planning and coordination tasks
81
+
82
+ **Output:**
83
+ ```
84
+ VIBE FORGE - Planning Hub
85
+ -----------------------------------------------
86
+
87
+ The forge council assembles...
88
+
89
+ Forge Master - Orchestration & Tasks
90
+ Architect - Technical Design
91
+ Aegis - Security
92
+ Ember - DevOps & Infrastructure
93
+ Pixel - User Experience
94
+ Oracle - Product & Requirements
95
+ Crucible - Quality & Testing
96
+
97
+ Ready to plan, review, or coordinate.
98
+ Use /forge status to check current tasks.
99
+
100
+ What's on the anvil today?
101
+ -----------------------------------------------
102
+ ```
103
+
104
+ You can also explicitly start the hub with:
105
+ ```
106
+ /forge plan
107
+ ```
108
+
109
+ ### /forge status
110
+
111
+ Display the status dashboard.
112
+
113
+ ```
114
+ /forge status
115
+ ```
116
+
117
+ **What it does:**
118
+ - Reads the current forge state
119
+ - Counts tasks in each status folder
120
+ - Shows active agent statuses
121
+ - Displays attention signals
122
+
123
+ **Output:**
124
+ ```
125
+ VIBE FORGE - Status Dashboard
126
+ -----------------------------------------------
127
+ Pending: 3 tasks
128
+ In Progress: 2 tasks
129
+ In Review: 1 task
130
+ Completed: 12 tasks
131
+
132
+ Active Agents:
133
+ Anvil - working on TASK-015
134
+ Furnace - idle
135
+ Crucible - testing TASK-014
136
+ -----------------------------------------------
137
+ ```
138
+
139
+ ### /forge spawn
140
+
141
+ Spawn a worker agent in a new terminal.
142
+
143
+ ```
144
+ /forge spawn <agent>
145
+ ```
146
+
147
+ **Arguments:**
148
+ - `<agent>` - Agent name or alias (see table below)
149
+
150
+ **Examples:**
151
+ ```
152
+ /forge spawn anvil
153
+ /forge spawn frontend # Alias for anvil
154
+ /forge spawn furnace
155
+ /forge spawn backend # Alias for furnace
156
+ ```
157
+
158
+ **Available Agents:**
159
+
160
+ | Agent | Aliases | Role |
161
+ |----------|----------------------|--------------------|
162
+ | anvil | frontend, ui, fe | Frontend Developer |
163
+ | furnace | backend, api, be | Backend Developer |
164
+ | crucible | test, testing, qa | Tester / QA |
165
+ | sentinel | review, reviewer, cr | Code Reviewer |
166
+ | scribe | docs, documentation | Documentation |
167
+ | herald | release, deploy | Release Manager |
168
+ | ember | devops, ops, infra | DevOps |
169
+ | aegis | security, sec, appsec| Security |
170
+
171
+ **Behavior by terminal type:**
172
+ - **Windows Terminal** - Opens a new tab with the agent
173
+ - **Manual mode** - Prints instructions to start the agent
174
+
175
+ ### /forge task
176
+
177
+ Create a new task.
178
+
179
+ ```
180
+ /forge task [description]
181
+ ```
182
+
183
+ **Arguments:**
184
+ - `[description]` - Optional task description
185
+
186
+ **Examples:**
187
+ ```
188
+ /forge task
189
+ /forge task Add user authentication
190
+ /forge task Fix the login button styling
191
+ ```
192
+
193
+ **Interactive mode (no description):**
194
+ - Prompts for task description
195
+ - Asks which agent should handle it
196
+ - Requests priority level (high, medium, low)
197
+
198
+ **Task file location:**
199
+ `tasks/pending/task-XXX.md`
200
+
201
+ ### /forge help
202
+
203
+ Show available commands.
204
+
205
+ ```
206
+ /forge help
207
+ ```
208
+
209
+ **Output:**
210
+ ```
211
+ VIBE FORGE - Commands
212
+ -----------------------------------------------
213
+
214
+ /forge Start the Planning Hub (default)
215
+ /forge status Show status dashboard
216
+ /forge spawn <agent> Spawn worker in new terminal
217
+ /forge task [desc] Create a new task
218
+ /forge help Show this help
219
+
220
+ Agents (with aliases):
221
+ anvil (frontend, ui, fe) - Frontend Developer
222
+ furnace (backend, api, be) - Backend Developer
223
+ crucible (test, testing, qa) - Tester / QA
224
+ sentinel (review, reviewer, cr) - Code Reviewer
225
+ scribe (docs, documentation) - Documentation
226
+ herald (release, deploy) - Release Manager
227
+ ember (devops, ops, infra) - DevOps
228
+ aegis (security, sec, appsec) - Security
229
+
230
+ -----------------------------------------------
231
+ ```
232
+
233
+ ---
234
+
235
+ ## Worker Commands
236
+
237
+ These commands are used by spawned worker agents.
238
+
239
+ ### /worker-loop
240
+
241
+ Start a persistent worker loop.
242
+
243
+ ```
244
+ /worker-loop <agent>
245
+ /worker-loop <agent> --max-idle 20
246
+ /worker-loop stop
247
+ ```
248
+
249
+ **Arguments:**
250
+ - `<agent>` - Agent name to run as
251
+ - `--max-idle N` - Exit after N checks with no tasks (default: 10)
252
+ - `stop` - Stop the current worker loop
253
+
254
+ **What it does:**
255
+ - Puts the worker in persistent mode
256
+ - Worker checks for tasks, completes them, loops back
257
+ - Only exits after max idle checks with no work found
258
+
259
+ **Example:**
260
+ ```
261
+ /worker-loop anvil # Start Anvil in persistent loop
262
+ /worker-loop furnace --max-idle 20 # Custom idle limit
263
+ /worker-loop stop # Stop the current loop
264
+ ```
265
+
266
+ ### /update-status
267
+
268
+ Report current status to the dashboard.
269
+
270
+ ```
271
+ /update-status <status> [task-id]
272
+ ```
273
+
274
+ **Status values:**
275
+
276
+ | Status | Meaning |
277
+ |-----------|--------------------------------------|
278
+ | idle | No current task, ready for work |
279
+ | working | Actively working on a task |
280
+ | blocked | Stuck, needs input |
281
+ | reviewing | Reviewing code or PR |
282
+ | testing | Running tests |
283
+ | waiting | Waiting for external dependency |
284
+
285
+ **Examples:**
286
+ ```
287
+ /update-status working TASK-001
288
+ /update-status idle
289
+ /update-status blocked
290
+ /update-status reviewing PR-123
291
+ /update-status testing TASK-001
292
+ ```
293
+
294
+ ### /need-help
295
+
296
+ Signal that human attention is needed.
297
+
298
+ ```
299
+ /need-help <reason>
300
+ ```
301
+
302
+ **What it does:**
303
+ - Creates an attention file in `tasks/attention/`
304
+ - Rings the terminal bell
305
+ - Shows in the Planning Hub status
306
+ - Triggers toast notification (if daemon running)
307
+
308
+ **Examples:**
309
+ ```
310
+ /need-help Need clarification on auth implementation approach
311
+ /need-help Blocked on API design decision - REST vs GraphQL?
312
+ /need-help Tests failing, need guidance on expected behavior
313
+ ```
314
+
315
+ ### /clear-attention
316
+
317
+ Clear an attention signal after the issue is resolved.
318
+
319
+ ```
320
+ /clear-attention <agent>
321
+ ```
322
+
323
+ **What it does:**
324
+ - Removes the attention file for the specified agent
325
+ - Updates the dashboard to reflect resolution
326
+
327
+ ---
328
+
329
+ ## Dashboard Commands
330
+
331
+ The Vibe Forge Dashboard provides a web-based UI for monitoring and managing your forge.
332
+
333
+ ### Dashboard Port: 2800
334
+
335
+ The dashboard runs on port **2800** by default - the operating temperature of a forge in degrees Fahrenheit. 🔥
336
+
337
+ This port was chosen because:
338
+ - It's thematic (forges operate at around 2800°F)
339
+ - It doesn't collide with common development ports (3000, 8080, 5000)
340
+ - It doesn't collide with database ports (3306, 5432, 27017)
341
+ - It doesn't collide with other tooling ports (5555, 9000, etc.)
342
+
343
+ ### Starting the Dashboard
344
+
345
+ ```bash
346
+ # Start the dashboard server
347
+ node bin/dashboard/server.js
348
+
349
+ # Custom port
350
+ node bin/dashboard/server.js --port 3000
351
+ DASHBOARD_PORT=3000 node bin/dashboard/server.js
352
+
353
+ # Custom host (for network access)
354
+ node bin/dashboard/server.js --host 0.0.0.0
355
+ ```
356
+
357
+ ### Dashboard URL
358
+
359
+ Once running, access the dashboard at:
360
+ - **URL:** `http://localhost:2800`
361
+ - **API:** `http://localhost:2800/api/`
362
+ - **WebSocket:** `ws://localhost:2800/ws`
363
+
364
+ ### Dashboard API Endpoints
365
+
366
+ | Endpoint | Method | Description |
367
+ |----------|--------|-------------|
368
+ | `/api/health` | GET | Server health check |
369
+ | `/api/tasks` | GET | List all tasks by status |
370
+ | `/api/tasks/:id` | GET | Get single task details |
371
+ | `/api/tasks` | POST | Create new task |
372
+ | `/api/agents` | GET | List agents with status |
373
+ | `/api/dispatch` | POST | Dispatch agent for an issue |
374
+
375
+ ### Configuration
376
+
377
+ Add to `.forge/config.json` (coming soon):
378
+
379
+ ```json
380
+ {
381
+ "dashboard": {
382
+ "enabled": true,
383
+ "port": 2800,
384
+ "auto_open": true,
385
+ "host": "localhost"
386
+ }
387
+ }
388
+ ```
389
+
390
+ ---
391
+
392
+ ## Daemon Commands
393
+
394
+ Control the background daemon process.
395
+
396
+ ### forge daemon start
397
+
398
+ Start the daemon.
399
+
400
+ ```bash
401
+ ./bin/forge-daemon.sh start
402
+ ```
403
+
404
+ ### forge daemon stop
405
+
406
+ Stop the daemon.
407
+
408
+ ```bash
409
+ ./bin/forge-daemon.sh stop
410
+ ```
411
+
412
+ ### forge daemon status
413
+
414
+ Check daemon status.
415
+
416
+ ```bash
417
+ ./bin/forge-daemon.sh status
418
+ ```
419
+
420
+ ---
421
+
422
+ ## Configuration Commands
423
+
424
+ Manage Vibe Forge settings.
425
+
426
+ ### forge config worker-loop
427
+
428
+ Toggle persistent worker mode.
429
+
430
+ ```bash
431
+ forge config worker-loop on # Enable for all workers
432
+ forge config worker-loop off # Disable
433
+ forge config worker-loop # Check current status
434
+ ```
435
+
436
+ ---
437
+
438
+ ## Shell Scripts
439
+
440
+ Low-level scripts in `_vibe-forge/bin/`.
441
+
442
+ | Script | Purpose |
443
+ |-------------------|-----------------------------------|
444
+ | cli.js | Main entry point for npx commands |
445
+ | forge.sh | Core forge command router |
446
+ | forge-setup.sh | Setup wizard |
447
+ | forge-spawn.sh | Spawn agents in terminals |
448
+ | forge-daemon.sh | Background daemon |
449
+ | forge.cmd | Windows batch wrapper |
450
+
451
+ These are typically not called directly - use the commands above instead.