feat: block progress claims without execution evidence

This commit is contained in:
Eve
2026-04-23 14:49:15 +08:00
parent 44def4177c
commit 17449fa519
3 changed files with 20 additions and 1 deletions

View File

@@ -105,6 +105,11 @@ function buildGateLockInput(wrapperResult: any): Record<string, unknown> {
"bind_externalized_checkpoint_path_or_abort_silent_launch",
].includes(requiredNextAction),
);
const executionEvidence = hasConcreteExecutionEvidence
? {
concreteNextAction: requiredNextAction,
}
: null;
const hasExternalizedCheckpointEvidence = wrapperResult.silentLaunchOk === true
&& typeof wrapperResult.taskRecord?.task_name === "string"
&& wrapperResult.taskRecord.task_name.trim().length > 0;
@@ -124,6 +129,7 @@ function buildGateLockInput(wrapperResult: any): Record<string, unknown> {
progressionClaim: claimedProgression,
claimedProgression: claimedProgression,
statusSummary: claimedProgression,
executionEvidence,
toolCallEvidence: "",
dispatchEvidence: "",
fileChangeEvidence: "",