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

Function writeStackPlan

scripts/stack-plan.js:381–387  ·  view source on GitHub ↗
(projectRoot, stack)

Source from the content-addressed store, hash-verified

379}
380
381function writeStackPlan(projectRoot, stack) {
382 const outDir = path.join(projectRoot, '.planning', 'stack-readiness');
383 fs.mkdirSync(outDir, { recursive: true });
384 const outPath = path.join(outDir, 'latest.md');
385 fs.writeFileSync(outPath, renderStackPlan(stack), 'utf8');
386 return normalizePath(path.relative(projectRoot, outPath));
387}
388
389function main() {
390 const args = parseArgs(process.argv.slice(2));

Callers 1

assessStackFunction · 0.85

Calls 2

renderStackPlanFunction · 0.85
normalizePathFunction · 0.70

Tested by

no test coverage detected