Tell removed members why sending is refused #121

Merged
weichen merged 1 commits from fix/multiuser-collab-followups into main 2026-10-20 11:58:24 +00:00
Owner

Why: a member removed from a project (or a closed project) could still open their conversation but sending only showed the generic "发送未成功". Backend now answers 403 conversation: not-project-member for that case (Agent-System-Backend fix/multiuser-collab-followups).

Evidence: agent-exec unit rdir-frontend-removed-member-send (PI, success, transport 9f7f4a1). Worker: vitest 62 files / 669 tests passed, knip 58 <= 58, tsc no new errors; new test fails against unmodified HEAD.

Impact: sendMessage keeps the message in the outbox and shows a specific toast and delivery error when the rejection is not-project-member; all other failures unchanged.

Refs: Agent-System-Dev .task/fix-multiuser-collab-followups.md

Why: a member removed from a project (or a closed project) could still open their conversation but sending only showed the generic "发送未成功". Backend now answers 403 `conversation: not-project-member` for that case (Agent-System-Backend fix/multiuser-collab-followups). Evidence: agent-exec unit rdir-frontend-removed-member-send (PI, success, transport 9f7f4a1). Worker: vitest 62 files / 669 tests passed, knip 58 <= 58, tsc no new errors; new test fails against unmodified HEAD. Impact: `sendMessage` keeps the message in the outbox and shows a specific toast and delivery error when the rejection is `not-project-member`; all other failures unchanged. Refs: Agent-System-Dev .task/fix-multiuser-collab-followups.md
weichen added 1 commit 2026-10-20 11:55:12 +00:00
agent-exec transport 257898d9fdadf655ee20accee6813725/4e997a3ec7a5
governance / governance (pull_request) Successful in 29s
ci / test-and-build (pull_request) Successful in 1m11s
9f7f4a164b
weichen merged commit e4cd8f1a57 into main 2026-10-20 11:58:24 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Frontend#121