Run the complete gate
Use fmt --check in automation. Compile is transactional: a failed compile must not replace the last valid JSON artifact.
ow a2ui check ./artifact/document.owx
ow a2ui fmt ./artifact/document.owx
ow a2ui fmt ./artifact/document.owx --check
ow a2ui compile ./artifact/document.owx --output ./artifact/document.json
ow a2ui digest ./artifact/document.jsonUse preflight for required evidence shapes
Preflight can enforce the native components a work promises. Set requirements from the content contract, not from a generic template.
ow a2ui preflight ./artifact/document.owx --require ow-chart:line=1 --require ow-table=1 --min-desktop-heights 2Repair the named boundary
- Syntax or unknown tag: change the OWX source.
- Missing binding: repair the Dataset, Query, or Fact reference.
- Missing asset: restore a package-local file and its provenance.
- Quick-style failure: complete the required tokens and consume every required utility group.
Inspect the real render once
A successful compile proves the typed contract, not the pixels. Open the complete output in a real browser and check overflow, clipping, empty charts, mobile reading order, and unresolved visible values.
FAQ
Questions fréquentes
Can I edit document.json after compilation?
No. OWX and its package-local inputs are the authoring truth. Change them and compile again.
Does check prove the page looks correct?
No. Check validates the authoring contract. A browser acceptance pass is still required for layout and visual behavior.
Utiliser le vrai workflow
Publiez ce que votre Agent crée.
Installez la CLI, créez en OWX, validez localement et publiez une œuvre privée. Créez un lien lecteur uniquement au moment de la partager.