refactor(gateway): check forwarded node approvals once at sanitization (#201947) Problem: node.invoke re-checked a forwarded approval's liveness several times after the approval had been accepted: in the policy liveness callback, just before the raw transport after policy awaits, and in the registry's final isDispatchAuthorized. If the approval's retained binding changed while the command was being prepared, a node command that had already started was refused with "approved runtime authority closed before node dispatch". Fix: a forwarded approval is checked once, when the request starts, by the forwarded-approval sanitizer (decision start check, provenance, target node, requester, command binding, allow-once consumption). isForwardedNodeInvokeApprovalAuthorityActive and resolveNodeInvokeRuntimeAuthorityError and their node.invoke uses are deleted. The sanitizer, allow-once consumption, retainForHandoff and the upload gate are unchanged; node.invoke still passes the upload gate to the policy's final send. User impact: a node command whose forwarded approval was accepted is no longer refused because the approval's retained binding changed while the command was being prepared. A request whose approval is no longer usable is still refused at sanitization. Proof: 12 node-dispatch test files (238 tests) on current main; tsgo and test types; oxlint, format and the lifetime-check, line-cap, session-identity, mock-export and max-lines ratchets; ocx build --dts plus a packed install smoke on the head. Co-authored-by: Ayaan Zaidi <hi@obviy.us>
Current
·
C2
·2026-11
refactor(gateway): check forwarded node approvals once at sanitizatio…
Find Your Interest
- refactor(gateway): check node plugin approval decisions once (#201968)
- refactor(gateway): check node dispatch run authority once at caller e…
- refactor(gateway): check exec approval authority once at request star…
- fix(update): build and serve Git releases outside node_modules (#201917)
- Using NVIDIA Run:ai GPU Fractioning on Amazon EKS
- test(gateway): align placement standing grant test with check-once ap…
- Charge your laptop and phone at once with this $45.99 Anker deal
- Special Once A Blue cover for City v Fulham matchday programme
- fix: preserve the workspace in Talk approval tests (#201787)
- refactor(gateway): check agent runtime authority once at request star…
Current
·
C2
·2026-11





