@prmichaelsen/acp-visualizer 0.1.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/README.md +68 -0
- package/agent/commands/acp.clarification-address.md +417 -0
- package/agent/commands/acp.clarification-capture.md +386 -0
- package/agent/commands/acp.clarification-create.md +437 -0
- package/agent/commands/acp.clarifications-research.md +326 -0
- package/agent/commands/acp.command-create.md +432 -0
- package/agent/commands/acp.design-create.md +286 -0
- package/agent/commands/acp.design-reference.md +355 -0
- package/agent/commands/acp.handoff.md +270 -0
- package/agent/commands/acp.index.md +423 -0
- package/agent/commands/acp.init.md +546 -0
- package/agent/commands/acp.package-create.md +895 -0
- package/agent/commands/acp.package-info.md +212 -0
- package/agent/commands/acp.package-install.md +539 -0
- package/agent/commands/acp.package-list.md +280 -0
- package/agent/commands/acp.package-publish.md +541 -0
- package/agent/commands/acp.package-remove.md +293 -0
- package/agent/commands/acp.package-search.md +307 -0
- package/agent/commands/acp.package-update.md +361 -0
- package/agent/commands/acp.package-validate.md +540 -0
- package/agent/commands/acp.pattern-create.md +386 -0
- package/agent/commands/acp.plan.md +587 -0
- package/agent/commands/acp.proceed.md +882 -0
- package/agent/commands/acp.project-create.md +675 -0
- package/agent/commands/acp.project-info.md +312 -0
- package/agent/commands/acp.project-list.md +226 -0
- package/agent/commands/acp.project-remove.md +379 -0
- package/agent/commands/acp.project-set.md +227 -0
- package/agent/commands/acp.project-update.md +307 -0
- package/agent/commands/acp.projects-restore.md +228 -0
- package/agent/commands/acp.projects-sync.md +347 -0
- package/agent/commands/acp.report.md +407 -0
- package/agent/commands/acp.resume.md +239 -0
- package/agent/commands/acp.sessions.md +301 -0
- package/agent/commands/acp.status.md +293 -0
- package/agent/commands/acp.sync.md +364 -0
- package/agent/commands/acp.task-create.md +500 -0
- package/agent/commands/acp.update.md +302 -0
- package/agent/commands/acp.validate.md +466 -0
- package/agent/commands/acp.version-check-for-updates.md +276 -0
- package/agent/commands/acp.version-check.md +191 -0
- package/agent/commands/acp.version-update.md +289 -0
- package/agent/commands/command.template.md +339 -0
- package/agent/commands/git.commit.md +526 -0
- package/agent/commands/git.init.md +514 -0
- package/agent/commands/tanstack-cloudflare.deploy.md +272 -0
- package/agent/commands/tanstack-cloudflare.tail.md +275 -0
- package/agent/design/.gitkeep +0 -0
- package/agent/design/design.template.md +154 -0
- package/agent/design/local.dashboard-layout-routing.md +288 -0
- package/agent/design/local.data-model-yaml-parsing.md +310 -0
- package/agent/design/local.search-filtering.md +331 -0
- package/agent/design/local.server-api-auto-refresh.md +235 -0
- package/agent/design/local.table-tree-views.md +299 -0
- package/agent/design/local.visualizer-requirements.md +349 -0
- package/agent/design/requirements.template.md +387 -0
- package/agent/index/.gitkeep +0 -0
- package/agent/index/acp.core.yaml +137 -0
- package/agent/index/local.main.template.yaml +37 -0
- package/agent/manifest.template.yaml +13 -0
- package/agent/manifest.yaml +302 -0
- package/agent/milestones/.gitkeep +0 -0
- package/agent/milestones/milestone-1-project-scaffold-data-pipeline.md +67 -0
- package/agent/milestones/milestone-1-{title}.template.md +206 -0
- package/agent/milestones/milestone-2-dashboard-views-interaction.md +79 -0
- package/agent/package.template.yaml +86 -0
- package/agent/patterns/.gitkeep +0 -0
- package/agent/patterns/bootstrap.template.md +1237 -0
- package/agent/patterns/pattern.template.md +382 -0
- package/agent/patterns/tanstack-cloudflare.acl-permissions.md +332 -0
- package/agent/patterns/tanstack-cloudflare.action-bar-item.md +416 -0
- package/agent/patterns/tanstack-cloudflare.api-route-handlers.md +401 -0
- package/agent/patterns/tanstack-cloudflare.auth-session-management.md +387 -0
- package/agent/patterns/tanstack-cloudflare.card-and-list.md +271 -0
- package/agent/patterns/tanstack-cloudflare.chat-engine.md +353 -0
- package/agent/patterns/tanstack-cloudflare.confirmation-tokens.md +346 -0
- package/agent/patterns/tanstack-cloudflare.durable-objects-websocket.md +516 -0
- package/agent/patterns/tanstack-cloudflare.email-service.md +431 -0
- package/agent/patterns/tanstack-cloudflare.expander.md +98 -0
- package/agent/patterns/tanstack-cloudflare.fcm-push.md +115 -0
- package/agent/patterns/tanstack-cloudflare.firebase-anonymous-sessions.md +441 -0
- package/agent/patterns/tanstack-cloudflare.firebase-auth.md +348 -0
- package/agent/patterns/tanstack-cloudflare.firebase-firestore.md +550 -0
- package/agent/patterns/tanstack-cloudflare.firebase-storage.md +369 -0
- package/agent/patterns/tanstack-cloudflare.form-controls.md +145 -0
- package/agent/patterns/tanstack-cloudflare.global-search-context.md +93 -0
- package/agent/patterns/tanstack-cloudflare.image-carousel.md +126 -0
- package/agent/patterns/tanstack-cloudflare.library-services.md +553 -0
- package/agent/patterns/tanstack-cloudflare.lightbox.md +169 -0
- package/agent/patterns/tanstack-cloudflare.markdown-content.md +115 -0
- package/agent/patterns/tanstack-cloudflare.mention-suggestions.md +98 -0
- package/agent/patterns/tanstack-cloudflare.modal.md +156 -0
- package/agent/patterns/tanstack-cloudflare.nextjs-to-tanstack-routing.md +461 -0
- package/agent/patterns/tanstack-cloudflare.notifications-engine.md +151 -0
- package/agent/patterns/tanstack-cloudflare.oauth-token-refresh.md +90 -0
- package/agent/patterns/tanstack-cloudflare.og-metadata.md +296 -0
- package/agent/patterns/tanstack-cloudflare.pagination.md +442 -0
- package/agent/patterns/tanstack-cloudflare.pill-input.md +220 -0
- package/agent/patterns/tanstack-cloudflare.provider-adapter.md +401 -0
- package/agent/patterns/tanstack-cloudflare.rate-limiting.md +323 -0
- package/agent/patterns/tanstack-cloudflare.scheduled-tasks.md +338 -0
- package/agent/patterns/tanstack-cloudflare.searchable-settings.md +375 -0
- package/agent/patterns/tanstack-cloudflare.slide-over.md +129 -0
- package/agent/patterns/tanstack-cloudflare.ssr-preload.md +571 -0
- package/agent/patterns/tanstack-cloudflare.third-party-api-integration.md +508 -0
- package/agent/patterns/tanstack-cloudflare.toast-system.md +142 -0
- package/agent/patterns/tanstack-cloudflare.unified-header.md +280 -0
- package/agent/patterns/tanstack-cloudflare.user-scoped-collections.md +628 -0
- package/agent/patterns/tanstack-cloudflare.websocket-manager.md +237 -0
- package/agent/patterns/tanstack-cloudflare.wrangler-configuration.md +358 -0
- package/agent/patterns/tanstack-cloudflare.zod-schema-validation.md +336 -0
- package/agent/progress.template.yaml +161 -0
- package/agent/progress.yaml +145 -0
- package/agent/schemas/package.schema.yaml +276 -0
- package/agent/scripts/acp.common.sh +1781 -0
- package/agent/scripts/acp.install.sh +333 -0
- package/agent/scripts/acp.package-create.sh +924 -0
- package/agent/scripts/acp.package-info.sh +288 -0
- package/agent/scripts/acp.package-install.sh +893 -0
- package/agent/scripts/acp.package-list.sh +311 -0
- package/agent/scripts/acp.package-publish.sh +420 -0
- package/agent/scripts/acp.package-remove.sh +348 -0
- package/agent/scripts/acp.package-search.sh +156 -0
- package/agent/scripts/acp.package-update.sh +517 -0
- package/agent/scripts/acp.package-validate.sh +1018 -0
- package/agent/scripts/acp.uninstall.sh +85 -0
- package/agent/scripts/acp.version-check-for-updates.sh +98 -0
- package/agent/scripts/acp.version-check.sh +47 -0
- package/agent/scripts/acp.version-update.sh +176 -0
- package/agent/scripts/acp.yaml-parser.sh +985 -0
- package/agent/scripts/acp.yaml-validate.sh +205 -0
- package/agent/tasks/.gitkeep +0 -0
- package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-1-initialize-tanstack-start-project.md +210 -0
- package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-2-implement-data-model-yaml-parser.md +294 -0
- package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-3-build-server-api-data-loading.md +193 -0
- package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-4-add-auto-refresh-sse.md +262 -0
- package/agent/tasks/milestone-2-dashboard-views-interaction/task-10-polish-integration-testing.md +156 -0
- package/agent/tasks/milestone-2-dashboard-views-interaction/task-5-build-dashboard-layout-routing.md +178 -0
- package/agent/tasks/milestone-2-dashboard-views-interaction/task-6-build-overview-page.md +141 -0
- package/agent/tasks/milestone-2-dashboard-views-interaction/task-7-implement-milestone-table-view.md +153 -0
- package/agent/tasks/milestone-2-dashboard-views-interaction/task-8-implement-milestone-tree-view.md +174 -0
- package/agent/tasks/milestone-2-dashboard-views-interaction/task-9-implement-search-filtering.md +233 -0
- package/agent/tasks/task-1-{title}.template.md +244 -0
- package/bin/visualize.mjs +84 -0
- package/package.json +48 -0
- package/src/components/ExtraFieldsBadge.tsx +15 -0
- package/src/components/FilterBar.tsx +33 -0
- package/src/components/Header.tsx +23 -0
- package/src/components/MilestoneTable.tsx +167 -0
- package/src/components/MilestoneTree.tsx +84 -0
- package/src/components/ProgressBar.tsx +20 -0
- package/src/components/SearchInput.tsx +22 -0
- package/src/components/Sidebar.tsx +54 -0
- package/src/components/StatusBadge.tsx +23 -0
- package/src/components/StatusDot.tsx +12 -0
- package/src/components/TaskList.tsx +36 -0
- package/src/components/ViewToggle.tsx +31 -0
- package/src/lib/config.ts +8 -0
- package/src/lib/file-watcher.ts +43 -0
- package/src/lib/search.ts +48 -0
- package/src/lib/types.ts +73 -0
- package/src/lib/useAutoRefresh.ts +31 -0
- package/src/lib/useCollapse.ts +31 -0
- package/src/lib/useFilteredData.ts +55 -0
- package/src/lib/yaml-loader-real.spec.ts +47 -0
- package/src/lib/yaml-loader.spec.ts +201 -0
- package/src/lib/yaml-loader.ts +265 -0
- package/src/routeTree.gen.ts +140 -0
- package/src/router.tsx +10 -0
- package/src/routes/__root.tsx +75 -0
- package/src/routes/api/watch.ts +29 -0
- package/src/routes/index.tsx +115 -0
- package/src/routes/milestones.tsx +50 -0
- package/src/routes/search.tsx +84 -0
- package/src/routes/tasks.tsx +63 -0
- package/src/services/progress-database.service.ts +46 -0
- package/src/styles.css +25 -0
- package/tsconfig.json +24 -0
- package/vite.config.ts +16 -0
- package/vitest.config.ts +27 -0
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
# Project Requirements
|
|
2
|
+
|
|
3
|
+
**Project Name**: [Your Project Name]
|
|
4
|
+
**Created**: YYYY-MM-DD
|
|
5
|
+
**Status**: Draft | Active | Implemented
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
|
|
11
|
+
[Provide a high-level description of what this project is and what it aims to accomplish. This should be a clear, concise summary that anyone can understand.]
|
|
12
|
+
|
|
13
|
+
**Example**: "A multi-tenant memory system that enables AI agents to store, retrieve, and manage contextual information across sessions with vector search capabilities and relationship tracking."
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Problem Statement
|
|
18
|
+
|
|
19
|
+
[Describe the problem this project solves. What pain points or needs does it address?]
|
|
20
|
+
|
|
21
|
+
**Example**: "AI agents currently have no persistent memory between sessions, leading to loss of context and requiring users to repeatedly provide the same information."
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Goals and Objectives
|
|
26
|
+
|
|
27
|
+
[List the primary goals this project aims to achieve. Be specific and measurable where possible.]
|
|
28
|
+
|
|
29
|
+
### Primary Goals
|
|
30
|
+
1. Goal 1: [Description]
|
|
31
|
+
2. Goal 2: [Description]
|
|
32
|
+
3. Goal 3: [Description]
|
|
33
|
+
|
|
34
|
+
### Secondary Goals
|
|
35
|
+
1. Goal 1: [Description]
|
|
36
|
+
2. Goal 2: [Description]
|
|
37
|
+
|
|
38
|
+
**Example**:
|
|
39
|
+
|
|
40
|
+
### Primary Goals
|
|
41
|
+
1. Enable persistent memory storage across agent sessions
|
|
42
|
+
2. Provide fast vector-based semantic search
|
|
43
|
+
3. Support multi-tenant isolation for data security
|
|
44
|
+
|
|
45
|
+
### Secondary Goals
|
|
46
|
+
1. Implement relationship tracking between memories
|
|
47
|
+
2. Add trust-based access control
|
|
48
|
+
3. Support template-based memory creation
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Functional Requirements
|
|
53
|
+
|
|
54
|
+
[List what the system must do. These are the features and capabilities.]
|
|
55
|
+
|
|
56
|
+
### Core Features
|
|
57
|
+
1. **Feature 1**: [Description of what it does]
|
|
58
|
+
2. **Feature 2**: [Description of what it does]
|
|
59
|
+
3. **Feature 3**: [Description of what it does]
|
|
60
|
+
|
|
61
|
+
### Additional Features
|
|
62
|
+
1. **Feature 1**: [Description]
|
|
63
|
+
2. **Feature 2**: [Description]
|
|
64
|
+
|
|
65
|
+
**Example**:
|
|
66
|
+
|
|
67
|
+
### Core Features
|
|
68
|
+
1. **Memory Storage**: Store structured memories with metadata (title, content, tags, timestamps)
|
|
69
|
+
2. **Vector Search**: Find semantically similar memories using vector embeddings
|
|
70
|
+
3. **Multi-Tenancy**: Isolate user data with per-user access control
|
|
71
|
+
|
|
72
|
+
### Additional Features
|
|
73
|
+
1. **Relationship Graph**: Track connections between related memories
|
|
74
|
+
2. **Template System**: Pre-defined memory structures for common use cases
|
|
75
|
+
3. **Trust Levels**: Control memory visibility based on trust scores
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Non-Functional Requirements
|
|
80
|
+
|
|
81
|
+
[Describe quality attributes and constraints.]
|
|
82
|
+
|
|
83
|
+
### Performance
|
|
84
|
+
- Requirement 1: [Specific metric]
|
|
85
|
+
- Requirement 2: [Specific metric]
|
|
86
|
+
|
|
87
|
+
### Security
|
|
88
|
+
- Requirement 1: [Security requirement]
|
|
89
|
+
- Requirement 2: [Security requirement]
|
|
90
|
+
|
|
91
|
+
### Scalability
|
|
92
|
+
- Requirement 1: [Scalability requirement]
|
|
93
|
+
- Requirement 2: [Scalability requirement]
|
|
94
|
+
|
|
95
|
+
### Reliability
|
|
96
|
+
- Requirement 1: [Reliability requirement]
|
|
97
|
+
- Requirement 2: [Reliability requirement]
|
|
98
|
+
|
|
99
|
+
**Example**:
|
|
100
|
+
|
|
101
|
+
### Performance
|
|
102
|
+
- Search queries return results in < 200ms for 95th percentile
|
|
103
|
+
- Support 1000+ concurrent users
|
|
104
|
+
|
|
105
|
+
### Security
|
|
106
|
+
- Complete data isolation between tenants
|
|
107
|
+
- All API endpoints require authentication
|
|
108
|
+
- Sensitive data encrypted at rest
|
|
109
|
+
|
|
110
|
+
### Scalability
|
|
111
|
+
- Horizontal scaling for increased load
|
|
112
|
+
- Support millions of memories per tenant
|
|
113
|
+
|
|
114
|
+
### Reliability
|
|
115
|
+
- 99.9% uptime SLA
|
|
116
|
+
- Automatic backups every 24 hours
|
|
117
|
+
- Graceful degradation under load
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## Technical Requirements
|
|
122
|
+
|
|
123
|
+
[Specify technical constraints and requirements.]
|
|
124
|
+
|
|
125
|
+
### Technology Stack
|
|
126
|
+
- **Language**: [Programming language and version]
|
|
127
|
+
- **Framework**: [Framework and version]
|
|
128
|
+
- **Database**: [Database technology]
|
|
129
|
+
- **Infrastructure**: [Hosting/deployment platform]
|
|
130
|
+
|
|
131
|
+
### Dependencies
|
|
132
|
+
- Dependency 1: [Purpose]
|
|
133
|
+
- Dependency 2: [Purpose]
|
|
134
|
+
- Dependency 3: [Purpose]
|
|
135
|
+
|
|
136
|
+
### Integrations
|
|
137
|
+
- Integration 1: [What it integrates with and why]
|
|
138
|
+
- Integration 2: [What it integrates with and why]
|
|
139
|
+
|
|
140
|
+
**Example**:
|
|
141
|
+
|
|
142
|
+
### Technology Stack
|
|
143
|
+
- **Language**: TypeScript 5.x
|
|
144
|
+
- **Runtime**: Node.js 20+
|
|
145
|
+
- **Protocol**: Model Context Protocol (MCP)
|
|
146
|
+
- **Vector DB**: Weaviate
|
|
147
|
+
- **Document DB**: Firestore
|
|
148
|
+
- **Authentication**: Firebase Auth
|
|
149
|
+
|
|
150
|
+
### Dependencies
|
|
151
|
+
- @modelcontextprotocol/sdk: MCP protocol implementation
|
|
152
|
+
- weaviate-client: Vector database client
|
|
153
|
+
- firebase-admin: Firestore and auth
|
|
154
|
+
|
|
155
|
+
### Integrations
|
|
156
|
+
- OpenAI API: Generate vector embeddings
|
|
157
|
+
- Firebase Auth: User authentication and authorization
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## User Stories
|
|
162
|
+
|
|
163
|
+
[Describe functionality from the user's perspective.]
|
|
164
|
+
|
|
165
|
+
### As a [User Type]
|
|
166
|
+
1. I want to [action] so that [benefit]
|
|
167
|
+
2. I want to [action] so that [benefit]
|
|
168
|
+
3. I want to [action] so that [benefit]
|
|
169
|
+
|
|
170
|
+
**Example**:
|
|
171
|
+
|
|
172
|
+
### As an AI Agent
|
|
173
|
+
1. I want to store memories about user preferences so that I can personalize responses
|
|
174
|
+
2. I want to search for relevant memories so that I can provide contextual answers
|
|
175
|
+
3. I want to create relationships between memories so that I can understand connections
|
|
176
|
+
|
|
177
|
+
### As a User
|
|
178
|
+
1. I want my data isolated from other users so that my privacy is protected
|
|
179
|
+
2. I want to control which memories are shared so that I maintain control over my data
|
|
180
|
+
3. I want to export my memories so that I can back them up
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## Constraints
|
|
185
|
+
|
|
186
|
+
[List any limitations or constraints on the project.]
|
|
187
|
+
|
|
188
|
+
### Technical Constraints
|
|
189
|
+
- Constraint 1: [Description and impact]
|
|
190
|
+
- Constraint 2: [Description and impact]
|
|
191
|
+
|
|
192
|
+
### Business Constraints
|
|
193
|
+
- Constraint 1: [Description and impact]
|
|
194
|
+
- Constraint 2: [Description and impact]
|
|
195
|
+
|
|
196
|
+
### Resource Constraints
|
|
197
|
+
- Constraint 1: [Description and impact]
|
|
198
|
+
- Constraint 2: [Description and impact]
|
|
199
|
+
|
|
200
|
+
**Example**:
|
|
201
|
+
|
|
202
|
+
### Technical Constraints
|
|
203
|
+
- Must use existing Firebase infrastructure
|
|
204
|
+
- Vector embeddings limited to OpenAI models
|
|
205
|
+
- MCP protocol requires stdio or SSE transport
|
|
206
|
+
|
|
207
|
+
### Business Constraints
|
|
208
|
+
- Must launch MVP within 3 months
|
|
209
|
+
- Free tier must support 1000 memories per user
|
|
210
|
+
- Must comply with GDPR and data privacy regulations
|
|
211
|
+
|
|
212
|
+
### Resource Constraints
|
|
213
|
+
- Single developer for initial implementation
|
|
214
|
+
- Limited budget for cloud infrastructure
|
|
215
|
+
- No dedicated QA team
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## Success Criteria
|
|
220
|
+
|
|
221
|
+
[Define what success looks like. How will you know the project is complete and successful?]
|
|
222
|
+
|
|
223
|
+
### MVP Success Criteria
|
|
224
|
+
- [ ] Criterion 1: [Measurable condition]
|
|
225
|
+
- [ ] Criterion 2: [Measurable condition]
|
|
226
|
+
- [ ] Criterion 3: [Measurable condition]
|
|
227
|
+
|
|
228
|
+
### Full Release Success Criteria
|
|
229
|
+
- [ ] Criterion 1: [Measurable condition]
|
|
230
|
+
- [ ] Criterion 2: [Measurable condition]
|
|
231
|
+
- [ ] Criterion 3: [Measurable condition]
|
|
232
|
+
|
|
233
|
+
**Example**:
|
|
234
|
+
|
|
235
|
+
### MVP Success Criteria
|
|
236
|
+
- [ ] Users can create, read, update, and delete memories
|
|
237
|
+
- [ ] Vector search returns relevant results
|
|
238
|
+
- [ ] Multi-tenant isolation verified through security testing
|
|
239
|
+
- [ ] Basic documentation complete
|
|
240
|
+
|
|
241
|
+
### Full Release Success Criteria
|
|
242
|
+
- [ ] All core and additional features implemented
|
|
243
|
+
- [ ] Performance meets specified metrics
|
|
244
|
+
- [ ] Security audit passed
|
|
245
|
+
- [ ] 100 active users with positive feedback
|
|
246
|
+
- [ ] Comprehensive documentation and examples
|
|
247
|
+
|
|
248
|
+
---
|
|
249
|
+
|
|
250
|
+
## Out of Scope
|
|
251
|
+
|
|
252
|
+
[Explicitly list what is NOT included in this project to manage expectations.]
|
|
253
|
+
|
|
254
|
+
1. Feature/capability 1: [Why it's out of scope]
|
|
255
|
+
2. Feature/capability 2: [Why it's out of scope]
|
|
256
|
+
3. Feature/capability 3: [Why it's out of scope]
|
|
257
|
+
|
|
258
|
+
**Example**:
|
|
259
|
+
|
|
260
|
+
1. **Mobile app**: Focus is on MCP server, not end-user applications
|
|
261
|
+
2. **Real-time collaboration**: Single-user focus for MVP
|
|
262
|
+
3. **Advanced analytics**: Basic usage stats only, no complex analytics
|
|
263
|
+
4. **Custom embedding models**: OpenAI only for MVP
|
|
264
|
+
5. **On-premise deployment**: Cloud-only for initial release
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
## Assumptions
|
|
269
|
+
|
|
270
|
+
[List assumptions being made about the project.]
|
|
271
|
+
|
|
272
|
+
1. Assumption 1: [Description]
|
|
273
|
+
2. Assumption 2: [Description]
|
|
274
|
+
3. Assumption 3: [Description]
|
|
275
|
+
|
|
276
|
+
**Example**:
|
|
277
|
+
|
|
278
|
+
1. Users have stable internet connectivity
|
|
279
|
+
2. OpenAI API will remain available and affordable
|
|
280
|
+
3. Firebase infrastructure will scale to meet demand
|
|
281
|
+
4. MCP protocol will remain stable (no breaking changes)
|
|
282
|
+
5. Users understand basic AI agent concepts
|
|
283
|
+
|
|
284
|
+
---
|
|
285
|
+
|
|
286
|
+
## Risks
|
|
287
|
+
|
|
288
|
+
[Identify potential risks and mitigation strategies.]
|
|
289
|
+
|
|
290
|
+
| Risk | Impact | Probability | Mitigation Strategy |
|
|
291
|
+
|------|--------|-------------|---------------------|
|
|
292
|
+
| [Risk 1] | High/Medium/Low | High/Medium/Low | [How to mitigate] |
|
|
293
|
+
| [Risk 2] | High/Medium/Low | High/Medium/Low | [How to mitigate] |
|
|
294
|
+
| [Risk 3] | High/Medium/Low | High/Medium/Low | [How to mitigate] |
|
|
295
|
+
|
|
296
|
+
**Example**:
|
|
297
|
+
|
|
298
|
+
| Risk | Impact | Probability | Mitigation Strategy |
|
|
299
|
+
|------|--------|-------------|---------------------|
|
|
300
|
+
| OpenAI API cost escalation | High | Medium | Implement caching, batch processing, consider alternative providers |
|
|
301
|
+
| Security vulnerability | High | Low | Regular security audits, follow best practices, bug bounty program |
|
|
302
|
+
| Performance degradation at scale | Medium | Medium | Load testing, performance monitoring, optimization plan |
|
|
303
|
+
| MCP protocol changes | Medium | Low | Stay updated with MCP community, version pinning |
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
307
|
+
## Timeline
|
|
308
|
+
|
|
309
|
+
[Provide a high-level timeline for the project.]
|
|
310
|
+
|
|
311
|
+
### Phase 1: [Phase Name] (Duration)
|
|
312
|
+
- Milestone 1
|
|
313
|
+
- Milestone 2
|
|
314
|
+
|
|
315
|
+
### Phase 2: [Phase Name] (Duration)
|
|
316
|
+
- Milestone 3
|
|
317
|
+
- Milestone 4
|
|
318
|
+
|
|
319
|
+
### Phase 3: [Phase Name] (Duration)
|
|
320
|
+
- Milestone 5
|
|
321
|
+
- Milestone 6
|
|
322
|
+
|
|
323
|
+
**Example**:
|
|
324
|
+
|
|
325
|
+
### Phase 1: Foundation (Weeks 1-2)
|
|
326
|
+
- Project setup and infrastructure
|
|
327
|
+
- Basic MCP server implementation
|
|
328
|
+
- Database connections
|
|
329
|
+
|
|
330
|
+
### Phase 2: Core Features (Weeks 3-6)
|
|
331
|
+
- Memory CRUD operations
|
|
332
|
+
- Vector search implementation
|
|
333
|
+
- Multi-tenant isolation
|
|
334
|
+
|
|
335
|
+
### Phase 3: Advanced Features (Weeks 7-10)
|
|
336
|
+
- Relationship tracking
|
|
337
|
+
- Template system
|
|
338
|
+
- Trust-based access control
|
|
339
|
+
|
|
340
|
+
### Phase 4: Polish & Launch (Weeks 11-12)
|
|
341
|
+
- Testing and bug fixes
|
|
342
|
+
- Documentation
|
|
343
|
+
- Deployment and monitoring
|
|
344
|
+
|
|
345
|
+
---
|
|
346
|
+
|
|
347
|
+
## Stakeholders
|
|
348
|
+
|
|
349
|
+
[Identify who is involved in or affected by this project.]
|
|
350
|
+
|
|
351
|
+
| Role | Name/Team | Responsibilities |
|
|
352
|
+
|------|-----------|------------------|
|
|
353
|
+
| [Role 1] | [Name] | [What they do] |
|
|
354
|
+
| [Role 2] | [Name] | [What they do] |
|
|
355
|
+
| [Role 3] | [Name] | [What they do] |
|
|
356
|
+
|
|
357
|
+
**Example**:
|
|
358
|
+
|
|
359
|
+
| Role | Name/Team | Responsibilities |
|
|
360
|
+
|------|-----------|------------------|
|
|
361
|
+
| Product Owner | [Name] | Define requirements, prioritize features |
|
|
362
|
+
| Lead Developer | [Name] | Architecture, implementation, code review |
|
|
363
|
+
| DevOps | [Name] | Infrastructure, deployment, monitoring |
|
|
364
|
+
| Users | AI Agent Developers | Provide feedback, report issues |
|
|
365
|
+
|
|
366
|
+
---
|
|
367
|
+
|
|
368
|
+
## References
|
|
369
|
+
|
|
370
|
+
[Link to related documents, research, or resources.]
|
|
371
|
+
|
|
372
|
+
- [Document/Resource 1](URL): Description
|
|
373
|
+
- [Document/Resource 2](URL): Description
|
|
374
|
+
- [Document/Resource 3](URL): Description
|
|
375
|
+
|
|
376
|
+
**Example**:
|
|
377
|
+
|
|
378
|
+
- [Model Context Protocol Specification](https://modelcontextprotocol.io): MCP protocol documentation
|
|
379
|
+
- [Weaviate Documentation](https://weaviate.io/developers/weaviate): Vector database docs
|
|
380
|
+
- [Firebase Documentation](https://firebase.google.com/docs): Firebase platform docs
|
|
381
|
+
- [Similar Project Analysis](URL): Research on existing solutions
|
|
382
|
+
|
|
383
|
+
---
|
|
384
|
+
|
|
385
|
+
**Status**: [Current status of requirements]
|
|
386
|
+
**Last Updated**: [YYYY-MM-DD]
|
|
387
|
+
**Next Review**: [YYYY-MM-DD]
|
|
File without changes
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# agent/index/acp.core.yaml
|
|
2
|
+
# Key file index for ACP core command directives
|
|
3
|
+
# Bundled with acp-core package installs
|
|
4
|
+
|
|
5
|
+
acp:
|
|
6
|
+
index:
|
|
7
|
+
- path: agent/commands/acp.proceed.md
|
|
8
|
+
weight: 0.9
|
|
9
|
+
kind: command
|
|
10
|
+
description: |
|
|
11
|
+
Primary task execution command. Defines how agents read tasks,
|
|
12
|
+
implement work, commit, and advance through milestones.
|
|
13
|
+
rationale: |
|
|
14
|
+
The most frequently invoked command. Agents must understand
|
|
15
|
+
autonomous mode, commit workflow, and progress tracking rules.
|
|
16
|
+
applies: acp.proceed, acp.plan, acp.task-create
|
|
17
|
+
|
|
18
|
+
- path: agent/commands/acp.init.md
|
|
19
|
+
weight: 0.8
|
|
20
|
+
kind: command
|
|
21
|
+
description: |
|
|
22
|
+
Session initialization command. Defines context loading sequence,
|
|
23
|
+
documentation reading, key file discovery, and status reporting.
|
|
24
|
+
rationale: |
|
|
25
|
+
Sets the foundation for every session. Agents need to understand
|
|
26
|
+
what init loads and what --quick/--skip flags control.
|
|
27
|
+
applies: acp.init, acp.plan
|
|
28
|
+
|
|
29
|
+
- path: agent/commands/acp.plan.md
|
|
30
|
+
weight: 0.8
|
|
31
|
+
kind: command
|
|
32
|
+
description: |
|
|
33
|
+
Planning command for milestone and task design. Defines how
|
|
34
|
+
agents break work into milestones, tasks, and implementation steps.
|
|
35
|
+
rationale: |
|
|
36
|
+
Required before creating milestones or tasks to ensure proper
|
|
37
|
+
scoping, sequencing, and design document references.
|
|
38
|
+
applies: acp.plan, acp.task-create, acp.design-create
|
|
39
|
+
|
|
40
|
+
- path: agent/commands/acp.task-create.md
|
|
41
|
+
weight: 0.8
|
|
42
|
+
kind: command
|
|
43
|
+
description: |
|
|
44
|
+
Task creation command. Defines task document structure, design
|
|
45
|
+
reference integration, and milestone assignment.
|
|
46
|
+
rationale: |
|
|
47
|
+
Tasks are the primary unit of work. Agents must follow the
|
|
48
|
+
creation steps including design cross-referencing (Step 5.5).
|
|
49
|
+
applies: acp.task-create, acp.proceed, acp.plan
|
|
50
|
+
|
|
51
|
+
- path: agent/commands/acp.command-create.md
|
|
52
|
+
weight: 0.7
|
|
53
|
+
kind: command
|
|
54
|
+
description: |
|
|
55
|
+
Command creation workflow. Defines namespace enforcement, draft
|
|
56
|
+
support, clarification capture, and package.yaml updates.
|
|
57
|
+
rationale: |
|
|
58
|
+
Ensures new commands follow template structure, include proper
|
|
59
|
+
directive headers, and are registered in package.yaml.
|
|
60
|
+
applies: acp.command-create, acp.plan
|
|
61
|
+
|
|
62
|
+
- path: agent/commands/acp.design-create.md
|
|
63
|
+
weight: 0.7
|
|
64
|
+
kind: command
|
|
65
|
+
description: |
|
|
66
|
+
Design document creation command. Defines how agents create
|
|
67
|
+
design specs from drafts, chat, or clarification context.
|
|
68
|
+
rationale: |
|
|
69
|
+
Design documents drive task creation. Agents must understand
|
|
70
|
+
the design-to-task pipeline and clarification capture.
|
|
71
|
+
applies: acp.design-create, acp.plan
|
|
72
|
+
|
|
73
|
+
- path: agent/commands/acp.clarification-create.md
|
|
74
|
+
weight: 0.7
|
|
75
|
+
kind: command
|
|
76
|
+
description: |
|
|
77
|
+
Clarification document creation. Defines question structure
|
|
78
|
+
(Items > Questions > Bullets), response markers, and overlap checks.
|
|
79
|
+
rationale: |
|
|
80
|
+
Clarifications are the primary requirements-gathering mechanism.
|
|
81
|
+
Agents must follow question format preferences (yes/no, discrete).
|
|
82
|
+
applies: acp.clarification-create, acp.clarification-address, acp.plan
|
|
83
|
+
|
|
84
|
+
- path: agent/commands/acp.clarification-address.md
|
|
85
|
+
weight: 0.6
|
|
86
|
+
kind: command
|
|
87
|
+
description: |
|
|
88
|
+
Addresses clarification responses with research, tradeoff
|
|
89
|
+
analysis, recommendations, and comment-block responses.
|
|
90
|
+
rationale: |
|
|
91
|
+
Defines how agents engage with user answers — when to research,
|
|
92
|
+
when to present tradeoffs, and comment-block conventions.
|
|
93
|
+
applies: acp.clarification-address, acp.proceed, acp.plan
|
|
94
|
+
|
|
95
|
+
- path: agent/commands/acp.clarification-capture.md
|
|
96
|
+
weight: 0.6
|
|
97
|
+
kind: command
|
|
98
|
+
description: |
|
|
99
|
+
Shared directive for capturing clarification decisions into
|
|
100
|
+
entity documents. Called by create commands, not directly by users.
|
|
101
|
+
rationale: |
|
|
102
|
+
Ensures design rationale is preserved in entities. Agents must
|
|
103
|
+
understand conflict resolution and Key Design Decisions format.
|
|
104
|
+
applies: acp.command-create, acp.design-create, acp.task-create, acp.pattern-create
|
|
105
|
+
|
|
106
|
+
- path: agent/commands/acp.design-reference.md
|
|
107
|
+
weight: 0.6
|
|
108
|
+
kind: command
|
|
109
|
+
description: |
|
|
110
|
+
Shared directive for design-to-task completeness. Ensures tasks
|
|
111
|
+
are self-contained with all design detail.
|
|
112
|
+
rationale: |
|
|
113
|
+
Prevents tasks from being underspecified. Agents must embed
|
|
114
|
+
design context into tasks rather than just linking to designs.
|
|
115
|
+
applies: acp.task-create, acp.proceed
|
|
116
|
+
|
|
117
|
+
- path: agent/commands/git.commit.md
|
|
118
|
+
weight: 0.7
|
|
119
|
+
kind: command
|
|
120
|
+
description: |
|
|
121
|
+
Intelligent commit workflow with version detection, changelog
|
|
122
|
+
updates, and conventional commit message formatting.
|
|
123
|
+
rationale: |
|
|
124
|
+
All version-bumping commits must follow this workflow. Defines
|
|
125
|
+
semver decision tree and CHANGELOG.md entry format.
|
|
126
|
+
applies: acp.proceed, git.commit
|
|
127
|
+
|
|
128
|
+
- path: agent/commands/acp.handoff.md
|
|
129
|
+
weight: 0.5
|
|
130
|
+
kind: command
|
|
131
|
+
description: |
|
|
132
|
+
Cross-context task handoff report generation. Defines how
|
|
133
|
+
agents create handoff reports for work transfer between contexts.
|
|
134
|
+
rationale: |
|
|
135
|
+
Reference when transferring work across projects or agents.
|
|
136
|
+
Defines freeform report format and target resolution.
|
|
137
|
+
applies: acp.handoff, acp.plan
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# agent/index/local.main.yaml
|
|
2
|
+
# Key file index for project-local files
|
|
3
|
+
# See: agent/design/local.key-file-index-system.md
|
|
4
|
+
#
|
|
5
|
+
# Naming convention: {namespace}.{qualifier}.yaml
|
|
6
|
+
# - namespace: "local" for project files, package name for packages
|
|
7
|
+
# - qualifier: "main" is the default, can use others for categorization
|
|
8
|
+
#
|
|
9
|
+
# Schema:
|
|
10
|
+
# path (string, required) - Explicit file path, no globs
|
|
11
|
+
# weight (float, required) - 0.0 to 1.0 importance (1.0 = always read)
|
|
12
|
+
# kind (enum, required) - pattern, command, design, requirements
|
|
13
|
+
# description (string, required) - What the file contains and why it matters
|
|
14
|
+
# rationale (string, required) - Why this file is in the index
|
|
15
|
+
# applies (string, required) - Comma-separated fully qualified command names
|
|
16
|
+
#
|
|
17
|
+
# Recommended limits:
|
|
18
|
+
# - Per-namespace: 5-10 entries maximum
|
|
19
|
+
# - Total across namespaces: 15-20 entries maximum
|
|
20
|
+
# - High-weight files (>= 0.8): 3-5 per namespace
|
|
21
|
+
#
|
|
22
|
+
# Implicit key files (NOT listed here):
|
|
23
|
+
# - AGENT.md (always read by @acp.init)
|
|
24
|
+
# - agent/progress.yaml (always read by @acp.init)
|
|
25
|
+
|
|
26
|
+
local:
|
|
27
|
+
index:
|
|
28
|
+
- path: agent/design/requirements.md
|
|
29
|
+
weight: 1.0
|
|
30
|
+
kind: requirements
|
|
31
|
+
description: |
|
|
32
|
+
Core project requirements defining goals, constraints,
|
|
33
|
+
and success criteria for the application.
|
|
34
|
+
rationale: |
|
|
35
|
+
Must be read before any design or task creation to ensure
|
|
36
|
+
alignment with project goals.
|
|
37
|
+
applies: acp.init, acp.design-create, acp.task-create, acp.plan, acp.proceed
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# agent/manifest.template.yaml
|
|
2
|
+
# Template for ACP package manifest
|
|
3
|
+
# This file tracks installed ACP packages and their versions
|
|
4
|
+
|
|
5
|
+
# Installed packages
|
|
6
|
+
# Each package entry tracks source, version, and installed files
|
|
7
|
+
packages: {}
|
|
8
|
+
|
|
9
|
+
# Manifest format version (for future compatibility)
|
|
10
|
+
manifest_version: 1.0.0
|
|
11
|
+
|
|
12
|
+
# Last time manifest was updated
|
|
13
|
+
last_updated: null
|