Sequences Panel

The floating panel for creating, editing, and debugging automated sequences.

The Sequences panel showing the Editor tab with a sequence called Increment Counter. The sequence has two steps: a Prompt Number step labeled how many, and an Adjust Counter step labeled Increment by amount. Each step has an enabled toggle and an expand arrow.

The Sequences panel is a floating, draggable panel that opens from the Sequences button in the toolbar. It is the primary interface for building and troubleshooting sequences.

The panel has two tabs: Editor and Debugger.

Editor tab

The Editor tab has two views: a list of all sequences and a detail view for editing a single sequence.

Sequence list

The list view shows every sequence in the session. Each sequence appears as a card with:

  • the sequence name (click to open the detail view)
  • an optional description below the name
  • up/down arrows to reorder the sequence in the list
  • Edit to open the detail view
  • Dup to duplicate the sequence and all its steps
  • Del to soft-delete the sequence (moves it to trash)

Below the list, the New Sequence button opens an inline form to create a sequence by name.

Trash

If any sequences have been deleted, a collapsible Trash section appears at the bottom of the list. Each trashed sequence shows a Restore button to bring it back.

Sequence detail

Clicking a sequence name or the Edit button opens the detail view. A breadcrumb at the top shows the path back to the list.

The detail view contains:

  • Name field -- an editable text input for the sequence name. Changes save automatically.
  • Step count -- shown to the right of the name (for example, "2/30 steps"). The count turns orange when approaching the 30-step limit.
  • Description -- a collapsible section with a text area for an optional description of what the sequence does.
  • Step list -- the ordered list of steps in the sequence. Each step shows:
    • a step number
    • the step type label (such as "Prompt Number" or "Adjust Counter")
    • the step's custom label if one is set
    • an enabled toggle to turn the step on or off without deleting it
    • an expand arrow to open the step's configuration form
  • Add Step -- a button at the bottom that opens a step browser organized by category (Stacks, Pieces, Selection, Utility, Flow, Prompts)

Steps can be reordered by dragging. Each step's configuration form is specific to its type and provides pickers for pieces, spaces, sequences, tags, and other parameters.

Dangling references

If a step references a piece or sequence that has been deleted from the table, a warning banner appears at the top of the detail view identifying which steps have broken references. The toolbar's Sequences button also shows a count badge when any sequences have dangling references.

Debugger tab

The Debugger tab shows a reverse-chronological log of sequence executions. Each execution entry displays:

  • the sequence name
  • the trigger name (if dispatched by a trigger)
  • the execution status: Completed, Stopped, Error, or Suspended
  • a relative timestamp (such as "2m ago")

Clicking an execution expands it to show:

  • a step-by-step breakdown with each step's status (Ran, Skipped, or Error)
  • any errors that occurred during a step
  • the context values produced by each step
  • the final context snapshot for the entire execution

The Debugger tab badge on the tab header shows the count of executions that ended in an error.

Panel behavior

  • The panel floats above the table and can be dragged by its header to any position on screen
  • It stays within the viewport bounds
  • The close button in the top right corner dismisses the panel
  • Editing requires edit access to the underlying game; without it, the panel shows a message explaining that editing is restricted