DashboardopencodeEffect plugin domain contracts and Perm…

Effect plugin domain contracts and Permission.assert bridge

Category: gotcha
Confidence: 1.00
ID: 01a0ae82-5524-74ea-bf99-c4e8e63171c4
Project ID: c0425955-02bc-4c17-9af2-b114c00077e7
Cross-project: No
Recalled in other projects: 1
Source session: 0oCzY0RblMFCHzUtE
Created: 2026-09-08 02:27:08
Updated: 2026-09-17 08:36:12

Cross-Project Recalls

ProjectHitsLast recalled
cli 1 8d ago

Content

Effect plugin domains must extend their corresponding interfaces from @opencode/client/effect/api, never redefine inherited operations, and add only plugin-context capabilities. Expose canonical authorization as permission.assert on the Effect and Promise plugin domains without adding a Protocol/Server endpoint. Bind it directly to Core Permission.Service.assert in the host and adapt it with run(...) so saved grants, hooks, approvals, decline semantics, defects, and canonical sources remain intact. Keep a real-host Promise-plugin regression test.

Move to: