1d165bc6e3
Expand Goose v1.49 smoke coverage (memory chat, portal resume, page e2e, multiturn provider), add canary memory policy lock, refresh baselines, and ignore one-off evidence artifacts. Document headroom-based context runtime fusion plan; include auth, scheduled-task, and wechat intent fixes on branch. Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
575 B
JavaScript
14 lines
575 B
JavaScript
/** A successful child exit cannot turn missing migration evidence into a pass. */
|
|
export function classifyCheckResult(result) {
|
|
const output = `${result.stdout ?? ''}\n${result.stderr ?? ''}`;
|
|
if (result.error || result.signal) return 'FAIL';
|
|
if (/GOOSE_V149_\w*FAIL\b/.test(output)) return 'FAIL';
|
|
if (result.status !== 0) return 'FAIL';
|
|
if (/GOOSE_V149_\w*(?:SKIP|SKIPS|BLOCKED|INCOMPLETE)\b|GOOSE_V149_\w+_OK:\s*skipped\b/.test(output)) return 'SKIP';
|
|
return 'PASS';
|
|
}
|
|
|
|
export function checkPassed(result) {
|
|
return classifyCheckResult(result) === 'PASS';
|
|
}
|