feat(KB-014): add spec editing and AI revision to dashboard

- Add SpecEditor component with view/edit modes and AI revision UI
- Add spec revision API endpoint with column transition validation
- Enhance TriageProcessor for re-specification with feedback support
- Integrate Spec tab in TaskDetailModal with full edit capabilities
- Add comprehensive tests for SpecEditor and revision workflows
This commit is contained in:
gsxdsm
2026-03-29 18:42:41 -07:00
parent 4caa630b67
commit 08c30401a9
11 changed files with 1523 additions and 2432 deletions

View File

@@ -117,6 +117,13 @@ export function addSteeringComment(id: string, text: string): Promise<Task> {
});
}
export function requestSpecRevision(id: string, feedback: string): Promise<Task> {
return api<Task>(`/tasks/${id}/spec/revise`, {
method: "POST",
body: JSON.stringify({ feedback }),
});
}
// --- Models API ---
/** Available AI model info returned by the models endpoint */