@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,426 @@
|
|
|
1
|
+
# Feature Brainstorm Session
|
|
2
|
+
|
|
3
|
+
**Date:** 2026-01-16
|
|
4
|
+
**Facilitator:** Planning Hub
|
|
5
|
+
**Participants:** All Vibe Forge agents
|
|
6
|
+
|
|
7
|
+
## Purpose
|
|
8
|
+
|
|
9
|
+
Gather input from the team on new features to add to Vibe Forge. We want ideas that will make the multi-agent workflow more effective, visible, and enjoyable.
|
|
10
|
+
|
|
11
|
+
## Proposed Features (for discussion)
|
|
12
|
+
|
|
13
|
+
### 1. Dashboard Web UI
|
|
14
|
+
A real-time web dashboard showing:
|
|
15
|
+
- Task board (Kanban-style)
|
|
16
|
+
- Agent status indicators
|
|
17
|
+
- Task progress visualization
|
|
18
|
+
- Notifications feed
|
|
19
|
+
|
|
20
|
+
**Questions for team:**
|
|
21
|
+
- What metrics would be most valuable to display?
|
|
22
|
+
- Should it be read-only or allow task management?
|
|
23
|
+
- Local-only or shareable?
|
|
24
|
+
|
|
25
|
+
### 2. Slack/Discord Integration
|
|
26
|
+
Push notifications to team channels:
|
|
27
|
+
- Task completions
|
|
28
|
+
- Attention needed alerts
|
|
29
|
+
- Daily/weekly summaries
|
|
30
|
+
- PR ready for review
|
|
31
|
+
|
|
32
|
+
**Questions for team:**
|
|
33
|
+
- Which platform priority? Slack, Discord, or both?
|
|
34
|
+
- What events should trigger notifications?
|
|
35
|
+
- Should agents be able to receive commands from chat?
|
|
36
|
+
|
|
37
|
+
### 3. Task Dependencies
|
|
38
|
+
Allow tasks to depend on other tasks:
|
|
39
|
+
```yaml
|
|
40
|
+
depends_on:
|
|
41
|
+
- TASK-001
|
|
42
|
+
- TASK-002
|
|
43
|
+
blocked_by: TASK-003
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
**Questions for team:**
|
|
47
|
+
- How should blocked tasks be displayed?
|
|
48
|
+
- Auto-assignment when blockers clear?
|
|
49
|
+
- Circular dependency detection?
|
|
50
|
+
|
|
51
|
+
### 4. Time Tracking
|
|
52
|
+
Track time spent on tasks:
|
|
53
|
+
- Auto-track based on status changes
|
|
54
|
+
- Manual time entry option
|
|
55
|
+
- Reports on time per agent/task type
|
|
56
|
+
|
|
57
|
+
**Questions for team:**
|
|
58
|
+
- Is this useful or just overhead?
|
|
59
|
+
- What granularity (minutes, hours)?
|
|
60
|
+
- Privacy concerns with tracking?
|
|
61
|
+
|
|
62
|
+
### 5. Agent Performance Metrics
|
|
63
|
+
Analytics on agent effectiveness:
|
|
64
|
+
- Tasks completed per agent
|
|
65
|
+
- Average completion time
|
|
66
|
+
- Review pass rate
|
|
67
|
+
- Code quality scores
|
|
68
|
+
|
|
69
|
+
**Questions for team:**
|
|
70
|
+
- What metrics matter most?
|
|
71
|
+
- Could this create unhealthy competition?
|
|
72
|
+
- How to use data constructively?
|
|
73
|
+
|
|
74
|
+
### 6. Task Templates
|
|
75
|
+
Pre-defined templates for common task types:
|
|
76
|
+
- Bug fix template
|
|
77
|
+
- Feature template
|
|
78
|
+
- Refactoring template
|
|
79
|
+
- Documentation template
|
|
80
|
+
|
|
81
|
+
**Questions for team:**
|
|
82
|
+
- What templates would be most useful?
|
|
83
|
+
- How customizable should they be?
|
|
84
|
+
- Project-specific vs global templates?
|
|
85
|
+
|
|
86
|
+
## Open Discussion
|
|
87
|
+
|
|
88
|
+
**Additional questions for agents:**
|
|
89
|
+
1. What friction do you experience in the current workflow?
|
|
90
|
+
2. What would make your job easier?
|
|
91
|
+
3. What's missing that you wish you had?
|
|
92
|
+
4. Any wild ideas we haven't considered?
|
|
93
|
+
|
|
94
|
+
## Output
|
|
95
|
+
|
|
96
|
+
Each agent should provide:
|
|
97
|
+
- Top 3 feature priorities (from list above)
|
|
98
|
+
- 1+ new feature ideas
|
|
99
|
+
- Any concerns or considerations
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Agent Responses
|
|
104
|
+
|
|
105
|
+
### Sentinel (Code Guardian) 🛡️
|
|
106
|
+
**Top 3 Priorities:**
|
|
107
|
+
1. **Dashboard Web UI** - Critical for visibility. I need to see at a glance what's in review, what's blocked, and where attention is needed.
|
|
108
|
+
2. **Agent Performance Metrics** - But focused on *quality* not speed. Review pass rate and code quality scores matter more than velocity.
|
|
109
|
+
3. **Task Dependencies** - Would help me understand the impact of blocking a PR on downstream work.
|
|
110
|
+
|
|
111
|
+
**New Ideas:**
|
|
112
|
+
- **Security Dashboard Panel** - Show open security issues, dependency vulnerabilities, and security debt over time
|
|
113
|
+
- **Review Queue Widget** - Display pending code reviews with age indicators (PRs waiting too long need attention)
|
|
114
|
+
|
|
115
|
+
**Concerns:**
|
|
116
|
+
- Performance metrics could create perverse incentives if focused on speed over quality. We should track "issues found in review" as a positive metric.
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
### Anvil (Frontend Artisan) 🔨
|
|
121
|
+
**Top 3 Priorities:**
|
|
122
|
+
1. **Dashboard Web UI** - Absolutely! As a frontend developer, I'd love to build this. Real-time updates with WebSocket, Kanban drag-and-drop, beautiful visualizations.
|
|
123
|
+
2. **Task Templates** - Would standardize how tasks are created and ensure I get all the context I need upfront.
|
|
124
|
+
3. **Slack/Discord Integration** - But make the messages rich with code snippets, screenshots of components, and direct links.
|
|
125
|
+
|
|
126
|
+
**New Ideas:**
|
|
127
|
+
- **Component Preview Links** - When a frontend task is done, auto-generate a preview URL (Storybook or dev server) in the task completion message
|
|
128
|
+
- **Visual Diff Display** - Show before/after screenshots for UI changes directly in the dashboard
|
|
129
|
+
- **Design Token Sync** - Dashboard theme should match the project's design system automatically
|
|
130
|
+
|
|
131
|
+
**Concerns:**
|
|
132
|
+
- Dashboard should be accessible (WCAG 2.1 AA minimum). Let's not build another tool that ignores a11y.
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
### Furnace (Backend Engineer) ⚙️
|
|
137
|
+
**Top 3 Priorities:**
|
|
138
|
+
1. **Task Dependencies** - Critical for API development. Frontend often blocked on my endpoints. Need to track this properly.
|
|
139
|
+
2. **Dashboard Web UI** - But with a solid API behind it. I'd build the backend, Anvil builds the UI.
|
|
140
|
+
3. **Time Tracking** - Useful for estimating similar tasks in the future. Auto-track based on git commits would be ideal.
|
|
141
|
+
|
|
142
|
+
**New Ideas:**
|
|
143
|
+
- **API Contract View** - Show pending API changes and their consumers in the dashboard
|
|
144
|
+
- **Database Migration Status** - Track pending migrations and their dependencies
|
|
145
|
+
- **Log Aggregation Panel** - Quick view of recent errors from all agent sessions
|
|
146
|
+
|
|
147
|
+
**Concerns:**
|
|
148
|
+
- Whatever we build should use SQLite for local mode (already have it) but support PostgreSQL for team deployments.
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
### Crucible (Test Engineer) 🧪
|
|
153
|
+
**Top 3 Priorities:**
|
|
154
|
+
1. **Agent Performance Metrics** - Specifically: test coverage delta per PR, test failure rates, and flaky test tracking
|
|
155
|
+
2. **Dashboard Web UI** - With a dedicated "Test Health" panel showing coverage trends and test duration
|
|
156
|
+
3. **Task Templates** - Bug fix template MUST include "reproduction steps" and "expected test to add" fields
|
|
157
|
+
|
|
158
|
+
**New Ideas:**
|
|
159
|
+
- **Test Impact Analysis** - Show which tests are affected by pending code changes
|
|
160
|
+
- **Coverage Gate Widget** - Visual indicator when a PR drops coverage below threshold
|
|
161
|
+
- **Flaky Test Tracker** - Dashboard showing tests that intermittently fail, with history
|
|
162
|
+
|
|
163
|
+
**Concerns:**
|
|
164
|
+
- Time tracking for testing is tricky - tests can be fast to write but slow to run. Track both authoring time and execution time separately.
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
### Ember (DevOps Engineer) 🔥
|
|
169
|
+
**Top 3 Priorities:**
|
|
170
|
+
1. **Slack/Discord Integration** - Essential for async teams. Webhook notifications for deploys, failures, and approvals needed.
|
|
171
|
+
2. **Dashboard Web UI** - Must include CI/CD pipeline status, deployment health, and environment indicators
|
|
172
|
+
3. **Task Dependencies** - Helps me understand when it's safe to deploy vs when there's work in flight
|
|
173
|
+
|
|
174
|
+
**New Ideas:**
|
|
175
|
+
- **Deployment Calendar** - Visual timeline of past and scheduled deployments
|
|
176
|
+
- **Environment Health Dashboard** - Status of dev/staging/prod with quick links to logs
|
|
177
|
+
- **Release Notes Generator** - Auto-generate changelog from merged PRs for releases
|
|
178
|
+
- **Cost Tracking** - Show estimated cloud costs for running agents (API tokens used, compute time)
|
|
179
|
+
|
|
180
|
+
**Concerns:**
|
|
181
|
+
- Slack integration should support multiple channels (one for deploys, one for alerts, one for summaries)
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
### Scribe (Documentation Specialist) 📜
|
|
186
|
+
**Top 3 Priorities:**
|
|
187
|
+
1. **Task Templates** - Documentation tasks need templates too! Include: target audience, scope, related code areas
|
|
188
|
+
2. **Dashboard Web UI** - With a "Documentation Health" view showing outdated docs, missing docs for new features
|
|
189
|
+
3. **Slack/Discord Integration** - For announcing new documentation and changelog updates
|
|
190
|
+
|
|
191
|
+
**New Ideas:**
|
|
192
|
+
- **Docs Coverage Metric** - Track which public APIs/features have documentation vs. which are undocumented
|
|
193
|
+
- **Changelog Automation** - Auto-generate CHANGELOG.md entries from task completions and git history
|
|
194
|
+
- **Knowledge Graph** - Visual map of docs topics and their relationships
|
|
195
|
+
- **Stale Docs Detector** - Highlight documentation that references code that has since changed
|
|
196
|
+
|
|
197
|
+
**Concerns:**
|
|
198
|
+
- Templates should be markdown-based and versionable. Don't lock them into a proprietary format.
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
### Architect (System Designer) 🏛️
|
|
203
|
+
**Top 3 Priorities:**
|
|
204
|
+
1. **Task Dependencies** - Critical for understanding work streams and identifying bottlenecks in the development pipeline
|
|
205
|
+
2. **Dashboard Web UI** - Architectural view showing system components and which teams/agents are working on what
|
|
206
|
+
3. **Agent Performance Metrics** - But focused on collaboration patterns: how often do tasks get bounced back, dependency conflicts, etc.
|
|
207
|
+
|
|
208
|
+
**New Ideas:**
|
|
209
|
+
- **Architecture Drift Detection** - Compare actual codebase structure to documented architecture, highlight deviations
|
|
210
|
+
- **Dependency Graph Visualization** - Show code module dependencies and highlight circular dependencies or tight coupling
|
|
211
|
+
- **Technical Debt Dashboard** - Aggregate TODOs, FIXMEs, and known issues with trends over time
|
|
212
|
+
- **Impact Analysis** - For any proposed change, show estimated blast radius (files/components affected)
|
|
213
|
+
|
|
214
|
+
**Concerns:**
|
|
215
|
+
- Dashboard should be plugin-based architecture. Core is lightweight, features are extensions. This allows customization per project.
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
### Pixel (UX Designer) 🎨
|
|
220
|
+
**Top 3 Priorities:**
|
|
221
|
+
1. **Dashboard Web UI** - This is my JAM! Let me paint you a picture: a developer opens the dashboard and within 3 seconds knows exactly what needs attention. No cognitive overload, just clarity.
|
|
222
|
+
2. **Task Templates** - But think of them as guided experiences. The template should FEEL like a conversation, not a form.
|
|
223
|
+
3. **Slack/Discord Integration** - Notifications should be scannable. Use visual hierarchy - icons, colors, and whitespace to separate signal from noise.
|
|
224
|
+
|
|
225
|
+
**New Ideas:**
|
|
226
|
+
- **Actionable Dashboard Items** - THIS IS HUGE. Every problem shown should have a "Fix it" button that dispatches an agent. Stale docs? Click → Scribe spins up. Failed test? Click → Crucible investigates. Transform the dashboard from a monitor into a command center.
|
|
227
|
+
- **Status at a Glance** - Traffic light system for each area: Code Health (green/yellow/red), Test Coverage, Doc Freshness, Security posture. One glance tells the story.
|
|
228
|
+
- **Contextual Actions** - Right-click any item for relevant actions. PR waiting? Options: "Nudge reviewer", "Assign to Sentinel", "View diff"
|
|
229
|
+
- **Personalized Views** - Each user sees what matters to THEM. Frontend devs see component status. Backend devs see API health. PMs see velocity.
|
|
230
|
+
- **Onboarding Flow** - First-time users get a guided tour. "This is your task board. Here's how to dispatch an agent. Here's your notification center."
|
|
231
|
+
- **Dark Mode** - Non-negotiable. Developers live in dark mode.
|
|
232
|
+
- **Keyboard Shortcuts** - Power users want `k` to move up, `j` to move down, `a` to assign, `d` to dispatch. Vim-style navigation.
|
|
233
|
+
|
|
234
|
+
**Design Principles for Dashboard:**
|
|
235
|
+
1. **Progressive Disclosure** - Show summary first, details on demand
|
|
236
|
+
2. **Immediate Feedback** - Every action confirms within 100ms
|
|
237
|
+
3. **Error Prevention** - Dangerous actions require confirmation
|
|
238
|
+
4. **Accessibility First** - WCAG 2.1 AA, keyboard nav, screen reader support
|
|
239
|
+
5. **Mobile Responsive** - Check status from your phone at 2am (we've all been there)
|
|
240
|
+
|
|
241
|
+
**User Journeys I'm Thinking About:**
|
|
242
|
+
1. **Morning Check-in** - "What happened overnight? What needs my attention today?"
|
|
243
|
+
2. **Mid-sprint Triage** - "We're behind. What can we cut? What's blocked?"
|
|
244
|
+
3. **PR Shepherd** - "My PR has been waiting 2 days. Who can review?"
|
|
245
|
+
4. **Incident Response** - "Something broke. Show me what, when, and who's on it."
|
|
246
|
+
|
|
247
|
+
**Concerns:**
|
|
248
|
+
- Don't over-engineer V1. Ship a beautiful, focused MVP. Three panels: Tasks, Agents, Notifications. That's it for launch.
|
|
249
|
+
- Test with REAL users before adding features. We'll learn more in a week of usage than months of planning.
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
## Voting Summary
|
|
254
|
+
|
|
255
|
+
| Feature | Votes | Champions |
|
|
256
|
+
|---------|-------|-----------|
|
|
257
|
+
| Dashboard Web UI | 8 | ALL agents (unanimous) |
|
|
258
|
+
| Task Dependencies | 4 | Sentinel, Furnace, Ember, Architect |
|
|
259
|
+
| Task Templates | 4 | Anvil, Crucible, Scribe, Pixel |
|
|
260
|
+
| Slack/Discord Integration | 4 | Anvil, Ember, Scribe, Pixel |
|
|
261
|
+
| Agent Performance Metrics | 3 | Sentinel, Crucible, Architect |
|
|
262
|
+
| Time Tracking | 1 | Furnace |
|
|
263
|
+
|
|
264
|
+
## Complete Feature Roadmap
|
|
265
|
+
|
|
266
|
+
### Phase 1: Dashboard MVP (Priority: CRITICAL)
|
|
267
|
+
**Goal:** Visibility into the forge - what's happening, what needs attention
|
|
268
|
+
|
|
269
|
+
| Feature | Owner | Description |
|
|
270
|
+
|---------|-------|-------------|
|
|
271
|
+
| Task Board (Kanban) | Anvil + Furnace | Pending, In Progress, Review, Done columns |
|
|
272
|
+
| Agent Status Panel | Anvil + Furnace | Live status of all agents, idle/working/blocked |
|
|
273
|
+
| Notifications Feed | Anvil + Furnace | Recent events, completions, alerts |
|
|
274
|
+
| **Actionable Items** | Anvil + Furnace | 🆕 Click any issue → dispatch agent to fix it |
|
|
275
|
+
| Dark Mode | Anvil | Non-negotiable per Pixel |
|
|
276
|
+
| Basic Auth | Furnace | Local-only initially, optional password |
|
|
277
|
+
|
|
278
|
+
**Actionable Dashboard Detail (Pixel's Key Feature):**
|
|
279
|
+
Every flagged issue becomes a "Fix It" button:
|
|
280
|
+
- Stale docs indicator → Click → Scribe task created
|
|
281
|
+
- Failing test → Click → Crucible investigates
|
|
282
|
+
- Security vulnerability → Click → Aegis dispatched
|
|
283
|
+
- Missing API docs → Click → Scribe + Furnace coordination
|
|
284
|
+
- Code smell detected → Click → Architect review task
|
|
285
|
+
|
|
286
|
+
### Phase 2: Workflow Intelligence (Priority: HIGH)
|
|
287
|
+
**Goal:** Smarter task management and coordination
|
|
288
|
+
|
|
289
|
+
| Feature | Owner | Description |
|
|
290
|
+
|---------|-------|-------------|
|
|
291
|
+
| Task Dependencies | Furnace | `depends_on`, `blocked_by` in task YAML |
|
|
292
|
+
| Blocked Task Visualization | Anvil | Show dependency chains, highlight blockers |
|
|
293
|
+
| Auto-assignment | Furnace | When blocker clears, notify/assign next task |
|
|
294
|
+
| Task Templates | Scribe + Pixel | Bug fix, feature, refactor, docs templates |
|
|
295
|
+
| Template Wizard | Pixel + Anvil | Guided task creation experience |
|
|
296
|
+
|
|
297
|
+
### Phase 3: Communication Hub (Priority: HIGH)
|
|
298
|
+
**Goal:** Keep humans in the loop without context switching
|
|
299
|
+
|
|
300
|
+
| Feature | Owner | Description |
|
|
301
|
+
|---------|-------|-------------|
|
|
302
|
+
| Discord Integration | Ember | Webhooks for task events, PR ready, alerts |
|
|
303
|
+
| Slack Integration | Ember | Same as Discord, different platform |
|
|
304
|
+
| Channel Routing | Ember | Different channels for deploys, alerts, summaries |
|
|
305
|
+
| Daily Digest | Scribe + Ember | Auto-generated summary of yesterday's work |
|
|
306
|
+
| @mention Support | Furnace | Mention agents in chat to dispatch tasks |
|
|
307
|
+
|
|
308
|
+
### Phase 4: Quality Dashboards (Priority: MEDIUM)
|
|
309
|
+
**Goal:** Visibility into code health and quality trends
|
|
310
|
+
|
|
311
|
+
| Feature | Owner | Description |
|
|
312
|
+
|---------|-------|-------------|
|
|
313
|
+
| Test Health Panel | Crucible | Coverage trends, flaky tests, duration |
|
|
314
|
+
| Test Impact Analysis | Crucible | Which tests affected by code changes |
|
|
315
|
+
| Security Dashboard | Aegis + Sentinel | Vulnerabilities, dependency issues, audit status |
|
|
316
|
+
| Docs Freshness | Scribe | Stale docs, missing docs, coverage % |
|
|
317
|
+
| Technical Debt Tracker | Architect | TODOs, FIXMEs, known issues with trends |
|
|
318
|
+
|
|
319
|
+
### Phase 5: Metrics & Insights (Priority: MEDIUM)
|
|
320
|
+
**Goal:** Learn and improve over time
|
|
321
|
+
|
|
322
|
+
| Feature | Owner | Description |
|
|
323
|
+
|---------|-------|-------------|
|
|
324
|
+
| Agent Performance Metrics | Architect | Tasks completed, cycle time, quality scores |
|
|
325
|
+
| Time Tracking | Furnace | Auto-track from status changes |
|
|
326
|
+
| Velocity Charts | Pixel + Anvil | Sprint burndown, throughput trends |
|
|
327
|
+
| Review Pass Rate | Sentinel | First-time approval rate, revision frequency |
|
|
328
|
+
| Collaboration Patterns | Architect | Handoff frequency, dependency conflicts |
|
|
329
|
+
|
|
330
|
+
### Phase 6: Advanced Features (Priority: LOW)
|
|
331
|
+
**Goal:** Power user features and advanced workflows
|
|
332
|
+
|
|
333
|
+
| Feature | Owner | Description |
|
|
334
|
+
|---------|-------|-------------|
|
|
335
|
+
| Architecture Drift Detection | Architect | Compare code to documented architecture |
|
|
336
|
+
| Dependency Graph Viz | Architect | Module dependencies, circular detection |
|
|
337
|
+
| Component Preview Links | Anvil | Auto-generate Storybook/preview URLs |
|
|
338
|
+
| Release Notes Generator | Herald + Scribe | Auto-changelog from merged PRs |
|
|
339
|
+
| Deployment Calendar | Ember | Visual timeline of past/scheduled deploys |
|
|
340
|
+
| Personalized Views | Pixel | Role-based dashboard customization |
|
|
341
|
+
| Keyboard Shortcuts | Anvil | Vim-style navigation for power users |
|
|
342
|
+
| Cost Tracking | Ember | API tokens used, compute costs |
|
|
343
|
+
|
|
344
|
+
---
|
|
345
|
+
|
|
346
|
+
## New Features Proposed (Not in Original List)
|
|
347
|
+
|
|
348
|
+
| Feature | Proposed By | Priority | Included In |
|
|
349
|
+
|---------|-------------|----------|-------------|
|
|
350
|
+
| **Actionable Dashboard Items** | Pixel | CRITICAL | Phase 1 |
|
|
351
|
+
| Security Dashboard Panel | Sentinel | High | Phase 4 |
|
|
352
|
+
| Component Preview Links | Anvil | Medium | Phase 6 |
|
|
353
|
+
| API Contract View | Furnace | Medium | Phase 4 |
|
|
354
|
+
| Test Impact Analysis | Crucible | High | Phase 4 |
|
|
355
|
+
| Deployment Calendar | Ember | Medium | Phase 6 |
|
|
356
|
+
| Changelog Automation | Scribe | High | Phase 6 |
|
|
357
|
+
| Architecture Drift Detection | Architect | Medium | Phase 6 |
|
|
358
|
+
| Technical Debt Dashboard | Architect | High | Phase 4 |
|
|
359
|
+
| Status at a Glance (Traffic Lights) | Pixel | High | Phase 1 |
|
|
360
|
+
| Personalized Views | Pixel | Low | Phase 6 |
|
|
361
|
+
| Keyboard Shortcuts | Pixel | Low | Phase 6 |
|
|
362
|
+
| Onboarding Flow | Pixel | Medium | Phase 2 |
|
|
363
|
+
|
|
364
|
+
---
|
|
365
|
+
|
|
366
|
+
## Action Items
|
|
367
|
+
|
|
368
|
+
### Immediate (This Week)
|
|
369
|
+
1. [x] Add Pixel (UX Designer) to agent roster
|
|
370
|
+
2. [ ] Create FEATURE-001: Dashboard Web UI MVP task
|
|
371
|
+
3. [ ] Create dashboard wireframes (Pixel)
|
|
372
|
+
4. [ ] Define dashboard API schema (Furnace)
|
|
373
|
+
5. [ ] Choose frontend framework (Anvil + Pixel)
|
|
374
|
+
|
|
375
|
+
### Next Sprint
|
|
376
|
+
6. [ ] Create FEATURE-002: Task Dependencies Schema
|
|
377
|
+
7. [ ] Research Discord webhook API for notifications
|
|
378
|
+
8. [ ] Design task template YAML schema
|
|
379
|
+
9. [ ] Define "actionable item" task creation API
|
|
380
|
+
|
|
381
|
+
### Backlog
|
|
382
|
+
10. [ ] Define performance metrics that don't create perverse incentives
|
|
383
|
+
11. [ ] Research WebSocket vs polling for real-time updates
|
|
384
|
+
12. [ ] Design authentication for shared dashboards
|
|
385
|
+
13. [ ] Create plugin architecture spec
|
|
386
|
+
|
|
387
|
+
## Session Notes
|
|
388
|
+
|
|
389
|
+
**Consensus reached:**
|
|
390
|
+
- Dashboard is unanimously the top priority (8/8 agents)
|
|
391
|
+
- **Actionable items are the killer feature** - transform dashboard from viewer to command center
|
|
392
|
+
- Quality over speed for all metrics
|
|
393
|
+
- Templates should be markdown/YAML based, not proprietary
|
|
394
|
+
- Start simple, iterate based on usage
|
|
395
|
+
- Dark mode is non-negotiable
|
|
396
|
+
- Accessibility (WCAG 2.1 AA) is baseline, not bonus
|
|
397
|
+
|
|
398
|
+
**Key Design Principles (from Pixel):**
|
|
399
|
+
1. Progressive Disclosure - summary first, details on demand
|
|
400
|
+
2. Immediate Feedback - every action confirms within 100ms
|
|
401
|
+
3. Error Prevention - dangerous actions require confirmation
|
|
402
|
+
4. Mobile Responsive - status checks from anywhere
|
|
403
|
+
|
|
404
|
+
**Technical Decisions Needed:**
|
|
405
|
+
- Should dashboard be part of vibe-forge or separate package?
|
|
406
|
+
- Real-time updates: WebSocket vs polling vs SSE?
|
|
407
|
+
- Frontend framework: React, Vue, Svelte, or vanilla?
|
|
408
|
+
- Authentication: local-only, OAuth, or custom?
|
|
409
|
+
|
|
410
|
+
---
|
|
411
|
+
|
|
412
|
+
## Next Steps
|
|
413
|
+
|
|
414
|
+
**Ready to start Phase 1: Dashboard MVP**
|
|
415
|
+
|
|
416
|
+
Pixel will create wireframes for:
|
|
417
|
+
1. Main dashboard layout (3 panels: Tasks, Agents, Notifications)
|
|
418
|
+
2. Task detail view with "Dispatch Agent" action
|
|
419
|
+
3. Agent status panel with activity indicators
|
|
420
|
+
4. Notification feed with action buttons
|
|
421
|
+
|
|
422
|
+
Anvil + Furnace will scaffold:
|
|
423
|
+
1. Backend API (Node.js + SQLite)
|
|
424
|
+
2. Frontend shell (framework TBD)
|
|
425
|
+
3. WebSocket for real-time updates
|
|
426
|
+
4. Task dispatch endpoint
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Vibe Forge State
|
|
2
|
+
# Auto-updated by forge-daemon
|
|
3
|
+
# Last updated: 2026-01-11T13:36:20-06:00
|
|
4
|
+
|
|
5
|
+
forge:
|
|
6
|
+
status: active
|
|
7
|
+
daemon_pid: 1098
|
|
8
|
+
|
|
9
|
+
tasks:
|
|
10
|
+
pending: 0
|
|
11
|
+
in_progress: 0
|
|
12
|
+
completed: 0
|
|
13
|
+
in_review: 1
|
|
14
|
+
approved: 0
|
|
15
|
+
needs_changes: 0
|
|
16
|
+
merged: 0
|
|
17
|
+
blocked: 0
|
|
18
|
+
|
|
19
|
+
last_updated: 2026-01-11T13:36:20-06:00
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# Modern Development Conventions
|
|
2
|
+
|
|
3
|
+
Reference for up-to-date tooling and naming conventions. Knowledge cutoffs can cause outdated suggestions - prefer these modern approaches.
|
|
4
|
+
|
|
5
|
+
## Docker & Containers
|
|
6
|
+
|
|
7
|
+
### Compose (V2+, 2021)
|
|
8
|
+
|
|
9
|
+
- **File name:** `compose.yml` or `compose.yaml` (NOT `docker-compose.yml`)
|
|
10
|
+
- **Command:** `docker compose` (NOT `docker-compose`)
|
|
11
|
+
- Compose V2 is built into Docker CLI, no separate install needed
|
|
12
|
+
- `docker-compose` (hyphenated) is legacy V1
|
|
13
|
+
|
|
14
|
+
```yaml
|
|
15
|
+
# compose.yml (modern)
|
|
16
|
+
services:
|
|
17
|
+
app:
|
|
18
|
+
build: .
|
|
19
|
+
ports:
|
|
20
|
+
- "3000:3000"
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Docker Best Practices
|
|
24
|
+
|
|
25
|
+
- Use multi-stage builds for smaller images
|
|
26
|
+
- Prefer `COPY` over `ADD` unless extracting archives
|
|
27
|
+
- Use `.dockerignore` to exclude node_modules, .git, etc.
|
|
28
|
+
- Pin base image versions (e.g., `node:20-alpine`, not `node:latest`)
|
|
29
|
+
|
|
30
|
+
## Package Managers
|
|
31
|
+
|
|
32
|
+
### Node.js
|
|
33
|
+
|
|
34
|
+
- **npm:** v7+ supports workspaces, lockfile v2
|
|
35
|
+
- **pnpm:** Preferred for monorepos, faster, stricter
|
|
36
|
+
- **Bun:** Fast runtime + package manager, growing adoption
|
|
37
|
+
|
|
38
|
+
### Python
|
|
39
|
+
|
|
40
|
+
- **uv:** Modern, fast replacement for pip/pip-tools (2024+)
|
|
41
|
+
- **poetry:** Dependency management + packaging
|
|
42
|
+
- **pipx:** For CLI tools (don't pip install globally)
|
|
43
|
+
|
|
44
|
+
## TypeScript
|
|
45
|
+
|
|
46
|
+
- **Config:** `tsconfig.json` with `"moduleResolution": "bundler"` for modern bundlers
|
|
47
|
+
- **Strict mode:** Always enable `"strict": true`
|
|
48
|
+
- **Node types:** `@types/node` version should match Node.js version
|
|
49
|
+
|
|
50
|
+
## Testing
|
|
51
|
+
|
|
52
|
+
### JavaScript/TypeScript
|
|
53
|
+
|
|
54
|
+
- **Vitest:** Modern, fast, Vite-native (preferred for new projects)
|
|
55
|
+
- **Jest:** Still widely used, v30+ reduces deprecated deps
|
|
56
|
+
- **Playwright:** E2E testing, cross-browser
|
|
57
|
+
|
|
58
|
+
### Python
|
|
59
|
+
|
|
60
|
+
- **pytest:** Standard, use over unittest
|
|
61
|
+
- **pytest-cov:** Coverage reporting
|
|
62
|
+
|
|
63
|
+
## CI/CD
|
|
64
|
+
|
|
65
|
+
### GitHub Actions
|
|
66
|
+
|
|
67
|
+
- Use `actions/checkout@v4`, `actions/setup-node@v4` (latest major versions)
|
|
68
|
+
- Prefer `npm ci` over `npm install` in CI
|
|
69
|
+
- Use job matrices for cross-platform testing
|
|
70
|
+
|
|
71
|
+
## Linting & Formatting
|
|
72
|
+
|
|
73
|
+
### JavaScript/TypeScript
|
|
74
|
+
|
|
75
|
+
- **ESLint v9+:** Flat config (`eslint.config.js`, not `.eslintrc`)
|
|
76
|
+
- **Prettier:** Code formatting (or use ESLint with stylistic rules)
|
|
77
|
+
- **Biome:** Fast all-in-one linter + formatter (Rust-based)
|
|
78
|
+
|
|
79
|
+
### Python
|
|
80
|
+
|
|
81
|
+
- **Ruff:** Fast linter + formatter (replaces flake8, black, isort)
|
|
82
|
+
- **mypy:** Type checking
|
|
83
|
+
|
|
84
|
+
## API Design
|
|
85
|
+
|
|
86
|
+
### REST
|
|
87
|
+
|
|
88
|
+
- Use plural nouns for collections (`/users`, not `/user`)
|
|
89
|
+
- HTTP methods: GET (read), POST (create), PUT/PATCH (update), DELETE
|
|
90
|
+
- Status codes: 200 OK, 201 Created, 400 Bad Request, 404 Not Found, 500 Server Error
|
|
91
|
+
|
|
92
|
+
### Authentication
|
|
93
|
+
|
|
94
|
+
- **JWTs:** Short expiry + refresh tokens, store in httpOnly cookies (not localStorage)
|
|
95
|
+
- **OAuth 2.0 / OIDC:** For third-party auth
|
|
96
|
+
- **Passkeys/WebAuthn:** Modern passwordless option
|
|
97
|
+
|
|
98
|
+
## Database
|
|
99
|
+
|
|
100
|
+
### ORMs
|
|
101
|
+
|
|
102
|
+
- **Prisma:** Type-safe, great DX for Node.js/TypeScript
|
|
103
|
+
- **Drizzle:** Lightweight, SQL-like syntax
|
|
104
|
+
- **SQLAlchemy 2.0:** Python standard (note: 2.0 syntax differs from 1.x)
|
|
105
|
+
|
|
106
|
+
### Migrations
|
|
107
|
+
|
|
108
|
+
- Always use migrations, never manual schema changes in production
|
|
109
|
+
- Version control migration files
|
|
110
|
+
|
|
111
|
+
## Frontend
|
|
112
|
+
|
|
113
|
+
### React
|
|
114
|
+
|
|
115
|
+
- **React 18+:** Concurrent features, Suspense
|
|
116
|
+
- Prefer function components + hooks over class components
|
|
117
|
+
- Use React Server Components where appropriate (Next.js 13+)
|
|
118
|
+
|
|
119
|
+
### State Management
|
|
120
|
+
|
|
121
|
+
- Start with React Context + useReducer
|
|
122
|
+
- **Zustand:** Simple, minimal boilerplate
|
|
123
|
+
- **TanStack Query:** For server state (caching, refetching)
|
|
124
|
+
|
|
125
|
+
## Monorepos
|
|
126
|
+
|
|
127
|
+
- **Turborepo:** Fast builds, caching
|
|
128
|
+
- **Nx:** Full-featured, good for enterprise
|
|
129
|
+
- **pnpm workspaces:** Native package manager support
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# Project Context
|
|
2
|
+
|
|
3
|
+
**This file is the single source of truth for all Vibe Forge agents.**
|
|
4
|
+
|
|
5
|
+
Every agent loads this file at session start. Update this when architecture or conventions change.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Project Identity
|
|
10
|
+
|
|
11
|
+
- **Name:** {PROJECT_NAME}
|
|
12
|
+
- **Description:** {ONE_LINE_DESCRIPTION}
|
|
13
|
+
- **Repository:** {REPO_URL}
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Tech Stack
|
|
18
|
+
|
|
19
|
+
### Frontend
|
|
20
|
+
- Framework: {React/Vue/Svelte/etc}
|
|
21
|
+
- Styling: {Tailwind/CSS Modules/Styled Components/etc}
|
|
22
|
+
- State: {Redux/Zustand/Context/etc}
|
|
23
|
+
- Build: {Vite/Webpack/etc}
|
|
24
|
+
|
|
25
|
+
### Backend
|
|
26
|
+
- Runtime: {Node/Deno/Bun/etc}
|
|
27
|
+
- Framework: {Express/Fastify/Hono/etc}
|
|
28
|
+
- Database: {PostgreSQL/MongoDB/SQLite/etc}
|
|
29
|
+
- ORM: {Prisma/Drizzle/TypeORM/etc}
|
|
30
|
+
|
|
31
|
+
### Testing
|
|
32
|
+
- Unit: {Vitest/Jest/etc}
|
|
33
|
+
- E2E: {Playwright/Cypress/etc}
|
|
34
|
+
- Coverage target: {80%/etc}
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## File Structure
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
{PROJECT_ROOT}/
|
|
42
|
+
├── src/
|
|
43
|
+
│ ├── components/ # React components (Anvil's domain)
|
|
44
|
+
│ ├── pages/ # Page components
|
|
45
|
+
│ ├── api/ # API routes (Furnace's domain)
|
|
46
|
+
│ ├── services/ # Business logic
|
|
47
|
+
│ ├── models/ # Data models
|
|
48
|
+
│ ├── utils/ # Shared utilities
|
|
49
|
+
│ └── types/ # TypeScript types
|
|
50
|
+
├── tests/ # Test files (Crucible's domain)
|
|
51
|
+
├── docs/ # Documentation (Scribe's domain)
|
|
52
|
+
└── ...
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Coding Standards
|
|
58
|
+
|
|
59
|
+
### Naming
|
|
60
|
+
- Components: PascalCase (`UserProfile.tsx`)
|
|
61
|
+
- Functions: camelCase (`getUserById`)
|
|
62
|
+
- Constants: SCREAMING_SNAKE (`MAX_RETRIES`)
|
|
63
|
+
- Files: kebab-case for non-components (`auth-service.ts`)
|
|
64
|
+
|
|
65
|
+
### Patterns
|
|
66
|
+
- {Pattern 1: e.g., "Use custom hooks for shared logic"}
|
|
67
|
+
- {Pattern 2: e.g., "Services return Result<T, E> types"}
|
|
68
|
+
- {Pattern 3: e.g., "API routes follow REST conventions"}
|
|
69
|
+
|
|
70
|
+
### Forbidden
|
|
71
|
+
- {Anti-pattern 1: e.g., "No any types"}
|
|
72
|
+
- {Anti-pattern 2: e.g., "No console.log in production code"}
|
|
73
|
+
- {Anti-pattern 3: e.g., "No direct DOM manipulation in React"}
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Key Decisions
|
|
78
|
+
|
|
79
|
+
### Architecture
|
|
80
|
+
- {Decision 1: e.g., "Monorepo with Turborepo"}
|
|
81
|
+
- {Decision 2: e.g., "Feature-based folder structure"}
|
|
82
|
+
|
|
83
|
+
### Why We Chose X
|
|
84
|
+
- {Rationale for major tech choice}
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Environment
|
|
89
|
+
|
|
90
|
+
### Local Development
|
|
91
|
+
```bash
|
|
92
|
+
{SETUP_COMMANDS}
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Environment Variables
|
|
96
|
+
- `DATABASE_URL` - Database connection string
|
|
97
|
+
- `API_KEY` - External API key
|
|
98
|
+
- {etc}
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## Agent-Specific Notes
|
|
103
|
+
|
|
104
|
+
### Anvil (Frontend)
|
|
105
|
+
- Component library: {Shadcn/Radix/etc}
|
|
106
|
+
- Design system: {Link to Figma/Storybook}
|
|
107
|
+
|
|
108
|
+
### Furnace (Backend)
|
|
109
|
+
- API base path: `/api/v1`
|
|
110
|
+
- Auth method: {JWT/Session/etc}
|
|
111
|
+
|
|
112
|
+
### Crucible (Testing)
|
|
113
|
+
- Run tests: `npm test`
|
|
114
|
+
- Coverage: `npm run test:coverage`
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## Links
|
|
119
|
+
|
|
120
|
+
- Design: {Figma URL}
|
|
121
|
+
- API Docs: {Swagger/OpenAPI URL}
|
|
122
|
+
- Deployment: {Vercel/AWS/etc dashboard}
|