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

Function readCoordination

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

Source from the content-addressed store, hash-verified

844 const problems = errors
845 .map((entry) => classifyHookProblem(entry, now, { auditEntries }))
846 .sort((left, right) => {
847 const severityOrder = { high: 0, medium: 1, info: 2, low: 3 };
848 if (left.actionable !== right.actionable) return left.actionable ? -1 : 1;
849 return (severityOrder[left.severity] || 4) - (severityOrder[right.severity] || 4);
850 });
851
852 return {
853 items: problems.slice(0, 8),
854 summary: summarizeProblemTaxonomy(problems),
855 };
856}
857
858function readCoordination(projectRoot) {

Callers 1

collectDashboardFunction · 0.85

Calls 2

getCoordinationStatusFunction · 0.85
getClaimStatusFunction · 0.85

Tested by

no test coverage detected