feat: add bounded live room verification read #156
No reviewers
Labels
No labels
blocked
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
waiting-on-julian
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jlxq0/matrix-mcp!156
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/verification-read-20261029"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Recipient checks currently available through room_members/get_room_state can return SDK-cached state. Add read_room_verification_state: exact small-room ID, current same-principal homeserver joined-members/encryption/joined-members reads, stable membership, bounded metadata only. The caller must check exact recipients and encryption; this is an observation, not a lock against later room changes.
The new read uses existing authentication, read rate limit, audit and auth-expiry handling. It disables redirects, limits streamed bodies before buffering, enforces request/operation deadlines and refuses incomplete/changed/oversized membership. No OAuth scope or write capability is added, and the channel tool surface stays unchanged.
Validation: locked Rust1.96 full suite383unit+6integration tests; Rust1.98 strict Clippy/fmt; seven new transport tests include a never-terminated oversized chunked response and redirect/token refusal. Independent exact-head review and CI required before merge. Source prerequisite only: no release/tag/deploy or proposal delivery. Depends on reviewed dependency PR155, now merged.