Skip to content

fix(users): support W-prefixed Slack user IDs#114

Merged
nwparker merged 1 commit into
stablyai:mainfrom
dwaxe:dwaxe/support-w-user-ids
Jul 18, 2026
Merged

fix(users): support W-prefixed Slack user IDs#114
nwparker merged 1 commit into
stablyai:mainfrom
dwaxe:dwaxe/support-w-user-ids

Conversation

@dwaxe

@dwaxe dwaxe commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Slack treats U- and W-prefixed user IDs equivalently, but agent-slack recognizes W IDs only in some read paths. They already work in referenced-user caching but fail in direct-message targets, user lookup and resolution, search filters, and reaction compaction. This change makes one semantic user-ID validator authoritative across those paths and aligns the installed help and bundled skill with the resulting behavior.

Co-authored by GPT 5.6-Sol.

@dwaxe
dwaxe force-pushed the dwaxe/support-w-user-ids branch from 0212157 to 37f8c56 Compare July 16, 2026 20:14
@dwaxe
dwaxe marked this pull request as ready for review July 16, 2026 20:40

@nwparker nwparker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the diff, ran the full test suite (248 pass), typecheck, lint, and format check locally — all clean. The consolidation of user-ID validation into src/slack/user-id.ts is the right call, and the loosened mention regex in user-cache still validates via isUserId before use. Docs/skill updates match the behavior.

@nwparker
nwparker merged commit 119b5b1 into stablyai:main Jul 18, 2026
@dwaxe
dwaxe deleted the dwaxe/support-w-user-ids branch July 18, 2026 21:07
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.

2 participants