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

Function readinessReport

scripts/test-operator-console.js:26–45  ·  view source on GitHub ↗
({ branch, head, pr, generated })

Source from the content-addressed store, hash-verified

24}
25
26function 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
47withTempProject((projectRoot) => {
48 write(path.join(projectRoot, '.planning', 'telemetry', 'doc-sync-queue.jsonl'), [

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected