feat: add Discord community runtime and gateway transport#275
Open
lev-goryachev wants to merge 9 commits intomainfrom
Open
feat: add Discord community runtime and gateway transport#275lev-goryachev wants to merge 9 commits intomainfrom
lev-goryachev wants to merge 9 commits intomainfrom
Conversation
03bac12 to
84f21ec
Compare
c8ae061 to
a5a1dde
Compare
Collapse the current discovery branch into one commit on top of origin/main so the remaining PR diff reflects only the final client-kit state we actually want to review.
Revert files that leaked into the squashed discovery diff so the PR stays focused on the Discord and automation work reviewers actually need to read.
Read disabled rule ids from the backend runtime endpoint and shorten the poll interval so rule toggles apply without a manual bot restart.
Load the automation schema eagerly and drop the disabled-rule cache plumbing in favor of published enabled rules. Route hosted Discord actions through trusted backend gateway APIs while consuming inbound events through the existing external-message path.
Ignore local .cursor files so workspace-specific agent state does not keep polluting the discovery branch.
63d2af3 to
08e5c8a
Compare
Drop legacy Discord transport and CRM member-state paths so bots use the trusted gateway flow end to end and keep the Discord integration reviewable.
Remove the unused pin_checklist setup flag and the redundant gateway allowlist re-application so the Discord bot keeps less stale legacy surface.
Capture the current gateway-only cleanup before the next simplification pass so we can refactor the Discord stack with an easy rollback point.
Move the gateway-only bot onto shared lightweight Discord helpers so it stops importing the full integration module for snowflake parsing, setup flags, auth token lookup, and contextual logging. Reuse the same helper definitions in fi_discord2 to reduce duplication without changing gateway behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
reaction roles,checklist,announce)