feat: block progress claims without execution evidence
This commit is contained in:
@@ -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: "",
|
||||
|
||||
Reference in New Issue
Block a user