Bootstrap: manifiesto versionado (bootstrap.json) + Stage 0 anota su línea

Lote 1 del track posterior. Implementa el embrión del log de transparencia
(SDD 11 §4): crate hammer-bootstrap::manifest con BootstrapManifest/StageEntry.

- append-only e idempotente (de-dup por (stage, artifact_hash))
- escritura atómica (tmp + rename); ts informativo, fuera de todo hash
- stage0() anota su línea en ambos caminos (sello nuevo e idempotente);
  un sha erróneo no genera línea
- 9 tests nuevos (4 de manifest + 5 de stage0/manifest), workspace verde

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Sergio
2026-06-10 23:54:28 +00:00
co-authored by Claude Opus 4.8
parent 1731e7ef23
commit ba4d520c44
5 changed files with 274 additions and 15 deletions
Generated
+1
View File
@@ -426,6 +426,7 @@ dependencies = [
"hammer-core",
"hex",
"serde",
"serde_json",
"sha2",
"tempfile",
"thiserror",