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

Function readinessFile

core/worktree/readiness.js:301–305  ·  view source on GitHub ↗
(projectRoot, worktreePath, branch)

Source from the content-addressed store, hash-verified

299 if (checks.some((check) => check.status === 'warn')) return 'warning';
300 return 'ready';
301}
302
303function readinessFile(projectRoot, worktreePath, branch) {
304 const dir = path.join(projectRoot, '.planning', 'verification', 'worktree-readiness');
305 const base = branch ? safeName(branch) : safeName(path.basename(worktreePath));
306 return path.join(dir, `${base}.json`);
307}
308

Callers 1

writeReadinessReportFunction · 0.85

Calls 1

safeNameFunction · 0.85

Tested by

no test coverage detected