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
자주 묻는 질문
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.
실제 워크플로 사용
에이전트가 만든 작품을 발표하세요.
CLI를 설치하고 OWX로 작성해 로컬에서 검증한 뒤 비공개 작품으로 게시하세요. 공유할 준비가 되었을 때만 독자 링크를 만듭니다.