Skip to content

[Beta] beta-110226 Server-Driven Action Builder Metadata + Pipeline Rule Engine Summary#3

Merged
johnwatso merged 18 commits intomainfrom
beta-110226
Mar 11, 2026
Merged

[Beta] beta-110226 Server-Driven Action Builder Metadata + Pipeline Rule Engine Summary#3
johnwatso merged 18 commits intomainfrom
beta-110226

Conversation

@johnwatso
Copy link
Copy Markdown
Owner

Summary
Introduces a server-driven Action Builder metadata schema for the WEBUI, replacing hard-coded assumptions while maintaining legacy fallbacks.

Key Changes

  • Refactored rules system into a block-based pipeline:
    • Triggers
    • Filters
    • AI processing
    • Modifiers
    • Actions
  • Added validation and compatibility checks across pipeline stages.
  • Expanded supported triggers, conditions, and actions.
  • Introduced AI blocks and additional moderation/utility actions.

Execution Engine

  • Updated Discord execution flow to run through a shared pipeline context.
  • Modifier routing now happens through the pipeline.
  • AI outputs are handled within the pipeline context.
  • Added safeguards to prevent duplicate AI responses.

UI / UX Improvements

  • Major improvements to the SwiftUI rule editor:
    • Guided onboarding
    • Empty states
    • Loading states
    • Searchable pickers
    • Variable insertion tools

Documentation

  • Updated project documentation.
  • Updated release notes to reflect new architecture and capabilities.

Known Issues

  1. Bot-authored messages now enter the rule engine.

    • Rules can self-trigger unless a filter such as “is from user” is added.
    • Alternatively a guard can be reinstated in the engine.
  2. Member join rules currently only execute sendMessage actions.

    • Modifiers, AI blocks, and other actions are skipped.
    • Behavior differs from other trigger types.
  3. WEBUI defaults the Send Message destinationMode to replyToTrigger.

    • This hides server/channel fields for non-message triggers.
    • Can result in no output unless users manually change the destination.

[beta] - This is a beta build of the next release of SwiftBot and should be used with Caution.

Actions are now buildable
Added onboarding for first rule as per apple guidelines

Added new Actions as per Discord API
Added the ability to delete and add actions and filters etc within the UI

Fixed issue Where App Crashes when building first rule

Added Migration for legacy rules prior to this update - This has not been tested in a production setup and should be used with caution
Updating Actions builder
Fine tuning action rule builder
This is a beta and should be treated as such
Known Issues:
Modifiers don't work
WEBUI will show rules but will not create them due to new logic Causes repeating errors to pop up in the GUI of the Server App
Streamlining Action Building
WEBUI needs to reflect new rule building structure

This change introduces drag and drop, which does not comply with apples Guidelines. Therefore the following commit will be rebuilt to show this change
Improving Actions Builder
Actions are now in a state where they are ready for main release.

still some bugs but otherwise good.
@johnwatso johnwatso merged commit 21bc9fa into main Mar 11, 2026
1 check failed
@johnwatso johnwatso deleted the beta-110226 branch March 14, 2026 05:40
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