fix: require real progress evidence artifacts
This commit is contained in:
@@ -209,7 +209,8 @@ async function main() {
|
||||
dispatched: true,
|
||||
event: 'dispatch',
|
||||
},
|
||||
taskRecord: { task_name: 'task-123' },
|
||||
progressEvidence: { sessionKey: 'task-123' },
|
||||
externalizedCheckpointPath: 'checkpoints/task-123.json',
|
||||
handoff: { mode: 'direct_reply' },
|
||||
}), async () => runScenario(forceRecall, requestText));
|
||||
assert.match(passInjected, /gateStatus=pass/, 'hook pass-path should pass when wrapper provides concrete progressEvidence');
|
||||
@@ -285,7 +286,8 @@ async function main() {
|
||||
dispatched: true,
|
||||
event: 'dispatch',
|
||||
},
|
||||
taskRecord: { task_name: 'task-spec-review-missing-evidence' },
|
||||
progressEvidence: { sessionKey: 'task-spec-review-missing-evidence' },
|
||||
externalizedCheckpointPath: 'checkpoints/task-spec-review-missing-evidence.json',
|
||||
handoff: { mode: 'direct_reply' },
|
||||
}), async () => runScenario(forceRecall, plannerOnlyRequestText));
|
||||
assert.match(specReviewWithoutEvidenceInjected, /\[LONG_TASK_AUTO_CHAIN_PLAN\]/, 'hook spec-review missing-evidence path should emit auto-chain plan block');
|
||||
@@ -310,7 +312,8 @@ async function main() {
|
||||
dispatched: true,
|
||||
event: 'dispatch',
|
||||
},
|
||||
taskRecord: { task_name: 'task-fix-slice-missing-evidence' },
|
||||
progressEvidence: { sessionKey: 'task-fix-slice-missing-evidence' },
|
||||
externalizedCheckpointPath: 'checkpoints/task-fix-slice-missing-evidence.json',
|
||||
handoff: { mode: 'direct_reply' },
|
||||
}), async () => runScenario(forceRecall, plannerOnlyRequestText));
|
||||
assert.match(fixSliceWithoutEvidenceInjected, /\[LONG_TASK_AUTO_CHAIN_PLAN\]/, 'hook fix-slice missing-evidence path should emit auto-chain plan block');
|
||||
@@ -334,7 +337,8 @@ async function main() {
|
||||
dispatched: true,
|
||||
event: 'dispatch',
|
||||
},
|
||||
taskRecord: { task_name: 'task-implementation-missing-evidence' },
|
||||
progressEvidence: { sessionKey: 'task-implementation-missing-evidence' },
|
||||
externalizedCheckpointPath: 'checkpoints/task-implementation-missing-evidence.json',
|
||||
handoff: { mode: 'direct_reply' },
|
||||
}), async () => runScenario(forceRecall, plannerOnlyRequestText));
|
||||
assert.match(specReviewWithoutImplementationEvidenceInjected, /\[LONG_TASK_AUTO_CHAIN_PLAN\]/, 'hook implementation missing-evidence path should emit auto-chain plan block');
|
||||
|
||||
Reference in New Issue
Block a user