test(auto-review): align Web checks with unified user authority

This commit is contained in:
Tianyi Cui committed 2026-10-18 11:44:14 +08:00
1 parent dee2989782
commit bdba350b47
1 file changed
+3 -3
+3 -3
View File
@@ -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))