跳到主要內容

ARC 2.0.0-beta.25

Diagnose a site

Start with the narrowest failing boundary, then distinguish source errors, build errors, and a stale or incorrect local preview.

Do not begin with a deployment when a page looks wrong. First identify which boundary is actually failing.

SymptomStart hereWhat it tells you
DSL parse/lint errorarc dsl lint .Static authoring problem; error severity fails, warnings still need review
Layout/source validation errorarc dsl validate .AUP/Web layout or declared source contract problem
Blocklet/profile errorarc blocklet check .Combined source checks, Content Space when present, or recipe structure problem
Package/pre-render errorarc blocklet build .Build/artifact path problem, not yet reader-facing acceptance
Browser page is old or differentCheck printed URL, registered parent/worktree, reload, then inspect the current sourceThe local daemon may point at another worktree or its watcher/cache may not have invalidated
List is emptyCheck source path, scope, filter, locale, then the component empty stateEmpty can be a legitimate result or an undeclared/mismatched binding

Read the boundaries correctly

dsl validate covers AUP sources plus Web layouts under pages, content objects, and layouts/. blocklet check adds structural and profile-level checks. Neither command proves that the page has useful alt text, keyboard behavior, a good narrow viewport, or a successful external link.

An undeclared $source.<name> can be reported when its binding scope is known, rather than silently becoming an empty list. Shared named-layout bindings are not fully covered at initialization, so a rendered browser check remains essential.

Repair in a stable order

  1. Fix the first static error, not the last symptom.
  2. Re-run the command that owns that boundary.
  3. Build only after lint/validation/check are clean enough to interpret.
  4. Run the blocklet directly locally and open the exact printed URL.
  5. Record the viewport, locale, route, and observed result for a UI change.

If the page is stale, do not deploy to DID Space. Confirm which blocklet parent directory the local daemon registered; reload once the source and URL are known to match. Local watcher refresh is a convenience, not an unconditional correctness guarantee.

For local run procedure, see Preview, build, and publish. For content-query diagnosis, see Source-binding reference.