Skip to content

fix(chat): conversation reads do not return the id of the connection a conversation or a message came from - #387

Merged
IvanJS17 merged 2 commits into
mainfrom
fix/connection-id-not-returned-by-conversation-reads
Nov 28, 2026
Merged

IvanJS17 merged 2 commits into
mainfrom
fix/connection-id-not-returned-by-conversation-reads

Conversation

@IvanJS17

@IvanJS17 IvanJS17 commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

Conversation reads no longer return the id of the connection a conversation or a message came from.

What changed

  • One helper, withoutConnectionId (backend/src/lib), called at the five places where the rows leave: getAccessibleChat (the row every chat route is given), the matter chat list, the chat transcript, the review-chat message reader, and the three downloads (account, conversations, table reviews).
  • docs/UPSTREAM_COMPATIBILITY_LEDGER.md: one row for the reads shared with upstream.
  • GET /projects/:projectId/chats returns chats without origin_grant_id; origin and origin_label stay.
  • docs/mcp-server.md: the sentence on the connection's id says exactly which reads and downloads omit it.

Why

The id of a connection is for the person who owns it. Removing it with one helper, where the rows leave, keeps every conversation read, present and future, consistent with what docs/mcp-server.md says.

Testing

Focused backend suites (modules, exports, architecture, dependency cycles, integration routes); new route-level test over /chat, /chat/:id, /people, /access, /projects/:id/chats; npm run build, typecheck:test.

Coordinator's run on the final tree: 192 files / 2,739 tests (chat, projects, project-chat, tabular, mcp, exports, the route suites, architecture, dependency cycles), npm run build 0, typecheck:test 0.

Deploy notes

No migration. No change for the web client or the Word add-in: neither reads this field.

…a conversation or a message came from

One helper removes it where the rows leave: the chat a reader is given
access to (so every chat route), the list of a matter's chats, the message
reads and the downloads. The origin and the app's name stay. The docs
sentence now says exactly that.
@IvanJS17
IvanJS17 merged commit ae9a442 into main Nov 28, 2026
13 checks passed
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