Repository navigation
fix: resolve quoted and older conversation context - #29
Conversation
✅ Deploy Preview for maya-assistant ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 48afa90a3a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const stored = !quotedMessage.text && quotedMessage.remoteJid | ||
| ? joinedGroupMessageByExternalId(quotedMessage.remoteJid, quotedMessage.id) | ||
| : undefined; | ||
| const text = quotedMessage.text ?? stored?.text ?? null; |
There was a problem hiding this comment.
Apply group retrieval checks to inline quoted text
If a private owner message contains an inline quote from a group that is no longer joined or has retrieval disabled, this path sends quotedMessage.text to Gemini without checking the group; the policy-aware database lookup runs only when that text is absent. Apply the same source and retrieval-policy checks before including inline quote text, so quoted content cannot bypass the private-answer boundary.
AGENTS.md reference: AGENTS.md:L5-L7
Useful? React with 👍 / 👎.
|
@codex review |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Closes #26
What changed
Why
Maya can now understand replies such as “what should I say to that?”, and can recover a named topic after unrelated messages without receiving the owner’s full chat history.
Validation
browser-use --doctornpm run typechecknpm run lintnode --import tsx --test tests/context-phase3.test.mjs tests/migration-vu.test.mjs tests/whatsapp-router-ingest.test.mjs tests/owner-media.test.mjs tests/memory.test.mjs(27 passing)git diff --checkManual checks
what should I reply to this?No production secrets or group messages are included in this PR.