iai-personal-memory-engine
iai-personal-memory-engine copied to clipboard
daemon configure disable-claude has no effect on the REM insight gate
iai-mcp daemon configure disable-claude writes claude_enabled: false into daemon state, but the REM gate in src/iai_mcp/daemon/__init__.py passes claude_enabled=True unconditionally, so the nightly insight still runs with the switch set.
Repro (with working Claude CLI credentials):
iai-mcp daemon configure disable-claude— daemon state showsclaude_enabled: false.iai-mcp daemon force-rem(or wait for a nightly REM).- The cycle record shows
claude_call_used: trueand the vendor call happens.
tests/test_dream.py already asserts claude_enabled=False gates the insight call and test_cli_daemon.py asserts the state write; the daemon call site is the gap. A PR with the fix and a regression test follows.
update is coming
thanks for the issue