@thatix.io/context-first-agents-cli 0.1.1 โ 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/README.md +25 -12
- package/dist/commands/create-orchestrator.js +4 -1
- package/dist/commands/doctor.js +21 -5
- package/dist/commands/init.js +3 -1
- package/dist/templates/commands/en/engineer/plan.md +301 -0
- package/dist/templates/commands/en/engineer/pr.md +194 -0
- package/dist/templates/commands/en/engineer/pre-pr.md +325 -0
- package/dist/templates/commands/en/engineer/start.md +285 -0
- package/dist/templates/commands/en/engineer/work.md +256 -0
- package/dist/templates/commands/en/products/check.md +237 -0
- package/dist/templates/commands/en/products/collect.md +170 -0
- package/dist/templates/commands/en/products/refine.md +231 -0
- package/dist/templates/commands/en/products/spec.md +273 -0
- package/dist/templates/commands/en/quality/metrics.md +266 -0
- package/dist/templates/commands/en/quality/observe.md +172 -0
- package/dist/templates/commands/en/warm-up.md +59 -0
- package/dist/templates/commands/es/agents/CONTEXT-CONTRACT.md +63 -0
- package/dist/templates/commands/es/agents/implementer.md +27 -0
- package/dist/templates/commands/es/agents/integrator.md +24 -0
- package/dist/templates/commands/es/agents/reviewer.md +31 -0
- package/dist/templates/commands/es/agents/tester.md +22 -0
- package/dist/templates/commands/es/engineer/plan.md +335 -0
- package/dist/templates/commands/es/engineer/pr.md +228 -0
- package/dist/templates/commands/es/engineer/pre-pr.md +359 -0
- package/dist/templates/commands/es/engineer/start.md +318 -0
- package/dist/templates/commands/es/engineer/work.md +290 -0
- package/dist/templates/commands/es/orchestrate.md +125 -0
- package/dist/templates/commands/es/products/check.md +271 -0
- package/dist/templates/commands/es/products/collect.md +218 -0
- package/dist/templates/commands/es/products/refine.md +265 -0
- package/dist/templates/commands/es/products/spec.md +306 -0
- package/dist/templates/commands/es/quality/metrics.md +300 -0
- package/dist/templates/commands/es/quality/observe.md +205 -0
- package/dist/templates/commands/es/warm-up.md +59 -0
- package/dist/templates/commands/pt-BR/engineer/plan.md +335 -0
- package/dist/templates/commands/pt-BR/engineer/pr.md +228 -0
- package/dist/templates/commands/pt-BR/engineer/pre-pr.md +359 -0
- package/dist/templates/commands/pt-BR/engineer/start.md +319 -0
- package/dist/templates/commands/pt-BR/engineer/work.md +290 -0
- package/dist/templates/commands/pt-BR/products/check.md +271 -0
- package/dist/templates/commands/pt-BR/products/collect.md +219 -0
- package/dist/templates/commands/pt-BR/products/refine.md +265 -0
- package/dist/templates/commands/pt-BR/products/spec.md +307 -0
- package/dist/templates/commands/pt-BR/quality/metrics.md +300 -0
- package/dist/templates/commands/pt-BR/quality/observe.md +206 -0
- package/dist/templates/commands/pt-BR/warm-up.md +59 -0
- package/package.json +1 -1
- package/templates/commands/en/engineer/plan.md +301 -0
- package/templates/commands/en/engineer/pr.md +194 -0
- package/templates/commands/en/engineer/pre-pr.md +325 -0
- package/templates/commands/en/engineer/start.md +285 -0
- package/templates/commands/en/engineer/work.md +256 -0
- package/templates/commands/en/products/check.md +237 -0
- package/templates/commands/en/products/collect.md +170 -0
- package/templates/commands/en/products/refine.md +231 -0
- package/templates/commands/en/products/spec.md +273 -0
- package/templates/commands/en/quality/metrics.md +266 -0
- package/templates/commands/en/quality/observe.md +172 -0
- package/templates/commands/en/warm-up.md +59 -0
- package/templates/commands/es/agents/CONTEXT-CONTRACT.md +63 -0
- package/templates/commands/es/agents/implementer.md +27 -0
- package/templates/commands/es/agents/integrator.md +24 -0
- package/templates/commands/es/agents/reviewer.md +31 -0
- package/templates/commands/es/agents/tester.md +22 -0
- package/templates/commands/es/engineer/plan.md +335 -0
- package/templates/commands/es/engineer/pr.md +228 -0
- package/templates/commands/es/engineer/pre-pr.md +359 -0
- package/templates/commands/es/engineer/start.md +318 -0
- package/templates/commands/es/engineer/work.md +290 -0
- package/templates/commands/es/orchestrate.md +125 -0
- package/templates/commands/es/products/check.md +271 -0
- package/templates/commands/es/products/collect.md +218 -0
- package/templates/commands/es/products/refine.md +265 -0
- package/templates/commands/es/products/spec.md +306 -0
- package/templates/commands/es/quality/metrics.md +300 -0
- package/templates/commands/es/quality/observe.md +205 -0
- package/templates/commands/es/warm-up.md +59 -0
- package/templates/commands/pt-BR/engineer/plan.md +335 -0
- package/templates/commands/pt-BR/engineer/pr.md +228 -0
- package/templates/commands/pt-BR/engineer/pre-pr.md +359 -0
- package/templates/commands/pt-BR/engineer/start.md +319 -0
- package/templates/commands/pt-BR/engineer/work.md +290 -0
- package/templates/commands/pt-BR/products/check.md +271 -0
- package/templates/commands/pt-BR/products/collect.md +219 -0
- package/templates/commands/pt-BR/products/refine.md +265 -0
- package/templates/commands/pt-BR/products/spec.md +307 -0
- package/templates/commands/pt-BR/quality/metrics.md +300 -0
- package/templates/commands/pt-BR/quality/observe.md +206 -0
- package/templates/commands/pt-BR/warm-up.md +59 -0
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
# Technical Planning
|
|
2
|
+
|
|
3
|
+
This command creates the detailed technical plan for the feature implementation.
|
|
4
|
+
|
|
5
|
+
## ๐ Prerequisites
|
|
6
|
+
|
|
7
|
+
- PRD created via `/spec`
|
|
8
|
+
- Initial analysis done via `/start`
|
|
9
|
+
- `context.md` and `architecture.md` files created and approved
|
|
10
|
+
|
|
11
|
+
## Configuration
|
|
12
|
+
|
|
13
|
+
Read `context-manifest.json` and `ai.properties.md` from the orchestrator to get repositories, base_path, and task_management_system.
|
|
14
|
+
|
|
15
|
+
## ๐ IMPORTANT: Understand the Structure
|
|
16
|
+
|
|
17
|
+
**Workspace**:
|
|
18
|
+
```
|
|
19
|
+
<orchestrator>/.sessions/<ISSUE-ID>/
|
|
20
|
+
โโโ repo-1/ # worktree (will be used in /work)
|
|
21
|
+
โโโ repo-2/ # worktree (will be used in /work)
|
|
22
|
+
โโโ context.md # context (immutable - READ)
|
|
23
|
+
โโโ architecture.md # architecture (immutable - READ)
|
|
24
|
+
โโโ plan.md # plan (mutable - CREATE)
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**Main repositories** (read-only):
|
|
28
|
+
```
|
|
29
|
+
{base_path}/repo-1/ # main repo (branch main/master)
|
|
30
|
+
{base_path}/repo-2/ # main repo (branch main/master)
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**GOLDEN RULE**:
|
|
34
|
+
- โ
Read `context.md` and `architecture.md` (immutable)
|
|
35
|
+
- โ
Create `plan.md` in `.sessions/<ISSUE-ID>/`
|
|
36
|
+
- โ
Read code from main repositories (read-only)
|
|
37
|
+
- โ NEVER checkout main repositories
|
|
38
|
+
- โ NEVER modify `context.md` or `architecture.md`
|
|
39
|
+
|
|
40
|
+
## โ ๏ธ IMPORTANT: Immutable Files
|
|
41
|
+
|
|
42
|
+
**This command must READ but NOT MODIFY:**
|
|
43
|
+
- โ
**READ** `.sessions/<ISSUE-ID>/context.md` (immutable)
|
|
44
|
+
- โ
**READ** `.sessions/<ISSUE-ID>/architecture.md` (immutable)
|
|
45
|
+
- โ
**CREATE** `.sessions/<ISSUE-ID>/plan.md` (mutable - will be updated during `/work`)
|
|
46
|
+
- โ **DO NOT modify `context.md` or `architecture.md`**
|
|
47
|
+
|
|
48
|
+
## ๐ Load MetaSpecs
|
|
49
|
+
|
|
50
|
+
**Automatically locate MetaSpecs**:
|
|
51
|
+
1. Read `context-manifest.json` from the orchestrator
|
|
52
|
+
2. Find the repository with `"role": "metaspecs"`
|
|
53
|
+
3. Read `ai.properties.md` to get the `base_path`
|
|
54
|
+
4. The metaspecs are at: `{base_path}/{metaspecs-repo-id}/`
|
|
55
|
+
5. Read the relevant `index.md` files to ensure compliance with:
|
|
56
|
+
- System architecture
|
|
57
|
+
- Design and code patterns
|
|
58
|
+
- Folder and file structure
|
|
59
|
+
- Naming conventions
|
|
60
|
+
|
|
61
|
+
## ๐ฏ Goal
|
|
62
|
+
|
|
63
|
+
Create a detailed technical plan that will guide the implementation, dividing the work into smaller, sequential units.
|
|
64
|
+
|
|
65
|
+
## ๐ Plan Structure
|
|
66
|
+
|
|
67
|
+
### 1. Technical Overview
|
|
68
|
+
|
|
69
|
+
```markdown
|
|
70
|
+
# Technical Plan - [Feature Title]
|
|
71
|
+
|
|
72
|
+
## Summary
|
|
73
|
+
[Brief technical description of what will be implemented]
|
|
74
|
+
|
|
75
|
+
## Involved Repositories
|
|
76
|
+
- **<repo-1>**: [Role in this feature]
|
|
77
|
+
- **<repo-2>**: [Role in this feature]
|
|
78
|
+
|
|
79
|
+
## Technical Approach
|
|
80
|
+
[General implementation strategy]
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### 2. Solution Architecture
|
|
84
|
+
|
|
85
|
+
```markdown
|
|
86
|
+
## Architecture
|
|
87
|
+
|
|
88
|
+
### Component Diagram
|
|
89
|
+
[Textual description or ASCII art of components and their relationships]
|
|
90
|
+
|
|
91
|
+
### Data Flow
|
|
92
|
+
1. [Step 1 of the flow]
|
|
93
|
+
2. [Step 2 of the flow]
|
|
94
|
+
3. [Step 3 of the flow]
|
|
95
|
+
|
|
96
|
+
### Integrations
|
|
97
|
+
- **<repo-1> โ <repo-2>**: [How they communicate]
|
|
98
|
+
- **System โ External API**: [If any]
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### 3. Technical Decisions
|
|
102
|
+
|
|
103
|
+
```markdown
|
|
104
|
+
## Technical Decisions
|
|
105
|
+
|
|
106
|
+
### Decision 1: [Title]
|
|
107
|
+
**Context**: [Why we need to decide this]
|
|
108
|
+
**Considered options**:
|
|
109
|
+
- Option A: [Pros and cons]
|
|
110
|
+
- Option B: [Pros and cons]
|
|
111
|
+
**Decision**: [Chosen option]
|
|
112
|
+
**Justification**: [Why we chose this option]
|
|
113
|
+
|
|
114
|
+
### Decision 2: [Title]
|
|
115
|
+
[Same format as above]
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### 4. Implementation Plan
|
|
119
|
+
|
|
120
|
+
Divide the work into small, sequential units:
|
|
121
|
+
|
|
122
|
+
```markdown
|
|
123
|
+
## Implementation Plan
|
|
124
|
+
|
|
125
|
+
### Phase 1: [Phase Name]
|
|
126
|
+
**Goal**: [What will be achieved in this phase]
|
|
127
|
+
**Repositories**: [affected repos]
|
|
128
|
+
|
|
129
|
+
#### Task 1.1: [Description]
|
|
130
|
+
- **Repo**: <repo-1>
|
|
131
|
+
- **Files**: [files to create/modify]
|
|
132
|
+
- **Description**: [What to do]
|
|
133
|
+
- **Tests**: [Tests to implement]
|
|
134
|
+
- **Estimate**: [estimated time]
|
|
135
|
+
|
|
136
|
+
#### Task 1.2: [Description]
|
|
137
|
+
- **Repo**: <repo-2>
|
|
138
|
+
- **Files**: [files to create/modify]
|
|
139
|
+
- **Description**: [What to do]
|
|
140
|
+
- **Tests**: [Tests to implement]
|
|
141
|
+
- **Estimate**: [estimated time]
|
|
142
|
+
|
|
143
|
+
### Phase 2: [Phase Name]
|
|
144
|
+
[Same format as above]
|
|
145
|
+
|
|
146
|
+
### Phase 3: [Phase Name]
|
|
147
|
+
[Same format as above]
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### 5. File Structure
|
|
151
|
+
|
|
152
|
+
For each repository, define the structure:
|
|
153
|
+
|
|
154
|
+
```markdown
|
|
155
|
+
## File Structure
|
|
156
|
+
|
|
157
|
+
### <repo-1>
|
|
158
|
+
```
|
|
159
|
+
src/
|
|
160
|
+
โโโ components/
|
|
161
|
+
โ โโโ NewComponent.tsx (CREATE)
|
|
162
|
+
โ โโโ ExistingComponent.tsx (MODIFY)
|
|
163
|
+
โโโ services/
|
|
164
|
+
โ โโโ NewService.ts (CREATE)
|
|
165
|
+
โโโ tests/
|
|
166
|
+
โโโ NewComponent.test.tsx (CREATE)
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
### <repo-2>
|
|
170
|
+
```
|
|
171
|
+
src/
|
|
172
|
+
โโโ controllers/
|
|
173
|
+
โ โโโ NewController.ts (CREATE)
|
|
174
|
+
โโโ tests/
|
|
175
|
+
โโโ NewController.test.ts (CREATE)
|
|
176
|
+
```
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### 6. APIs and Contracts
|
|
180
|
+
|
|
181
|
+
```markdown
|
|
182
|
+
## APIs and Contracts
|
|
183
|
+
|
|
184
|
+
### New Endpoints
|
|
185
|
+
|
|
186
|
+
#### POST /api/resource
|
|
187
|
+
**Request**:
|
|
188
|
+
```json
|
|
189
|
+
{
|
|
190
|
+
"field1": "string",
|
|
191
|
+
"field2": "number"
|
|
192
|
+
}
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
**Response**:
|
|
196
|
+
```json
|
|
197
|
+
{
|
|
198
|
+
"id": "string",
|
|
199
|
+
"status": "string"
|
|
200
|
+
}
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
### Modified Endpoints
|
|
204
|
+
|
|
205
|
+
#### GET /api/resource/:id
|
|
206
|
+
**Changes**: [What changes]
|
|
207
|
+
**Breaking Change**: Yes / No
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
### 7. Testing Strategy
|
|
211
|
+
|
|
212
|
+
```markdown
|
|
213
|
+
## Testing Strategy
|
|
214
|
+
|
|
215
|
+
### Unit Tests
|
|
216
|
+
- **<repo-1>**: [Components/functions to test]
|
|
217
|
+
- **<repo-2>**: [Components/functions to test]
|
|
218
|
+
|
|
219
|
+
### Integration Tests
|
|
220
|
+
- **Scenario 1**: [Description and involved repos]
|
|
221
|
+
- **Scenario 2**: [Description and involved repos]
|
|
222
|
+
|
|
223
|
+
### E2E Tests (if applicable)
|
|
224
|
+
- **Flow 1**: [Description]
|
|
225
|
+
- **Flow 2**: [Description]
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
### 8. Technical Risks
|
|
229
|
+
|
|
230
|
+
```markdown
|
|
231
|
+
## Technical Risks
|
|
232
|
+
|
|
233
|
+
### Risk 1: [Description]
|
|
234
|
+
- **Impact**: High / Medium / Low
|
|
235
|
+
- **Probability**: High / Medium / Low
|
|
236
|
+
- **Mitigation**: [How to mitigate]
|
|
237
|
+
- **Plan B**: [Alternative if it occurs]
|
|
238
|
+
|
|
239
|
+
### Risk 2: [Description]
|
|
240
|
+
[Same format as above]
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
### 9. Implementation Checklist
|
|
244
|
+
|
|
245
|
+
```markdown
|
|
246
|
+
## Implementation Checklist
|
|
247
|
+
|
|
248
|
+
### Phase 1
|
|
249
|
+
- [ ] Task 1.1
|
|
250
|
+
- [ ] Task 1.2
|
|
251
|
+
- [ ] Phase 1 Tests
|
|
252
|
+
|
|
253
|
+
### Phase 2
|
|
254
|
+
- [ ] Task 2.1
|
|
255
|
+
- [ ] Task 2.2
|
|
256
|
+
- [ ] Phase 2 Tests
|
|
257
|
+
|
|
258
|
+
### Phase 3
|
|
259
|
+
- [ ] Task 3.1
|
|
260
|
+
- [ ] Task 3.2
|
|
261
|
+
- [ ] Phase 3 Tests
|
|
262
|
+
|
|
263
|
+
### Finalization
|
|
264
|
+
- [ ] Documentation updated
|
|
265
|
+
- [ ] Code review
|
|
266
|
+
- [ ] Integration tests
|
|
267
|
+
- [ ] PR created
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
## ๐ Saving the Plan
|
|
271
|
+
|
|
272
|
+
Save it in `./.sessions/<ISSUE-ID>/plan.md`
|
|
273
|
+
|
|
274
|
+
## ๐ Review
|
|
275
|
+
|
|
276
|
+
Review the plan checking:
|
|
277
|
+
- All tasks are clear and executable
|
|
278
|
+
- Dependencies between tasks are identified
|
|
279
|
+
- Estimates are realistic
|
|
280
|
+
- Risks have been considered
|
|
281
|
+
- Testing strategy is adequate
|
|
282
|
+
|
|
283
|
+
---
|
|
284
|
+
|
|
285
|
+
**Provided arguments**:
|
|
286
|
+
|
|
287
|
+
```
|
|
288
|
+
#$ARGUMENTS
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
---
|
|
292
|
+
|
|
293
|
+
## ๐ฏ Next Step
|
|
294
|
+
|
|
295
|
+
After plan approval:
|
|
296
|
+
|
|
297
|
+
```bash
|
|
298
|
+
/work
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
This command will start executing the first work unit of the plan.
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
# Pull Request Creation
|
|
2
|
+
|
|
3
|
+
This command creates Pull Requests for all modified repositories in the workspace.
|
|
4
|
+
|
|
5
|
+
## ๐ Prerequisites
|
|
6
|
+
|
|
7
|
+
Before creating PRs, make sure that:
|
|
8
|
+
- You have run `/pre-pr` and all validations passed
|
|
9
|
+
- All commits have been made
|
|
10
|
+
- All tests are passing
|
|
11
|
+
- Documentation is up to date
|
|
12
|
+
|
|
13
|
+
## Configuration
|
|
14
|
+
|
|
15
|
+
Read `context-manifest.json` and `ai.properties.md` from the orchestrator to get repositories, base_path, and task_management_system.
|
|
16
|
+
|
|
17
|
+
## ๐ CRITICAL: WHERE TO WORK
|
|
18
|
+
|
|
19
|
+
**โ ๏ธ ATTENTION: If you need to make last-minute adjustments, ALL CODE MUST BE CREATED INSIDE THE WORKTREE!**
|
|
20
|
+
|
|
21
|
+
**โ
CORRECT** - Work inside the worktree:
|
|
22
|
+
```
|
|
23
|
+
<orchestrator>/.sessions/<ISSUE-ID>/<repo-name>/src/file.ts โ
|
|
24
|
+
<orchestrator>/.sessions/<ISSUE-ID>/<repo-name>/README.md โ
|
|
25
|
+
<orchestrator>/.sessions/<ISSUE-ID>/<repo-name>/CHANGELOG.md โ
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
**โ WRONG** - NEVER create code outside the worktree:
|
|
29
|
+
```
|
|
30
|
+
<orchestrator>/.sessions/file.ts โ
|
|
31
|
+
<orchestrator>/.sessions/<ISSUE-ID>/file.ts โ
|
|
32
|
+
{base_path}/<repo-name>/file.ts โ (main repository!)
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
**ABSOLUTE RULE**:
|
|
36
|
+
- ๐ **Any code adjustment** (docs, changelog, fixes) **MUST be in** `<orchestrator>/.sessions/<ISSUE-ID>/<repo-name>/`
|
|
37
|
+
- ๐ **NEVER modify** the main repository at `{base_path}/<repo-name>/`
|
|
38
|
+
- โ
**Work ONLY** inside the worktree of the specific repository
|
|
39
|
+
|
|
40
|
+
## ๐ฏ PR Creation Process
|
|
41
|
+
|
|
42
|
+
### 1. Identify Modified Repositories
|
|
43
|
+
|
|
44
|
+
For each repository in the workspace, check:
|
|
45
|
+
```bash
|
|
46
|
+
cd <repository>
|
|
47
|
+
git status
|
|
48
|
+
git log origin/main..HEAD # See unpushed commits
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### 2. Push Branches
|
|
52
|
+
|
|
53
|
+
For each modified repository:
|
|
54
|
+
```bash
|
|
55
|
+
cd <repository>
|
|
56
|
+
git push origin <branch-name>
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### 3. Create Pull Requests
|
|
60
|
+
|
|
61
|
+
For each repository, create a PR using GitHub CLI or web interface:
|
|
62
|
+
|
|
63
|
+
**Using GitHub CLI**:
|
|
64
|
+
```bash
|
|
65
|
+
cd <repository>
|
|
66
|
+
gh pr create --title "[ISSUE-ID] Feature Title" \
|
|
67
|
+
--body "$(cat ../.sessions/<ISSUE-ID>/pr-description.md)" \
|
|
68
|
+
--base main
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**PR Description Template**:
|
|
72
|
+
|
|
73
|
+
```markdown
|
|
74
|
+
## ๐ฏ Objective
|
|
75
|
+
|
|
76
|
+
[Brief description of what this PR does]
|
|
77
|
+
|
|
78
|
+
## ๐ Changes
|
|
79
|
+
|
|
80
|
+
### Repository: <repo-name>
|
|
81
|
+
|
|
82
|
+
- [Change 1]
|
|
83
|
+
- [Change 2]
|
|
84
|
+
- [Change 3]
|
|
85
|
+
|
|
86
|
+
## ๐ Relationships
|
|
87
|
+
|
|
88
|
+
- **Issue**: <ISSUE-ID>
|
|
89
|
+
- **Related PRs**:
|
|
90
|
+
- <repo-1>#<PR-number>
|
|
91
|
+
- <repo-2>#<PR-number>
|
|
92
|
+
|
|
93
|
+
## โ
Checklist
|
|
94
|
+
|
|
95
|
+
- [ ] Code implemented and tested
|
|
96
|
+
- [ ] Unit tests added/updated
|
|
97
|
+
- [ ] Integration tests passing
|
|
98
|
+
- [ ] Documentation updated
|
|
99
|
+
- [ ] No breaking changes (or documented)
|
|
100
|
+
- [ ] Peer reviewed (after PR creation)
|
|
101
|
+
|
|
102
|
+
## ๐งช How to Test
|
|
103
|
+
|
|
104
|
+
1. [Step 1]
|
|
105
|
+
2. [Step 2]
|
|
106
|
+
3. [Expected result]
|
|
107
|
+
|
|
108
|
+
## ๐ธ Screenshots/Demos
|
|
109
|
+
|
|
110
|
+
[If applicable, add screenshots or links to demos]
|
|
111
|
+
|
|
112
|
+
## ๐ Notes for Reviewers
|
|
113
|
+
|
|
114
|
+
- [Point of attention 1]
|
|
115
|
+
- [Point of attention 2]
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### 4. Link PRs
|
|
119
|
+
|
|
120
|
+
If there are multiple PRs (one per repository):
|
|
121
|
+
- Add cross-links between PRs
|
|
122
|
+
- Document the recommended merge order
|
|
123
|
+
- Indicate dependencies between PRs
|
|
124
|
+
|
|
125
|
+
### 5. Update Issue in Task Manager
|
|
126
|
+
|
|
127
|
+
If task manager is configured:
|
|
128
|
+
- Move the issue to "In Review" or "PR Open"
|
|
129
|
+
- Add PR links to the issue
|
|
130
|
+
- Add a comment summarizing the changes
|
|
131
|
+
|
|
132
|
+
### 6. Session Documentation
|
|
133
|
+
|
|
134
|
+
Update `./.sessions/<ISSUE-ID>/pr.md`:
|
|
135
|
+
|
|
136
|
+
```markdown
|
|
137
|
+
# [Feature Title] - Pull Requests
|
|
138
|
+
|
|
139
|
+
## Created PRs
|
|
140
|
+
|
|
141
|
+
### <repo-1>
|
|
142
|
+
- **Link**: <PR URL>
|
|
143
|
+
- **Status**: Open
|
|
144
|
+
- **Commits**: X commits
|
|
145
|
+
|
|
146
|
+
### <repo-2>
|
|
147
|
+
- **Link**: <PR URL>
|
|
148
|
+
- **Status**: Open
|
|
149
|
+
- **Commits**: Y commits
|
|
150
|
+
|
|
151
|
+
## Recommended Merge Order
|
|
152
|
+
|
|
153
|
+
1. <repo-1> - [Justification]
|
|
154
|
+
2. <repo-2> - [Justification]
|
|
155
|
+
|
|
156
|
+
## Merge Notes
|
|
157
|
+
|
|
158
|
+
- [Important note 1]
|
|
159
|
+
- [Important note 2]
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
## ๐ Final Checklist
|
|
163
|
+
|
|
164
|
+
Before requesting review:
|
|
165
|
+
- [ ] All PRs created
|
|
166
|
+
- [ ] Complete and clear descriptions
|
|
167
|
+
- [ ] PRs linked to each other
|
|
168
|
+
- [ ] Issue updated in task manager
|
|
169
|
+
- [ ] Tests passing in CI/CD
|
|
170
|
+
- [ ] Complete session documentation
|
|
171
|
+
|
|
172
|
+
## ๐ข Communication
|
|
173
|
+
|
|
174
|
+
Notify the team about the PRs:
|
|
175
|
+
- Mention relevant reviewers
|
|
176
|
+
- Highlight critical or breaking changes
|
|
177
|
+
- Indicate urgency if applicable
|
|
178
|
+
|
|
179
|
+
---
|
|
180
|
+
|
|
181
|
+
**Provided arguments**:
|
|
182
|
+
|
|
183
|
+
```
|
|
184
|
+
#$ARGUMENTS
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
## ๐ฏ Next Steps
|
|
190
|
+
|
|
191
|
+
1. Await PR reviews
|
|
192
|
+
2. Respond to comments and make adjustments
|
|
193
|
+
3. After approval, merge in the recommended order
|
|
194
|
+
4. Run `context-cli feature:end <ISSUE-ID>` to clean the workspace
|