0.3.0-2-beta.2

This commit is contained in:
2026-09-20 14:30:55 +02:00
parent ff1ec09d68
commit fca477eb23
13 changed files with 354 additions and 22 deletions

View File

@@ -0,0 +1,67 @@
<!-- file: docs/testing/004-V0_3_0_RC_VALIDATION_MATRIX.md -->
<!-- version: 1 -->
# Matrice RC 0.3.0 — Snake Web direct
## Objet
La RC `0.3.0` gèle le premier POC Snake Web direct. Elle ne crée aucune fonctionnalité et vérifie que l'état validé en beta reste reproductible avant promotion mécanique vers la stable.
## Gate statique et workspace
```bash
cargo fmt --all
cargo fmt --all -- --check
python3 scripts/audit_rust_workspace_rules.py
python3 scripts/audit_markdown_tables.py README.md RULES.md ROADMAP.md CHANGELOG.md docs prompts crates Android Web deltas history
python3 scripts/audit_distribution_layout.py
cargo check --workspace
cargo clippy --workspace --all-targets --all-features -- -D warnings
cargo test --workspace --all-targets --all-features
```
## Desktop Snake release
```bash
cargo build -p game-snake-poc-desktop --release
../builds/sasedev-games/target/release/game-snake-poc-desktop
```
Critères : démarrage, rendu, contrôles et arrêt propre.
## Web/WASM release
```bash
cargo build -p game-snake-poc-wasm --release --target wasm32-unknown-unknown
wasm-bindgen \
../builds/sasedev-games/target/wasm32-unknown-unknown/release/game_snake_poc_wasm.wasm \
--target web \
--out-dir ../builds/sasedev-games/game-snake-poc-web/wasm \
--out-name game_snake_poc_wasm
(cd Web/game-snake-poc && npm install && npm run build && npm run preview)
```
Ouvrir `http://127.0.0.1:4174/main.html`.
Critères :
- Canvas au ratio attendu ;
- clavier et contrôles pointer/tactiles ;
- SimpleBar ;
- assets `snake / engine-v1` ;
- provenance Web/WASM cohérente ;
- resize ;
- pause/reprise sans rattrapage massif ;
- aucune erreur runtime bloquante.
## Artefacts et dépôt
Les artefacts Rust/WASM/Vite restent sous `../builds/sasedev-games/`. Aucun `node_modules`, `dist`, cache WASM ou artefact Cargo n'est livré dans le dépôt.
## Promotion
La promotion vers `0.3.0` est mécanique lorsque `3-rc.1` est validée sans défaut nécessitant une modification fonctionnelle. Tout correctif de release reste limité par `VER-RC-*`.