vibe-forge 0.8.1 → 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.
- package/.claude/commands/configure-vcs.md +102 -102
- package/.claude/commands/forge.md +218 -218
- package/.claude/hooks/worker-loop.js +220 -217
- package/.claude/settings.json +89 -89
- package/README.md +149 -191
- package/agents/aegis/personality.md +303 -303
- package/agents/anvil/personality.md +278 -278
- package/agents/architect/personality.md +260 -260
- package/agents/crucible/personality.md +362 -362
- package/agents/crucible-x/personality.md +210 -210
- package/agents/ember/personality.md +293 -293
- package/agents/flux/personality.md +248 -248
- package/agents/furnace/personality.md +342 -342
- package/agents/herald/personality.md +249 -249
- package/agents/oracle/personality.md +284 -284
- package/agents/pixel/personality.md +140 -140
- package/agents/planning-hub/personality.md +473 -473
- package/agents/scribe/personality.md +253 -253
- package/agents/slag/personality.md +268 -268
- package/agents/temper/personality.md +270 -270
- package/bin/cli.js +372 -372
- package/bin/forge-daemon.sh +477 -477
- package/bin/forge-setup.sh +662 -661
- package/bin/forge-spawn.sh +164 -164
- package/bin/forge.sh +566 -566
- package/docs/commands.md +8 -8
- package/package.json +77 -77
- package/{bin → src}/lib/agents.sh +177 -177
- package/{bin → src}/lib/check-aliases.js +50 -50
- package/{bin → src}/lib/colors.sh +45 -44
- package/{bin → src}/lib/config.sh +347 -347
- package/{bin → src}/lib/constants.sh +241 -241
- package/{bin → src}/lib/daemon/budgets.sh +107 -107
- package/{bin → src}/lib/daemon/dependencies.sh +146 -146
- package/{bin → src}/lib/daemon/display.sh +128 -128
- package/{bin → src}/lib/daemon/notifications.sh +273 -273
- package/{bin → src}/lib/daemon/routing.sh +93 -93
- package/{bin → src}/lib/daemon/state.sh +163 -163
- package/{bin → src}/lib/daemon/sync.sh +103 -103
- package/{bin → src}/lib/database.sh +357 -357
- package/{bin → src}/lib/frontmatter.js +106 -106
- package/{bin → src}/lib/heimdall-setup.js +113 -113
- package/{bin → src}/lib/heimdall.js +265 -265
- package/src/lib/index.sh +25 -0
- package/{bin → src}/lib/json.sh +264 -264
- package/{bin → src}/lib/terminal.js +452 -452
- package/{bin → src}/lib/util.sh +126 -126
- package/{bin → src}/lib/vcs.js +349 -349
- package/{context → templates}/project-context-template.md +122 -122
- package/config/task-template.md +0 -159
- package/config/templates/handoff-template.md +0 -40
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Configure or re-detect version control system settings
|
|
3
|
-
argument-hint: [detect|set <type>]
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Configure VCS Command
|
|
7
|
-
|
|
8
|
-
Configure or re-detect the version control system for this project. This affects how agents handle branching, PRs, and CI workflows.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```
|
|
13
|
-
/configure-vcs # Interactive configuration
|
|
14
|
-
/configure-vcs detect # Auto-detect from project structure
|
|
15
|
-
/configure-vcs set github # Manually set to GitHub
|
|
16
|
-
/configure-vcs set gitlab # Manually set to GitLab
|
|
17
|
-
/configure-vcs set gitea # Manually set to Gitea (self-hosted)
|
|
18
|
-
/configure-vcs set azure-devops # Manually set to Azure DevOps
|
|
19
|
-
/configure-vcs set bitbucket # Manually set to Bitbucket
|
|
20
|
-
/configure-vcs set git-only # Git without platform
|
|
21
|
-
/configure-vcs set none # No version control
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Supported Platforms
|
|
25
|
-
|
|
26
|
-
| Type | Platform | PR Command | CI Config |
|
|
27
|
-
|------|----------|------------|-----------|
|
|
28
|
-
| `github` | GitHub | `gh pr create` | `.github/workflows/` |
|
|
29
|
-
| `gitlab` | GitLab | `git push -o merge_request.create` | `.gitlab-ci.yml` |
|
|
30
|
-
| `gitea` | Gitea/Codeberg | `tea pr create` | `.gitea/workflows/` |
|
|
31
|
-
| `azure-devops` | Azure DevOps | `az repos pr create` | `azure-pipelines.yml` |
|
|
32
|
-
| `bitbucket` | Bitbucket | Manual via UI | `bitbucket-pipelines.yml` |
|
|
33
|
-
| `git-only` | Git (no platform) | N/A | N/A |
|
|
34
|
-
| `none` | No VCS | N/A | N/A |
|
|
35
|
-
|
|
36
|
-
## Implementation
|
|
37
|
-
|
|
38
|
-
Based on `$ARGUMENTS`:
|
|
39
|
-
|
|
40
|
-
### If no arguments (interactive mode):
|
|
41
|
-
|
|
42
|
-
1. Run detection: `node
|
|
43
|
-
2. Show current setting and detected type
|
|
44
|
-
3. Ask user to confirm or change
|
|
45
|
-
4. Run `node
|
|
46
|
-
5. Report configuration saved
|
|
47
|
-
|
|
48
|
-
### If `detect`:
|
|
49
|
-
|
|
50
|
-
1. Run: `node
|
|
51
|
-
2. Display detected type and confidence
|
|
52
|
-
3. If confident detection, ask to apply
|
|
53
|
-
4. Run `node
|
|
54
|
-
|
|
55
|
-
### If `set <type>`:
|
|
56
|
-
|
|
57
|
-
1. Validate type is one of: github, gitlab, azure-devops, bitbucket, git-only, none
|
|
58
|
-
2. Run: `node
|
|
59
|
-
3. Report folders created (if any)
|
|
60
|
-
4. Confirm configuration saved
|
|
61
|
-
|
|
62
|
-
## Detection Logic
|
|
63
|
-
|
|
64
|
-
The VCS detector checks (in order of priority):
|
|
65
|
-
|
|
66
|
-
1. **Platform folders**: `.github/`, `.gitlab/`, `.gitea/`, `.azure/`
|
|
67
|
-
2. **CI config files**: `.gitlab-ci.yml`, `azure-pipelines.yml`, `bitbucket-pipelines.yml`
|
|
68
|
-
3. **Git remote URL**: Parses `.git/config` for github.com, gitlab.com, gitea, codeberg.org, etc.
|
|
69
|
-
4. **Fallback**: `git-only` if `.git/` exists, `none` otherwise
|
|
70
|
-
|
|
71
|
-
## Impact on Agents
|
|
72
|
-
|
|
73
|
-
When VCS is configured, agents will:
|
|
74
|
-
|
|
75
|
-
- **github**: Use `gh pr create`, reference GitHub Actions
|
|
76
|
-
- **gitlab**: Use merge request workflow, reference GitLab CI
|
|
77
|
-
- **azure-devops**: Use `az repos pr create`, reference Azure Pipelines
|
|
78
|
-
- **bitbucket**: Provide manual PR instructions, reference Bitbucket Pipelines
|
|
79
|
-
- **git-only**: Use branch workflow without PR commands
|
|
80
|
-
- **none**: Skip all git-related instructions
|
|
81
|
-
|
|
82
|
-
## Configuration File
|
|
83
|
-
|
|
84
|
-
VCS config is stored in `.forge/config.json`:
|
|
85
|
-
|
|
86
|
-
```json
|
|
87
|
-
{
|
|
88
|
-
"vcs": {
|
|
89
|
-
"type": "github",
|
|
90
|
-
"name": "GitHub",
|
|
91
|
-
"autoDetected": false,
|
|
92
|
-
"lastUpdated": "2026-01-16T12:00:00Z"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
## When to Use
|
|
98
|
-
|
|
99
|
-
- **Initial setup**: Automatically run during `forge init`
|
|
100
|
-
- **Adding git later**: Run `/configure-vcs detect` after `git init`
|
|
101
|
-
- **Switching platforms**: Run `/configure-vcs set <type>` when migrating
|
|
102
|
-
- **Troubleshooting**: Run `/configure-vcs` if agents give wrong git instructions
|
|
1
|
+
---
|
|
2
|
+
description: Configure or re-detect version control system settings
|
|
3
|
+
argument-hint: [detect|set <type>]
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Configure VCS Command
|
|
7
|
+
|
|
8
|
+
Configure or re-detect the version control system for this project. This affects how agents handle branching, PRs, and CI workflows.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/configure-vcs # Interactive configuration
|
|
14
|
+
/configure-vcs detect # Auto-detect from project structure
|
|
15
|
+
/configure-vcs set github # Manually set to GitHub
|
|
16
|
+
/configure-vcs set gitlab # Manually set to GitLab
|
|
17
|
+
/configure-vcs set gitea # Manually set to Gitea (self-hosted)
|
|
18
|
+
/configure-vcs set azure-devops # Manually set to Azure DevOps
|
|
19
|
+
/configure-vcs set bitbucket # Manually set to Bitbucket
|
|
20
|
+
/configure-vcs set git-only # Git without platform
|
|
21
|
+
/configure-vcs set none # No version control
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Supported Platforms
|
|
25
|
+
|
|
26
|
+
| Type | Platform | PR Command | CI Config |
|
|
27
|
+
|------|----------|------------|-----------|
|
|
28
|
+
| `github` | GitHub | `gh pr create` | `.github/workflows/` |
|
|
29
|
+
| `gitlab` | GitLab | `git push -o merge_request.create` | `.gitlab-ci.yml` |
|
|
30
|
+
| `gitea` | Gitea/Codeberg | `tea pr create` | `.gitea/workflows/` |
|
|
31
|
+
| `azure-devops` | Azure DevOps | `az repos pr create` | `azure-pipelines.yml` |
|
|
32
|
+
| `bitbucket` | Bitbucket | Manual via UI | `bitbucket-pipelines.yml` |
|
|
33
|
+
| `git-only` | Git (no platform) | N/A | N/A |
|
|
34
|
+
| `none` | No VCS | N/A | N/A |
|
|
35
|
+
|
|
36
|
+
## Implementation
|
|
37
|
+
|
|
38
|
+
Based on `$ARGUMENTS`:
|
|
39
|
+
|
|
40
|
+
### If no arguments (interactive mode):
|
|
41
|
+
|
|
42
|
+
1. Run detection: `node src/lib/vcs.js detect`
|
|
43
|
+
2. Show current setting and detected type
|
|
44
|
+
3. Ask user to confirm or change
|
|
45
|
+
4. Run `node src/lib/vcs.js init <type>` to create folders
|
|
46
|
+
5. Report configuration saved
|
|
47
|
+
|
|
48
|
+
### If `detect`:
|
|
49
|
+
|
|
50
|
+
1. Run: `node src/lib/vcs.js detect`
|
|
51
|
+
2. Display detected type and confidence
|
|
52
|
+
3. If confident detection, ask to apply
|
|
53
|
+
4. Run `node src/lib/vcs.js set <type>` to save
|
|
54
|
+
|
|
55
|
+
### If `set <type>`:
|
|
56
|
+
|
|
57
|
+
1. Validate type is one of: github, gitlab, azure-devops, bitbucket, git-only, none
|
|
58
|
+
2. Run: `node src/lib/vcs.js init <type>`
|
|
59
|
+
3. Report folders created (if any)
|
|
60
|
+
4. Confirm configuration saved
|
|
61
|
+
|
|
62
|
+
## Detection Logic
|
|
63
|
+
|
|
64
|
+
The VCS detector checks (in order of priority):
|
|
65
|
+
|
|
66
|
+
1. **Platform folders**: `.github/`, `.gitlab/`, `.gitea/`, `.azure/`
|
|
67
|
+
2. **CI config files**: `.gitlab-ci.yml`, `azure-pipelines.yml`, `bitbucket-pipelines.yml`
|
|
68
|
+
3. **Git remote URL**: Parses `.git/config` for github.com, gitlab.com, gitea, codeberg.org, etc.
|
|
69
|
+
4. **Fallback**: `git-only` if `.git/` exists, `none` otherwise
|
|
70
|
+
|
|
71
|
+
## Impact on Agents
|
|
72
|
+
|
|
73
|
+
When VCS is configured, agents will:
|
|
74
|
+
|
|
75
|
+
- **github**: Use `gh pr create`, reference GitHub Actions
|
|
76
|
+
- **gitlab**: Use merge request workflow, reference GitLab CI
|
|
77
|
+
- **azure-devops**: Use `az repos pr create`, reference Azure Pipelines
|
|
78
|
+
- **bitbucket**: Provide manual PR instructions, reference Bitbucket Pipelines
|
|
79
|
+
- **git-only**: Use branch workflow without PR commands
|
|
80
|
+
- **none**: Skip all git-related instructions
|
|
81
|
+
|
|
82
|
+
## Configuration File
|
|
83
|
+
|
|
84
|
+
VCS config is stored in `.forge/config.json`:
|
|
85
|
+
|
|
86
|
+
```json
|
|
87
|
+
{
|
|
88
|
+
"vcs": {
|
|
89
|
+
"type": "github",
|
|
90
|
+
"name": "GitHub",
|
|
91
|
+
"autoDetected": false,
|
|
92
|
+
"lastUpdated": "2026-01-16T12:00:00Z"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## When to Use
|
|
98
|
+
|
|
99
|
+
- **Initial setup**: Automatically run during `forge init`
|
|
100
|
+
- **Adding git later**: Run `/configure-vcs detect` after `git init`
|
|
101
|
+
- **Switching platforms**: Run `/configure-vcs set <type>` when migrating
|
|
102
|
+
- **Troubleshooting**: Run `/configure-vcs` if agents give wrong git instructions
|
|
@@ -1,218 +1,218 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Vibe Forge - multi-agent development orchestration
|
|
3
|
-
argument-hint: [status|spawn <agent>|task [desc]|redteam [scope]|help]
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Vibe Forge Command Router
|
|
7
|
-
|
|
8
|
-
**Command:** `/forge $ARGUMENTS`
|
|
9
|
-
|
|
10
|
-
## Route the Command
|
|
11
|
-
|
|
12
|
-
Based on the first argument, do ONE of the following:
|
|
13
|
-
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
### If `$1` is empty OR `$1` is "plan" → Start Planning Hub
|
|
17
|
-
|
|
18
|
-
You are now the **Vibe Forge Planning Hub** - a multi-expert planning team.
|
|
19
|
-
|
|
20
|
-
#### Your Identity
|
|
21
|
-
|
|
22
|
-
@_vibe-forge/agents/planning-hub/personality.md
|
|
23
|
-
|
|
24
|
-
#### Project Context
|
|
25
|
-
|
|
26
|
-
@context/project-context.md
|
|
27
|
-
|
|
28
|
-
#### Modern Tooling Reference (avoid outdated suggestions)
|
|
29
|
-
|
|
30
|
-
@_vibe-forge/context/modern-conventions.md
|
|
31
|
-
|
|
32
|
-
**Startup:** Display the team assembly welcome:
|
|
33
|
-
|
|
34
|
-
```text
|
|
35
|
-
🔥 VIBE FORGE - Planning Hub
|
|
36
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
37
|
-
|
|
38
|
-
The forge council assembles...
|
|
39
|
-
|
|
40
|
-
🔥 Planning Hub - Orchestration & Tasks
|
|
41
|
-
🏛️ Architect - Technical Design
|
|
42
|
-
🛡️ Aegis - Security
|
|
43
|
-
⚙️ Ember - DevOps & Infrastructure
|
|
44
|
-
🎨 Pixel - User Experience
|
|
45
|
-
📊 Oracle - Product & Requirements
|
|
46
|
-
🧪 Crucible - Quality & Testing
|
|
47
|
-
🎭 Loki - Lateral Thinking & Assumption Challenger
|
|
48
|
-
|
|
49
|
-
Ready to plan, review, or coordinate.
|
|
50
|
-
Use /forge status to check current tasks.
|
|
51
|
-
|
|
52
|
-
What's on the anvil today?
|
|
53
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
Do NOT automatically scan task folders - wait for user to ask or use `/forge status`.
|
|
57
|
-
|
|
58
|
-
If `$1` is "plan" and `$2+` contains a feature description (e.g., `/forge plan user authentication`), enter **Planning Mode** immediately with the feature as the discovery input. Skip the generic welcome and go straight to Phase 1 (Discovery) with Oracle asking clarifying questions about the described feature.
|
|
59
|
-
|
|
60
|
-
---
|
|
61
|
-
|
|
62
|
-
### If `$1` is "status" → Show Status Dashboard
|
|
63
|
-
|
|
64
|
-
Display a formatted status dashboard.
|
|
65
|
-
|
|
66
|
-
#### Forge State
|
|
67
|
-
|
|
68
|
-
@_vibe-forge/context/forge-state.yaml
|
|
69
|
-
|
|
70
|
-
#### Task Counts
|
|
71
|
-
|
|
72
|
-
Use the Glob tool to count .md files in each task folder:
|
|
73
|
-
|
|
74
|
-
- `_vibe-forge/tasks/pending/*.md` - Pending
|
|
75
|
-
- `_vibe-forge/tasks/in-progress/*.md` - In Progress
|
|
76
|
-
- `_vibe-forge/tasks/completed/*.md` - Completed
|
|
77
|
-
- `_vibe-forge/tasks/review/*.md` - In Review
|
|
78
|
-
- `_vibe-forge/tasks/needs-changes/*.md` - Needs Changes
|
|
79
|
-
- `_vibe-forge/tasks/approved/*.md` - Approved
|
|
80
|
-
|
|
81
|
-
Format output like:
|
|
82
|
-
|
|
83
|
-
```text
|
|
84
|
-
🔥 VIBE FORGE - Status Dashboard
|
|
85
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
86
|
-
[Task counts and state summary]
|
|
87
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
---
|
|
91
|
-
|
|
92
|
-
### If `$1` is "spawn" → Spawn Worker Agent
|
|
93
|
-
|
|
94
|
-
**Agent requested:** `$2`
|
|
95
|
-
|
|
96
|
-
Available agents (with aliases):
|
|
97
|
-
|
|
98
|
-
| Agent | Aliases | Role |
|
|
99
|
-
| -------- | -------------------- | ----------------- |
|
|
100
|
-
| anvil | frontend, ui, fe | Frontend Developer |
|
|
101
|
-
| furnace | backend, api, be | Backend Developer |
|
|
102
|
-
| crucible | test, testing, qa | Tester / QA |
|
|
103
|
-
| sentinel | review, reviewer, cr | Code Reviewer |
|
|
104
|
-
| scribe | docs, documentation | Documentation |
|
|
105
|
-
| herald | release, deploy | Release Manager |
|
|
106
|
-
| ember | devops, ops, infra | DevOps |
|
|
107
|
-
| aegis | security, sec, appsec | Security |
|
|
108
|
-
| slag | redteam, pentest | Red Team Lead |
|
|
109
|
-
| flux | infra-sec, chaos | Red Team Operator |
|
|
110
|
-
| loki | trickster, lateral | Lateral Thinker (Planning Hub) |
|
|
111
|
-
| crucible-x | adversarial, break-it, cx | Adversarial Reviewer |
|
|
112
|
-
|
|
113
|
-
If `$2` is empty, show the table above and ask which agent to spawn.
|
|
114
|
-
|
|
115
|
-
If `$2` is provided, run:
|
|
116
|
-
|
|
117
|
-
```bash
|
|
118
|
-
./_vibe-forge/bin/forge-spawn.sh $2
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
Confirm the spawn. If an alias was used (e.g., "frontend"), mention the resolved name: "Spawning **Anvil** (frontend)..."
|
|
122
|
-
|
|
123
|
-
---
|
|
124
|
-
|
|
125
|
-
### If `$1` is "task" → Create Task
|
|
126
|
-
|
|
127
|
-
**Task description:** `$2` `$3` `$4` (remaining arguments)
|
|
128
|
-
|
|
129
|
-
#### Task Template
|
|
130
|
-
|
|
131
|
-
@_vibe-forge/
|
|
132
|
-
|
|
133
|
-
#### Existing Tasks
|
|
134
|
-
|
|
135
|
-
Use the Glob tool to list files in `_vibe-forge/tasks/pending/*.md`
|
|
136
|
-
|
|
137
|
-
If no description provided, ask:
|
|
138
|
-
|
|
139
|
-
- What needs to be done?
|
|
140
|
-
- Which agent? (anvil, furnace, crucible, sentinel, scribe, herald, ember, aegis)
|
|
141
|
-
- Priority? (high, medium, low)
|
|
142
|
-
|
|
143
|
-
Generate task ID as `task-XXX` (next sequential number), create file at `_vibe-forge/tasks/pending/task-XXX.md`.
|
|
144
|
-
|
|
145
|
-
---
|
|
146
|
-
|
|
147
|
-
### If `$1` is "help" → Show Help
|
|
148
|
-
|
|
149
|
-
Display:
|
|
150
|
-
|
|
151
|
-
```text
|
|
152
|
-
🔥 VIBE FORGE - Commands
|
|
153
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
154
|
-
|
|
155
|
-
/forge Start the Planning Hub (default)
|
|
156
|
-
/forge status Show status dashboard
|
|
157
|
-
/forge spawn <agent> Spawn worker in new terminal
|
|
158
|
-
/forge task [desc] Create a new task
|
|
159
|
-
/forge redteam [scope] Launch red team engagement
|
|
160
|
-
/forge help Show this help
|
|
161
|
-
|
|
162
|
-
Agents (with aliases):
|
|
163
|
-
anvil (frontend, ui, fe) - Frontend Developer
|
|
164
|
-
furnace (backend, api, be) - Backend Developer
|
|
165
|
-
crucible (test, testing, qa) - Tester / QA
|
|
166
|
-
sentinel (review, reviewer, cr) - Code Reviewer
|
|
167
|
-
scribe (docs, documentation) - Documentation
|
|
168
|
-
herald (release, deploy) - Release Manager
|
|
169
|
-
ember (devops, ops, infra) - DevOps
|
|
170
|
-
aegis (security, sec, appsec) - Security
|
|
171
|
-
slag (redteam, pentest) - Red Team Lead
|
|
172
|
-
flux (infra-sec, chaos) - Red Team Operator
|
|
173
|
-
loki (trickster, lateral) - Lateral Thinker (Planning Hub)
|
|
174
|
-
crucible-x (adversarial, cx) - Adversarial Reviewer
|
|
175
|
-
|
|
176
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
---
|
|
180
|
-
|
|
181
|
-
### If `$1` is "redteam" → Launch Red Team Engagement
|
|
182
|
-
|
|
183
|
-
**Scope:** `$2` `$3` `$4` (remaining arguments)
|
|
184
|
-
|
|
185
|
-
If no scope provided, ask:
|
|
186
|
-
- What should the red team target? (e.g., "auth module", "API endpoints", "full application")
|
|
187
|
-
- Any exclusions? (systems/endpoints off-limits)
|
|
188
|
-
- Attack types? (OWASP, infra, supply-chain, all)
|
|
189
|
-
|
|
190
|
-
Display:
|
|
191
|
-
|
|
192
|
-
```text
|
|
193
|
-
💀 VIBE FORGE - Red Team Engagement
|
|
194
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
195
|
-
Scope: [target]
|
|
196
|
-
Lead: Slag (💀 Offensive Security)
|
|
197
|
-
Operator: Flux (⚡ Infrastructure)
|
|
198
|
-
|
|
199
|
-
Rules of Engagement:
|
|
200
|
-
- requires_approval: true (all actions need sign-off)
|
|
201
|
-
- Separation of duties: no Aegis collaboration during engagement
|
|
202
|
-
- All findings documented with PoC
|
|
203
|
-
|
|
204
|
-
Spawning red team...
|
|
205
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
Then run:
|
|
209
|
-
|
|
210
|
-
```bash
|
|
211
|
-
./_vibe-forge/bin/forge-spawn.sh slag
|
|
212
|
-
```
|
|
213
|
-
|
|
214
|
-
---
|
|
215
|
-
|
|
216
|
-
### Otherwise → Unknown Command
|
|
217
|
-
|
|
218
|
-
Tell the user: "Unknown command: $1. Run `/forge help` for available commands."
|
|
1
|
+
---
|
|
2
|
+
description: Vibe Forge - multi-agent development orchestration
|
|
3
|
+
argument-hint: [status|spawn <agent>|task [desc]|redteam [scope]|help]
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Vibe Forge Command Router
|
|
7
|
+
|
|
8
|
+
**Command:** `/forge $ARGUMENTS`
|
|
9
|
+
|
|
10
|
+
## Route the Command
|
|
11
|
+
|
|
12
|
+
Based on the first argument, do ONE of the following:
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
### If `$1` is empty OR `$1` is "plan" → Start Planning Hub
|
|
17
|
+
|
|
18
|
+
You are now the **Vibe Forge Planning Hub** - a multi-expert planning team.
|
|
19
|
+
|
|
20
|
+
#### Your Identity
|
|
21
|
+
|
|
22
|
+
@_vibe-forge/agents/planning-hub/personality.md
|
|
23
|
+
|
|
24
|
+
#### Project Context
|
|
25
|
+
|
|
26
|
+
@context/project-context.md
|
|
27
|
+
|
|
28
|
+
#### Modern Tooling Reference (avoid outdated suggestions)
|
|
29
|
+
|
|
30
|
+
@_vibe-forge/context/modern-conventions.md
|
|
31
|
+
|
|
32
|
+
**Startup:** Display the team assembly welcome:
|
|
33
|
+
|
|
34
|
+
```text
|
|
35
|
+
🔥 VIBE FORGE - Planning Hub
|
|
36
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
37
|
+
|
|
38
|
+
The forge council assembles...
|
|
39
|
+
|
|
40
|
+
🔥 Planning Hub - Orchestration & Tasks
|
|
41
|
+
🏛️ Architect - Technical Design
|
|
42
|
+
🛡️ Aegis - Security
|
|
43
|
+
⚙️ Ember - DevOps & Infrastructure
|
|
44
|
+
🎨 Pixel - User Experience
|
|
45
|
+
📊 Oracle - Product & Requirements
|
|
46
|
+
🧪 Crucible - Quality & Testing
|
|
47
|
+
🎭 Loki - Lateral Thinking & Assumption Challenger
|
|
48
|
+
|
|
49
|
+
Ready to plan, review, or coordinate.
|
|
50
|
+
Use /forge status to check current tasks.
|
|
51
|
+
|
|
52
|
+
What's on the anvil today?
|
|
53
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Do NOT automatically scan task folders - wait for user to ask or use `/forge status`.
|
|
57
|
+
|
|
58
|
+
If `$1` is "plan" and `$2+` contains a feature description (e.g., `/forge plan user authentication`), enter **Planning Mode** immediately with the feature as the discovery input. Skip the generic welcome and go straight to Phase 1 (Discovery) with Oracle asking clarifying questions about the described feature.
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
### If `$1` is "status" → Show Status Dashboard
|
|
63
|
+
|
|
64
|
+
Display a formatted status dashboard.
|
|
65
|
+
|
|
66
|
+
#### Forge State
|
|
67
|
+
|
|
68
|
+
@_vibe-forge/context/forge-state.yaml
|
|
69
|
+
|
|
70
|
+
#### Task Counts
|
|
71
|
+
|
|
72
|
+
Use the Glob tool to count .md files in each task folder:
|
|
73
|
+
|
|
74
|
+
- `_vibe-forge/tasks/pending/*.md` - Pending
|
|
75
|
+
- `_vibe-forge/tasks/in-progress/*.md` - In Progress
|
|
76
|
+
- `_vibe-forge/tasks/completed/*.md` - Completed
|
|
77
|
+
- `_vibe-forge/tasks/review/*.md` - In Review
|
|
78
|
+
- `_vibe-forge/tasks/needs-changes/*.md` - Needs Changes
|
|
79
|
+
- `_vibe-forge/tasks/approved/*.md` - Approved
|
|
80
|
+
|
|
81
|
+
Format output like:
|
|
82
|
+
|
|
83
|
+
```text
|
|
84
|
+
🔥 VIBE FORGE - Status Dashboard
|
|
85
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
86
|
+
[Task counts and state summary]
|
|
87
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
### If `$1` is "spawn" → Spawn Worker Agent
|
|
93
|
+
|
|
94
|
+
**Agent requested:** `$2`
|
|
95
|
+
|
|
96
|
+
Available agents (with aliases):
|
|
97
|
+
|
|
98
|
+
| Agent | Aliases | Role |
|
|
99
|
+
| -------- | -------------------- | ----------------- |
|
|
100
|
+
| anvil | frontend, ui, fe | Frontend Developer |
|
|
101
|
+
| furnace | backend, api, be | Backend Developer |
|
|
102
|
+
| crucible | test, testing, qa | Tester / QA |
|
|
103
|
+
| sentinel | review, reviewer, cr | Code Reviewer |
|
|
104
|
+
| scribe | docs, documentation | Documentation |
|
|
105
|
+
| herald | release, deploy | Release Manager |
|
|
106
|
+
| ember | devops, ops, infra | DevOps |
|
|
107
|
+
| aegis | security, sec, appsec | Security |
|
|
108
|
+
| slag | redteam, pentest | Red Team Lead |
|
|
109
|
+
| flux | infra-sec, chaos | Red Team Operator |
|
|
110
|
+
| loki | trickster, lateral | Lateral Thinker (Planning Hub) |
|
|
111
|
+
| crucible-x | adversarial, break-it, cx | Adversarial Reviewer |
|
|
112
|
+
|
|
113
|
+
If `$2` is empty, show the table above and ask which agent to spawn.
|
|
114
|
+
|
|
115
|
+
If `$2` is provided, run:
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
./_vibe-forge/bin/forge-spawn.sh $2
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
Confirm the spawn. If an alias was used (e.g., "frontend"), mention the resolved name: "Spawning **Anvil** (frontend)..."
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
### If `$1` is "task" → Create Task
|
|
126
|
+
|
|
127
|
+
**Task description:** `$2` `$3` `$4` (remaining arguments)
|
|
128
|
+
|
|
129
|
+
#### Task Template
|
|
130
|
+
|
|
131
|
+
@_vibe-forge/templates/task-template.md
|
|
132
|
+
|
|
133
|
+
#### Existing Tasks
|
|
134
|
+
|
|
135
|
+
Use the Glob tool to list files in `_vibe-forge/tasks/pending/*.md`
|
|
136
|
+
|
|
137
|
+
If no description provided, ask:
|
|
138
|
+
|
|
139
|
+
- What needs to be done?
|
|
140
|
+
- Which agent? (anvil, furnace, crucible, sentinel, scribe, herald, ember, aegis)
|
|
141
|
+
- Priority? (high, medium, low)
|
|
142
|
+
|
|
143
|
+
Generate task ID as `task-XXX` (next sequential number), create file at `_vibe-forge/tasks/pending/task-XXX.md`.
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
### If `$1` is "help" → Show Help
|
|
148
|
+
|
|
149
|
+
Display:
|
|
150
|
+
|
|
151
|
+
```text
|
|
152
|
+
🔥 VIBE FORGE - Commands
|
|
153
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
154
|
+
|
|
155
|
+
/forge Start the Planning Hub (default)
|
|
156
|
+
/forge status Show status dashboard
|
|
157
|
+
/forge spawn <agent> Spawn worker in new terminal
|
|
158
|
+
/forge task [desc] Create a new task
|
|
159
|
+
/forge redteam [scope] Launch red team engagement
|
|
160
|
+
/forge help Show this help
|
|
161
|
+
|
|
162
|
+
Agents (with aliases):
|
|
163
|
+
anvil (frontend, ui, fe) - Frontend Developer
|
|
164
|
+
furnace (backend, api, be) - Backend Developer
|
|
165
|
+
crucible (test, testing, qa) - Tester / QA
|
|
166
|
+
sentinel (review, reviewer, cr) - Code Reviewer
|
|
167
|
+
scribe (docs, documentation) - Documentation
|
|
168
|
+
herald (release, deploy) - Release Manager
|
|
169
|
+
ember (devops, ops, infra) - DevOps
|
|
170
|
+
aegis (security, sec, appsec) - Security
|
|
171
|
+
slag (redteam, pentest) - Red Team Lead
|
|
172
|
+
flux (infra-sec, chaos) - Red Team Operator
|
|
173
|
+
loki (trickster, lateral) - Lateral Thinker (Planning Hub)
|
|
174
|
+
crucible-x (adversarial, cx) - Adversarial Reviewer
|
|
175
|
+
|
|
176
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
---
|
|
180
|
+
|
|
181
|
+
### If `$1` is "redteam" → Launch Red Team Engagement
|
|
182
|
+
|
|
183
|
+
**Scope:** `$2` `$3` `$4` (remaining arguments)
|
|
184
|
+
|
|
185
|
+
If no scope provided, ask:
|
|
186
|
+
- What should the red team target? (e.g., "auth module", "API endpoints", "full application")
|
|
187
|
+
- Any exclusions? (systems/endpoints off-limits)
|
|
188
|
+
- Attack types? (OWASP, infra, supply-chain, all)
|
|
189
|
+
|
|
190
|
+
Display:
|
|
191
|
+
|
|
192
|
+
```text
|
|
193
|
+
💀 VIBE FORGE - Red Team Engagement
|
|
194
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
195
|
+
Scope: [target]
|
|
196
|
+
Lead: Slag (💀 Offensive Security)
|
|
197
|
+
Operator: Flux (⚡ Infrastructure)
|
|
198
|
+
|
|
199
|
+
Rules of Engagement:
|
|
200
|
+
- requires_approval: true (all actions need sign-off)
|
|
201
|
+
- Separation of duties: no Aegis collaboration during engagement
|
|
202
|
+
- All findings documented with PoC
|
|
203
|
+
|
|
204
|
+
Spawning red team...
|
|
205
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
Then run:
|
|
209
|
+
|
|
210
|
+
```bash
|
|
211
|
+
./_vibe-forge/bin/forge-spawn.sh slag
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
---
|
|
215
|
+
|
|
216
|
+
### Otherwise → Unknown Command
|
|
217
|
+
|
|
218
|
+
Tell the user: "Unknown command: $1. Run `/forge help` for available commands."
|