feat(goose): complete v1.49 phase3 closeout gates and context fusion plan
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>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import { execFileSync } from 'node:child_process';
|
||||
|
||||
export function inspectGooseBaseline(root, expectedVersion) {
|
||||
const manifest = fs.readFileSync(path.join(root, 'Cargo.toml'), 'utf8');
|
||||
const version = manifest.match(/^version\s*=\s*"([^"]+)"/m)?.[1];
|
||||
if (version !== expectedVersion) {
|
||||
throw new Error(`Baseline version mismatch: ${root} is ${version ?? 'unknown'}, expected ${expectedVersion}`);
|
||||
}
|
||||
const git = (...args) => execFileSync('git', ['-C', root, ...args], { encoding: 'utf8' }).trim();
|
||||
return { root, version, commit: git('rev-parse', 'HEAD'), dirty: Boolean(git('status', '--porcelain', '--untracked-files=no')) };
|
||||
}
|
||||
Reference in New Issue
Block a user