Skip to content

Composio Notion extraction drops first-person memories due to keyword case mismatch #13302

Closed

Description

@nbhby

At main 703f8f9dad07f1aaa637650597768534481261e8, the Composio Notion plugin drops supported first-person memories: extract_memories_from_text("I like reading science fiction books on weekends") returns []. contains_personal_info() lowercases the input but compares it with mixed-case keywords such as "I like" and "I'm". This silently loses information the extractor is designed to preserve.

I reproduced the defect with Python 3.11.16 and the plugin's pinned requirements, including POST /api/notion/extract-memories through FastAPI TestClient with synthetic Notion responses and mocked persistence. The route returns HTTP 200 but extracts and stores no memory. Source:

def contains_personal_info(text):
.

The fix is submitted in #13304. It makes keyword matching and memory formatting consistent across case variants, preserves the remaining text and existing filtering rules, and adds regression coverage through the real extraction route. All three offline tests and 21 selected local preflight checks pass. The PR documents the Windows symlink-test limitation and shallow-history limitation; upstream Actions require maintainer approval, so no upstream CI pass is claimed. Two review findings have been addressed in the latest revision.

I would like to help keep this integration reliable and will follow through on review feedback for this fix. Under the contribution program, I propose a US$10 bounty for the bug fix, regression coverage, and check integration. @josancamon19, could you confirm that this plugin is a maintained contribution target and whether that scope qualifies for a paid bounty upon acceptance and merge?

I am based in mainland China and can receive payment through a Chinese-region PayPal account, subject to confirming that your payout process supports it. Payment details can be exchanged privately. Developed and verified with OpenAI Codex assistance; bounty approval is pending.

Activity

  1. moved this from Someday to In progress in omi TODO / bountieson Sep 9, 2026
  2. Nukeys commented on Sep 11, 2026

    @Nukeys
    Contributor

    Opened PR #13524. Keywords are lowercased on compare so first-person memories are not dropped.

  3. added a commit that references this issue on Sep 12, 2026
    9bb975c
  4. moved this from In progress to In review in omi TODO / bountieson Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions