Revert "test(goal): align master snapshots"

This reverts commit 028e63a9eee281a254f113f4721a67343e5521ca.
This commit is contained in:
Turtle
2026-07-24 13:09:13 +08:00
parent e27a1319ef
commit 2e1be7d4d7
13 changed files with 44 additions and 46 deletions

View File

@@ -409,18 +409,10 @@ describe('goal tool state transitions', () => {
}
const paused = await execute(ctx, 'update_goal', {
goal_id: goal.id,
revision: goal.revision,
action: 'pause',
objective: 'ignored replacement',
max_goal_rounds: 1,
blocked_reason: 'ignored blocker',
goal_id: goal.id, revision: goal.revision, action: 'pause', ...strictArgs,
}, root.agent)
goal = ctx.goals.get(root.agent)!
expect(resultGoal(paused)).toMatchObject({
phase: 'paused', objective: 'valid', maxGoalRounds: goal.maxGoalRounds,
})
expect(goal.blockedReason).toBeUndefined()
expect(resultGoal(paused)).toMatchObject({ phase: 'paused', objective: 'valid' })
const resumed = await execute(ctx, 'update_goal', {
goal_id: goal.id, revision: goal.revision, action: 'resume', ...strictArgs,
}, root.agent)