* Compute effective suppressedResolvers for a host, applying the gbrain * detection override when enabled. When the override fires, GBRAIN_* * resolvers are removed from the suppression set so they render in the * generated SKILL.md.
(hostConfig: HostConfig)
| 64 | * generated SKILL.md. |
| 65 | */ |
| 66 | function effectiveSuppressedResolvers(hostConfig: HostConfig): Set<string> { |
| 67 | let list = hostConfig.suppressedResolvers || []; |
| 68 | if (GBRAIN_OVERRIDE.detected) { |
| 69 | list = list.filter(r => r !== 'GBRAIN_CONTEXT_LOAD' && r !== 'GBRAIN_SAVE_RESULTS'); |
| 70 | } |
| 71 | return new Set(list); |
| 72 | } |
| 73 | |
| 74 | // ─── Host Detection (config-driven) ───────────────────────── |
| 75 |
no outgoing calls
no test coverage detected