Skip to content

Add contact memories to inbound agent context - #14

Merged
alex-w-99 merged 4 commits into
mainfrom
feat/contact-memory-context
Jul 29, 2026
Merged

Add contact memories to inbound agent context#14
alex-w-99 merged 4 commits into
mainfrom
feat/contact-memory-context

Conversation

@alex-w-99

@alex-w-99 alex-w-99 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Decisions

  • Memory source: Use memories attached to verified inbound webhook contacts so each turn receives current context without another request.
  • Default behavior: Enable gateway.contactMemories by default, with configuration and INKBOX_CONTACT_MEMORIES_ENABLED=false opt-outs.
  • Prompt safety: Keep routing metadata first and encode memories as delimited background data rather than instructions.

Changes

  • Add matched-contact memory context to email, SMS, iMessage, reactions, voice transcripts, realtime calls, and call consultations.
  • Preserve existing contact-card context while filtering blank or duplicate memories.
  • Document the setting, add release notes, and bump the plugin to 0.2.7.

Verification

  • npm run lint
  • npm run typecheck
  • npm test (671 passed)
  • npm run build
  • git diff --check

Related PRs

@alex-w-99
alex-w-99 marked this pull request as ready for review July 29, 2026 18:08
@alex-w-99
alex-w-99 merged commit 7b1e440 into main Jul 29, 2026
20 checks passed
@alex-w-99
alex-w-99 deleted the feat/contact-memory-context branch July 29, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant