From 72de6efec0aa837b99b9c88c8bb40e50e65a36b1 Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Sun, 8 Nov 2026 17:06:14 -0700 Subject: [PATCH] build: pin bookspec at 218b5c8, every CHOICE its own record bookspec splits every CHOICE embedded in another rule into its own record (S-C7), so an engine declares its pick for each by id; wanderbooks declares its 65 picks (one list in the adapter, checked against each record's options and the claims files). Lean builds and audits; adapter and package tests pass on the new rev. Co-Authored-By: Claude Opus 5.5 --- Cargo.lock | 4 ++-- crates/ledger-core/Cargo.toml | 4 ++-- crates/ledger-package/Cargo.toml | 2 +- verify/lean/lake-manifest.json | 4 ++-- verify/lean/lakefile.toml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0480f8df..355d6be1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -788,7 +788,7 @@ dependencies = [ [[package]] name = "bookspec-checker" version = "0.1.0" -source = "git+https://git.swaits.com/swaits/bookspec?rev=c46709379781593139f5a23e8198f027bffaa44b#c46709379781593139f5a23e8198f027bffaa44b" +source = "git+https://git.swaits.com/swaits/bookspec?rev=218b5c89799f6b9df80607e711c29bb559a485ac#218b5c89799f6b9df80607e711c29bb559a485ac" dependencies = [ "chrono", "include_dir", @@ -801,7 +801,7 @@ dependencies = [ [[package]] name = "bookspec-runner" version = "0.1.0" -source = "git+https://git.swaits.com/swaits/bookspec?rev=c46709379781593139f5a23e8198f027bffaa44b#c46709379781593139f5a23e8198f027bffaa44b" +source = "git+https://git.swaits.com/swaits/bookspec?rev=218b5c89799f6b9df80607e711c29bb559a485ac#218b5c89799f6b9df80607e711c29bb559a485ac" dependencies = [ "bookspec-checker", "serde_json", diff --git a/crates/ledger-core/Cargo.toml b/crates/ledger-core/Cargo.toml index c83b1811..a339cbcf 100644 --- a/crates/ledger-core/Cargo.toml +++ b/crates/ledger-core/Cargo.toml @@ -28,8 +28,8 @@ proptest = "1" toml = "1" # The specification lives in its own repository (P13 step 6, D-34, D-65), # pinned to a commit. -bookspec-checker = { git = "https://git.swaits.com/swaits/bookspec", rev = "c46709379781593139f5a23e8198f027bffaa44b" } -bookspec-runner = { git = "https://git.swaits.com/swaits/bookspec", rev = "c46709379781593139f5a23e8198f027bffaa44b" } +bookspec-checker = { git = "https://git.swaits.com/swaits/bookspec", rev = "218b5c89799f6b9df80607e711c29bb559a485ac" } +bookspec-runner = { git = "https://git.swaits.com/swaits/bookspec", rev = "218b5c89799f6b9df80607e711c29bb559a485ac" } ledger-package = { path = "../ledger-package" } ledger-import = { path = "../ledger-import" } ledger-store = { path = "../ledger-store" } diff --git a/crates/ledger-package/Cargo.toml b/crates/ledger-package/Cargo.toml index 4bfcb695..3e31c659 100644 --- a/crates/ledger-package/Cargo.toml +++ b/crates/ledger-package/Cargo.toml @@ -21,7 +21,7 @@ zip = "9.0.1" workspace = true [dev-dependencies] -bookspec-checker = { git = "https://git.swaits.com/swaits/bookspec", rev = "c46709379781593139f5a23e8198f027bffaa44b" } +bookspec-checker = { git = "https://git.swaits.com/swaits/bookspec", rev = "218b5c89799f6b9df80607e711c29bb559a485ac" } proptest = "1" tempfile = "3" toml = "1" diff --git a/verify/lean/lake-manifest.json b/verify/lean/lake-manifest.json index 797d8506..20c272cd 100644 --- a/verify/lean/lake-manifest.json +++ b/verify/lean/lake-manifest.json @@ -5,10 +5,10 @@ "type": "git", "subDir": "lean", "scope": "", - "rev": "c46709379781593139f5a23e8198f027bffaa44b", + "rev": "218b5c89799f6b9df80607e711c29bb559a485ac", "name": "bookspec", "manifestFile": "lake-manifest.json", - "inputRev": "c46709379781593139f5a23e8198f027bffaa44b", + "inputRev": "218b5c89799f6b9df80607e711c29bb559a485ac", "inherited": false, "configFile": "lakefile.toml"}], "name": "wanderbooks", diff --git a/verify/lean/lakefile.toml b/verify/lean/lakefile.toml index 0fb79715..b1b98eb2 100644 --- a/verify/lean/lakefile.toml +++ b/verify/lean/lakefile.toml @@ -9,7 +9,7 @@ packagesDir = ".lake/packages" [[require]] name = "bookspec" git = "https://git.swaits.com/swaits/bookspec" -rev = "c46709379781593139f5a23e8198f027bffaa44b" +rev = "218b5c89799f6b9df80607e711c29bb559a485ac" subDir = "lean" [[lean_lib]]