5 KiB
Navigator route extension
Deploy the reviewed central release before the paired Navigator plugins. Existing Guild requests and the permitted destinations string array remain compatible. quote and smuggler_quote additionally return routes, containing every planet once: server, central name, available, human-readable reason, and fareMinor. Unavailable destinations remain visible and cannot submit a boarding action. The ordinary Guild still applies its original House/Imperial permission, embargo, boarding clock, personal available funds and prologue rules. Esmar keeps the current personal permission and smuggler fare, evaluated for each destination. Lobby is the origin/return hub, not another planet row.
New personal smuggler bookings record their actual departure world. Return permission is tied to the latest confirmed arrival on the current world, and returns to that booking's recorded origin. Legacy lobby–Arrakis records still return to Lobby. An owned Home Block ticket does not grant personal Esmar return permission.
Owned Home Block contract
All requests use the existing private /internal/game/guild credential and strict action-specific fields. The backend owns uuid, sourceWorld and the real-world contact proof. The menu cannot supply another player's identity or bank account. Source NPC contact must be rechecked on the server, after returning from the virtual menu world.
home_list, home_quote and home_board require origin: {kind,id} and sourceLocation: {worldUuid,position:{x,y,z},observedAt}. The origin must be the player's current owned clan/company Home Block, on the serving world, within ten blocks and thirty seconds of the observed contact. The catalog lists every owned clan/company, including same-world and unregistered destinations with disabled reasons. A manager or parent controller is not treated as an owner.
home_quote additionally takes target: {kind,id} and returns current House keyId/version, fareMinor, affordable, expiresAt, and origin/target references containing homeBlockId and claimRevision.
home_board adds a durable requestId, the exact House key/version and fare, confirmed:true, originHomeBlockId, originRevision, targetHomeBlockId and targetRevision. An accepted reference is checked before rejecting stale contact proof. Fresh contact proof may be refreshed on an unrecorded retry; immutable quote/home/identity/fare fields must remain identical. The fare is reserved in the original Guild ledger and the returned pending ticket contains its exact destination server and Home Block.
At the destination, home_arrive (uuid, server) returns {ok:true,schema:1,ticket} or a null ticket. Native code checks the actual loaded UUID world, target chunk and safe floor/feet/head space. Only then does home_ready (uuid, server, requestId) revalidate current ownership and the Home Block pin and post the original reservation once. It returns the bound ticket with state:'arrived', paid:true. A paid ticket remains recoverable after its original reservation deadline; it is not a second purchase. Native code then teleports and durably sends home_delivered with the same ID, arrivedAt, and arrival:{worldUuid,position}. The acknowledgement echoes schema, request ID and delivered:true before the native journal can clear it.
An unfulfilled pending booking expires through the original fare-release worker. A paid receipt whose target changed returns a bound review response, preserving the receipt rather than minting a new payment or inventing refund authority. This is intentionally distinct from silently redirecting a player into a new owner's Home Block.
Persistence and validation
pb_guild_route_bindings is additive bank receipt metadata, not another ownership registry. Central deed/account/claim shared read locks remain held through the single atomic bank transaction; central storage is not mutated by this route. No distributed write, cross-database grant or new bank ledger is required. All fares still use pb_guild_passages, the existing personal account authority and the In-game Bank Treasury. Ordinary arrival workers skip owned-home tickets, and smuggler markers continue to exclude these journeys from lawful Guild quest rewards.
Tests cover the existing Guild fare/passage behavior, distinct full catalogs, original confirmed booking replay, recorded return origins, real company/clan owner authority, contact world/distance/time, changed pins, failed ledger rollback, paid receipt recovery, malformed requests and wrong destination/arrival evidence. No real payment or player travel is generated by these checks. Source/build/host readiness and an actual player fare are separate acceptance facts.
Preserve native booking/arrival journals and bank receipts during an operational rollback. An older central/native release cannot resume this new paid Home Block protocol; do not treat restoring JARs as a refund or erase an unresolved paid delivery. Initial canary checks can use catalogs and navigation without submitting a fare.

Staff