Skip to main content

ARC 2.0.0-beta.28 · AUP Web-only widget

url-default

AUP Web-only widget `url-default`: purpose, boundaries, surfaces, fallback, and evidence.

AUP Web-only widget — not a cross-device primitive; not a Web Device layout component.

The name is registered in AUP_WIDGETS (packages/aup/src/aup-types.ts). It can be accepted by structure verification and implemented by a Web runtime (or native target where noted). It is not one of the 18 cross-device AUP_PRIMITIVES, does not enter DeviceCaps.primitives via fillPrimitives, and is not a Web Device theme/site layout component (for example content-card or page-breadcrumb).

Purpose

Invisible client helper that canonicalizes a pathname on mount via history.replaceState when a route is missing a capture segment.

Boundaries

  • Do not document this type as a portable primitive.
  • Do not mix it with Web Device layout-component reference pages under widgets/.
  • A parser-accepted name is not a portability or product-readiness claim.

Author entry

AUP type: "url-default" with props match and redirect (already template-resolved).

Surfaces

Interactive Web only. Renders nothing visible.

Fallback

No degradation chain. Side-effecting — not a public docs sample.

Evidence

SourcePath
Registrationpackages/aup/src/aup-types.ts
Rendererproviders/runtime/ui/src/web-page/renderers/url-default.ts
Interactive switchproviders/runtime/ui/src/web-page/core.ts case "url-default"``

Paths are relative to the Arc repository checkout used for this documentation baseline.

Sample

Not docs-safe. Side effects, write paths, native-only surfaces, or trust-sensitive endpoints make a public sample inappropriate. Keep this page as a boundary and evidence index.