Commit Graph

1166 Commits

Author SHA1 Message Date
Dustin Byrne
f63e5cb92e feat(HAI-006): complete Step 2 — parse File Scope from PROMPT.md 2026-03-25 20:41:35 -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
ba95694189 feat(HAI-006): complete Step 1 — add groupOverlappingFiles to Settings 2026-03-25 20:40:21 -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
66a62b9bcb refactor: drop discover command, agents create new tasks instead 2026-03-25 20:17:38 -04:00
Dustin Byrne
8a2a5ac14b feat: taskplane-style specs + CLI step tracking
- Triage agent generates full PROMPT.md (mission, steps, file scope,
  review level, docs requirements, commit conventions, guardrails)
- Executor agent reports progress via hai task CLI
- hai task update <id> <step> <status> — step lifecycle
- hai task log <id> <message> — execution log
- hai task discover <id> <what> <disp> — record discoveries
- hai task show <id> — display steps, progress, discoveries, log
- Steps auto-parsed from PROMPT.md headings into task.json
- Task types extended with steps, reviews, discoveries, log
2026-03-25 20:14:04 -04:00
Dustin Byrne
e142e049d3 feat(HAI-004): add settings modal with GET/PUT API endpoints
- Extend config schema and store helpers to support settings persistence
- Add GET/PUT /settings REST API endpoints in dashboard routes
- Create SettingsModal component with frontend API wiring
- Add settings trigger button to Header and integrate into App
- Add CSS styles for settings modal and header actions
2026-03-25 20:06:02 -04:00
Dustin Byrne
41f2b0f3b5 feat(HAI-004): extend config schema and store helpers for settings 2026-03-25 20:02:41 -04:00
Dustin Byrne
51099fc52a feat(HAI-003): clear status and worktree in moveTask when moving to done 2026-03-25 20:01:24 -04:00
Dustin Byrne
dc36ad1d57 feat(HAI-002): add status field to Task type and store 2026-03-25 19:23:07 -04:00
Dustin Byrne
eeaa5b457c feat(HAI-001): add description validation and make title optional in store 2026-03-25 19:14:59 -04:00
Dustin Byrne
67af835ce6 feat(HAI-001): make Task.title optional in type definition 2026-03-25 19:14:53 -04:00
Dustin Byrne
1aa317565f feat(HAI-001): handle optional title in TaskStore createTask and generateSpecifiedPrompt 2026-03-25 19:04:01 -04:00
Dustin Byrne
1ab3d6c558 feat(HAI-001): make title optional and description required in TaskCreateInput 2026-03-25 19:03:46 -04:00
Dustin Byrne
b7f2f1a3e6 feat(HAI-003): add file-system watcher to TaskStore for live dashboard updates
- Add watch() method using Node's built-in fs.watch with recursive option
- Detect task.json changes and emit appropriate SSE events (created/moved/updated/deleted)
- Debounce per-file changes (150ms) to coalesce rapid writes
- Suppress duplicate events for in-process mutations via recentlyWritten set
- Integrate watcher into dashboard server startup with clean SIGINT shutdown
- Add @types/node to core package for proper TypeScript support
2026-03-25 18:56:16 -04:00
Dustin Byrne
961203692d feat: hai board — core, dashboard, cli, engine 2026-03-25 18:32:10 -04:00