-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
bash and browser mediums accept gates at init() but never make them callable from inside the medium.
bash.ts: stores gates inprojectedGates, only interceptssubmit_answervia regex. All other gates are ignored at execution time — they only appear incapabilityDocs()text.browser.ts: same pattern. Gates stored but onlysubmit_answeris intercepted.
Gates are supposed to be host functions bound INTO the circle. These mediums accept them and silently do nothing with them.
Possible approaches:
- bash: intercept gate-named commands before
exec, or write gate shims as executables on PATH - browser: similar interception in the eval scope
js() and jsBrowser() handle gate injection correctly via sandbox.registerAsyncFunction().
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels