Skip to content

Add contact memories to inbound agent context - #81

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

alex-w-99 merged 8 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 memories by default, with platform configuration taking precedence over INKBOX_CONTACT_MEMORIES_ENABLED.
  • 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 and injecting one block per text burst.
  • Document the setting, expose it in the manifest, and bump the plugin to 0.2.7.

Verification

  • uv run ruff check .
  • uv run pytest -q (309 passed, 24 skipped)
  • 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 37e4897 into main Jul 29, 2026
7 of 14 checks passed
@alex-w-99
alex-w-99 deleted the feat/contact-memory-context branch July 29, 2026 20:20
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