Grid and discovery: implement grid map, directory, SLURL, and interest-list behavior #71

Closed
opened 2026-08-08 08:21:45 +00:00 by hugo · 1 comment
Owner

Objective

Implement GridManager layers/regions/items/handles, DirectoryManager searches, SLURL parsing/formatting, InterestListManager, region features, and lookup caches.

Deliverables

  • Preserve query flags/categories, pagination, map coordinate/handle math, duplicate/update behavior, URI escaping, maturity/access values, events, and timeouts.
  • Use server-side queries rather than client fan-out where the protocol supports them.
  • Retain unknown server feature fields.

Validation

  • Grid/directory/SLURL/interest tests pass.
  • Recorded search/map fixtures produce exact public results.
  • Cache expiry and cancellation are deterministic.

Prerequisite

Networking/client lifecycle and the earlier world model/manager issues are available; mapped APIs and translated tests are fixed.

Project constraints

  • New native Rust behavior only; no bridge or C# fallback.
  • Preserve fixed APIs and translated assertions; reuse completed lower layers and keep privileged live actions opt-in.
  • Validate bounded untrusted inputs, cancellation, task cleanup, docs, and coverage in the same change.
## Objective Implement GridManager layers/regions/items/handles, DirectoryManager searches, SLURL parsing/formatting, InterestListManager, region features, and lookup caches. ## Deliverables - Preserve query flags/categories, pagination, map coordinate/handle math, duplicate/update behavior, URI escaping, maturity/access values, events, and timeouts. - Use server-side queries rather than client fan-out where the protocol supports them. - Retain unknown server feature fields. ## Validation - Grid/directory/SLURL/interest tests pass. - Recorded search/map fixtures produce exact public results. - Cache expiry and cancellation are deterministic. ## Prerequisite Networking/client lifecycle and the earlier world model/manager issues are available; mapped APIs and translated tests are fixed. ## Project constraints - New native Rust behavior only; no bridge or C# fallback. - Preserve fixed APIs and translated assertions; reuse completed lower layers and keep privileged live actions opt-in. - Validate bounded untrusted inputs, cancellation, task cleanup, docs, and coverage in the same change.
hugo added this to the 09 - World vertical slices milestone 2026-08-08 08:21:45 +00:00
hugo added the enhancement label 2026-08-08 08:21:45 +00:00
Author
Owner

Implemented in commit 66fbb87.\n\nHighlights:\n- Added native GridManager map-layer capability/LLUDP discovery, map blocks/items/region handles, expiring name/handle/UUID caches, duplicate replacement, coarse-location deltas, bounded replies, timeouts, cancellation, and state-before-event ordering.\n- Preserved complete map-item wire payloads with typed Rust variants for agent locations, telehubs, land sales, and maturity-specific events.\n- Added native DirectoryManager server queries for people, groups, events, classifieds, parcels, land, places, and event info, including correlated ordered async streams, paging, flags/categories, cleanup, timeout, and cancellation.\n- Added complete SLURL/application URI parsing and stable percent-escaped formatting.\n- Added InterestList capability control and initial SimulatorFeatures capability loading while retaining unknown feature keys.\n- Added client-owned manager lifetimes and discovery documentation.\n\nVerification:\n- 11 focused GridManager/DirectoryManager/InterestList/Caps tests passed.\n- 33 SLURL compatibility tests passed.\n- world_constructor_semantics (3), world_manager_shims (2), and recorded map_layer_message wire fixture (1) passed.\n- Formatting, generated Rust mapping, generated API shims, API coverage, full workspace check, and isolated api-compile check passed.\n- Strict Clippy is clean for the affected libraries; the all-target invocation reaches only pre-existing warnings in tests/network_manager.rs, outside this issue.

Implemented in commit 66fbb87.\n\nHighlights:\n- Added native GridManager map-layer capability/LLUDP discovery, map blocks/items/region handles, expiring name/handle/UUID caches, duplicate replacement, coarse-location deltas, bounded replies, timeouts, cancellation, and state-before-event ordering.\n- Preserved complete map-item wire payloads with typed Rust variants for agent locations, telehubs, land sales, and maturity-specific events.\n- Added native DirectoryManager server queries for people, groups, events, classifieds, parcels, land, places, and event info, including correlated ordered async streams, paging, flags/categories, cleanup, timeout, and cancellation.\n- Added complete SLURL/application URI parsing and stable percent-escaped formatting.\n- Added InterestList capability control and initial SimulatorFeatures capability loading while retaining unknown feature keys.\n- Added client-owned manager lifetimes and discovery documentation.\n\nVerification:\n- 11 focused GridManager/DirectoryManager/InterestList/Caps tests passed.\n- 33 SLURL compatibility tests passed.\n- world_constructor_semantics (3), world_manager_shims (2), and recorded map_layer_message wire fixture (1) passed.\n- Formatting, generated Rust mapping, generated API shims, API coverage, full workspace check, and isolated api-compile check passed.\n- Strict Clippy is clean for the affected libraries; the all-target invocation reaches only pre-existing warnings in tests/network_manager.rs, outside this issue.
hugo closed this issue 2026-08-10 17:45:42 +00:00
Sign in to join this conversation.