Skip to content

Add --emit-signals so seeded automations can lead copy followers - #3760

Merged
GuillaumeDSM merged 1 commit into
devfrom
cursor/agent-seed-emit-signals-f5c7
Oct 16, 2026
Merged

GuillaumeDSM merged 1 commit into
devfrom
cursor/agent-seed-emit-signals-f5c7

Conversation

@GuillaumeDSM

@GuillaumeDSM GuillaumeDSM commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Thank you for sending your pull request.
But first, have you included unit tests, and is your code PEP8 conformant? More details

Summary

Seeded automations can be created with signal emitting turned on, via one --emit-signals option that is off by default.

Solve the issue: #___

Changelog

  • Add --emit-signals to the existing bootstrap and all parsers, and forward it from seed-agent.sh --full and bootstrap.
  • Apply the flag once in the shared create-automation builder so grid, index, and the stopped index all get the same emit_signals value.
  • Cover the default (off) and the option (on) for grid and index.

What's new?

Copy followers fail immediately with no_trading_signal when the seeded leader is created with emit_signals: false. --emit-signals sets emit_signals: true at creation time for every scenario. Omitting the flag keeps today's behavior.

Reused _build_create_automation_user_action in tools/agent_seed/protocol/builders.py and the existing bootstrap scenario runners. No per-strategy copy of the flag.

Tests

PYTHONPATH=. pytest tools/tests/agent_seed/ — 99 passed.
python -m tools.extended_linter --base origin/dev — OK.

Verification

With --emit-signals, the grid leader (a0000000-0000-4000-8000-000000000001) was created with emit_signals: true. Copy follower 8b586a7f-a5e5-43bb-8e07-509644e54ba0 on agent-seed-kraken-sim-account-index-idle stayed running with 6 orders and no error from 06:52:12Z through 06:57:14Z. The node log had no no_trading_signal.

An index leader with the same flag also worked: follower b7e7263f-e689-46b4-adcd-02acfeb54bf3 stayed running with 3 trades and no no_trading_signal.

Without the flag, the grid create action has emit_signals: false and the grid reaches running with 6 orders. bash .cursor/seed-agent.sh --stop printed Port 8000 is free.

Open in Web Open in Cursor 

The flag is off by default and is applied once in the shared automation
config builder, so every bootstrap scenario gets the same emit_signals value.

Co-authored-by: Guillaume De Saint Martin <GuillaumeDSM@users.noreply.github.com>
@GuillaumeDSM GuillaumeDSM self-assigned this Oct 16, 2026
@GuillaumeDSM
GuillaumeDSM marked this pull request as ready for review October 16, 2026 08:37
@GuillaumeDSM
GuillaumeDSM requested a review from Herklos as a code owner October 16, 2026 08:37
@GuillaumeDSM
GuillaumeDSM enabled auto-merge (rebase) October 16, 2026 08:38
@GuillaumeDSM
GuillaumeDSM merged commit 4cabffd into dev Oct 16, 2026
26 checks passed
@GuillaumeDSM
GuillaumeDSM deleted the cursor/agent-seed-emit-signals-f5c7 branch October 16, 2026 08:51
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.

3 participants