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

Function readQueueCounts

scripts/dashboard.js:626–636  ·  view source on GitHub ↗
(projectRoot)

Source from the content-addressed store, hash-verified

624 };
625}
626
627function readQueueCounts(projectRoot) {
628 const planningDir = path.join(projectRoot, '.planning');
629 const telemetryDir = path.join(planningDir, 'telemetry');
630 const intakeDir = path.join(planningDir, 'intake');
631
632 return {
633 docSync: countActionableJsonl(path.join(telemetryDir, 'doc-sync-queue.jsonl')),
634 mergeReviews: countJsonlLines(path.join(telemetryDir, 'merge-check-queue.jsonl')),
635 intakeItems: countPendingIntakeItems(intakeDir),
636 };
637}
638
639function countPendingIntakeItems(intakeDir) {

Callers 1

collectDashboardFunction · 0.85

Calls 3

countActionableJsonlFunction · 0.85
countPendingIntakeItemsFunction · 0.85
countJsonlLinesFunction · 0.70

Tested by

no test coverage detected