A link starts at one of your POPs, for typed orders too

The map only drags a link from a POP, but buildLink, orderDf and orderCable
read both ends from UI.pending, which the agent API fills from its
arguments. An agent could sign a dark fiber IRU from a city with no POP
(Aracaju got three of them). The three orders now refuse that with a toast,
and their dry-run quotes report it as blocked.

Three tests ordered from a city with no POP (ACT.start ignores city, so the
only POP was Frankfurt); they now open the POP they assumed.
This commit is contained in:
Charlie Allom 2026-11-04 22:45:52 +10:00
parent ac5ce7fa05
commit 3fd44908af
No known key found for this signature in database
15 changed files with 77 additions and 9 deletions

View file

@ -8,6 +8,7 @@ All notable changes to this project are documented here. The project follows
- The map zooms in twice as far, for crowded regions like New England or around Washington.
- Cable ships at anchor sit a little further out from their port, and a tap on a city picks the city even with a ship close by.
- Agents playing through the Agent API can no longer start a link in a city where you have no POP, just as on the map. Before, an agent could sign a dark fiber IRU, lease a wave or lay a cable from such a city; now it is told why, and so is its dry run.
## [2.8.0] — 2026-11-04