feat(KB-007): add manual plan approval setting

- Add requirePlanApproval setting to core types and dashboard config
- Add approve-plan and reject-plan API endpoints with handlers
- Add approve/reject UI buttons to TaskDetailModal for awaiting-approval tasks
- Update triage processor to check requirePlanApproval and set awaiting-approval status
- Add comprehensive tests for API endpoints, UI components, and triage logic
- Update AGENTS.md with documentation for the new setting
This commit is contained in:
gsxdsm
2026-03-29 19:23:30 -07:00
parent e8650d8e5a
commit 335298a6a2
12 changed files with 770 additions and 7 deletions

View File

@@ -0,0 +1,5 @@
---
"@dustinbyrne/kb": minor
---
Add option for manual plan approval on web dashboard. When `requirePlanApproval` is enabled in settings, AI-generated task specifications remain in triage awaiting human approval before moving to todo. Users can approve or reject plans directly from the task detail modal.