MCPcopy
hub / github.com/codeaashu/claude-code / isGateOpen

Function isGateOpen

src/services/autoDream/autoDream.ts:95–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93}
94
95function isGateOpen(): boolean {
96 if (getKairosActive()) return false // KAIROS mode uses disk-skill dream
97 if (getIsRemoteMode()) return false
98 if (!isAutoMemoryEnabled()) return false
99 return isAutoDreamEnabled()
100}
101
102// Ant-build-only test override. Bypasses enabled/time/session gates but NOT
103// the lock (so repeated turns don't pile up dreams) or the memory-dir

Callers 1

initAutoDreamFunction · 0.85

Calls 4

getKairosActiveFunction · 0.85
getIsRemoteModeFunction · 0.85
isAutoMemoryEnabledFunction · 0.85
isAutoDreamEnabledFunction · 0.85

Tested by

no test coverage detected