Revert "test(goal): align master snapshots"
This reverts commit 028e63a9eee281a254f113f4721a67343e5521ca.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user