106 lines
2.7 KiB
Markdown
106 lines
2.7 KiB
Markdown
<!-- file: deltas/0.3.12/pre.008-fix.002.md -->
|
|
<!-- version: 1 -->
|
|
|
|
# Delta `0.3.12-pre.008-fix.002` — correction du faux positif `public_api` sur `repair`
|
|
|
|
## Base requise
|
|
|
|
```text
|
|
0.3.12-pre.008-fix.001
|
|
workspace.package.version = 0.3.12-pre.8.fix.1
|
|
```
|
|
|
|
Le gate opérateur valide les audits, `cargo check`, Clippy strict, l'ensemble Transport, 63 tests unitaires Worker, 9 `dependency_boundary` et 15 `hardening`. L'unique échec restant est le canari `v0_3_12_pre_007_processing_frontier_snapshot_getters_are_public_and_processing_only`, car la documentation de crate Worker contient encore le token `repair`.
|
|
|
|
## Objectif
|
|
|
|
Corriger uniquement ce faux positif documentaire sans modifier ni affaiblir le canari `public_api` de `pre.007`.
|
|
|
|
## Version
|
|
|
|
```text
|
|
workspace.package.version = 0.3.12-pre.8.fix.2
|
|
```
|
|
|
|
## Modification
|
|
|
|
Dans `ksp-worker-raw-transaction-ingest-lib/src/lib.rs` :
|
|
|
|
```text
|
|
history repair remains outside this crate
|
|
```
|
|
|
|
devient :
|
|
|
|
```text
|
|
history remediation remains outside this crate
|
|
```
|
|
|
|
Le token `repair` reste interdit par le canari `pre.007` 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.002.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 exact des tokens interdits dans src/lib.rs
|
|
contrôle diff exact contre pre.008-fix.001
|
|
reconstruction du delta sur la base pre.008-fix.001
|
|
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 `pre.007` reste strict et inchangé. La documentation de racine publique évite les tokens réservés aux surfaces explicitement absentes.
|
|
|
|
## Questions ouvertes
|
|
|
|
Aucune.
|