(projectRoot)
| 624 | }; |
| 625 | } |
| 626 | |
| 627 | function 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 | |
| 639 | function countPendingIntakeItems(intakeDir) { |
no test coverage detected