frontend-patterns/research/candidates/URLAddressableState.md
tegwick 642163a1ed Refine recovery guidance and explore navigation and rendering
Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a0cffe-206f-7323-89d3-b20ca4cf4bf9
2026-09-26 21:22:53 +02:00

2.1 KiB

title status maturity families scales admission
URL-addressable State draft hypothesis
address
projection
L3
research-candidate-only

URL-addressable State

Context: readers need to share, bookmark and revisit a resource or selected view. Problem: an address change can conceal state that only exists in the current tab. Addressability competes with private/transient state and URL/schema stability.

Proposed solution: encode the public, stable resource identity and relevant view selection in path/query parameters. Define parameter validation, defaults and route resolution so direct entry and reload reconstruct that selection under current authorization. A URL identifies a view, not necessarily immutable bytes or guaranteed future availability. Use an explicit version if a stable historical snapshot matters.

Do not place secrets, private draft content, focus or every transient interaction in the address. An identifier confers no authorization. Server-visible query/path state and fragment-only state have different resolution contracts. If history is enhanced, back/forward, cache misses and direct loads must resolve coherently; pushState success alone is insufficient.

Consequences: views become independently reachable, but parameter compatibility, invalid/deleted resources and full-versus-fragment cache behavior need contracts. Alternatives: ephemeral in-tab selection when sharing is unnecessary; authenticated saved-view identifiers when the selection is too large or private for the URL.

Evidence: navigation review N01/N02/N06 locates documentation mechanisms, not verified deployments of this whole proposal. Full-pattern known uses and recurrence remain unknown. Refines the existing URL as Application State seed; no canonical identity or admitted relations.

Proposed connection: Progressive Enhancement can preserve native navigation while adding faster transitions; it is optional, not required by addressability. VC-03 is a synthetic trace.