PureYAML/docs/rules/verification.md

1.1 KiB

Verification Before Completion

Never claim a PureYAML change is complete without fresh command output from the relevant gates.

Required Gate

Run this before committing or reporting completion:

bash scripts/check-style.sh
bash scripts/check-namespacing.sh
bash scripts/check-changelog-touched.sh
swiftformat . --config .swiftformat --lint
swiftlint --config .swiftlint.yml --strict
swift build
swift test
bash scripts/check-linux.sh
bash scripts/check-wasm.sh

Claims and Evidence

Claim Required evidence
Style clean scripts/check-style.sh exits 0
Namespace clean scripts/check-namespacing.sh exits 0
Format clean swiftformat . --config .swiftformat --lint exits 0
Lint clean swiftlint --config .swiftlint.yml --strict exits 0
Builds on macOS swift build exits 0
Tests pass swift test exits 0 and reports zero failures
Linux compatible bash scripts/check-linux.sh exits 0
WASI compatible bash scripts/check-wasm.sh exits 0

If a tool is unavailable, say so explicitly and do not claim that gate passed.