carlos / platform Public

moves: install.json keys in snake_case (snapshot_txid for N), agreed with the moves session

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev b4910ff2002791196f4a4f543faf666902267a88 parent 92934ea
1 file changed, +13 −10
  • internal/moves/install_contract.go +13 −10

CI passed — run details

diff --git a/internal/moves/install_contract.go b/internal/moves/install_contract.go
index f48d8fe76..1e8ec3c0e 100644
--- a/internal/moves/install_contract.go
+++ b/internal/moves/install_contract.go
@@ -9,14 +9,17 @@ var ErrAttemptOver = errors.New("moves: probe attempt window or deadline expired
// InstallManifest is the moves Phase 1 Plan 2 Task 8 prepared snapshot contract.
type InstallManifest struct {
- V int
- Op, Host string
- N uint64
- SnapshotKey, SnapshotVersion string
- SnapshotCRC64 uint64
- AnchorKey, AnchorVersion string
- AnchorCRC64 uint64
- IntegrityCheck string
- DBSHA256 string
- BuiltAt time.Time
+ V int `json:"v"`
+ Op string `json:"op"`
+ Host string `json:"host"`
+ N uint64 `json:"snapshot_txid"`
+ SnapshotKey string `json:"snapshot_key"`
+ SnapshotVersion string `json:"snapshot_version"`
+ SnapshotCRC64 uint64 `json:"snapshot_crc64"`
+ AnchorKey string `json:"anchor_key"`
+ AnchorVersion string `json:"anchor_version"`
+ AnchorCRC64 uint64 `json:"anchor_crc64"`
+ IntegrityCheck string `json:"integrity_check"`
+ DBSHA256 string `json:"db_sha256"`
+ BuiltAt time.Time `json:"built_at"`
}