Fix edge case if joining linked channel with pre-existing overwrites that old channel overwrites are not revoked #270

Closed
opened 2026-03-21 21:52:19 -04:00 by sirdog3355 · 1 comment
sirdog3355 commented 2026-03-21 21:52:19 -04:00 (Migrated from github.com)

The current logic of listeners/channel_link.py has the bot stop any evaluation if the user joins a channel where they have pre-existing overwrites. When speaking with Claude Opus 4.6, an edge case was presented:

"... Consider: a user moves from one linked VC to another, and they have a role granting read access in the new channel. The old channel's overwrite never gets cleaned up because you returned before reaching line 52. Is that a scenario that could occur?"

Desired functionality is to re-write logic so that this edge case is not possible.

The current logic of `listeners/channel_link.py` has the bot stop any evaluation if the user joins a channel where they have pre-existing overwrites. When speaking with [Claude Opus 4.6](https://claude.ai/), an edge case was presented: "_... Consider: a user moves from one linked VC to another, and they have a role granting read access in the new channel. The old channel's overwrite never gets cleaned up because you returned before reaching line 52. Is that a scenario that could occur?_" Desired functionality is to re-write logic so that this edge case is not possible.
sirdog3355 commented 2026-03-30 03:49:04 -04:00 (Migrated from github.com)

Addressed by #276. No documentation updates necessary. Closing.

Addressed by #276. No documentation updates necessary. Closing.
Sign in to join this conversation.
No description provided.