1---2name: eng-rigorous-validation3description: Enforce reproducible testing, automated verification, and evidence-driven sign-off before merging any change.4---56# Rigorous Validation78## Intent9- Ship only when behavior is proven, not assumed.10- Treat tests, QA scripts, linters, and on-chain/off-chain simulations as first-class deliverables.11- Capture evidence so reviewers can verify quickly.1213## Inputs141. Canonical test commands (unit, integration, e2e, contract sims, UI snapshots).152. Acceptance criteria plus measurable signals (logs, screenshots, transaction hashes).163. Migrations/seed data steps required to exercise the change locally.1718## Workflow191. **Design tests before coding**20 - Specify failing cases and target assertions for each requirement.21 - Align on how to stub external services, wallets, or platform APIs.222. **Automate and isolate**23 - Prefer deterministic, headless test harnesses; avoid manual-only steps.24 - Seed data/fixtures close to tests to prevent global coupling.253. **Run the full relevant matrix**26 - Cover affected platforms (iOS/Android/web), runtimes, or chain environments.27 - Capture artifacts (logs, screenshots, traces) for any non-deterministic checks.284. **Track outcomes**29 - Record exact commands run and their commit hash in the PR or issue.30 - File follow-ups for flaky tests before merging.3132## Verification33- All targeted tests green and documented; no TODOs or skipped suites without owner sign-off.34- Static analysis, type-checking, formatters, and contract analyzers pass.35- Evidence (artifacts, hashes, screenshots) attached or linked for reviewer inspection.