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

Function writeReport

scripts/next-action.js:383–389  ·  view source on GitHub ↗
(projectRoot, report)

Source from the content-addressed store, hash-verified

381}
382
383function writeReport(projectRoot, report) {
384 const outDir = path.join(projectRoot, '.planning', 'next-actions');
385 fs.mkdirSync(outDir, { recursive: true });
386 const outPath = path.join(outDir, 'latest.md');
387 fs.writeFileSync(outPath, render(report), 'utf8');
388 return normalizePath(path.relative(projectRoot, outPath));
389}
390
391function renderApprovalCapsule(capsule) {
392 const lines = [

Callers 2

mainFunction · 0.70

Calls 2

renderFunction · 0.70
normalizePathFunction · 0.70

Tested by

no test coverage detected