mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-11-11 13:37:47 +08:00
test(auto-review): align Web checks with unified user authority
This commit is contained in:
@@ -983,11 +983,11 @@ it('reviews initially authorized, restricted, and cold-resumed child calls indep
|
||||
return found
|
||||
}
|
||||
expect(historyRole(review('subagent', AUTO_PARENT_AUTHORIZED), AUTO_PARENT_AUTHORIZED))
|
||||
.toBe('human-instruction')
|
||||
.toBe('user-instruction')
|
||||
expect(historyRole(review('subagent', AUTO_PARENT_CONTINUABLE), AUTO_PARENT_CONTINUABLE))
|
||||
.toBe('human-instruction')
|
||||
.toBe('user-instruction')
|
||||
expect(historyRole(review('send_message', AUTO_PARENT_ADJUST), AUTO_PARENT_ADJUST))
|
||||
.toBe('human-instruction')
|
||||
.toBe('user-instruction')
|
||||
expect(historyRole(review('bash', AUTO_CHILD_AUTHORIZED), AUTO_CHILD_AUTHORIZED))
|
||||
.toBe('direct-parent-instruction')
|
||||
expect(historyRole(review('bash', AUTO_CHILD_CONTINUABLE), AUTO_CHILD_CONTINUABLE))
|
||||
|
||||
Reference in New Issue
Block a user