({ branch, head, pr, generated })
| 24 | } |
| 25 | |
| 26 | function readinessReport({ branch, head, pr, generated }) { |
| 27 | return [ |
| 28 | `# PR Readiness: ${branch}`, |
| 29 | '', |
| 30 | `Generated: ${generated}`, |
| 31 | 'Status: ready', |
| 32 | `PR: ${pr}`, |
| 33 | `Branch: ${branch}`, |
| 34 | `Head: ${head}`, |
| 35 | '', |
| 36 | '## Gates', |
| 37 | '', |
| 38 | '| Gate | Status | Detail |', |
| 39 | '|---|---|---|', |
| 40 | `| Pull request URL | pass | ${pr} |`, |
| 41 | '| Git worktree | pass | clean |', |
| 42 | '| Dashboard repairs | pass | no queued repairs |', |
| 43 | '| Verification | pass | npm run test exited 0 |', |
| 44 | ].join('\n'); |
| 45 | } |
| 46 | |
| 47 | withTempProject((projectRoot) => { |
| 48 | write(path.join(projectRoot, '.planning', 'telemetry', 'doc-sync-queue.jsonl'), [ |
no outgoing calls
no test coverage detected