Conversation
Add filter_require_auto_load to uex_get_trade_routes so callers can hard-filter routes to terminals with UEX is_auto_load (ship hangar auto load/unload). Both origin and destination must be available commodity terminals with that flag. used_ship loading-dock filtering is unchanged; vehicle.is_hangar is not used. Behavior is unchanged when the param is omitted or false. Co-authored-by: Jan Winkler <SawPsyder@users.noreply.github.com>
Shackless
force-pushed
the
cursor/uex-trade-routes-auto-load-filter-1533
branch
from
September 17, 2026 21:19
2fef6bf to
39fcba3
Compare
Shackless
approved these changes
Sep 17, 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.
Summary
Optional hard filter
filter_require_auto_loadonuex_get_trade_routes: when true, keeps only routes whose origin and destination are available commodity terminals withterminal.is_auto_load(ship hangar auto load/unload).vehicle.is_hangarused_ship→has_loading_dockbehavior intactskills/uexcorp/tests/test_commodity_route_auto_load.py/terminalsschema and terminal pages show Auto Load separately from Load Dock / Docking / Elevator; commodity-route rows do not storeis_auto_load, so both ends are constrained via terminal idsValidation
Live session log + Tester/Reviewer green on SawPsyder fork (
empty []when one end lacksis_auto_load— expected).Source
SawPsyder#24
Branch:
SawPsyder:cursor/uex-trade-routes-auto-load-filter-1533