fix(page-data): enforce full workspace bind delivery and repair tooling

Prevent false-positive Finish Guard passes and sync-created fake bindings by assessing publication, policy, dataset, injection, and insert smoke before H5 delivery.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-07-12 15:30:52 +08:00
parent f437a37660
commit 73b308af0a
12 changed files with 819 additions and 33 deletions
+7 -1
View File
@@ -579,8 +579,14 @@ export async function verifyChildrenHobbyDietSurvey({
if (response.status !== 200) {
reporter.fail(label, `${response.status} ${url}`);
ok = false;
continue;
}
const html = await response.text();
if (!html.includes('__MINDSPACE_PAGE_DATA__')) {
reporter.fail(`${label} Page Data 注入`, '响应缺少 __MINDSPACE_PAGE_DATA__');
ok = false;
} else {
reporter.pass(label, url);
reporter.pass(`${label} Page Data 注入`, url);
}
}