Files
oh-my-pi/packages/coding-agent/test
Wolfgang Schoenberger 8eb8ec4b74 fix(mnemopi): make proactive linking configurable from host settings
Proactive linking (ingesting new memories into the episodic graph as they
are stored) could only be toggled through the MNEMOPI_PROACTIVE_LINKING
environment variable, unlike its sibling recall features polyphonicRecall
and enhancedRecall, which hosts drive through configureRecallFeatures() and
the coding-agent mnemopi.polyphonicRecall / mnemopi.enhancedRecall
config.yml settings. The write-path gate in store.ts read process.env
directly and the existing env-only proactiveLinkingEnabled() helper was
dead code, so host configuration never reached it.

- Add proactiveLinking to RecallFeatureFlags / configureRecallFeatures()
  and rewrite proactiveLinkingEnabled() to fall back to the configured
  default, matching the polyphonic/enhanced resolvers. The
  MNEMOPI_PROACTIVE_LINKING env var still takes precedence when set.
- Route the store.ts proactiveLinkIfEnabled gate through
  proactiveLinkingEnabled() instead of reading process.env directly.
- Add the mnemopi.proactiveLinking coding-agent config.yml setting (off by
  default, /settings -> Memory -> Mnemopi) and wire it through
  loadMnemopiConfig and createScopedResources.

Closes #2440

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 13:29:03 -07:00
..
2026-06-18 05:12:25 +02:00
2026-06-14 17:32:28 +02:00
2026-06-13 16:48:41 +02:00
2026-06-11 21:03:49 +02:00
2026-05-30 18:08:51 +02:00
2026-05-30 18:08:51 +02:00
2026-06-12 11:24:26 +02:00
2026-05-30 18:08:51 +02:00