lite-kits 0.1.0__py3-none-any.whl
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.
- lite_kits/__init__.py +9 -0
- lite_kits/cli.py +481 -0
- lite_kits/installer.py +417 -0
- lite_kits/kits/README.md +191 -0
- lite_kits/kits/git/README.md +374 -0
- lite_kits/kits/git/claude/commands/cleanup.md +361 -0
- lite_kits/kits/git/claude/commands/commit.md +612 -0
- lite_kits/kits/git/claude/commands/pr.md +593 -0
- lite_kits/kits/git/github/prompts/cleanup.prompt.md +382 -0
- lite_kits/kits/git/github/prompts/commit.prompt.md +591 -0
- lite_kits/kits/git/github/prompts/pr.prompt.md +603 -0
- lite_kits/kits/git/scripts/bash/get-git-context.sh +208 -0
- lite_kits/kits/git/scripts/powershell/Get-GitContext.ps1 +242 -0
- lite_kits/kits/multiagent/README.md +395 -0
- lite_kits/kits/multiagent/claude/commands/sync.md +331 -0
- lite_kits/kits/multiagent/github/prompts/sync.prompt.md +331 -0
- lite_kits/kits/multiagent/memory/git-worktrees-protocol.md +370 -0
- lite_kits/kits/multiagent/memory/parallel-work-protocol.md +536 -0
- lite_kits/kits/multiagent/memory/pr-workflow-guide.md +281 -0
- lite_kits/kits/multiagent/templates/collaboration-structure/README.md +166 -0
- lite_kits/kits/multiagent/templates/decision.md +79 -0
- lite_kits/kits/multiagent/templates/handoff.md +95 -0
- lite_kits/kits/multiagent/templates/session-log.md +68 -0
- lite_kits/kits/project/README.md +244 -0
- lite_kits/kits/project/claude/commands/orient.md +163 -0
- lite_kits/kits/project/github/prompts/orient.prompt.md +163 -0
- lite_kits-0.1.0.dist-info/METADATA +415 -0
- lite_kits-0.1.0.dist-info/RECORD +31 -0
- lite_kits-0.1.0.dist-info/WHEEL +4 -0
- lite_kits-0.1.0.dist-info/entry_points.txt +2 -0
- lite_kits-0.1.0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,281 @@
|
|
1
|
+
# AI Agent Pull Request Workflow Guide
|
2
|
+
|
3
|
+
**Version**: 1.0.0
|
4
|
+
**Last Updated**: 2025-10-06
|
5
|
+
|
6
|
+
## Purpose
|
7
|
+
|
8
|
+
This guide defines the workflow for AI agents (Claude Code, GitHub Copilot, Cursor) when creating pull requests in spec-kit projects with multiagent coordination.
|
9
|
+
|
10
|
+
## Core Principles
|
11
|
+
|
12
|
+
1. **Commit your own work**: Each agent commits and pushes their own changes
|
13
|
+
2. **Attribute properly**: Include model and interface information in commits
|
14
|
+
3. **Coordinate via collaboration/**: Use feature collaboration directories for handoffs
|
15
|
+
4. **Test before PR**: Run validation locally before creating pull request
|
16
|
+
|
17
|
+
## Pull Request Workflow
|
18
|
+
|
19
|
+
### Step 1: Complete Your Work
|
20
|
+
|
21
|
+
```bash
|
22
|
+
# Ensure all changes are committed
|
23
|
+
git status
|
24
|
+
|
25
|
+
# Run tests if available
|
26
|
+
npm test || pytest || cargo test
|
27
|
+
|
28
|
+
# Validate against constitution
|
29
|
+
lite-kits validate
|
30
|
+
```
|
31
|
+
|
32
|
+
### Step 2: Update Collaboration Directory
|
33
|
+
|
34
|
+
Create a session summary:
|
35
|
+
```
|
36
|
+
specs/NNN-feature/collaboration/active/sessions/YYYY-MM-DD-agent-summary.md
|
37
|
+
|
38
|
+
## Session Summary
|
39
|
+
**Agent**: Claude Code (claude-sonnet-4.5)
|
40
|
+
**Date**: 2025-10-06
|
41
|
+
**Duration**: 45 minutes
|
42
|
+
|
43
|
+
### Completed
|
44
|
+
- Implemented user authentication
|
45
|
+
- Added password hashing with bcrypt
|
46
|
+
- Created login/logout endpoints
|
47
|
+
|
48
|
+
### Files Changed
|
49
|
+
- src/auth.py (new)
|
50
|
+
- src/models.py (modified)
|
51
|
+
- tests/test_auth.py (new)
|
52
|
+
|
53
|
+
### Tests
|
54
|
+
- All tests passing (12/12)
|
55
|
+
- Coverage: 94%
|
56
|
+
|
57
|
+
### Next Steps
|
58
|
+
- Review needed on password complexity requirements
|
59
|
+
- Consider adding 2FA in future iteration
|
60
|
+
```
|
61
|
+
|
62
|
+
### Step 3: Create Pull Request
|
63
|
+
|
64
|
+
**Preferred**: Use GitHub CLI (best for Copilot):
|
65
|
+
```bash
|
66
|
+
gh pr create --title "feat: Add user authentication" --body "$(cat <<'EOF'
|
67
|
+
## Summary
|
68
|
+
- Implemented bcrypt password hashing
|
69
|
+
- Created login/logout API endpoints
|
70
|
+
- Added comprehensive test coverage (94%)
|
71
|
+
|
72
|
+
## Test Plan
|
73
|
+
- [x] Unit tests passing (12/12)
|
74
|
+
- [x] Manual testing of login flow
|
75
|
+
- [x] Password validation tested
|
76
|
+
- [ ] Security review needed
|
77
|
+
|
78
|
+
## Related
|
79
|
+
- Implements: specs/003-user-auth/spec.md
|
80
|
+
- Session: specs/003-user-auth/collaboration/active/sessions/2025-10-06-claude-auth.md
|
81
|
+
|
82
|
+
🤖 Generated with spec-kit-multiagent
|
83
|
+
via claude-sonnet-4.5 @ claude-code
|
84
|
+
EOF
|
85
|
+
)"
|
86
|
+
```
|
87
|
+
|
88
|
+
**Alternative**: Manual PR creation via web interface
|
89
|
+
|
90
|
+
### Step 4: Request Review
|
91
|
+
|
92
|
+
Tag appropriate reviewers based on project conventions:
|
93
|
+
- Human reviewers for architectural decisions
|
94
|
+
- Other AI agents for code style/coverage checks
|
95
|
+
- Automated CI for tests and linting
|
96
|
+
|
97
|
+
## Commit Attribution Format
|
98
|
+
|
99
|
+
**Required format** for AI agent commits:
|
100
|
+
|
101
|
+
```
|
102
|
+
<conventional-commit-message>
|
103
|
+
|
104
|
+
<detailed description if needed>
|
105
|
+
|
106
|
+
via <model> @ <interface>
|
107
|
+
```
|
108
|
+
|
109
|
+
**Examples**:
|
110
|
+
```
|
111
|
+
feat: Add user authentication with bcrypt
|
112
|
+
|
113
|
+
Implements password hashing, login/logout endpoints,
|
114
|
+
and session management.
|
115
|
+
|
116
|
+
via claude-sonnet-4.5 @ claude-code
|
117
|
+
```
|
118
|
+
|
119
|
+
```
|
120
|
+
fix: Resolve race condition in async handlers
|
121
|
+
|
122
|
+
via gpt-4 @ github-copilot-cli
|
123
|
+
```
|
124
|
+
|
125
|
+
```
|
126
|
+
docs: Update API documentation for auth endpoints
|
127
|
+
|
128
|
+
via claude-opus-4 @ cursor
|
129
|
+
```
|
130
|
+
|
131
|
+
## Multi-Agent Coordination
|
132
|
+
|
133
|
+
### When Multiple Agents Work on Same Feature
|
134
|
+
|
135
|
+
**Use git worktrees** for parallel development:
|
136
|
+
```bash
|
137
|
+
# Agent 1: Work on authentication
|
138
|
+
git worktree add ../feature-auth-backend 003-user-auth
|
139
|
+
|
140
|
+
# Agent 2: Work on frontend
|
141
|
+
git worktree add ../feature-auth-frontend 003-user-auth
|
142
|
+
```
|
143
|
+
|
144
|
+
See [git-worktrees-protocol.md](./git-worktrees-protocol.md) for details.
|
145
|
+
|
146
|
+
### Handoff Between Agents
|
147
|
+
|
148
|
+
Create handoff document in collaboration directory:
|
149
|
+
```markdown
|
150
|
+
# specs/003-user-auth/collaboration/active/decisions/handoff-to-copilot.md
|
151
|
+
|
152
|
+
## Handoff to GitHub Copilot
|
153
|
+
|
154
|
+
**From**: Claude Code
|
155
|
+
**To**: GitHub Copilot CLI
|
156
|
+
**Date**: 2025-10-06
|
157
|
+
|
158
|
+
### Context
|
159
|
+
I've implemented the backend authentication. Frontend integration needed.
|
160
|
+
|
161
|
+
### What's Done
|
162
|
+
- Backend API endpoints (POST /login, POST /logout, GET /session)
|
163
|
+
- Password hashing with bcrypt
|
164
|
+
- Session management with JWT
|
165
|
+
- Comprehensive tests (94% coverage)
|
166
|
+
|
167
|
+
### What's Needed
|
168
|
+
- Frontend login form component
|
169
|
+
- Session state management
|
170
|
+
- Protected route wrapper
|
171
|
+
- Logout button integration
|
172
|
+
|
173
|
+
### Files to Create
|
174
|
+
- src/components/LoginForm.tsx
|
175
|
+
- src/hooks/useAuth.ts
|
176
|
+
- src/components/ProtectedRoute.tsx
|
177
|
+
|
178
|
+
### Reference
|
179
|
+
- API docs: specs/003-user-auth/contracts/auth-api.yaml
|
180
|
+
- Session log: collaboration/active/sessions/2025-10-06-claude-backend.md
|
181
|
+
```
|
182
|
+
|
183
|
+
## PR Checklist for AI Agents
|
184
|
+
|
185
|
+
Before creating PR, ensure:
|
186
|
+
|
187
|
+
- [ ] All tests passing locally
|
188
|
+
- [ ] Code follows project conventions (see constitution.md)
|
189
|
+
- [ ] Session summary created in collaboration/active/sessions/
|
190
|
+
- [ ] Commit messages include agent attribution
|
191
|
+
- [ ] No secrets or credentials committed
|
192
|
+
- [ ] Documentation updated if needed
|
193
|
+
- [ ] Handoff document created if needed
|
194
|
+
|
195
|
+
## Special Cases
|
196
|
+
|
197
|
+
### Emergency Fixes
|
198
|
+
|
199
|
+
For critical bugs, streamlined process:
|
200
|
+
```bash
|
201
|
+
# Fix immediately on feature branch
|
202
|
+
git commit -m "fix: Critical security patch for auth bypass
|
203
|
+
|
204
|
+
via claude-sonnet-4.5 @ claude-code"
|
205
|
+
|
206
|
+
# Push directly (skip PR if authorized)
|
207
|
+
git push origin 003-user-auth
|
208
|
+
```
|
209
|
+
|
210
|
+
### Constitution Conflicts
|
211
|
+
|
212
|
+
If your work conflicts with constitution:
|
213
|
+
1. **STOP** - Do not proceed with PR
|
214
|
+
2. Create issue describing conflict
|
215
|
+
3. Tag human maintainers for decision
|
216
|
+
4. Wait for constitution amendment or spec adjustment
|
217
|
+
|
218
|
+
## CI/CD Integration
|
219
|
+
|
220
|
+
**Automated checks** run on all PRs:
|
221
|
+
- Test suite execution
|
222
|
+
- Code coverage thresholds
|
223
|
+
- Linting and formatting
|
224
|
+
- Agent attribution detection (extracts model info)
|
225
|
+
- Constitution compliance checks
|
226
|
+
|
227
|
+
**Agent-specific checks**:
|
228
|
+
- Verify commit attribution format
|
229
|
+
- Check for collaboration directory updates
|
230
|
+
- Validate session summaries exist
|
231
|
+
|
232
|
+
## Review Process
|
233
|
+
|
234
|
+
**For AI-generated PRs**:
|
235
|
+
1. Automated CI checks (must pass)
|
236
|
+
2. Human review for:
|
237
|
+
- Architectural decisions
|
238
|
+
- Security implications
|
239
|
+
- UX considerations
|
240
|
+
3. Optional: Other AI agents for code quality
|
241
|
+
|
242
|
+
**Merge criteria**:
|
243
|
+
- All CI checks passing
|
244
|
+
- At least one human approval (for non-trivial changes)
|
245
|
+
- No unresolved conversations
|
246
|
+
- Collaboration directory updated
|
247
|
+
|
248
|
+
## Post-Merge
|
249
|
+
|
250
|
+
After PR merged:
|
251
|
+
```bash
|
252
|
+
# Archive session
|
253
|
+
mv specs/NNN-feature/collaboration/active/sessions/YYYY-MM-DD-*.md \
|
254
|
+
specs/NNN-feature/collaboration/archive/YYYY-MM/
|
255
|
+
|
256
|
+
# Update status
|
257
|
+
echo "✓ Feature complete and merged" >> \
|
258
|
+
specs/NNN-feature/collaboration/results/artifacts/completion-summary.md
|
259
|
+
```
|
260
|
+
|
261
|
+
## Troubleshooting
|
262
|
+
|
263
|
+
**PR creation fails**:
|
264
|
+
- Check branch is pushed to remote
|
265
|
+
- Verify GitHub CLI authenticated
|
266
|
+
- Ensure base branch exists
|
267
|
+
|
268
|
+
**CI checks fail**:
|
269
|
+
- Pull latest from base branch
|
270
|
+
- Run tests locally
|
271
|
+
- Check for merge conflicts
|
272
|
+
|
273
|
+
**Attribution missing**:
|
274
|
+
- Amend last commit to add attribution
|
275
|
+
- Force push (if not yet reviewed)
|
276
|
+
|
277
|
+
## Resources
|
278
|
+
|
279
|
+
- GitHub CLI docs: https://cli.github.com/manual/
|
280
|
+
- Git worktrees: [git-worktrees-protocol.md](./git-worktrees-protocol.md)
|
281
|
+
- Constitution: [constitution.md](./constitution.md)
|
@@ -0,0 +1,166 @@
|
|
1
|
+
# Collaboration Directory Structure
|
2
|
+
|
3
|
+
This directory is created automatically when multiagent-kit is installed and you create a new feature with `/specify`.
|
4
|
+
|
5
|
+
## Purpose
|
6
|
+
|
7
|
+
Coordinate work between multiple AI agents (Claude Code, GitHub Copilot, etc.) on the same feature.
|
8
|
+
|
9
|
+
## Structure
|
10
|
+
|
11
|
+
```
|
12
|
+
specs/<feature-number>-<feature-name>/
|
13
|
+
└── collaboration/
|
14
|
+
├── active/ # Current work in progress
|
15
|
+
│ ├── sessions/ # Individual agent work sessions
|
16
|
+
│ ├── decisions/ # Coordination decisions and handoffs
|
17
|
+
│ └── README.md # Quick reference (this file copied here)
|
18
|
+
│
|
19
|
+
├── archive/ # Completed sessions and decisions
|
20
|
+
│ ├── sessions/
|
21
|
+
│ └── decisions/
|
22
|
+
│
|
23
|
+
└── results/ # Outcomes and artifacts
|
24
|
+
├── validation/ # Test results, reviews
|
25
|
+
└── artifacts/ # Generated files, diagrams, etc.
|
26
|
+
```
|
27
|
+
|
28
|
+
## Workflows
|
29
|
+
|
30
|
+
### Solo Agent Work
|
31
|
+
|
32
|
+
If only one agent is working:
|
33
|
+
1. Create session log in `active/sessions/`
|
34
|
+
2. Document decisions in `active/decisions/`
|
35
|
+
3. When feature complete, archive to `archive/`
|
36
|
+
|
37
|
+
### Multi-Agent Coordination
|
38
|
+
|
39
|
+
When multiple agents collaborate:
|
40
|
+
|
41
|
+
1. **Starting Work**
|
42
|
+
- Run `/orient` to check for pending handoffs
|
43
|
+
- Create session log: `active/sessions/YYYY-MM-DD-<agent-name>.md`
|
44
|
+
- Review recent sessions from other agents
|
45
|
+
|
46
|
+
2. **Making Decisions**
|
47
|
+
- Document in `active/decisions/<decision-name>.md`
|
48
|
+
- Include: what was decided, why, by whom
|
49
|
+
- Tag with agent attribution
|
50
|
+
|
51
|
+
3. **Handoff to Another Agent**
|
52
|
+
- Create: `active/decisions/handoff-to-<agent>.md`
|
53
|
+
- Include: context, what's done, what's needed
|
54
|
+
- Other agent will see it in `/orient` output
|
55
|
+
|
56
|
+
4. **Accepting Handoff**
|
57
|
+
- Read the handoff document
|
58
|
+
- Create your session log
|
59
|
+
- Move handoff to `archive/decisions/` when acknowledged
|
60
|
+
|
61
|
+
5. **Completing Feature**
|
62
|
+
- Move all active sessions to `archive/sessions/`
|
63
|
+
- Move decisions to `archive/decisions/`
|
64
|
+
- Save artifacts in `results/artifacts/`
|
65
|
+
|
66
|
+
## File Naming Conventions
|
67
|
+
|
68
|
+
### Sessions
|
69
|
+
|
70
|
+
```
|
71
|
+
active/sessions/YYYY-MM-DD-<agent-name>.md
|
72
|
+
active/sessions/YYYY-MM-DD-<agent-name>-<description>.md
|
73
|
+
|
74
|
+
Examples:
|
75
|
+
active/sessions/2025-10-06-claude-code.md
|
76
|
+
active/sessions/2025-10-06-copilot-frontend-work.md
|
77
|
+
```
|
78
|
+
|
79
|
+
### Decisions
|
80
|
+
|
81
|
+
```
|
82
|
+
active/decisions/<decision-type>-<brief-name>.md
|
83
|
+
|
84
|
+
Examples:
|
85
|
+
active/decisions/handoff-to-copilot.md
|
86
|
+
active/decisions/architecture-database-choice.md
|
87
|
+
active/decisions/worktree-territory-split.md
|
88
|
+
```
|
89
|
+
|
90
|
+
### Artifacts
|
91
|
+
|
92
|
+
```
|
93
|
+
results/artifacts/<type>-<name>.<ext>
|
94
|
+
|
95
|
+
Examples:
|
96
|
+
results/artifacts/diagram-auth-flow.svg
|
97
|
+
results/artifacts/benchmark-api-performance.csv
|
98
|
+
```
|
99
|
+
|
100
|
+
## Template Usage
|
101
|
+
|
102
|
+
When creating documents, use the templates:
|
103
|
+
- Session log: Copy from `../../templates/session-log.md`
|
104
|
+
- Handoff: Copy from `../../templates/handoff.md`
|
105
|
+
- Decision: Copy from `../../templates/decision.md`
|
106
|
+
|
107
|
+
## Integration with Git
|
108
|
+
|
109
|
+
- Session logs and decisions are **committed to git**
|
110
|
+
- They become part of the feature's history
|
111
|
+
- Future agents can review them to understand context
|
112
|
+
- Helps with knowledge transfer and onboarding
|
113
|
+
|
114
|
+
## Best Practices
|
115
|
+
|
116
|
+
1. **Write for the next agent**: Assume someone else will read your session logs
|
117
|
+
2. **Link to commits**: Reference git commits in session logs
|
118
|
+
3. **Keep current**: Move old sessions to archive/ regularly
|
119
|
+
4. **Be specific**: "Added auth" → "Implemented JWT token validation in auth middleware"
|
120
|
+
5. **Update handoffs**: If you discover something while working, update the handoff
|
121
|
+
6. **Time-stamp everything**: Helps understand sequence of events
|
122
|
+
|
123
|
+
## Quick Commands
|
124
|
+
|
125
|
+
```bash
|
126
|
+
# Create session log
|
127
|
+
touch active/sessions/$(date +%Y-%m-%d)-claude-code.md
|
128
|
+
|
129
|
+
# Create handoff
|
130
|
+
cat > active/decisions/handoff-to-copilot.md << EOF
|
131
|
+
# Handoff to GitHub Copilot
|
132
|
+
|
133
|
+
**From**: Claude Code
|
134
|
+
**Date**: $(date +%Y-%m-%d)
|
135
|
+
|
136
|
+
## Context
|
137
|
+
[What you were working on]
|
138
|
+
|
139
|
+
## Completed
|
140
|
+
- [x] Task 1
|
141
|
+
- [x] Task 2
|
142
|
+
|
143
|
+
## Needed
|
144
|
+
- [ ] Task 3
|
145
|
+
- [ ] Task 4
|
146
|
+
|
147
|
+
## Files
|
148
|
+
- src/components/Auth.tsx (needs UI implementation)
|
149
|
+
|
150
|
+
## Notes
|
151
|
+
[Any gotchas or important context]
|
152
|
+
EOF
|
153
|
+
|
154
|
+
# Archive session
|
155
|
+
mv active/sessions/2025-10-05-*.md archive/sessions/
|
156
|
+
|
157
|
+
# List recent activity
|
158
|
+
ls -lt active/sessions/ | head -5
|
159
|
+
```
|
160
|
+
|
161
|
+
## See Also
|
162
|
+
|
163
|
+
- `/orient` - Check for pending handoffs
|
164
|
+
- `/sync` - View collaboration status
|
165
|
+
- `/commit` - Smart commits with agent attribution
|
166
|
+
- Workflow guide: `.specify/memory/pr-workflow-guide.md`
|
@@ -0,0 +1,79 @@
|
|
1
|
+
# Decision: [DECISION TITLE]
|
2
|
+
|
3
|
+
**Date**: YYYY-MM-DD
|
4
|
+
**Decided by**: [agent-name]
|
5
|
+
**Status**: [proposed / accepted / implemented / superseded]
|
6
|
+
|
7
|
+
## Context
|
8
|
+
|
9
|
+
[What situation led to this decision? What problem are we solving?]
|
10
|
+
|
11
|
+
## Decision
|
12
|
+
|
13
|
+
[What was decided? Be specific and clear.]
|
14
|
+
|
15
|
+
## Rationale
|
16
|
+
|
17
|
+
[Why did we make this decision? What factors influenced it?]
|
18
|
+
|
19
|
+
## Alternatives Considered
|
20
|
+
|
21
|
+
### Option 1: [Alternative Name]
|
22
|
+
- **Pros**:
|
23
|
+
- [Pro 1]
|
24
|
+
- [Pro 2]
|
25
|
+
- **Cons**:
|
26
|
+
- [Con 1]
|
27
|
+
- [Con 2]
|
28
|
+
- **Why not chosen**: [reason]
|
29
|
+
|
30
|
+
### Option 2: [Alternative Name]
|
31
|
+
- **Pros**:
|
32
|
+
- [Pro 1]
|
33
|
+
- **Cons**:
|
34
|
+
- [Con 1]
|
35
|
+
- **Why not chosen**: [reason]
|
36
|
+
|
37
|
+
## Implications
|
38
|
+
|
39
|
+
**Impact on**:
|
40
|
+
- **Architecture**: [how this affects system design]
|
41
|
+
- **Performance**: [performance implications if any]
|
42
|
+
- **Maintenance**: [how this affects future work]
|
43
|
+
- **Other features**: [what else is affected]
|
44
|
+
|
45
|
+
## Implementation
|
46
|
+
|
47
|
+
**Files affected**:
|
48
|
+
- `path/to/file1.ext`
|
49
|
+
- `path/to/file2.ext`
|
50
|
+
|
51
|
+
**Commits implementing this**:
|
52
|
+
- `abc1234` - [commit message]
|
53
|
+
- `def5678` - [commit message]
|
54
|
+
|
55
|
+
**Testing requirements**:
|
56
|
+
- [ ] Test requirement 1
|
57
|
+
- [ ] Test requirement 2
|
58
|
+
|
59
|
+
## Reversibility
|
60
|
+
|
61
|
+
**Can this be reversed?** [yes / no / partially]
|
62
|
+
|
63
|
+
**If yes, how?**
|
64
|
+
[Steps to reverse this decision if needed]
|
65
|
+
|
66
|
+
**Cost of reversal**:
|
67
|
+
[How much work to reverse it]
|
68
|
+
|
69
|
+
## References
|
70
|
+
|
71
|
+
- Related decisions: [link to other decision docs]
|
72
|
+
- External docs: [relevant links]
|
73
|
+
- Discussion: [where this was discussed]
|
74
|
+
|
75
|
+
---
|
76
|
+
|
77
|
+
**Decision ID**: [unique identifier if needed]
|
78
|
+
**Reviewed by**: [other agent if applicable]
|
79
|
+
**Last updated**: YYYY-MM-DD
|
@@ -0,0 +1,95 @@
|
|
1
|
+
# Handoff: [FROM-AGENT] → [TO-AGENT]
|
2
|
+
|
3
|
+
**From**: [claude-code / github-copilot-cli]
|
4
|
+
**To**: [claude-code / github-copilot-cli]
|
5
|
+
**Date**: YYYY-MM-DD
|
6
|
+
**Feature**: [feature number and name]
|
7
|
+
|
8
|
+
## Summary
|
9
|
+
|
10
|
+
[1-2 paragraph summary of what's been done and what's needed]
|
11
|
+
|
12
|
+
## Context
|
13
|
+
|
14
|
+
**Why this handoff?**
|
15
|
+
[Reason for the handoff - different expertise, workload balance, etc.]
|
16
|
+
|
17
|
+
**Current state**:
|
18
|
+
[Where the feature is now - what works, what doesn't]
|
19
|
+
|
20
|
+
## Completed Work
|
21
|
+
|
22
|
+
- [x] Task 1 - [brief description]
|
23
|
+
- [x] Task 2 - [brief description]
|
24
|
+
- [x] Task 3 - [brief description]
|
25
|
+
|
26
|
+
**Commits**:
|
27
|
+
- `abc1234` - [commit message]
|
28
|
+
- `def5678` - [commit message]
|
29
|
+
|
30
|
+
**Key files**:
|
31
|
+
- `path/to/file1.ext` - [what it does]
|
32
|
+
- `path/to/file2.ext` - [what it does]
|
33
|
+
|
34
|
+
## Needed Work
|
35
|
+
|
36
|
+
- [ ] Task 1 - [description]
|
37
|
+
- Why: [rationale or context]
|
38
|
+
- Files: [which files to modify]
|
39
|
+
|
40
|
+
- [ ] Task 2 - [description]
|
41
|
+
- Why: [rationale or context]
|
42
|
+
- Files: [which files to modify]
|
43
|
+
|
44
|
+
## Important Notes
|
45
|
+
|
46
|
+
**✓ What's working**:
|
47
|
+
- [Feature A works correctly]
|
48
|
+
- [Test B passes]
|
49
|
+
|
50
|
+
**⚠ Known issues**:
|
51
|
+
- [Issue 1 to be aware of]
|
52
|
+
- [Issue 2 to handle]
|
53
|
+
|
54
|
+
**🔍 Areas to focus on**:
|
55
|
+
- [Priority area 1]
|
56
|
+
- [Priority area 2]
|
57
|
+
|
58
|
+
## Testing
|
59
|
+
|
60
|
+
**Manual testing done**:
|
61
|
+
- [x] Test scenario 1
|
62
|
+
- [x] Test scenario 2
|
63
|
+
- [ ] Test scenario 3 (needs completion)
|
64
|
+
|
65
|
+
**Automated tests**:
|
66
|
+
- [x] Unit tests pass
|
67
|
+
- [ ] Integration tests (need to be written)
|
68
|
+
|
69
|
+
## References
|
70
|
+
|
71
|
+
- Related issue: #123
|
72
|
+
- Design doc: [link or path]
|
73
|
+
- API docs: [link]
|
74
|
+
|
75
|
+
## Questions for Receiving Agent
|
76
|
+
|
77
|
+
> Things to consider or decide:
|
78
|
+
|
79
|
+
1. [Question 1]?
|
80
|
+
2. [Question 2]?
|
81
|
+
|
82
|
+
## Acceptance Criteria
|
83
|
+
|
84
|
+
> When you can consider this handoff accepted:
|
85
|
+
|
86
|
+
- [ ] Reviewed all committed code
|
87
|
+
- [ ] Understand the needed work
|
88
|
+
- [ ] No blocking questions
|
89
|
+
- [ ] Session log created for your work
|
90
|
+
|
91
|
+
---
|
92
|
+
|
93
|
+
**Handoff Status**: pending
|
94
|
+
**Acknowledged by**: _______
|
95
|
+
**Acknowledged date**: _______
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# Session Log: [AGENT-NAME]
|
2
|
+
|
3
|
+
**Date**: YYYY-MM-DD
|
4
|
+
**Agent**: [claude-code / github-copilot-cli]
|
5
|
+
**Feature**: [feature number and name]
|
6
|
+
**Duration**: [HH:MM or "ongoing"]
|
7
|
+
|
8
|
+
## Session Goals
|
9
|
+
|
10
|
+
- [ ] Goal 1
|
11
|
+
- [ ] Goal 2
|
12
|
+
- [ ] Goal 3
|
13
|
+
|
14
|
+
## Work Completed
|
15
|
+
|
16
|
+
### [Task/Area 1]
|
17
|
+
- Implemented: [what was done]
|
18
|
+
- Files changed:
|
19
|
+
- `path/to/file1.ext`
|
20
|
+
- `path/to/file2.ext`
|
21
|
+
- Commits:
|
22
|
+
- `abc1234` - [commit message]
|
23
|
+
|
24
|
+
### [Task/Area 2]
|
25
|
+
- Implemented: [what was done]
|
26
|
+
- Files changed:
|
27
|
+
- `path/to/file3.ext`
|
28
|
+
- Commits:
|
29
|
+
- `def5678` - [commit message]
|
30
|
+
|
31
|
+
## Decisions Made
|
32
|
+
|
33
|
+
1. **[Decision Title]**
|
34
|
+
- What: [what was decided]
|
35
|
+
- Why: [rationale]
|
36
|
+
- Alternatives considered: [if any]
|
37
|
+
- Impact: [how this affects the feature]
|
38
|
+
|
39
|
+
## Blockers / Issues
|
40
|
+
|
41
|
+
- ⚠ [Issue 1 if any]
|
42
|
+
- ⚠ [Issue 2 if any]
|
43
|
+
|
44
|
+
## Handoff Items
|
45
|
+
|
46
|
+
> If handing off to another agent, fill this out:
|
47
|
+
|
48
|
+
- [ ] Task for next agent
|
49
|
+
- [ ] Another task
|
50
|
+
- [ ] Final task
|
51
|
+
|
52
|
+
**Handoff notes**:
|
53
|
+
[Any context the next agent needs]
|
54
|
+
|
55
|
+
## Next Steps
|
56
|
+
|
57
|
+
- [ ] Next action 1
|
58
|
+
- [ ] Next action 2
|
59
|
+
|
60
|
+
## Notes
|
61
|
+
|
62
|
+
[Any additional context, learnings, gotchas, or references]
|
63
|
+
|
64
|
+
---
|
65
|
+
|
66
|
+
**Session Status**: [ongoing / completed / handed-off]
|
67
|
+
**Commits this session**: [N commits]
|
68
|
+
**Lines changed**: [+X -Y]
|