Skip to content

fix(discord): recover and isolate thread-scoped CAS bindings#107

Open
Yehonal wants to merge 3 commits into
pwrdrvr:mainfrom
Yehonal:pr/discord-thread-scope-fix
Open

fix(discord): recover and isolate thread-scoped CAS bindings#107
Yehonal wants to merge 3 commits into
pwrdrvr:mainfrom
Yehonal:pr/discord-thread-scope-fix

Conversation

@Yehonal
Copy link
Copy Markdown

@Yehonal Yehonal commented Apr 21, 2026

Summary

  • recover missing local Discord CAS bindings when core still has the runtime binding
  • scope Discord thread bindings by thread id to avoid cross-thread collisions
  • document /cas_reset as the recovery command for stale thread state

Validation

  • tsc --noEmit
  • vitest run src/state.test.ts
  • vitest run src/controller.test.ts (currently fails on repo baseline because of missing openclaw/plugin-sdk/discord export in test env)

@Yehonal Yehonal force-pushed the pr/discord-thread-scope-fix branch from eb29437 to ff92496 Compare April 24, 2026 14:04
@Yehonal
Copy link
Copy Markdown
Author

Yehonal commented Apr 30, 2026

Superseded by integration/yehonal-cas-stack reconciliation; closing this PR to avoid duplicate history.

@Yehonal Yehonal closed this Apr 30, 2026
@Yehonal Yehonal deleted the pr/discord-thread-scope-fix branch April 30, 2026 05:49
@Yehonal Yehonal restored the pr/discord-thread-scope-fix branch April 30, 2026 15:53
@Yehonal Yehonal reopened this Apr 30, 2026
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