Repository navigation
Add --emit-signals so seeded automations can lead copy followers - #3760
Merged
Merged
Conversation
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
marked this pull request as ready for review
October 16, 2026 08:37
GuillaumeDSM
enabled auto-merge (rebase)
October 16, 2026 08:38
Herklos
approved these changes
Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-signalsoption that is off by default.Solve the issue: #___
Changelog
--emit-signalsto the existingbootstrapandallparsers, and forward it fromseed-agent.sh --fullandbootstrap.emit_signalsvalue.What's new?
Copy followers fail immediately with
no_trading_signalwhen the seeded leader is created withemit_signals: false.--emit-signalssetsemit_signals: trueat creation time for every scenario. Omitting the flag keeps today's behavior.Reused
_build_create_automation_user_actionintools/agent_seed/protocol/builders.pyand 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 withemit_signals: true. Copy follower8b586a7f-a5e5-43bb-8e07-509644e54ba0onagent-seed-kraken-sim-account-index-idlestayedrunningwith 6 orders and no error from 06:52:12Z through 06:57:14Z. The node log had nono_trading_signal.An index leader with the same flag also worked: follower
b7e7263f-e689-46b4-adcd-02acfeb54bf3stayedrunningwith 3 trades and nono_trading_signal.Without the flag, the grid create action has
emit_signals: falseand the grid reachesrunningwith 6 orders.bash .cursor/seed-agent.sh --stopprintedPort 8000 is free.