revert: worker permission approvals (#40756)

This reverts commit 818055fcbb.

The feature misbehaves in real use: an Allow on a worker's approval card
was recorded as closed without an answer, and closed approval cards render
at the bottom of the coordinator chat, below newer messages.

Removed: the Claude PermissionRequest hook hold and its 130 s timeout,
the approval card in the coordinator chat, `orchestration deny`, the
approval payload on stop escalations, and the held-delivery lines on send
receipts. Escalation text goes back to its pre-#40756 wording.

Kept from later commits:
- #40983 (lost-worker alerts): its `lost` reason, cause/leftover/settled
  fields, turnStartedAt and the rejected-report check stay; only the
  approval branches around them are removed.
- #41158 (owner moves) and the test cleanups (#41151, #41175, #41177)
  only touched approval code that is now deleted.
This commit is contained in:
Jinwoo-H
2026-11-11 19:49:04 -05:00
parent 9d28671414
commit da54b2aebc
82 changed files with 165 additions and 3789 deletions
@@ -707,14 +707,12 @@
"components.native-chat.approval.folderTrust.trust",
"components.native-chat.approval.needsAccess",
"components.native-chat.approval.needsNewerOrca",
"components.native-chat.approval.openWorker",
"components.native-chat.approval.plan.file",
"components.native-chat.approval.plan.refineHint",
"components.native-chat.approval.plan.reviewTitle",
"components.native-chat.approval.reason",
"components.native-chat.approval.startupMenu.title",
"components.native-chat.approval.title",
"components.native-chat.approval.worker",
"components.native-chat.copyCode",
"components.native-chat.disableLineWrap",
"components.native-chat.notices.details",