Fix channel-scoped OpenClaw contact tracking#43
Merged
BahaAbuNojaim merged 1 commit intoJun 12, 2026
Conversation
BahaAbuNojaim
added a commit
that referenced
this pull request
Jun 12, 2026
…#48) Replies are now bound to a pending ask only when exactly one ask matches the inbound channel and sender; ambiguous replies are logged and dropped instead of being bound to the oldest ask across panels. Rebased onto the channel-scoped tracking from #43 (uses _matchesInboundChannel) and merged both test suites. Fixes #44 Co-authored-by: Codex <codex@openai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix channel-scoped OpenClaw contact tracking
Closes #42
Summary
Testing
node node_modules/typescript/bin/tsc --noEmit --pretty falsenode node_modules/eslint/bin/eslint.js src/managers/ChannelBridge.ts tests/managers/channelBridge.test.ts --ext tsChannelBridgeclass:sender: "Bob"rejected after WhatsApp trackingsender: "Bob"acceptedNotes
node node_modules/vitest/vitest.mjs run tests/managers/channelBridge.test.tscould not run in this environment because the installed Vite/Vitest versions require Node 20+, while this host has Node 18.19.1. TypeScript compilation and ESLint pass, and the actual class behavior was verified with a direct Node harness.