Skip to content

Fix multi-recipient reply-all and agent context - #5

Merged
markmnl merged 1 commit into
mainfrom
fix/multi-recipient-replies
Sep 1, 2026
Merged

markmnl merged 1 commit into
mainfrom
fix/multi-recipient-replies

Conversation

@markmnl

@markmnl markmnl commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • retain the persisted parent routing record when the live parent lookup fails
  • use that stored record for reply-all before falling back to the sender alone
  • warn with a redacted error when parent lookup fails, while preserving abort behavior
  • expose all normalized participants other than the channel's own address as untrusted model context
  • keep direct-message session routing and keys unchanged
  • document both multi-recipient behaviors

Regression coverage

  • parent lookup failure still replies to from, to, add_to_from, and add_to recipients
  • lookup failure emits an explicit warning
  • inbound context contains sender and co-recipients
  • inbound conversation and reply routes remain sender-scoped direct routes
  • live OpenClaw Gateway model request contains all co-recipient context

Verification

  • npm run typecheck
  • npm test (46 passed, 2 opt-in skipped)
  • npm run build
  • npm run test:gateway
  • npm pack --dry-run --ignore-scripts
  • git diff --check

@markmnl
markmnl merged commit 8c778a5 into main Sep 1, 2026
4 checks passed
@markmnl
markmnl deleted the fix/multi-recipient-replies branch September 1, 2026 13:46
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