(projectRoot, worktreePath, branch)
| 299 | if (checks.some((check) => check.status === 'warn')) return 'warning'; |
| 300 | return 'ready'; |
| 301 | } |
| 302 | |
| 303 | function 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 |
no test coverage detected