Commit Graph

225 Commits

Author SHA1 Message Date
Dustin Byrne
bce41ca00c feat(HAI-013): complete Step 1 — add markdown-body base styles, ensure no backdrop on prompt rendering 2026-03-25 21:43:46 -04:00
Dustin Byrne
2488e1c9d2 feat(HAI-020): complete Step 3 — remove withRetry workaround from fetchTaskDetail 2026-03-25 21:38:16 -04:00
Dustin Byrne
6f1cc2cb48 fix(HAI-018): complete Step 2 — add client-side retry for fetchTaskDetail
- Added withRetry wrapper in api.ts (1 retry, 200ms delay)
- fetchTaskDetail now retries transient 500s transparently
- TaskCard shows 'Failed to load task details' instead of raw error
- Added api.test.ts with success, retry-success, and exhaustion tests
2026-03-25 21:32:11 -04:00
Dustin Byrne
d452aeb0c1 fix(HAI-018): complete Step 1 — fix server-side error handling in GET /tasks/:id
- Route now returns 404 only for ENOENT, 500 for transient errors
- store.getTask() retries once after 50ms on non-ENOENT failures
- Added route tests for success, 404, and 500 cases
- Updated vitest config to include src/**/*.test.* files
2026-03-25 21:30:18 -04:00
Dustin Byrne
43cc7e7f05 test(HAI-015): complete Step 3 — add TaskCard agent-active tests 2026-03-25 21:11:07 -04:00
Dustin Byrne
19b12a4770 test(HAI-014): complete Step 2 — add TaskCard tests and vitest config 2026-03-25 21:10:51 -04:00
Dustin Byrne
4777ae5dcb feat(HAI-014): complete Step 1 — reorder JSX and update layout 2026-03-25 21:10:10 -04:00
Dustin Byrne
cf79ae52d4 test(HAI-013): complete Step 2 — add TaskDetailModal tests and vitest config 2026-03-25 21:10:05 -04:00
Dustin Byrne
ebbc6d479a feat(HAI-015): complete Step 2 — apply agent-active class conditionally 2026-03-25 21:09:26 -04:00
Dustin Byrne
97f9dc6dbb feat(HAI-015): complete Step 1 — add agent-active glow CSS 2026-03-25 21:09:16 -04:00
Dustin Byrne
428362a6fd feat(HAI-013): complete Step 1 — drop detail-prompt backdrop and scroll for markdown rendering 2026-03-25 21:09:00 -04:00
Dustin Byrne
06a6046950 feat(HAI-012): add activity timeline to TaskDetailModal
- Add formatTimestamp helper for relative time display
- Add Activity section rendering task log entries in reverse chronological order
- Display log action, timestamp, and optional outcome per entry
- Add timeline-style CSS with scrollable list, dot indicators, and styled outcome blocks
2026-03-25 21:04:03 -04:00
Dustin Byrne
c8aacc3622 feat(HAI-012): complete Steps 1-2 — add activity timeline to TaskDetailModal with styling 2026-03-25 21:03:12 -04:00
Dustin Byrne
c31893ce18 feat(HAI-011): add progress indicator to TaskCard
- Add step completion progress bar to TaskCard component
- Color progress fill dynamically based on column status
- Add card-progress, card-progress-bar, card-progress-fill, and card-progress-label styles
- Show completed/total step count label beside progress bar
2026-03-25 21:00:36 -04:00
Dustin Byrne
1d1fc8dbe1 feat(HAI-011): complete Step 1+2 — add progress indicator to TaskCard with styles 2026-03-25 20:59:22 -04:00
Dustin Byrne
32d1210f01 fix(HAI-009): move queued tasks to Up Next group and add tests
- Fix worktreeGrouping to place queued tasks in Up Next group only
- Add unit tests for worktreeGrouping utility (120+ lines)
- Clean up InlineCreateCard component styling
- Remove unused code from triage engine
- Fix TaskCard status display
2026-03-25 20:59:05 -04:00
Dustin Byrne
424cc9acbd test(HAI-009): complete Step 2 — add unit tests for worktreeGrouping 2026-03-25 20:57:20 -04:00
Dustin Byrne
a205674c1a fix(HAI-009): complete Step 1 — move queued tasks to Up Next group only 2026-03-25 20:55:06 -04:00
Dustin Byrne
58bc6a0677 fix(HAI-008): wrap text in inline create card textarea
- Replace input with auto-resizing textarea in InlineCreateCard
- Add dynamic height adjustment on content change
- Style textarea with no resize handle, hidden overflow, and proper line-height
2026-03-25 20:54:24 -04:00
Dustin Byrne
224cbe1c0c fix(HAI-008): wrap text in inline create card textarea 2026-03-25 20:52:52 -04:00
Dustin Byrne
64b28a012e feat(HAI-007): complete Step 1 — set specifying status during triage 2026-03-25 20:52:01 -04:00
Dustin Byrne
f6dc070bd8 feat(HAI-005): add auto-merge functionality for in-review tasks
- Add autoMerge boolean to Settings model with default false
- Add auto-merge toggle UI to the In Review column header
- Implement server-side auto-merge behavior in dashboard command
- Fix pre-existing build errors in types, executor, and dashboard server
- Update README with auto-merge documentation
2026-03-25 20:48:34 -04:00
Dustin Byrne
8b94136b37 feat(HAI-005): complete Step 4 — fix typecheck and verify all tests pass 2026-03-25 20:46:59 -04:00
Dustin Byrne
12eb31bc0d feat(HAI-006): complete Step 4 — add groupOverlappingFiles toggle to Settings UI 2026-03-25 20:44:38 -04:00
Dustin Byrne
8fcc425433 feat(HAI-005): complete Step 2 — add auto-merge toggle UI to In Review column 2026-03-25 20:43:41 -04:00
Dustin Byrne
7f3cf51c19 fix(HAI-005): fix pre-existing build errors in types, executor, and dashboard server 2026-03-25 20:41:06 -04:00
Dustin Byrne
1f31cc22fa feat(HAI-004): complete Step 1 — close modal immediately on merge 2026-03-25 20:35:46 -04:00
Dustin Byrne
e946a34c59 feat(HAI-003): render task descriptions as markdown in dashboard
- Add react-markdown and remark-gfm dependencies
- Replace pre element with ReactMarkdown in TaskDetailModal
- Add markdown prose styles optimized for dark theme
- Regenerate pnpm-lock.yaml to resolve merge conflicts
2026-03-25 20:34:49 -04:00
Dustin Byrne
9988470ac3 feat(HAI-003): complete Step 3 — add markdown prose styles for dark theme 2026-03-25 20:33:41 -04:00
Dustin Byrne
0e18987a70 feat(HAI-001): add API rate limiting and replace emojis with Lucide icons
- Add rate limiting middleware to dashboard API endpoints
- Install lucide-react and replace emoji usage with Lucide icons across dashboard components
- Add rate limiter unit tests
- Document API rate limiting in README
- Refactor engine executor/triage and remove unused reviewer module
2026-03-25 20:33:37 -04:00
Dustin Byrne
1d3e10df27 feat(HAI-003): complete Step 2 — replace pre with ReactMarkdown in TaskDetailModal 2026-03-25 20:33:23 -04:00
Dustin Byrne
5e796383e0 feat(HAI-003): complete Step 1 — add react-markdown and remark-gfm dependencies 2026-03-25 20:33:05 -04:00
Dustin Byrne
6fbf3519b5 feat(HAI-002): add maxWorktrees setting to limit total git worktrees
- Add maxWorktrees field to Settings interface with default of 4
- Enforce worktree limit in Scheduler.schedule() alongside maxConcurrent
- Wire setting through dashboard startup from persisted settings
- Include maxWorktrees in /api/config response
- Add Max Worktrees input to Settings Modal UI
- Backward compatible: existing configs without maxWorktrees use default
2026-03-25 20:32:07 -04:00
Dustin Byrne
d8ac565f85 feat(HAI-001): complete Step 2 — replace emojis with Lucide icons 2026-03-25 20:31:58 -04:00
Dustin Byrne
db2b84c231 feat(HAI-001): complete Step 1 — install lucide-react 2026-03-25 20:30:51 -04:00
Dustin Byrne
669dc3d1da test(HAI-001): add rate limiter unit tests 2026-03-25 20:15:51 -04:00
Dustin Byrne
a1397d9eb7 feat(HAI-001): add rate limiting middleware to API endpoints 2026-03-25 20:15:11 -04:00
Dustin Byrne
22ef0aaf5b feat(HAI-004): add CSS styles for settings modal and header actions 2026-03-25 20:04:10 -04:00
Dustin Byrne
daafab1b17 feat(HAI-004): add settings trigger to Header and wire into App 2026-03-25 20:03:42 -04:00
Dustin Byrne
46aae5728b feat(HAI-004): create SettingsModal component 2026-03-25 20:03:16 -04:00
Dustin Byrne
6ab434ccaf feat(HAI-004): add frontend API functions for settings 2026-03-25 20:03:01 -04:00
Dustin Byrne
e112a6bad1 feat(HAI-004): add GET/PUT /settings REST API endpoints 2026-03-25 20:02:50 -04:00
Dustin Byrne
7066770c0f fix(HAI-002): handle undefined title and dependencies to prevent crashes
- Guard against undefined dependencies with fallback to empty array in worktreeGrouping
- Handle missing task title in InlineCreateCard by falling back to description or id
- Update package-lock.json
2026-03-25 19:59:05 -04:00
Dustin Byrne
3807b0ae0f fix(HAI-002): handle undefined title and dependencies to prevent crashes 2026-03-25 19:58:19 -04:00
Dustin Byrne
003f16f285 feat(HAI-001): move new task creation to triage column with button in column header 2026-03-25 19:57:02 -04:00
Dustin Byrne
28ee12d3c8 feat(HAI-003): replace CreateTaskModal with inline card creation in Todo column
- Create InlineCreateCard component with auto-focused input, dependency
  dropdown, Enter to submit, Escape to cancel
- Update Column to render InlineCreateCard at top of Todo column body
- Update Board to pass through inline-create props to Todo column
- Update App to use isCreating state instead of createModalOpen
- Add CSS styles for inline create card, dependency dropdown
- Delete CreateTaskModal component
2026-03-25 19:37:01 -04:00
Dustin Byrne
6bb5f27b44 feat(HAI-002): render status badge on dashboard task cards 2026-03-25 19:24:29 -04:00
Dustin Byrne
8e84832505 feat(HAI-001): make task title optional and description required
- Make Task.title optional and description required in types and TaskCreateInput
- Update CLI task create to prompt for description instead of title, with updated help text
- Update REST API and dashboard CreateTaskModal to require description instead of title
- Handle optional/missing title across TaskCard, TaskDetailModal, and engine components
- Add description validation in TaskStore and update generateSpecifiedPrompt
2026-03-25 19:16:20 -04:00
Dustin Byrne
62dc06b2f1 feat(HAI-001): handle missing title in TaskDetailModal 2026-03-25 19:15:19 -04:00
Dustin Byrne
87f9cee792 revert: drop vite middleware, add watch build instead 2026-03-25 19:08:04 -04:00