MCPcopy Create free account
hub / github.com/SethGammon/Citadel / isRunnable

Function isRunnable

core/fleet/session.js:172–176  ·  view source on GitHub ↗
(task, taskMap = null)

Source from the content-addressed store, hash-verified

170 return blockers;
171}
172
173function isRunnable(task, taskMap = null) {
174 const status = normalizeStatus(task.status);
175 if (!RUNNABLE_STATUSES.has(status)) return false;
176 return dependencyStatus(task, taskMap || new Map()).length === 0;
177}
178
179function getReadyTasks(tasks) {

Callers 1

getReadyTasksFunction · 0.85

Calls 2

dependencyStatusFunction · 0.85
normalizeStatusFunction · 0.70

Tested by

no test coverage detected