メインコンテンツへスキップ

ARC 2.0.0-beta.25

CLI diagnostics

Choose the diagnostic that answers the question; no single green command is browser or device acceptance.

Run diagnostics from the smallest relevant directory. Each command has a distinct responsibility:

CommandPrimary boundaryWrites?Failure means
arc dsl format <dir> --checkFormatting driftNoSource would be reformatted
arc dsl format <dir> --writeFormatting normalizationYesThe command could not safely format source
arc dsl lint <dir>DSL static authoring issuesNoError-level lint findings; warnings still need review
arc dsl validate <dir>Parsed AUP/DSL semanticsNoA source/configuration contract is invalid
arc dsl generate <dir> --checkCompatibility-artifact driftNoMaterialized output would differ
arc dsl generate <dir> --writeCompatibility-artifact materializationYesOutput could not be generated safely
arc blocklet check <dir>Combined source checks, Content Space when present, and selected profile structureNoThe declared blocklet shape is invalid for that check

dsl validate scans AUP sources and Web layouts, including pages/**/layout.aup, object-level content/**/layout.aup, and layouts/*.aup. A passing scan does not inspect reader-facing visual hierarchy or all runtime target behavior.

A simple acceptance order

bash
arc dsl lint .
arc dsl validate .
arc blocklet check .
arc blocklet build .
arc blocklet run .

The first four establish increasingly broader static/build evidence. The final command is where a person or a clean acceptance agent opens the actual URL, checks the intended interaction, and records what was observed.

I18n migration is a separate narrow maintenance operation. It does not automatically translate content or reliably resolve every historical locale structure; review its diff rather than treating it as a generic upgrade command.

For source-generation detail, see Generate, lint, and migrate. Web-site diagnostic categories remain target-specific and are outside this AUP reference.