AppGitHub
Developing Strategies

Development Workflow

The current development loop compiles a strategy file, runs a sandbox smoke test, saves it, and reloads it into AfferLab.

Current Loop

The live flow is:

  1. Download the strategy template.
  2. Implement your strategy logic in the .ts file.
  3. Drop the file into the Write Strategy panel.
  4. AfferLab validates the strategy in a sandbox environment.
  5. If validation succeeds, the strategy is added to Personal strategies.
  6. You can then start a conversation using the new strategy.

Personal Strategy Tools

Once a strategy is installed, it appears in the Personal section.

From there you can:

  • open a Dev Chat to test the strategy
  • reload the strategy after editing the file
  • open the Settings panel for configuration
  • enable or disable the strategy
  • delete the strategy
  • view how many conversations are using it

What the Sandbox Validates

The sandbox checks that the module:

  • loads successfully
  • exports valid strategy hooks
  • has a serializable configSchema
  • can execute a basic worker-side smoke pass

On this page