feat(mindspace): enforce PostgreSQL user data delivery

This commit is contained in:
john
2026-07-13 15:29:29 +08:00
parent b33c943b69
commit a6620fb719
57 changed files with 2779 additions and 164 deletions
+7 -1
View File
@@ -57,7 +57,13 @@ test('evaluatePageDataFinishGuard detects unbound homework html even when user o
const evaluation = evaluatePageDataFinishGuard({
publishDir,
agentText: '确认发布',
messages: [],
messages: [{
createdAt: Date.now(),
content: [{
type: 'toolRequest',
toolCall: { value: { name: 'write_file', arguments: { path: 'public/homework.html' } } },
}],
}],
});
assert.equal(evaluation.pageDataIntent, false);
assert.equal(evaluation.structuralPageData, true);