feat: rename design_task to research_task and update related documentation

This commit is contained in:
Lauren ten Hoor
2026-02-16 18:47:01 +08:00
parent d87b9f68a2
commit b57ede0863
15 changed files with 249 additions and 173 deletions

View File

@@ -28,6 +28,7 @@ import {
DEFAULT_WORKFLOW,
getActiveLabel,
getRevertLabel,
hasWorkflowStates,
type WorkflowConfig,
type Role,
} from "../workflow.js";
@@ -161,6 +162,10 @@ export async function checkWorkerHealth(opts: {
} = opts;
const fixes: HealthFix[] = [];
// Skip roles without workflow states (e.g. architect — tool-triggered only)
if (!hasWorkflowStates(workflow, role)) return fixes;
const worker = getWorker(project, role);
const sessionKey = worker.level ? getSessionForLevel(worker, worker.level) : null;
@@ -430,6 +435,10 @@ export async function scanOrphanedLabels(opts: {
} = opts;
const fixes: HealthFix[] = [];
// Skip roles without workflow states (e.g. architect — tool-triggered only)
if (!hasWorkflowStates(workflow, role)) return fixes;
const worker = getWorker(project, role);
// Get labels from workflow config