(content, projectRoot)
| 240 | }; |
| 241 | } |
| 242 | |
| 243 | function reviewPackageEvidenceStatus(content, projectRoot) { |
| 244 | const report = validateExitEvidence(content, { |
| 245 | projectRoot, |
| 246 | target: 'review-package', |
| 247 | }); |
| 248 | if (report.missingDeclarations) return null; |
| 249 | |
| 250 | const failure = report.failures[0] || null; |
| 251 | const item = report.items[0] || null; |
| 252 | return { |
| 253 | pass: report.pass && !report.missingDeclarations, |
| 254 | item, |
| 255 | failure, |
| 256 | issues: failure ? failure.issues : [], |
| 257 | }; |
| 258 | } |
| 259 | |
| 260 | function readCampaigns(projectRoot) { |
no test coverage detected