feat(KB-640): add role editing UI and restore KB task prefix

- Add inline role editing to AgentListModal with clickable role icons
- Add handleRoleChange and handleRoleKeyDown handlers for role updates
- Persist view toggle (board/list) with localStorage alongside role editing
- Restore task prefix from FN back to KB for generated task IDs
- Restore branch naming from fusion/ back to kb/ for task branches
- Update branch name references in executor, merger, scheduler, and CLI
- Add touch gesture detection support to TaskCard component
- Update worktree grouping labels to use KB prefix
This commit is contained in:
gsxdsm
2026-03-31 19:44:36 -07:00
parent 7f1a924a36
commit e8e5b6c854
11 changed files with 88 additions and 31 deletions

View File

@@ -253,7 +253,7 @@ export class Scheduler {
for (const depId of task.dependencies) {
const dep = allTasks.find((t) => t.id === depId);
if (dep && dep.column === "in-review" && dep.worktree) {
return `fusion/${dep.id.toLowerCase()}`;
return `kb/${dep.id.toLowerCase()}`;
}
}
@@ -261,7 +261,7 @@ export class Scheduler {
if (task.blockedBy) {
const blocker = allTasks.find((t) => t.id === task.blockedBy);
if (blocker && blocker.column === "in-review" && blocker.worktree) {
return `fusion/${blocker.id.toLowerCase()}`;
return `kb/${blocker.id.toLowerCase()}`;
}
}