@prmichaelsen/task-mcp 0.2.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/.env.example +19 -0
- package/AGENT.md +1165 -0
- package/CHANGELOG.md +72 -0
- package/agent/commands/acp.commit.md +511 -0
- package/agent/commands/acp.init.md +376 -0
- package/agent/commands/acp.package-install.md +347 -0
- package/agent/commands/acp.proceed.md +311 -0
- package/agent/commands/acp.report.md +392 -0
- package/agent/commands/acp.status.md +280 -0
- package/agent/commands/acp.sync.md +323 -0
- package/agent/commands/acp.update.md +301 -0
- package/agent/commands/acp.validate.md +385 -0
- package/agent/commands/acp.version-check-for-updates.md +275 -0
- package/agent/commands/acp.version-check.md +190 -0
- package/agent/commands/acp.version-update.md +288 -0
- package/agent/commands/command.template.md +273 -0
- package/agent/commands/git.commit.md +511 -0
- package/agent/commands/git.init.md +513 -0
- package/agent/design/.gitkeep +0 -0
- package/agent/design/acp-task-execution-requirements.md +555 -0
- package/agent/design/api-dto-design.md +394 -0
- package/agent/design/code-extraction-guide.md +827 -0
- package/agent/design/design.template.md +136 -0
- package/agent/design/requirements.template.md +387 -0
- package/agent/design/rest-api-integration.md +489 -0
- package/agent/design/sdk-export-requirements.md +549 -0
- package/agent/milestones/.gitkeep +0 -0
- package/agent/milestones/milestone-1-{title}.template.md +206 -0
- package/agent/milestones/milestone-2-task-infrastructure.md +232 -0
- package/agent/milestones/milestone-4-autonomous-execution.md +235 -0
- package/agent/patterns/.gitkeep +0 -0
- package/agent/patterns/bootstrap.md +1271 -0
- package/agent/patterns/bootstrap.template.md +1237 -0
- package/agent/patterns/pattern.template.md +364 -0
- package/agent/progress.template.yaml +158 -0
- package/agent/progress.yaml +375 -0
- package/agent/scripts/check-for-updates.sh +88 -0
- package/agent/scripts/install.sh +157 -0
- package/agent/scripts/uninstall.sh +75 -0
- package/agent/scripts/update.sh +139 -0
- package/agent/scripts/version.sh +35 -0
- package/agent/tasks/.gitkeep +0 -0
- package/agent/tasks/task-1-{title}.template.md +225 -0
- package/agent/tasks/task-86-task-data-model-schemas.md +143 -0
- package/agent/tasks/task-87-task-database-service.md +220 -0
- package/agent/tasks/task-88-firebase-client-wrapper.md +139 -0
- package/agent/tasks/task-88-task-execution-engine.md +277 -0
- package/agent/tasks/task-89-mcp-server-implementation.md +197 -0
- package/agent/tasks/task-90-build-configuration.md +146 -0
- package/agent/tasks/task-91-deployment-configuration.md +128 -0
- package/coverage/base.css +224 -0
- package/coverage/block-navigation.js +87 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +191 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +191 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +210 -0
- package/coverage/lcov-report/src/client.ts.html +1030 -0
- package/coverage/lcov-report/src/constant/collections.ts.html +469 -0
- package/coverage/lcov-report/src/constant/index.html +116 -0
- package/coverage/lcov-report/src/dto/index.html +116 -0
- package/coverage/lcov-report/src/dto/transformers.ts.html +568 -0
- package/coverage/lcov-report/src/index.html +146 -0
- package/coverage/lcov-report/src/schemas/index.html +116 -0
- package/coverage/lcov-report/src/schemas/task.ts.html +547 -0
- package/coverage/lcov-report/src/server-factory.ts.html +418 -0
- package/coverage/lcov-report/src/server.ts.html +289 -0
- package/coverage/lcov-report/src/services/index.html +116 -0
- package/coverage/lcov-report/src/services/task-database.service.ts.html +1495 -0
- package/coverage/lcov-report/src/tools/index.html +236 -0
- package/coverage/lcov-report/src/tools/index.ts.html +292 -0
- package/coverage/lcov-report/src/tools/task-add-message.ts.html +277 -0
- package/coverage/lcov-report/src/tools/task-complete-task-item.ts.html +343 -0
- package/coverage/lcov-report/src/tools/task-create-milestone.ts.html +286 -0
- package/coverage/lcov-report/src/tools/task-create-task-item.ts.html +358 -0
- package/coverage/lcov-report/src/tools/task-get-next-step.ts.html +460 -0
- package/coverage/lcov-report/src/tools/task-get-status.ts.html +316 -0
- package/coverage/lcov-report/src/tools/task-report-completion.ts.html +343 -0
- package/coverage/lcov-report/src/tools/task-update-progress.ts.html +232 -0
- package/coverage/lcov.info +974 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +210 -0
- package/coverage/src/client.ts.html +1030 -0
- package/coverage/src/constant/collections.ts.html +469 -0
- package/coverage/src/constant/index.html +116 -0
- package/coverage/src/dto/index.html +116 -0
- package/coverage/src/dto/transformers.ts.html +568 -0
- package/coverage/src/index.html +146 -0
- package/coverage/src/schemas/index.html +116 -0
- package/coverage/src/schemas/task.ts.html +547 -0
- package/coverage/src/server-factory.ts.html +418 -0
- package/coverage/src/server.ts.html +289 -0
- package/coverage/src/services/index.html +116 -0
- package/coverage/src/services/task-database.service.ts.html +1495 -0
- package/coverage/src/tools/index.html +236 -0
- package/coverage/src/tools/index.ts.html +292 -0
- package/coverage/src/tools/task-add-message.ts.html +277 -0
- package/coverage/src/tools/task-complete-task-item.ts.html +343 -0
- package/coverage/src/tools/task-create-milestone.ts.html +286 -0
- package/coverage/src/tools/task-create-task-item.ts.html +358 -0
- package/coverage/src/tools/task-get-next-step.ts.html +460 -0
- package/coverage/src/tools/task-get-status.ts.html +316 -0
- package/coverage/src/tools/task-report-completion.ts.html +343 -0
- package/coverage/src/tools/task-update-progress.ts.html +232 -0
- package/firestore.rules +95 -0
- package/jest.config.js +31 -0
- package/package.json +67 -0
- package/src/client.spec.ts +199 -0
- package/src/client.ts +315 -0
- package/src/constant/collections.ts +128 -0
- package/src/dto/index.ts +47 -0
- package/src/dto/task-api.dto.ts +219 -0
- package/src/dto/transformers.spec.ts +462 -0
- package/src/dto/transformers.ts +161 -0
- package/src/schemas/task.ts +154 -0
- package/src/server-factory.spec.ts +70 -0
- package/src/server-factory.ts +111 -0
- package/src/server.ts +68 -0
- package/src/services/task-database.service.e2e.ts +116 -0
- package/src/services/task-database.service.spec.ts +479 -0
- package/src/services/task-database.service.ts +470 -0
- package/src/test-schemas.ts +161 -0
- package/src/tools/index.ts +69 -0
- package/src/tools/task-add-message.ts +64 -0
- package/src/tools/task-complete-task-item.ts +86 -0
- package/src/tools/task-create-milestone.ts +67 -0
- package/src/tools/task-create-task-item.ts +91 -0
- package/src/tools/task-get-next-step.spec.ts +136 -0
- package/src/tools/task-get-next-step.ts +125 -0
- package/src/tools/task-get-status.spec.ts +213 -0
- package/src/tools/task-get-status.ts +77 -0
- package/src/tools/task-report-completion.ts +86 -0
- package/src/tools/task-update-progress.ts +49 -0
- package/src/tools/tools.spec.ts +194 -0
- package/tsconfig.json +31 -0
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
# {Pattern Name}
|
|
2
|
+
|
|
3
|
+
**Category**: [Architecture | Design | Code | Testing | Deployment]
|
|
4
|
+
**Applicable To**: [What types of projects or components this pattern applies to]
|
|
5
|
+
**Status**: [Stable | Experimental | Deprecated]
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
|
|
11
|
+
[Provide a high-level description of what this pattern is and when to use it. Include the problem space it addresses and the general approach it takes.]
|
|
12
|
+
|
|
13
|
+
**Example**: "The Service Layer Pattern provides a clear separation between business logic and data access, enabling better testability, maintainability, and code reuse across different interfaces (API, CLI, etc.)."
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## When to Use This Pattern
|
|
18
|
+
|
|
19
|
+
[Describe the scenarios where this pattern is appropriate:]
|
|
20
|
+
|
|
21
|
+
✅ **Use this pattern when:**
|
|
22
|
+
- Condition 1
|
|
23
|
+
- Condition 2
|
|
24
|
+
- Condition 3
|
|
25
|
+
|
|
26
|
+
❌ **Don't use this pattern when:**
|
|
27
|
+
- Condition 1
|
|
28
|
+
- Condition 2
|
|
29
|
+
- Condition 3
|
|
30
|
+
|
|
31
|
+
**Example**:
|
|
32
|
+
|
|
33
|
+
✅ **Use this pattern when:**
|
|
34
|
+
- You have complex business logic that needs to be shared across multiple interfaces
|
|
35
|
+
- You want to isolate business logic from infrastructure concerns
|
|
36
|
+
- You need to test business logic independently of data access
|
|
37
|
+
|
|
38
|
+
❌ **Don't use this pattern when:**
|
|
39
|
+
- Your application is very simple with minimal business logic
|
|
40
|
+
- You're building a thin wrapper around a database
|
|
41
|
+
- The overhead of additional layers outweighs the benefits
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Core Principles
|
|
46
|
+
|
|
47
|
+
[List the fundamental concepts that underpin this pattern:]
|
|
48
|
+
|
|
49
|
+
1. **Principle 1**: [Description]
|
|
50
|
+
2. **Principle 2**: [Description]
|
|
51
|
+
3. **Principle 3**: [Description]
|
|
52
|
+
4. **Principle 4**: [Description]
|
|
53
|
+
|
|
54
|
+
**Example**:
|
|
55
|
+
|
|
56
|
+
1. **Separation of Concerns**: Business logic is isolated from data access and presentation
|
|
57
|
+
2. **Single Responsibility**: Each service handles one domain concept
|
|
58
|
+
3. **Dependency Injection**: Services receive their dependencies rather than creating them
|
|
59
|
+
4. **Interface-Based Design**: Services depend on abstractions, not concrete implementations
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Implementation
|
|
64
|
+
|
|
65
|
+
[Provide detailed implementation guidance with code examples:]
|
|
66
|
+
|
|
67
|
+
### Structure
|
|
68
|
+
|
|
69
|
+
[Describe the overall structure of the pattern]
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
directory-structure/
|
|
73
|
+
├── component1/
|
|
74
|
+
│ └── file1.ext
|
|
75
|
+
└── component2/
|
|
76
|
+
└── file2.ext
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Code Example
|
|
80
|
+
|
|
81
|
+
[Provide a complete, working example:]
|
|
82
|
+
|
|
83
|
+
```typescript
|
|
84
|
+
// Example implementation
|
|
85
|
+
interface ExampleInterface {
|
|
86
|
+
method(): Promise<Result>;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
class ExampleImplementation implements ExampleInterface {
|
|
90
|
+
constructor(private dependency: Dependency) {}
|
|
91
|
+
|
|
92
|
+
async method(): Promise<Result> {
|
|
93
|
+
// Implementation
|
|
94
|
+
return result;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Key Components
|
|
100
|
+
|
|
101
|
+
[Break down the major components:]
|
|
102
|
+
|
|
103
|
+
#### Component 1: [Name]
|
|
104
|
+
[Description and purpose]
|
|
105
|
+
|
|
106
|
+
```typescript
|
|
107
|
+
// Code example for this component
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
#### Component 2: [Name]
|
|
111
|
+
[Description and purpose]
|
|
112
|
+
|
|
113
|
+
```typescript
|
|
114
|
+
// Code example for this component
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
## Examples
|
|
120
|
+
|
|
121
|
+
[Provide multiple real-world examples showing different use cases:]
|
|
122
|
+
|
|
123
|
+
### Example 1: [Use Case Name]
|
|
124
|
+
|
|
125
|
+
[Description of the scenario]
|
|
126
|
+
|
|
127
|
+
```typescript
|
|
128
|
+
// Complete code example
|
|
129
|
+
class ConcreteExample {
|
|
130
|
+
// Implementation
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// Usage
|
|
134
|
+
const example = new ConcreteExample();
|
|
135
|
+
const result = await example.doSomething();
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Example 2: [Use Case Name]
|
|
139
|
+
|
|
140
|
+
[Description of the scenario]
|
|
141
|
+
|
|
142
|
+
```typescript
|
|
143
|
+
// Complete code example
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## Benefits
|
|
149
|
+
|
|
150
|
+
[List the advantages of using this pattern:]
|
|
151
|
+
|
|
152
|
+
### 1. [Benefit Name]
|
|
153
|
+
[Detailed explanation of this benefit and why it matters]
|
|
154
|
+
|
|
155
|
+
### 2. [Benefit Name]
|
|
156
|
+
[Detailed explanation of this benefit and why it matters]
|
|
157
|
+
|
|
158
|
+
### 3. [Benefit Name]
|
|
159
|
+
[Detailed explanation of this benefit and why it matters]
|
|
160
|
+
|
|
161
|
+
**Example**:
|
|
162
|
+
|
|
163
|
+
### 1. Testability
|
|
164
|
+
Business logic can be tested in isolation without requiring database connections or external services. Mock dependencies can be easily injected for unit testing.
|
|
165
|
+
|
|
166
|
+
### 2. Reusability
|
|
167
|
+
The same business logic can be used across multiple interfaces (REST API, GraphQL, CLI, etc.) without duplication.
|
|
168
|
+
|
|
169
|
+
### 3. Maintainability
|
|
170
|
+
Changes to business logic are centralized in service classes, making the codebase easier to understand and modify.
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
## Trade-offs
|
|
175
|
+
|
|
176
|
+
[Honestly assess the downsides and limitations:]
|
|
177
|
+
|
|
178
|
+
### 1. [Trade-off Name]
|
|
179
|
+
**Downside**: [Description]
|
|
180
|
+
**Mitigation**: [How to minimize this downside]
|
|
181
|
+
|
|
182
|
+
### 2. [Trade-off Name]
|
|
183
|
+
**Downside**: [Description]
|
|
184
|
+
**Mitigation**: [How to minimize this downside]
|
|
185
|
+
|
|
186
|
+
**Example**:
|
|
187
|
+
|
|
188
|
+
### 1. Additional Complexity
|
|
189
|
+
**Downside**: Adds extra layers and files to the codebase, which can feel like over-engineering for simple applications.
|
|
190
|
+
**Mitigation**: Only apply this pattern when complexity justifies it. Start simple and refactor to this pattern as needs grow.
|
|
191
|
+
|
|
192
|
+
### 2. Performance Overhead
|
|
193
|
+
**Downside**: Additional function calls and abstractions can add minor performance overhead.
|
|
194
|
+
**Mitigation**: In most applications, this overhead is negligible. Profile before optimizing.
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
## Anti-Patterns
|
|
199
|
+
|
|
200
|
+
[Document what NOT to do - common mistakes and misuses:]
|
|
201
|
+
|
|
202
|
+
### ❌ Anti-Pattern 1: [Name]
|
|
203
|
+
|
|
204
|
+
**Description**: [What people do wrong]
|
|
205
|
+
|
|
206
|
+
**Why it's bad**: [Consequences]
|
|
207
|
+
|
|
208
|
+
**Instead, do this**: [Correct approach]
|
|
209
|
+
|
|
210
|
+
```typescript
|
|
211
|
+
// ❌ Bad example
|
|
212
|
+
class BadExample {
|
|
213
|
+
// What not to do
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
// ✅ Good example
|
|
217
|
+
class GoodExample {
|
|
218
|
+
// Correct approach
|
|
219
|
+
}
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### ❌ Anti-Pattern 2: [Name]
|
|
223
|
+
|
|
224
|
+
[Similar structure as above]
|
|
225
|
+
|
|
226
|
+
**Example**:
|
|
227
|
+
|
|
228
|
+
### ❌ Anti-Pattern 1: God Service
|
|
229
|
+
|
|
230
|
+
**Description**: Creating a single service class that handles all business logic for the entire application.
|
|
231
|
+
|
|
232
|
+
**Why it's bad**: Violates single responsibility principle, becomes difficult to test and maintain, creates tight coupling.
|
|
233
|
+
|
|
234
|
+
**Instead, do this**: Create focused services, each handling a specific domain concept.
|
|
235
|
+
|
|
236
|
+
```typescript
|
|
237
|
+
// ❌ Bad: Everything in one service
|
|
238
|
+
class ApplicationService {
|
|
239
|
+
createUser() {}
|
|
240
|
+
deleteUser() {}
|
|
241
|
+
createProduct() {}
|
|
242
|
+
deleteProduct() {}
|
|
243
|
+
processPayment() {}
|
|
244
|
+
sendEmail() {}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
// ✅ Good: Focused services
|
|
248
|
+
class UserService {
|
|
249
|
+
createUser() {}
|
|
250
|
+
deleteUser() {}
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
class ProductService {
|
|
254
|
+
createProduct() {}
|
|
255
|
+
deleteProduct() {}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
class PaymentService {
|
|
259
|
+
processPayment() {}
|
|
260
|
+
}
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
---
|
|
264
|
+
|
|
265
|
+
## Testing Strategy
|
|
266
|
+
|
|
267
|
+
[Describe how to test code that uses this pattern:]
|
|
268
|
+
|
|
269
|
+
### Unit Testing
|
|
270
|
+
[Approach for unit tests]
|
|
271
|
+
|
|
272
|
+
```typescript
|
|
273
|
+
// Example unit test
|
|
274
|
+
describe('ExampleService', () => {
|
|
275
|
+
it('should do something', async () => {
|
|
276
|
+
// Test implementation
|
|
277
|
+
});
|
|
278
|
+
});
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
### Integration Testing
|
|
282
|
+
[Approach for integration tests]
|
|
283
|
+
|
|
284
|
+
```typescript
|
|
285
|
+
// Example integration test
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
---
|
|
289
|
+
|
|
290
|
+
## Related Patterns
|
|
291
|
+
|
|
292
|
+
[Link to related patterns and explain relationships:]
|
|
293
|
+
|
|
294
|
+
- **[Pattern Name](./pattern-name.md)**: [How it relates]
|
|
295
|
+
- **[Pattern Name](./pattern-name.md)**: [How it relates]
|
|
296
|
+
- **[Pattern Name](./pattern-name.md)**: [How it relates]
|
|
297
|
+
|
|
298
|
+
**Example**:
|
|
299
|
+
- **[Repository Pattern](./repository-pattern.md)**: Often used together; services use repositories for data access
|
|
300
|
+
- **[Factory Pattern](./factory-pattern.md)**: Can be used to create service instances with proper dependencies
|
|
301
|
+
- **[Dependency Injection](./dependency-injection.md)**: Essential for implementing this pattern correctly
|
|
302
|
+
|
|
303
|
+
---
|
|
304
|
+
|
|
305
|
+
## Migration Guide
|
|
306
|
+
|
|
307
|
+
[If adopting this pattern in an existing codebase, provide migration steps:]
|
|
308
|
+
|
|
309
|
+
### Step 1: [Action]
|
|
310
|
+
[Detailed description]
|
|
311
|
+
|
|
312
|
+
### Step 2: [Action]
|
|
313
|
+
[Detailed description]
|
|
314
|
+
|
|
315
|
+
### Step 3: [Action]
|
|
316
|
+
[Detailed description]
|
|
317
|
+
|
|
318
|
+
**Example**:
|
|
319
|
+
|
|
320
|
+
### Step 1: Identify Business Logic
|
|
321
|
+
Review existing code and identify business logic that's currently mixed with data access or presentation code.
|
|
322
|
+
|
|
323
|
+
### Step 2: Extract to Services
|
|
324
|
+
Create service classes and move business logic into them. Start with the most complex or frequently used logic.
|
|
325
|
+
|
|
326
|
+
### Step 3: Refactor Dependencies
|
|
327
|
+
Update calling code to use the new services. Inject dependencies rather than creating them directly.
|
|
328
|
+
|
|
329
|
+
---
|
|
330
|
+
|
|
331
|
+
## References
|
|
332
|
+
|
|
333
|
+
[Link to external resources, papers, books, or articles:]
|
|
334
|
+
|
|
335
|
+
- [Resource 1](URL): Description
|
|
336
|
+
- [Resource 2](URL): Description
|
|
337
|
+
- [Resource 3](URL): Description
|
|
338
|
+
|
|
339
|
+
**Example**:
|
|
340
|
+
- [Martin Fowler - Service Layer](https://martinfowler.com/eaaCatalog/serviceLayer.html): Original pattern description
|
|
341
|
+
- [Clean Architecture](https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html): Related architectural concepts
|
|
342
|
+
- [Domain-Driven Design](https://www.domainlanguage.com/ddd/): Context for service design
|
|
343
|
+
|
|
344
|
+
---
|
|
345
|
+
|
|
346
|
+
## Checklist for Implementation
|
|
347
|
+
|
|
348
|
+
[Provide a checklist to ensure proper implementation:]
|
|
349
|
+
|
|
350
|
+
- [ ] Services are focused on single domain concepts
|
|
351
|
+
- [ ] Dependencies are injected, not created internally
|
|
352
|
+
- [ ] Business logic is isolated from infrastructure concerns
|
|
353
|
+
- [ ] Services have clear, well-documented interfaces
|
|
354
|
+
- [ ] Unit tests cover business logic in isolation
|
|
355
|
+
- [ ] Integration tests verify end-to-end functionality
|
|
356
|
+
- [ ] Error handling is consistent and appropriate
|
|
357
|
+
- [ ] Logging provides adequate visibility
|
|
358
|
+
|
|
359
|
+
---
|
|
360
|
+
|
|
361
|
+
**Status**: [Current status of this pattern document]
|
|
362
|
+
**Recommendation**: [When and how to use this pattern]
|
|
363
|
+
**Last Updated**: [YYYY-MM-DD]
|
|
364
|
+
**Contributors**: [Names or "Community"]
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
# Project Progress Tracking
|
|
2
|
+
# This file tracks the overall progress of the project, including milestones, tasks, and recent work.
|
|
3
|
+
# Update this file regularly as work progresses.
|
|
4
|
+
|
|
5
|
+
project:
|
|
6
|
+
name: project-name # Replace with your project name
|
|
7
|
+
version: 0.1.0 # Current version (semantic versioning)
|
|
8
|
+
started: YYYY-MM-DD # Date project started
|
|
9
|
+
status: not_started # not_started | in_progress | completed
|
|
10
|
+
current_milestone: M1 # Current milestone identifier
|
|
11
|
+
description: | # Brief project description
|
|
12
|
+
A short description of what this project does and its main purpose.
|
|
13
|
+
|
|
14
|
+
# Milestones represent major phases of the project
|
|
15
|
+
milestones:
|
|
16
|
+
- id: M1 # Unique milestone identifier
|
|
17
|
+
name: Milestone Name # Descriptive name
|
|
18
|
+
status: not_started # not_started | in_progress | completed
|
|
19
|
+
progress: 0 # Percentage complete (0-100)
|
|
20
|
+
started: null # YYYY-MM-DD when started, null if not started
|
|
21
|
+
completed: null # YYYY-MM-DD when completed, null if not completed
|
|
22
|
+
estimated_weeks: 2 # Estimated duration in weeks
|
|
23
|
+
tasks_completed: 0 # Number of tasks completed
|
|
24
|
+
tasks_total: 5 # Total number of tasks in this milestone
|
|
25
|
+
notes: | # Progress notes and observations
|
|
26
|
+
Notes about this milestone's progress, blockers, or important decisions.
|
|
27
|
+
|
|
28
|
+
- id: M2
|
|
29
|
+
name: Second Milestone Name
|
|
30
|
+
status: not_started
|
|
31
|
+
progress: 0
|
|
32
|
+
started: null
|
|
33
|
+
completed: null
|
|
34
|
+
estimated_weeks: 3
|
|
35
|
+
tasks_completed: 0
|
|
36
|
+
tasks_total: 7
|
|
37
|
+
notes: |
|
|
38
|
+
This milestone depends on M1 completion.
|
|
39
|
+
|
|
40
|
+
# Tasks are granular work items within milestones
|
|
41
|
+
tasks:
|
|
42
|
+
milestone_1: # Group tasks by milestone
|
|
43
|
+
- id: task-1 # Unique task identifier
|
|
44
|
+
name: Task Name # Descriptive task name
|
|
45
|
+
status: not_started # not_started | in_progress | completed
|
|
46
|
+
file: agent/tasks/task-1-name.md # Path to task document
|
|
47
|
+
estimated_hours: 4 # Estimated time in hours
|
|
48
|
+
completed_date: null # YYYY-MM-DD when completed, null if not completed
|
|
49
|
+
notes: | # Task-specific notes
|
|
50
|
+
Any important notes about this task.
|
|
51
|
+
|
|
52
|
+
- id: task-2
|
|
53
|
+
name: Second Task Name
|
|
54
|
+
status: not_started
|
|
55
|
+
file: agent/tasks/task-2-name.md
|
|
56
|
+
estimated_hours: 2
|
|
57
|
+
completed_date: null
|
|
58
|
+
notes: |
|
|
59
|
+
Depends on task-1 completion.
|
|
60
|
+
|
|
61
|
+
milestone_2:
|
|
62
|
+
- id: task-3
|
|
63
|
+
name: Third Task Name
|
|
64
|
+
status: not_started
|
|
65
|
+
file: agent/tasks/task-3-name.md
|
|
66
|
+
estimated_hours: 6
|
|
67
|
+
completed_date: null
|
|
68
|
+
notes: |
|
|
69
|
+
First task of second milestone.
|
|
70
|
+
|
|
71
|
+
# Documentation tracking
|
|
72
|
+
documentation:
|
|
73
|
+
design_documents: 0 # Number of design documents created
|
|
74
|
+
milestone_documents: 0 # Number of milestone documents
|
|
75
|
+
pattern_documents: 0 # Number of pattern documents
|
|
76
|
+
task_documents: 0 # Number of task documents
|
|
77
|
+
last_updated: YYYY-MM-DD # Last documentation update date
|
|
78
|
+
|
|
79
|
+
# Overall progress metrics
|
|
80
|
+
progress:
|
|
81
|
+
planning: 0 # Planning phase completion (0-100%)
|
|
82
|
+
implementation: 0 # Implementation phase completion (0-100%)
|
|
83
|
+
testing: 0 # Testing phase completion (0-100%)
|
|
84
|
+
documentation: 0 # Documentation completion (0-100%)
|
|
85
|
+
overall: 0 # Overall project completion (0-100%)
|
|
86
|
+
|
|
87
|
+
# Recent work log (most recent first)
|
|
88
|
+
recent_work:
|
|
89
|
+
- date: YYYY-MM-DD # Date of work
|
|
90
|
+
description: | # Description of what was done
|
|
91
|
+
Brief description of work completed on this date.
|
|
92
|
+
items: # Specific items completed
|
|
93
|
+
- ✅ Completed item 1
|
|
94
|
+
- ✅ Completed item 2
|
|
95
|
+
- ⚠️ Warning or note about something
|
|
96
|
+
- 📋 Pending item or follow-up needed
|
|
97
|
+
|
|
98
|
+
- date: YYYY-MM-DD
|
|
99
|
+
description: |
|
|
100
|
+
Earlier work session description.
|
|
101
|
+
items:
|
|
102
|
+
- ✅ Another completed item
|
|
103
|
+
- 📋 Something to revisit
|
|
104
|
+
|
|
105
|
+
# Next steps (prioritized list)
|
|
106
|
+
next_steps:
|
|
107
|
+
- Next action item 1 (highest priority)
|
|
108
|
+
- Next action item 2
|
|
109
|
+
- Next action item 3
|
|
110
|
+
- Future consideration or enhancement
|
|
111
|
+
|
|
112
|
+
# General notes and observations
|
|
113
|
+
notes:
|
|
114
|
+
- Important note 1 about the project
|
|
115
|
+
- Important note 2 about architectural decisions
|
|
116
|
+
- Important note 3 about dependencies or constraints
|
|
117
|
+
|
|
118
|
+
# Current blockers (remove when resolved)
|
|
119
|
+
current_blockers:
|
|
120
|
+
- Blocker 1: Description of what's blocking progress
|
|
121
|
+
- Blocker 2: Another blocker and potential resolution
|
|
122
|
+
|
|
123
|
+
# Team and contributors (if applicable)
|
|
124
|
+
team:
|
|
125
|
+
- role: Lead Developer # Role or responsibility
|
|
126
|
+
name: Name or "Agent" # Name or identifier
|
|
127
|
+
focus: | # Current focus area
|
|
128
|
+
What this person/agent is currently working on
|
|
129
|
+
|
|
130
|
+
- role: Documentation
|
|
131
|
+
name: Name or "Agent"
|
|
132
|
+
focus: |
|
|
133
|
+
Maintaining documentation and patterns
|
|
134
|
+
|
|
135
|
+
# Dependencies and integrations
|
|
136
|
+
dependencies:
|
|
137
|
+
external_services: # External services this project depends on
|
|
138
|
+
- name: Service Name
|
|
139
|
+
status: configured | pending | blocked
|
|
140
|
+
notes: |
|
|
141
|
+
Notes about this dependency
|
|
142
|
+
|
|
143
|
+
libraries: # Key library dependencies
|
|
144
|
+
- name: Library Name
|
|
145
|
+
version: 1.0.0
|
|
146
|
+
purpose: |
|
|
147
|
+
Why this library is used
|
|
148
|
+
|
|
149
|
+
infrastructure: # Infrastructure requirements
|
|
150
|
+
- name: Infrastructure Component
|
|
151
|
+
status: ready | pending | blocked
|
|
152
|
+
notes: |
|
|
153
|
+
Notes about this infrastructure
|
|
154
|
+
|
|
155
|
+
# Quality metrics (optional)
|
|
156
|
+
quality:
|
|
157
|
+
test_coverage: 0 # Percentage (0-100)
|
|
158
|
+
code_review_status: pending # pending | in
|