跳到主要內容

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

auto-fire

AUP Web-only widget `auto-fire`: 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 mount-time AFS exec trigger with sessionStorage dedupe. Used to kick a generation skill when a surface mounts, without a user click.

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 tree type: "auto-fire" with props exec, optional args, and dedupKey.

Surfaces

Interactive Web only. Renders a hidden span.

Fallback

No degradation chain. Unsafe to place in public docs samples (side-effecting).

Evidence

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

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.