108 lines
2.8 KiB
Markdown
108 lines
2.8 KiB
Markdown
<!-- file: deltas/0.3.12/pre.008-fix.001.md -->
|
|
<!-- version: 1 -->
|
|
|
|
# Delta `0.3.12-pre.008-fix.001` — correction du faux positif hardening `historical`
|
|
|
|
## Base requise
|
|
|
|
```text
|
|
0.3.12-pre.008
|
|
workspace.package.version = 0.3.12-pre.8
|
|
```
|
|
|
|
Le gate opérateur de `pre.008` valide les audits Rust/Markdown, `cargo check`, Clippy strict, 388 tests unitaires Transport, 51 `public_api` Transport, 43 `release_completeness` Transport, 63 tests unitaires Worker et 9 `dependency_boundary` Worker.
|
|
|
|
L'unique échec est le canari `pre_010_production_surface_has_no_historical_backfill_or_retriever_contract`, car la documentation de crate Worker contient la phrase `historical repair remains outside this crate`.
|
|
|
|
## Objectif
|
|
|
|
Corriger uniquement ce faux positif documentaire sans modifier ni affaiblir le canari hardening.
|
|
|
|
## Version
|
|
|
|
```text
|
|
workspace.package.version = 0.3.12-pre.8.fix.1
|
|
```
|
|
|
|
## Modification
|
|
|
|
Dans `ksp-worker-raw-transaction-ingest-lib/src/lib.rs` :
|
|
|
|
```text
|
|
historical repair remains outside this crate
|
|
```
|
|
|
|
devient :
|
|
|
|
```text
|
|
history repair remains outside this crate
|
|
```
|
|
|
|
Le token `historical` reste interdit par le canari existant. Aucun code productif, contrat, dépendance, type, import ou comportement n'est modifié.
|
|
|
|
## Fichiers modifiés
|
|
|
|
```text
|
|
Cargo.toml
|
|
crates/ksp-worker-raw-transaction-ingest-lib/src/lib.rs
|
|
docs/validation/029-V0_3_12_YELLOWSTONE_HYDRATION_CONTINUITY.md
|
|
```
|
|
|
|
## Fichier ajouté
|
|
|
|
```text
|
|
deltas/0.3.12/pre.008-fix.001.md
|
|
```
|
|
|
|
## Fichiers supprimés
|
|
|
|
```text
|
|
aucun
|
|
```
|
|
|
|
## Invariants préservés
|
|
|
|
Le correctif ne modifie pas :
|
|
|
|
```text
|
|
Transport reconnect/from_slot/ReplayInfo
|
|
projection source-neutral Worker
|
|
processing frontier run-local
|
|
coalescence/hydration HTTP
|
|
admission/persistence
|
|
politique proven continuity gap -> source fault
|
|
API publique
|
|
backfill/repair
|
|
```
|
|
|
|
## Validations exécutées dans l'environnement d'assemblage
|
|
|
|
```text
|
|
python3 scripts/audit_rust_workspace_rules.py
|
|
python3 scripts/audit_markdown_tables.py README.md RULES.md ROADMAP.md CHANGELOG.md docs prompts crates deltas
|
|
canari statique des tokens historiques/backfill/retriever dans src/
|
|
contrôle diff exact contre pre.008
|
|
reconstruction du delta sur la base pre.008
|
|
unzip -t de l'archive finale
|
|
```
|
|
|
|
## Validations non exécutées localement
|
|
|
|
L'environnement d'assemblage ne fournit pas Cargo/rustc/rustfmt. Le gate opérateur doit être rejoué :
|
|
|
|
```text
|
|
cargo fmt --all
|
|
cargo check --workspace
|
|
cargo clippy --workspace --all-targets --all-features -- -D warnings
|
|
cargo test -p ksp-onchain-transport-lib
|
|
cargo test -p ksp-worker-raw-transaction-ingest-lib
|
|
```
|
|
|
|
## Décisions
|
|
|
|
Le canari hardening reste strict ; une phrase documentaire ne doit pas utiliser un token réservé à l'absence de surface historique si cela provoque un faux positif structurel.
|
|
|
|
## Questions ouvertes
|
|
|
|
Aucune.
|