iai-personal-memory-engine icon indicating copy to clipboard operation
iai-personal-memory-engine copied to clipboard

daemon configure disable-claude has no effect on the REM insight gate

Open giacomorebecchi opened this issue 1 month ago • 1 comments

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):

  1. iai-mcp daemon configure disable-claude — daemon state shows claude_enabled: false.
  2. iai-mcp daemon force-rem (or wait for a nightly REM).
  3. The cycle record shows claude_call_used: true and 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.

giacomorebecchi avatar Oct 08 '26 14:10 giacomorebecchi

update is coming

thanks for the issue

CodeAbra avatar Oct 08 '26 22:10 CodeAbra