Skip to content

uex skill: uex_get_trade_routes: optional auto-load filter - #416

Merged
Shackless merged 1 commit into
ShipBit:developfrom
SawPsyder:cursor/uex-trade-routes-auto-load-filter-1533
Sep 17, 2026
Merged

Shackless merged 1 commit into
ShipBit:developfrom
SawPsyder:cursor/uex-trade-routes-auto-load-filter-1533

Conversation

@SawPsyder

Copy link
Copy Markdown
Collaborator

Summary

Optional hard filter filter_require_auto_load on uex_get_trade_routes: when true, keeps only routes whose origin and destination are available commodity terminals with terminal.is_auto_load (ship hangar auto load/unload).

  • Does not use vehicle.is_hangar
  • Leaves used_shiphas_loading_dock behavior intact
  • Focused tests: skills/uexcorp/tests/test_commodity_route_auto_load.py
  • Evidence: UEX /terminals schema and terminal pages show Auto Load separately from Load Dock / Docking / Elevator; commodity-route rows do not store is_auto_load, so both ends are constrained via terminal ids

Validation

Live session log + Tester/Reviewer green on SawPsyder fork (empty [] when one end lacks is_auto_load — expected).

Source

SawPsyder#24
Branch: SawPsyder:cursor/uex-trade-routes-auto-load-filter-1533

@SawPsyder SawPsyder changed the title uex_get_trade_routes: optional hangar auto-load filter uex skill: uex_get_trade_routes: optional auto-load filter Sep 15, 2026
@SawPsyder
SawPsyder requested a review from Shackless September 15, 2026 19:30
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
Shackless force-pushed the cursor/uex-trade-routes-auto-load-filter-1533 branch from 2fef6bf to 39fcba3 Compare September 17, 2026 21:19
@Shackless
Shackless merged commit 8159e14 into ShipBit:develop Sep 17, 2026
2 checks passed
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