@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.
- package/.claude/commands/clear-attention.md +63 -0
- package/.claude/commands/compact-context.md +52 -0
- package/.claude/commands/configure-vcs.md +102 -0
- package/.claude/commands/forge.md +171 -0
- package/.claude/commands/need-help.md +77 -0
- package/.claude/commands/update-status.md +64 -0
- package/.claude/commands/worker-loop.md +106 -0
- package/.claude/hooks/worker-loop.js +198 -0
- package/.claude/scripts/setup-worker-loop.sh +45 -0
- package/.claude/settings.local.json +46 -0
- package/LICENSE +21 -0
- package/README.md +238 -0
- package/agents/aegis/personality.md +294 -0
- package/agents/anvil/personality.md +276 -0
- package/agents/architect/personality.md +258 -0
- package/agents/crucible/personality.md +360 -0
- package/agents/ember/personality.md +291 -0
- package/agents/forge-master/capabilities.md +144 -0
- package/agents/forge-master/context-template.md +128 -0
- package/agents/forge-master/personality.md +138 -0
- package/agents/furnace/personality.md +340 -0
- package/agents/herald/personality.md +247 -0
- package/agents/loki/personality.md +108 -0
- package/agents/oracle/personality.md +283 -0
- package/agents/pixel/personality.md +113 -0
- package/agents/planning-hub/personality.md +320 -0
- package/agents/scribe/personality.md +251 -0
- package/agents/temper/personality.md +218 -0
- package/bin/cli.js +375 -0
- package/bin/dashboard/api/agents.js +333 -0
- package/bin/dashboard/api/dispatch.js +483 -0
- package/bin/dashboard/api/tasks.js +416 -0
- package/bin/dashboard/frontend/index.html +13 -0
- package/bin/dashboard/frontend/package.json +16 -0
- package/bin/dashboard/frontend/src/App.svelte +222 -0
- package/bin/dashboard/frontend/src/app.css +1777 -0
- package/bin/dashboard/frontend/src/lib/components/AgentCard.svelte +60 -0
- package/bin/dashboard/frontend/src/lib/components/AgentsPanel.svelte +57 -0
- package/bin/dashboard/frontend/src/lib/components/DispatchModal.svelte +180 -0
- package/bin/dashboard/frontend/src/lib/components/Footer.svelte +33 -0
- package/bin/dashboard/frontend/src/lib/components/Header.svelte +84 -0
- package/bin/dashboard/frontend/src/lib/components/IssueCard.svelte +33 -0
- package/bin/dashboard/frontend/src/lib/components/IssuesPanel.svelte +73 -0
- package/bin/dashboard/frontend/src/lib/components/KeyboardShortcutsModal.svelte +108 -0
- package/bin/dashboard/frontend/src/lib/components/MobileTabs.svelte +52 -0
- package/bin/dashboard/frontend/src/lib/components/NotificationCard.svelte +60 -0
- package/bin/dashboard/frontend/src/lib/components/NotificationsPanel.svelte +44 -0
- package/bin/dashboard/frontend/src/lib/components/TaskCard.svelte +63 -0
- package/bin/dashboard/frontend/src/lib/components/TasksPanel.svelte +82 -0
- package/bin/dashboard/frontend/src/lib/components/Toast.svelte +45 -0
- package/bin/dashboard/frontend/src/lib/stores/agents.js +34 -0
- package/bin/dashboard/frontend/src/lib/stores/issues.js +54 -0
- package/bin/dashboard/frontend/src/lib/stores/notifications.js +48 -0
- package/bin/dashboard/frontend/src/lib/stores/tasks.js +63 -0
- package/bin/dashboard/frontend/src/lib/stores/theme.js +33 -0
- package/bin/dashboard/frontend/src/lib/stores/toast.js +35 -0
- package/bin/dashboard/frontend/src/lib/stores/ui.js +25 -0
- package/bin/dashboard/frontend/src/lib/stores/voice.js +275 -0
- package/bin/dashboard/frontend/src/lib/stores/websocket.js +295 -0
- package/bin/dashboard/frontend/src/lib/utils/api.js +101 -0
- package/bin/dashboard/frontend/src/lib/utils/formatters.js +54 -0
- package/bin/dashboard/frontend/src/main.js +9 -0
- package/bin/dashboard/frontend/svelte.config.js +5 -0
- package/bin/dashboard/frontend/vite.config.js +20 -0
- package/bin/dashboard/public/assets/index-DnfVj9Ce.css +1 -0
- package/bin/dashboard/public/assets/index-Ze5h0kXQ.js +2 -0
- package/bin/dashboard/public/index.html +14 -0
- package/bin/dashboard/server.js +566 -0
- package/bin/forge-daemon.sh +463 -0
- package/bin/forge-setup.sh +645 -0
- package/bin/forge-spawn.sh +164 -0
- package/bin/forge.cmd +83 -0
- package/bin/forge.sh +533 -0
- package/bin/lib/agents.sh +177 -0
- package/bin/lib/colors.sh +44 -0
- package/bin/lib/config.sh +347 -0
- package/bin/lib/constants.sh +241 -0
- package/bin/lib/daemon/display.sh +128 -0
- package/bin/lib/daemon/notifications.sh +263 -0
- package/bin/lib/daemon/routing.sh +77 -0
- package/bin/lib/daemon/state.sh +115 -0
- package/bin/lib/daemon/sync.sh +95 -0
- package/bin/lib/database.sh +310 -0
- package/bin/lib/heimdall-setup.js +113 -0
- package/bin/lib/heimdall.js +265 -0
- package/bin/lib/json.sh +264 -0
- package/bin/lib/terminal.js +451 -0
- package/bin/lib/util.sh +126 -0
- package/bin/lib/vcs.js +349 -0
- package/config/agent-manifest.yaml +203 -0
- package/config/agents.json +168 -0
- package/config/task-template.md +159 -0
- package/config/task-types.yaml +106 -0
- package/context/agent-status/aegis.json +7 -0
- package/context/agent-status/anvil.json +7 -0
- package/context/agent-status/architect.json +7 -0
- package/context/agent-status/crucible.json +7 -0
- package/context/agent-status/ember.json +7 -0
- package/context/agent-status/furnace.json +7 -0
- package/context/agent-status/loki.json +7 -0
- package/context/agent-status/oracle.json +7 -0
- package/context/agent-status/pixel.json +7 -0
- package/context/agent-status/planning-hub.json +7 -0
- package/context/agent-status/scribe.json +7 -0
- package/context/agent-status/temper.json +7 -0
- package/context/feature-brainstorm.md +426 -0
- package/context/forge-state.yaml +19 -0
- package/context/modern-conventions.md +129 -0
- package/context/project-context-template.md +122 -0
- package/context/project-context.md +122 -0
- package/docs/TODO.md +150 -0
- package/docs/agents.md +409 -0
- package/docs/architecture/decisions/ADR-001-daemon-modularization.md +122 -0
- package/docs/architecture/vibe-lab-integration.md +684 -0
- package/docs/architecture.md +194 -0
- package/docs/bmad-gap-analysis-2026-03-31.md +444 -0
- package/docs/cleanup-workflow.md +329 -0
- package/docs/commands.md +451 -0
- package/docs/dashboard-mockup.html +989 -0
- package/docs/getting-started.md +261 -0
- package/docs/integration/forge-ownership-policy.md +112 -0
- package/docs/npm-publishing.md +132 -0
- package/docs/roadmap-2026.md +519 -0
- package/docs/security.md +144 -0
- package/docs/wireframes/dashboard-mvp.md +1164 -0
- package/docs/workflows/README.md +32 -0
- package/docs/workflows/azure-devops.md +108 -0
- package/docs/workflows/bitbucket.md +104 -0
- package/docs/workflows/git-only.md +130 -0
- package/docs/workflows/gitea.md +168 -0
- package/docs/workflows/github.md +103 -0
- package/docs/workflows/gitlab.md +105 -0
- package/docs/workflows.md +454 -0
- package/package.json +73 -0
- package/tasks/completed/ARCH-001-duplicate-agent-config.md +121 -0
- package/tasks/completed/ARCH-002-mixed-bash-node-implementation.md +88 -0
- package/tasks/completed/ARCH-003-worker-loop-hook-duplication.md +77 -0
- package/tasks/completed/ARCH-009-test-organization.md +78 -0
- package/tasks/completed/ARCH-011-jq-vs-nodejs-json.md +94 -0
- package/tasks/completed/ARCH-012-tmp-files-in-root.md +71 -0
- package/tasks/completed/ARCH-013-exit-code-constants.md +65 -0
- package/tasks/completed/ARCH-014-sed-incompatibility.md +96 -0
- package/tasks/completed/ARCH-015-docs-todo-tracking.md +83 -0
- package/tasks/completed/BUG-dash-001-tasks-filter-error.md +31 -0
- package/tasks/completed/BUG-dash-002-agents-unknown.md +41 -0
- package/tasks/completed/CLEAN-001.md +38 -0
- package/tasks/completed/CLEAN-002.md +43 -0
- package/tasks/completed/CLEAN-003.md +47 -0
- package/tasks/completed/CLEAN-004.md +56 -0
- package/tasks/completed/CLEAN-005.md +75 -0
- package/tasks/completed/CLEAN-006.md +47 -0
- package/tasks/completed/CLEAN-007.md +34 -0
- package/tasks/completed/CLEAN-008.md +49 -0
- package/tasks/completed/CLEAN-012.md +58 -0
- package/tasks/completed/CLEAN-013.md +45 -0
- package/tasks/completed/FEATURE-001a-dashboard-wireframes.md +162 -0
- package/tasks/completed/IMPL-007a-daemon-notifications-module.md +82 -0
- package/tasks/completed/IMPL-007b-daemon-sync-module.md +71 -0
- package/tasks/completed/IMPL-007c-daemon-state-module.md +80 -0
- package/tasks/completed/IMPL-007d-daemon-routing-module.md +77 -0
- package/tasks/completed/IMPL-007e-daemon-display-module.md +77 -0
- package/tasks/completed/IMPL-007f-daemon-integration.md +124 -0
- package/tasks/completed/PLAT-1-heimdall.md +420 -0
- package/tasks/completed/SEC-001-sql-injection-fix.md +58 -0
- package/tasks/completed/SEC-002-notification-injection-fix.md +45 -0
- package/tasks/completed/SEC-003-eval-injection-fix.md +54 -0
- package/tasks/completed/SEC-004-pid-race-condition-fix.md +49 -0
- package/tasks/completed/SEC-005-worker-loop-path-fix.md +51 -0
- package/tasks/completed/SEC-006-eval-agent-names.md +55 -0
- package/tasks/completed/SEC-007-spawn-escaping.md +67 -0
- package/tasks/completed/TASK-DASH-001-server-infrastructure.md +185 -0
- package/tasks/completed/TASK-anvil-001-dashboard-frontend.md +133 -0
- package/tasks/completed/review-bmad-aegis.md +89 -0
- package/tasks/completed/review-bmad-anvil.md +80 -0
- package/tasks/completed/review-bmad-crucible.md +81 -0
- package/tasks/completed/review-bmad-ember.md +90 -0
- package/tasks/completed/review-bmad-furnace.md +79 -0
- package/tasks/completed/review-bmad-pixel.md +82 -0
- package/tasks/completed/review-bmad-scribe.md +92 -0
- package/tasks/completed/review-bmad-sentinel.md +83 -0
- package/tasks/pending/ARCH-004-git-bash-detection-duplication.md +72 -0
- package/tasks/pending/ARCH-005-missing-src-directory.md +95 -0
- package/tasks/pending/ARCH-006-task-template-location.md +64 -0
- package/tasks/pending/ARCH-008-forge-master-vs-hub.md +81 -0
- package/tasks/pending/ARCH-010-missing-index-files.md +84 -0
- package/tasks/pending/CLEAN-009.md +31 -0
- package/tasks/pending/CLEAN-010.md +30 -0
- package/tasks/pending/CLEAN-011.md +30 -0
- package/tasks/pending/CLEAN-014.md +32 -0
- package/tasks/pending/DESIGN-dash-001-layout-review.md +45 -0
- package/tasks/pending/FEATURE-001-dashboard-mvp.md +268 -0
- package/tasks/review/ARCH-007-daemon-monolith.md +162 -0
- package/tasks/review/bmad-review-aegis.md +349 -0
- package/tasks/review/bmad-review-anvil.md +259 -0
- package/tasks/review/bmad-review-crucible.md +277 -0
- package/tasks/review/bmad-review-ember.md +307 -0
- package/tasks/review/bmad-review-furnace.md +285 -0
- package/tasks/review/bmad-review-pixel.md +329 -0
- package/tasks/review/bmad-review-scribe.md +361 -0
- package/tasks/review/bmad-review-sentinel.md +242 -0
- package/tasks/review/task-001.md +78 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# GitLab Workflow Guide
|
|
2
|
+
|
|
3
|
+
Git workflow guidance for projects hosted on GitLab.
|
|
4
|
+
|
|
5
|
+
## Branch Naming
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
task/TASK-XXX-description # Task branches
|
|
9
|
+
feature/feature-name # Feature branches
|
|
10
|
+
bugfix/bug-description # Bug fix branches
|
|
11
|
+
hotfix/urgent-fix # Urgent production fixes
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Daily Workflow
|
|
15
|
+
|
|
16
|
+
### Starting a Task
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
# Ensure you're on latest main
|
|
20
|
+
git checkout main && git pull origin main
|
|
21
|
+
|
|
22
|
+
# Create feature branch
|
|
23
|
+
git checkout -b task/TASK-XXX-description
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### During Development
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
# Stage and commit changes
|
|
30
|
+
git add .
|
|
31
|
+
git commit -m "Add feature X"
|
|
32
|
+
|
|
33
|
+
# Push to remote (first time)
|
|
34
|
+
git push -u origin task/TASK-XXX-description
|
|
35
|
+
|
|
36
|
+
# Subsequent pushes
|
|
37
|
+
git push
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Creating a Merge Request
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
# Push with merge request creation
|
|
44
|
+
git push -o merge_request.create -o merge_request.title="TASK-XXX: Add feature X"
|
|
45
|
+
|
|
46
|
+
# Or create via GitLab CLI (glab)
|
|
47
|
+
glab mr create --title "TASK-XXX: Add feature X" --description "Description of changes"
|
|
48
|
+
|
|
49
|
+
# Draft merge request
|
|
50
|
+
glab mr create --draft --title "TASK-XXX: WIP - Add feature X"
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### After MR Approval
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
# Merge via GitLab UI (squash merge recommended)
|
|
57
|
+
# Or via CLI
|
|
58
|
+
glab mr merge --squash
|
|
59
|
+
|
|
60
|
+
# Clean up local branch
|
|
61
|
+
git checkout main
|
|
62
|
+
git pull origin main
|
|
63
|
+
git branch -d task/TASK-XXX-description
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## CI/CD
|
|
67
|
+
|
|
68
|
+
GitLab CI configuration goes in `.gitlab-ci.yml`:
|
|
69
|
+
|
|
70
|
+
```yaml
|
|
71
|
+
# .gitlab-ci.yml
|
|
72
|
+
stages:
|
|
73
|
+
- test
|
|
74
|
+
- build
|
|
75
|
+
|
|
76
|
+
test:
|
|
77
|
+
stage: test
|
|
78
|
+
script:
|
|
79
|
+
- npm ci
|
|
80
|
+
- npm test
|
|
81
|
+
|
|
82
|
+
build:
|
|
83
|
+
stage: build
|
|
84
|
+
script:
|
|
85
|
+
- npm run build
|
|
86
|
+
only:
|
|
87
|
+
- main
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## Useful Commands
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
# Using GitLab CLI (glab)
|
|
94
|
+
glab mr list # List open MRs
|
|
95
|
+
glab mr view # View current MR
|
|
96
|
+
glab mr checkout 123 # Checkout MR locally
|
|
97
|
+
glab ci status # Check pipeline status
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Branch Protection
|
|
101
|
+
|
|
102
|
+
Configure in Settings > Repository > Protected Branches:
|
|
103
|
+
- Require merge request approval
|
|
104
|
+
- Require pipeline to succeed
|
|
105
|
+
- Prevent force push
|
|
@@ -0,0 +1,454 @@
|
|
|
1
|
+
# Common Workflows
|
|
2
|
+
|
|
3
|
+
This guide covers typical development workflows with Vibe Forge.
|
|
4
|
+
|
|
5
|
+
## Single Developer Workflow
|
|
6
|
+
|
|
7
|
+
The simplest way to use Vibe Forge - one developer coordinating AI agents.
|
|
8
|
+
|
|
9
|
+
### Morning Startup
|
|
10
|
+
|
|
11
|
+
1. **Open your project** in your terminal
|
|
12
|
+
|
|
13
|
+
2. **Start Claude Code** and open the Planning Hub:
|
|
14
|
+
```
|
|
15
|
+
/forge
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
3. **Check status** to see where you left off:
|
|
19
|
+
```
|
|
20
|
+
/forge status
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
4. **Review pending tasks** and plan your day
|
|
24
|
+
|
|
25
|
+
### Feature Development
|
|
26
|
+
|
|
27
|
+
1. **Discuss the feature** with the Planning Hub:
|
|
28
|
+
```
|
|
29
|
+
I want to add user authentication with email/password login
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
2. **Let the Hub break it down** into tasks for different agents
|
|
33
|
+
|
|
34
|
+
3. **Spawn the needed workers**:
|
|
35
|
+
```
|
|
36
|
+
/forge spawn furnace # Backend for auth API
|
|
37
|
+
/forge spawn anvil # Frontend for login form
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
4. **Create tasks** (or let the Hub create them):
|
|
41
|
+
```
|
|
42
|
+
/forge task Create authentication API endpoints
|
|
43
|
+
/forge task Build login form component
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
5. **Monitor progress**:
|
|
47
|
+
```
|
|
48
|
+
/forge status
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
6. **Review completed work** with Sentinel:
|
|
52
|
+
```
|
|
53
|
+
/forge spawn sentinel
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### End of Day
|
|
57
|
+
|
|
58
|
+
1. Check `/forge status` for any blocked tasks
|
|
59
|
+
2. Note any attention signals (`/need-help` requests)
|
|
60
|
+
3. Review what was completed
|
|
61
|
+
4. Plan tomorrow's priorities
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Multi-Agent Task Workflow
|
|
66
|
+
|
|
67
|
+
Coordinating multiple agents working in parallel.
|
|
68
|
+
|
|
69
|
+
### Setup
|
|
70
|
+
|
|
71
|
+
1. **Start the Planning Hub**:
|
|
72
|
+
```
|
|
73
|
+
/forge
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
2. **Spawn your team** (each in its own terminal):
|
|
77
|
+
```
|
|
78
|
+
/forge spawn anvil
|
|
79
|
+
/forge spawn furnace
|
|
80
|
+
/forge spawn crucible
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
3. **Enable worker loops** for continuous work:
|
|
84
|
+
In each worker terminal:
|
|
85
|
+
```
|
|
86
|
+
/worker-loop anvil
|
|
87
|
+
/worker-loop furnace
|
|
88
|
+
/worker-loop crucible
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Task Distribution
|
|
92
|
+
|
|
93
|
+
1. **Create tasks** from the Planning Hub:
|
|
94
|
+
```
|
|
95
|
+
/forge task [frontend] Create product listing component
|
|
96
|
+
/forge task [backend] Build product API with pagination
|
|
97
|
+
/forge task [test] Write tests for product endpoints
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
2. **Tasks are picked up automatically** by workers in loop mode
|
|
101
|
+
|
|
102
|
+
3. **Monitor from the Hub**:
|
|
103
|
+
```
|
|
104
|
+
/forge status
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Handling Dependencies
|
|
108
|
+
|
|
109
|
+
When tasks depend on each other:
|
|
110
|
+
|
|
111
|
+
1. **Furnace completes the API** - task moves to `completed/`
|
|
112
|
+
|
|
113
|
+
2. **Anvil picks up frontend task** - can now integrate with API
|
|
114
|
+
|
|
115
|
+
3. **Crucible writes tests** - validates both frontend and backend
|
|
116
|
+
|
|
117
|
+
### Resolving Blocks
|
|
118
|
+
|
|
119
|
+
When a worker signals for help:
|
|
120
|
+
|
|
121
|
+
```
|
|
122
|
+
# In worker terminal
|
|
123
|
+
/need-help API spec unclear - should pagination be cursor or offset?
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
1. **Hub sees the attention signal** in status
|
|
127
|
+
|
|
128
|
+
2. **You respond** in the Planning Hub or directly to the worker
|
|
129
|
+
|
|
130
|
+
3. **Worker continues** after getting guidance
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## Code Review Workflow
|
|
135
|
+
|
|
136
|
+
Systematic code review with Sentinel.
|
|
137
|
+
|
|
138
|
+
### Automatic Review
|
|
139
|
+
|
|
140
|
+
1. **Worker completes a task** and moves it to `review/`
|
|
141
|
+
|
|
142
|
+
2. **Sentinel picks up the review**:
|
|
143
|
+
```
|
|
144
|
+
/forge spawn sentinel
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
3. **Sentinel examines the changes**:
|
|
148
|
+
- Code correctness
|
|
149
|
+
- Security concerns
|
|
150
|
+
- Performance implications
|
|
151
|
+
- Test coverage
|
|
152
|
+
|
|
153
|
+
4. **Sentinel provides feedback**:
|
|
154
|
+
- Approves: Task moves to `approved/`
|
|
155
|
+
- Requests changes: Task moves to `needs-changes/`
|
|
156
|
+
|
|
157
|
+
### Manual Review Request
|
|
158
|
+
|
|
159
|
+
Request a review of specific code:
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
# In Planning Hub
|
|
163
|
+
Ask Sentinel to review the authentication implementation in src/auth/
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
Or spawn Sentinel directly:
|
|
167
|
+
|
|
168
|
+
```
|
|
169
|
+
/forge spawn sentinel
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
Then in Sentinel's terminal:
|
|
173
|
+
```
|
|
174
|
+
Review the recent changes to the user service
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
### Handling Review Feedback
|
|
178
|
+
|
|
179
|
+
When Sentinel requests changes:
|
|
180
|
+
|
|
181
|
+
1. **Task moves to `needs-changes/`**
|
|
182
|
+
|
|
183
|
+
2. **Original worker sees the task** and picks it up
|
|
184
|
+
|
|
185
|
+
3. **Worker addresses feedback**
|
|
186
|
+
|
|
187
|
+
4. **Task goes back to `review/`**
|
|
188
|
+
|
|
189
|
+
5. **Sentinel re-reviews**
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
## Planning and Breaking Down Tasks
|
|
194
|
+
|
|
195
|
+
Using the Planning Hub to decompose large features.
|
|
196
|
+
|
|
197
|
+
### Feature Decomposition
|
|
198
|
+
|
|
199
|
+
1. **Describe the feature**:
|
|
200
|
+
```
|
|
201
|
+
/forge
|
|
202
|
+
|
|
203
|
+
I need to build a shopping cart with:
|
|
204
|
+
- Add/remove items
|
|
205
|
+
- Quantity adjustment
|
|
206
|
+
- Price calculation
|
|
207
|
+
- Checkout flow
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
2. **Hub engages advisors**:
|
|
211
|
+
- **Sage** considers architecture
|
|
212
|
+
- **Oracle** clarifies requirements
|
|
213
|
+
- **Quartermaster** suggests priorities
|
|
214
|
+
|
|
215
|
+
3. **Hub proposes task breakdown**:
|
|
216
|
+
```
|
|
217
|
+
Suggested tasks:
|
|
218
|
+
|
|
219
|
+
[backend] Cart data model and API
|
|
220
|
+
[backend] Price calculation service
|
|
221
|
+
[frontend] Cart component with item list
|
|
222
|
+
[frontend] Checkout form and flow
|
|
223
|
+
[test] Cart API integration tests
|
|
224
|
+
[test] Checkout e2e tests
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
4. **Refine and approve**:
|
|
228
|
+
```
|
|
229
|
+
Looks good, but add a task for cart persistence across sessions
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
5. **Create the tasks**:
|
|
233
|
+
```
|
|
234
|
+
Create these tasks and assign priorities
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### Estimating Complexity
|
|
238
|
+
|
|
239
|
+
Ask the Hub for estimates:
|
|
240
|
+
|
|
241
|
+
```
|
|
242
|
+
How complex is the checkout flow? What are the main risks?
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
The Hub will engage relevant advisors:
|
|
246
|
+
- Sage on technical complexity
|
|
247
|
+
- Oracle on requirement gaps
|
|
248
|
+
- Quartermaster on timeline
|
|
249
|
+
|
|
250
|
+
### Handling Ambiguity
|
|
251
|
+
|
|
252
|
+
When requirements are unclear:
|
|
253
|
+
|
|
254
|
+
1. **Hub identifies gaps**:
|
|
255
|
+
```
|
|
256
|
+
Before we proceed, I need clarity on:
|
|
257
|
+
- Should guest checkout be supported?
|
|
258
|
+
- What payment providers to integrate?
|
|
259
|
+
- Are there shipping calculation requirements?
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
2. **You provide answers** or mark as assumptions
|
|
263
|
+
|
|
264
|
+
3. **Hub documents decisions** in task files
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
## Release Workflow
|
|
269
|
+
|
|
270
|
+
Preparing and executing releases with Herald.
|
|
271
|
+
|
|
272
|
+
### Pre-Release Checklist
|
|
273
|
+
|
|
274
|
+
1. **Check status**:
|
|
275
|
+
```
|
|
276
|
+
/forge status
|
|
277
|
+
```
|
|
278
|
+
Ensure no tasks are in-progress or blocked.
|
|
279
|
+
|
|
280
|
+
2. **Spawn Herald**:
|
|
281
|
+
```
|
|
282
|
+
/forge spawn herald
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
3. **Prepare release**:
|
|
286
|
+
```
|
|
287
|
+
Prepare release v1.2.0 with all completed work since v1.1.0
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
4. **Herald generates**:
|
|
291
|
+
- Changelog entries
|
|
292
|
+
- Release notes
|
|
293
|
+
- Version bump
|
|
294
|
+
|
|
295
|
+
### Release Execution
|
|
296
|
+
|
|
297
|
+
1. **Review Herald's output**
|
|
298
|
+
|
|
299
|
+
2. **Approve the release**:
|
|
300
|
+
```
|
|
301
|
+
Proceed with the release
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
3. **Herald executes**:
|
|
305
|
+
- Commits version changes
|
|
306
|
+
- Creates git tag
|
|
307
|
+
- Prepares deployment notes
|
|
308
|
+
|
|
309
|
+
### Hotfix Release
|
|
310
|
+
|
|
311
|
+
For urgent fixes:
|
|
312
|
+
|
|
313
|
+
1. **Create hotfix task**:
|
|
314
|
+
```
|
|
315
|
+
/forge task [urgent] Fix payment processing bug
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
2. **Spawn appropriate worker**:
|
|
319
|
+
```
|
|
320
|
+
/forge spawn furnace
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
3. **After fix, spawn Herald**:
|
|
324
|
+
```
|
|
325
|
+
/forge spawn herald
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
4. **Prepare patch release**:
|
|
329
|
+
```
|
|
330
|
+
Prepare hotfix release v1.1.1 for the payment bug fix
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
---
|
|
334
|
+
|
|
335
|
+
## DevOps Workflow
|
|
336
|
+
|
|
337
|
+
Infrastructure and deployment with Ember.
|
|
338
|
+
|
|
339
|
+
### CI/CD Setup
|
|
340
|
+
|
|
341
|
+
1. **Spawn Ember**:
|
|
342
|
+
```
|
|
343
|
+
/forge spawn ember
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
2. **Describe your needs**:
|
|
347
|
+
```
|
|
348
|
+
Set up CI/CD pipeline with:
|
|
349
|
+
- Run tests on PR
|
|
350
|
+
- Build and deploy on merge to main
|
|
351
|
+
- Deploy to staging automatically
|
|
352
|
+
- Manual promotion to production
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
3. **Ember creates**:
|
|
356
|
+
- GitHub Actions workflows
|
|
357
|
+
- Dockerfile if needed
|
|
358
|
+
- Deployment scripts
|
|
359
|
+
|
|
360
|
+
### Infrastructure Changes
|
|
361
|
+
|
|
362
|
+
1. **Create infrastructure task**:
|
|
363
|
+
```
|
|
364
|
+
/forge task [devops] Add Redis caching layer
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
2. **Ember handles**:
|
|
368
|
+
- Docker compose updates
|
|
369
|
+
- Environment configuration
|
|
370
|
+
- Monitoring setup
|
|
371
|
+
|
|
372
|
+
---
|
|
373
|
+
|
|
374
|
+
## Security Review Workflow
|
|
375
|
+
|
|
376
|
+
Security auditing with Aegis.
|
|
377
|
+
|
|
378
|
+
### Scheduled Security Review
|
|
379
|
+
|
|
380
|
+
1. **Spawn Aegis**:
|
|
381
|
+
```
|
|
382
|
+
/forge spawn aegis
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
2. **Request audit**:
|
|
386
|
+
```
|
|
387
|
+
Perform security review of the authentication system
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
3. **Aegis examines**:
|
|
391
|
+
- Authentication flows
|
|
392
|
+
- Input validation
|
|
393
|
+
- Dependency vulnerabilities
|
|
394
|
+
- Security headers
|
|
395
|
+
|
|
396
|
+
4. **Aegis reports findings** with severity levels
|
|
397
|
+
|
|
398
|
+
### Pre-Release Security Check
|
|
399
|
+
|
|
400
|
+
Before major releases:
|
|
401
|
+
|
|
402
|
+
1. **Create security task**:
|
|
403
|
+
```
|
|
404
|
+
/forge task [security] Pre-release security audit for v2.0
|
|
405
|
+
```
|
|
406
|
+
|
|
407
|
+
2. **Aegis reviews**:
|
|
408
|
+
- All changes since last audit
|
|
409
|
+
- New dependencies
|
|
410
|
+
- Configuration changes
|
|
411
|
+
|
|
412
|
+
3. **Address findings** before release
|
|
413
|
+
|
|
414
|
+
---
|
|
415
|
+
|
|
416
|
+
## Tips for Effective Workflows
|
|
417
|
+
|
|
418
|
+
### Keep Context Updated
|
|
419
|
+
|
|
420
|
+
Edit `context/project-context.md` as your project evolves:
|
|
421
|
+
- Architecture decisions
|
|
422
|
+
- Coding conventions
|
|
423
|
+
- Team agreements
|
|
424
|
+
|
|
425
|
+
### Use Worker Loop for Long Sessions
|
|
426
|
+
|
|
427
|
+
Enable persistent mode for extended work:
|
|
428
|
+
```
|
|
429
|
+
/worker-loop anvil --max-idle 20
|
|
430
|
+
```
|
|
431
|
+
|
|
432
|
+
### Monitor Regularly
|
|
433
|
+
|
|
434
|
+
Check status frequently:
|
|
435
|
+
```
|
|
436
|
+
/forge status
|
|
437
|
+
```
|
|
438
|
+
|
|
439
|
+
Look for:
|
|
440
|
+
- Blocked tasks
|
|
441
|
+
- Attention signals
|
|
442
|
+
- Completed work ready for review
|
|
443
|
+
|
|
444
|
+
### Document Decisions
|
|
445
|
+
|
|
446
|
+
When the Hub makes recommendations, capture important decisions in:
|
|
447
|
+
- Task files (for task-specific context)
|
|
448
|
+
- Project context (for project-wide patterns)
|
|
449
|
+
|
|
450
|
+
### Balance Automation and Control
|
|
451
|
+
|
|
452
|
+
- **Worker Loop** for routine tasks
|
|
453
|
+
- **Manual spawning** for specific needs
|
|
454
|
+
- **Hub coordination** for complex features
|
package/package.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sugar-crash-studios/vibe-forge",
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"description": "Multi-agent development orchestration system for terminal-native vibe coding",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"vibe-coding",
|
|
7
|
+
"claude",
|
|
8
|
+
"ai",
|
|
9
|
+
"agents",
|
|
10
|
+
"multi-agent",
|
|
11
|
+
"development",
|
|
12
|
+
"orchestration",
|
|
13
|
+
"terminal",
|
|
14
|
+
"cli"
|
|
15
|
+
],
|
|
16
|
+
"author": "sugar-crash-studios",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/sugar-crash-studios/vibe-forge.git"
|
|
21
|
+
},
|
|
22
|
+
"homepage": "https://github.com/sugar-crash-studios/vibe-forge#readme",
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/sugar-crash-studios/vibe-forge/issues"
|
|
25
|
+
},
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"bin": {
|
|
30
|
+
"vibe-forge": "bin/cli.js"
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"bin/cli.js",
|
|
34
|
+
"bin/lib/",
|
|
35
|
+
"bin/forge.cmd",
|
|
36
|
+
"bin/forge.sh",
|
|
37
|
+
"bin/forge-daemon.sh",
|
|
38
|
+
"bin/forge-setup.sh",
|
|
39
|
+
"bin/forge-spawn.sh",
|
|
40
|
+
"bin/dashboard/server.js",
|
|
41
|
+
"bin/dashboard/api/",
|
|
42
|
+
"bin/dashboard/public/",
|
|
43
|
+
"bin/dashboard/frontend/index.html",
|
|
44
|
+
"bin/dashboard/frontend/package.json",
|
|
45
|
+
"bin/dashboard/frontend/src/",
|
|
46
|
+
"bin/dashboard/frontend/svelte.config.js",
|
|
47
|
+
"bin/dashboard/frontend/vite.config.js",
|
|
48
|
+
"agents/",
|
|
49
|
+
"config/",
|
|
50
|
+
"context/",
|
|
51
|
+
"tasks/",
|
|
52
|
+
".claude/",
|
|
53
|
+
"docs/"
|
|
54
|
+
],
|
|
55
|
+
"scripts": {
|
|
56
|
+
"prepare": "husky",
|
|
57
|
+
"test": "node --no-warnings node_modules/jest/bin/jest.js tests/unit/",
|
|
58
|
+
"test:unit": "node --no-warnings node_modules/jest/bin/jest.js tests/unit/",
|
|
59
|
+
"test:integration": "node --no-warnings node_modules/jest/bin/jest.js tests/integration/",
|
|
60
|
+
"test:all": "node --no-warnings node_modules/jest/bin/jest.js tests/"
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"husky": "^9.1.7",
|
|
64
|
+
"jest": "^30.0.0",
|
|
65
|
+
"ws": "^8.18.0"
|
|
66
|
+
},
|
|
67
|
+
"engines": {
|
|
68
|
+
"node": ">=16.0.0"
|
|
69
|
+
},
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"msedge-tts": "^2.0.4"
|
|
72
|
+
}
|
|
73
|
+
}
|