mirror of
https://github.com/BradGroux/veritas-kanban.git
synced 2026-10-07 04:07:50 +00:00
docs: update sprint-2 tracking - complete
This commit is contained in:
parent
5977acc828
commit
4d8ae16969
1 changed files with 55 additions and 8 deletions
63
sprint-2.md
63
sprint-2.md
|
|
@ -3,7 +3,7 @@
|
|||
**Goal:** Code tasks can be associated with git repos and run in isolated worktrees.
|
||||
|
||||
**Started:** 2026-01-26
|
||||
**Status:** In Progress
|
||||
**Status:** Complete ✅
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -11,12 +11,12 @@
|
|||
|
||||
| ID | Title | Status | Notes |
|
||||
|----|-------|--------|-------|
|
||||
| US-201 | Project/repo configuration | ⏳ Todo | |
|
||||
| US-202 | Code task git fields | ⏳ Todo | |
|
||||
| US-203 | Git worktree creation | ⏳ Todo | |
|
||||
| US-204 | Worktree status display | ⏳ Todo | |
|
||||
| US-205 | Branch operations (rebase, merge) | ⏳ Todo | |
|
||||
| US-206 | Worktree cleanup | ⏳ Todo | |
|
||||
| US-201 | Project/repo configuration | ✅ Complete | ConfigService + Settings UI |
|
||||
| US-202 | Code task git fields | ✅ Complete | GitSection component |
|
||||
| US-203 | Git worktree creation | ✅ Complete | WorktreeService |
|
||||
| US-204 | Worktree status display | ✅ Complete | Ahead/behind, changes |
|
||||
| US-205 | Branch operations (rebase, merge) | ✅ Complete | With confirmations |
|
||||
| US-206 | Worktree cleanup | ✅ Complete | Force delete option |
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -24,4 +24,51 @@
|
|||
|
||||
### 2026-01-26
|
||||
|
||||
(Starting Sprint 2)
|
||||
**US-201: Project/repo configuration** ✅
|
||||
- ConfigService for repos and agents
|
||||
- Config API routes with validation
|
||||
- Settings dialog in UI
|
||||
- Path validation against real git repos
|
||||
|
||||
**US-202: Code task git fields** ✅
|
||||
- GitSection component for task detail
|
||||
- Repo dropdown from configured repos
|
||||
- Base branch fetched from repo
|
||||
- Feature branch auto-generated from title
|
||||
- Git fields saved via debounced save
|
||||
|
||||
**US-203: Git worktree creation** ✅
|
||||
- WorktreeService using simple-git
|
||||
- `POST /api/tasks/:id/worktree`
|
||||
- Creates at `.veritas-kanban/worktrees/{task-id}/`
|
||||
- Creates branch from base or uses existing
|
||||
- Updates task with worktree path
|
||||
|
||||
**US-204: Worktree status display** ✅
|
||||
- `GET /api/tasks/:id/worktree` returns status
|
||||
- Shows: branch, ahead/behind, changed files
|
||||
- "Create Worktree" button if none exists
|
||||
- "Open in VS Code" via vscode:// protocol
|
||||
- Auto-refresh every 10 seconds
|
||||
|
||||
**US-205: Branch operations** ✅
|
||||
- `POST /api/tasks/:id/worktree/rebase`
|
||||
- `POST /api/tasks/:id/worktree/merge`
|
||||
- Merge: merges, pushes, deletes worktree, marks done
|
||||
- Confirmation dialogs for destructive actions
|
||||
- Rebase button shows when behind base branch
|
||||
|
||||
**US-206: Worktree cleanup** ✅
|
||||
- `DELETE /api/tasks/:id/worktree`
|
||||
- Warns about uncommitted changes
|
||||
- Force delete option for dirty worktrees
|
||||
- "Delete Worktree" button in UI
|
||||
- Archiving task can trigger cleanup
|
||||
|
||||
---
|
||||
|
||||
## Commits
|
||||
|
||||
- `c783429` feat(US-201): project/repo configuration
|
||||
- `e52aab2` feat(US-202): git fields for code tasks
|
||||
- `5977acc` feat(US-203,204,205,206): git worktree integration
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue