169 lines
3.7 KiB
Markdown
169 lines
3.7 KiB
Markdown
<!-- file: history/0.0.1/alpha.5.fix.2.md -->
|
|
<!-- version: 1 -->
|
|
|
|
# History 0.0.1-alpha.5.fix.2 — clôture du layout de tests Rust
|
|
|
|
## Statut
|
|
|
|
PASS
|
|
|
|
La gate opérateur de `0.0.1-alpha.5.fix.2` exécutée le `2026-09-28` est propre.
|
|
|
|
## Baseline opérateur
|
|
|
|
`alpha.5.fix.1` `FAIL` a été historisé, committé et poussé avant application du second fix :
|
|
|
|
```text
|
|
history/0.0.1/alpha.5.fix.1.md = FAIL
|
|
commit a1b56af
|
|
message 0.0.1-alpha.5.fix.1
|
|
branch master
|
|
push origin/master PASS
|
|
status clean après push
|
|
```
|
|
|
|
Le push observé a avancé `origin/master` de `c17b706` à `a1b56af`.
|
|
|
|
## Snapshot propre avant mutation
|
|
|
|
Les premiers contrôles passent immédiatement après application du delta :
|
|
|
|
```text
|
|
VERSION = 0.0.1-alpha.5.fix.2
|
|
git diff --check PASS
|
|
cargo fmt --all -- --check PASS
|
|
```
|
|
|
|
Aucun `cargo fmt --all` mutateur n'est exécuté avant cette preuve.
|
|
|
|
## Layout des tests
|
|
|
|
La vérification structurelle passe :
|
|
|
|
```text
|
|
Knowledge 0.0.1-alpha.5.fix.2 layout audit: clean
|
|
Rust test-layout audit: clean (7 crate(s))
|
|
```
|
|
|
|
Les quatre anciens `src/unit_tests.rs` restent absents et les cinq fichiers `unit_tests/` restent présents.
|
|
|
|
Aucun `#[test]` ni `mod unit_tests;` classique n'est observé sous `src/`.
|
|
|
|
## Audits Rust
|
|
|
|
Les audits sélectionnés passent :
|
|
|
|
```text
|
|
Rust blank-line audit: clean (18 file(s))
|
|
Rust item-spacing audit: clean (18 file(s))
|
|
Rust module-order audit: clean (18 file(s))
|
|
Rust trait-import-block audit: clean (18 file(s))
|
|
Rust re-export-block audit: clean (18 file(s))
|
|
Rust export completeness audit: 0 candidate(s) across 7 package(s)
|
|
```
|
|
|
|
## Cargo, Clippy et tests
|
|
|
|
Les sept packages compilent en version `0.0.1-alpha.5.fix.2`.
|
|
|
|
```text
|
|
cargo check --workspace PASS
|
|
cargo clippy --workspace --all-targets --all-features
|
|
-- -D warnings PASS
|
|
cargo test --workspace --all-targets --all-features PASS
|
|
```
|
|
|
|
Tests observés :
|
|
|
|
```text
|
|
knowledge-domain-lib : 3 PASS
|
|
knowledge-git-api : 1 PASS
|
|
knowledge-sync-api : 1 PASS
|
|
knowledge-web-lib : 4 PASS
|
|
launchers : 0 test chacun
|
|
```
|
|
|
|
Les noms de tests confirment les rattachements hors `src/` :
|
|
|
|
```text
|
|
source::tests::...
|
|
assets::tests::...
|
|
page::tests::...
|
|
```
|
|
|
|
## Baseline Web
|
|
|
|
Les commandes suivantes passent :
|
|
|
|
```text
|
|
npm ci
|
|
npm run typecheck
|
|
npm run build
|
|
```
|
|
|
|
npm observe toujours `@parcel/watcher@2.6.0` comme package possédant un script d'installation non approuvé. Aucune approbation automatique n'est effectuée.
|
|
|
|
Les warnings Sass issus de Bootstrap restent non bloquants.
|
|
|
|
## Manifest Vite
|
|
|
|
L'audit passe :
|
|
|
|
```text
|
|
Knowledge 0.0.1-alpha.5.fix.2 Vite manifest audit: clean
|
|
```
|
|
|
|
avec :
|
|
|
|
```text
|
|
JS assets/assets/main-BMHcm6u9.js
|
|
CSS assets/main-V0IwlRbh.css
|
|
```
|
|
|
|
## Smokes HTTP
|
|
|
|
Les trois launchers passent la gate production/manifest :
|
|
|
|
```text
|
|
knowledge-pgr-server smoke PASS
|
|
knowledge-howtos-server smoke PASS
|
|
knowledge-snippets-server smoke PASS
|
|
Knowledge 0.0.1-alpha.5.fix.2 HTTP smoke: clean
|
|
```
|
|
|
|
Chaque smoke vérifie `/healthz`, le rendu de `/`, les références JavaScript/CSS issues du manifest et le service effectif des assets hashés.
|
|
|
|
## Hygiène Git
|
|
|
|
Le contrôle final passe :
|
|
|
|
```text
|
|
git diff --cached --check = PASS
|
|
```
|
|
|
|
Le staging observé avant ajout du présent history est :
|
|
|
|
```text
|
|
M CHANGELOG.md
|
|
M Cargo.lock
|
|
M Cargo.toml
|
|
M VERSION
|
|
A deltas/0.0.1/alpha.5.fix.2.md
|
|
M docs/plans/001-V0_0_1_FOUNDATION_PLAN.md
|
|
M docs/validation/001-VALIDATION_MATRIX.md
|
|
```
|
|
|
|
## Décision
|
|
|
|
`0.0.1-alpha.5.fix.2` est `PASS`.
|
|
|
|
La phase alpha de la fondation est close.
|
|
|
|
La transition autorisée est :
|
|
|
|
```text
|
|
0.0.1-beta.1
|
|
```
|
|
|
|
`beta.1` est une tranche de réconciliation et de revue d'horizon. Elle ne doit pas introduire de nouvelle grande fonctionnalité.
|