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

Function readReadinessReports

scripts/stack-plan.js:100–107  ·  view source on GitHub ↗
(projectRoot)

Source from the content-addressed store, hash-verified

98}
99
100function readReadinessReports(projectRoot) {
101 const dir = path.join(projectRoot, '.planning', 'pr-readiness');
102 if (!fs.existsSync(dir)) return [];
103 return fs.readdirSync(dir)
104 .filter((name) => name.endsWith('.md'))
105 .map((name) => parseReadinessReport(projectRoot, path.join(dir, name)))
106 .filter(Boolean);
107}
108
109function defaultIsAncestor(projectRoot, ancestor, descendant) {
110 if (!ancestor || !descendant || ancestor === descendant) return false;

Callers 1

assessStackFunction · 0.70

Calls 1

parseReadinessReportFunction · 0.70

Tested by

no test coverage detected