← World map and portals · all tasks

Portals you can see and walk through, and a 3D object at every one

done priority 1 estimate M

world-map-and-portals/004 · created 2026-08-15 · updated 2026-08-18

What landed

Portals were invisible: the client built one hardcoded 10x10 grid for every world and never rebuilt it, and knew about portal cells only through a --portal-cell= test argument.

The guard that wasn’t needed

The plan called for a re-entry guard against a two-way portal looping on arrival. Tracing it showed the transfer fires only when a move resolves onto a portal cell, and arriving via hydrate_entity is not a move — so the loop cannot happen. Rather than add speculative code, portal-authored.test.ts now pins that behaviour: a traveller lands on the return-leg cell, sits there without bouncing, then steps off and back on to prove the return leg works.

View source in repository · also available as raw markdown.