relayLeadInboxMessages only processes unread messages after provisioningComplete, but CLI marks permission_request messages as read after native delivery -- before our relay runs. Move permission_request inbox scan BEFORE provisioningComplete check. Scan ALL messages (including read=true), track processed IDs via processedPermissionRequestIds Set on ProvisioningRun to prevent re-emitting. Also look up both alive and provisioning runs so the scan works during team bootstrap. |
||
|---|---|---|
| .. | ||
| configValidation.test.ts | ||
| crossTeam.test.ts | ||
| editor.test.ts | ||
| globalSearch.test.ts | ||
| guards.test.ts | ||
| ipcWrapper.test.ts | ||
| skills.test.ts | ||
| teams.test.ts | ||