feat: verify existing file results and preserve honest task delivery
This commit is contained in:
@@ -18,7 +18,8 @@ test('operational questions are diagnostic while explicit repair requests remain
|
||||
test('file delivery requires a positive instruction, not saved evidence or a prohibited write', () => {
|
||||
for (const goal of ['读取保存的原工件,分段取得真实依据,不执行命令或修改文件。',
|
||||
'读取保存过的 HTML 文件并解释内容', '不要创建文件,只分析结果', '读取工件,不执行命令或创建文件',
|
||||
'Do not create a file; explain the evidence.', 'Read the saved file without creating HTML.']) {
|
||||
'Do not create a file; explain the evidence.', 'Read the saved file without creating HTML.',
|
||||
'不需要做任何修改 HTML 文件,只核对结果', '解释如何修改 HTML 文件', 'Explain how to modify an HTML file.']) {
|
||||
assert.equal(taskContract({ goal }).kind, 'general', goal);
|
||||
}
|
||||
for (const goal of ['创建一个 HTML 文件,无需测试', '新建 result.txt', '把结果保存为 report.md 文件',
|
||||
|
||||
Reference in New Issue
Block a user