Sounio Examples Hygiene
Workflow
- •Run the example gate
- •Use
scripts/check_all_examples.sh. - •Failures are logged to
/tmp/sounio_examples_failures.txt.
- •Fix first, stub only when a feature is missing
- •Prefer minimal, targeted fixes (effects, syntax, imports) that keep the example intact.
- •If a feature is unimplemented, preserve the original content inside a block comment and add a minimal compiling stub so the gate stays green.
- •Keep syntax Sounio-native
- •No Rust macros or attributes in
.sio. - •Use
varand&!and explicitwitheffects.
- •Keep docs in sync if you changed visible semantics
- •Update
docs/MV_CORE_CHECKLIST.mdanddocs/LLM_PROGRAMMING_GUIDE.mdwhen behavior shifts.
References
- •
docs/MV_CORE_CHECKLIST.md - •
docs/LLM_PROGRAMMING_GUIDE.md - •
.claude/commands/sounio-check.md - •
.claude/commands/sounio-syntax.md
Scripts
- •
scripts/check_all_examples.sh - •
scripts/scan_syntax_drift.py