Skip to main content
← Back to list
01Issue
FeatureClosedSwamp CLI
AssigneesNone

Relationships

#1650 Remote trigger override management via --server

Opened by stack72 · 8/14/2026

Problem

Trigger overrides can only be configured by manually editing .swamp/serve.yaml on the server. There are no CLI commands to manage trigger overrides, which means there is no way to set, view, or remove them remotely via --server. This is a gap in the remote management story — every other workflow operation (run, get, search, approve, etc.) works over --server, but trigger configuration requires SSH access to the server.

Proposed Solution

Add swamp workflow trigger subcommands with --server support:

  • swamp workflow trigger list — show all active trigger overrides and schedules (both built-in and overridden)
  • swamp workflow trigger get <workflow> — show a specific workflow's trigger config (built-in + override, merged view)
  • swamp workflow trigger set <workflow> --schedule "..." --input key=value — create or update a trigger override
  • swamp workflow trigger remove <workflow> — delete a trigger override

Each command needs:

  • Corresponding workflow.trigger.* WebSocket frame types (workflow.trigger.list, workflow.trigger.get, workflow.trigger.set, workflow.trigger.remove)
  • Serve-side handlers that read/write the trigger override state
  • withRemoteOptions() wrapping for --server / --token support
  • Both log and json output modes

Open questions

  • Should set persist changes to serve.yaml on the server, or maintain an in-memory override that survives until restart? Persisting to disk is more durable but means the serve process writes to its own config file.
  • Should list show only overrides, or merge built-in triggers with overrides for a complete picture?
  • Should changes take effect immediately (live reload) or require a serve restart?

Alternatives

  • SSH into the server and edit serve.yaml manually (current state — doesn't scale for teams)
  • Add a web UI for trigger management (higher effort, separate concern)
02Bog Flow
OPENTRIAGEDIN PROGRESSCLOSED

Closed

8/14/2026, 5:17:57 PM

No activity in this phase yet.

03Sludge Pulse

Sign in to post a ripple.