From 47502999d033880c0de6081efc78c6d77e50a2fd Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Sun, 8 Nov 2026 23:14:01 -0700 Subject: [PATCH] build: pin bookspec at 00b7c54, payments and the aging, and audit_lean bookspec main now carries X-H1a (a payment event, terms, the aging and due-date queries, their examples; an example names the option it rests on, and a claimed CHOICE declares its pick) and X-J's half (audit_lean, the audited theorem list an engine checks its claims against). The checker and the Lean move together (tests/bookspec/pin.rs): Lean 177 theorems, standard axioms only; 71 of 76 examples run and pass, the five others are for options wanderbooks did not pick. 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 5d0aa248..d3ea2ca8 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=51375ecd529b3189af7f6316b0347d4ec6134cf1#51375ecd529b3189af7f6316b0347d4ec6134cf1" +source = "git+https://git.swaits.com/swaits/bookspec?rev=00b7c541d784696961a760f0486e2fe7a5e7c003#00b7c541d784696961a760f0486e2fe7a5e7c003" 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=51375ecd529b3189af7f6316b0347d4ec6134cf1#51375ecd529b3189af7f6316b0347d4ec6134cf1" +source = "git+https://git.swaits.com/swaits/bookspec?rev=00b7c541d784696961a760f0486e2fe7a5e7c003#00b7c541d784696961a760f0486e2fe7a5e7c003" dependencies = [ "bookspec-checker", "serde_json", diff --git a/crates/ledger-core/Cargo.toml b/crates/ledger-core/Cargo.toml index c3ecffd2..db8ab7d5 100644 --- a/crates/ledger-core/Cargo.toml +++ b/crates/ledger-core/Cargo.toml @@ -33,8 +33,8 @@ num-rational = "0.4" 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 = "51375ecd529b3189af7f6316b0347d4ec6134cf1" } -bookspec-runner = { git = "https://git.swaits.com/swaits/bookspec", rev = "51375ecd529b3189af7f6316b0347d4ec6134cf1" } +bookspec-checker = { git = "https://git.swaits.com/swaits/bookspec", rev = "00b7c541d784696961a760f0486e2fe7a5e7c003" } +bookspec-runner = { git = "https://git.swaits.com/swaits/bookspec", rev = "00b7c541d784696961a760f0486e2fe7a5e7c003" } 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 8e3979bd..ee770c16 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 = "51375ecd529b3189af7f6316b0347d4ec6134cf1" } +bookspec-checker = { git = "https://git.swaits.com/swaits/bookspec", rev = "00b7c541d784696961a760f0486e2fe7a5e7c003" } proptest = "1" tempfile = "3" toml = "1" diff --git a/verify/lean/lake-manifest.json b/verify/lean/lake-manifest.json index f4e385bf..8afdfa6d 100644 --- a/verify/lean/lake-manifest.json +++ b/verify/lean/lake-manifest.json @@ -5,10 +5,10 @@ "type": "git", "subDir": "lean", "scope": "", - "rev": "51375ecd529b3189af7f6316b0347d4ec6134cf1", + "rev": "00b7c541d784696961a760f0486e2fe7a5e7c003", "name": "bookspec", "manifestFile": "lake-manifest.json", - "inputRev": "51375ecd529b3189af7f6316b0347d4ec6134cf1", + "inputRev": "00b7c541d784696961a760f0486e2fe7a5e7c003", "inherited": false, "configFile": "lakefile.toml"}], "name": "wanderbooks", diff --git a/verify/lean/lakefile.toml b/verify/lean/lakefile.toml index 859694b1..6ad0fa56 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 = "51375ecd529b3189af7f6316b0347d4ec6134cf1" +rev = "00b7c541d784696961a760f0486e2fe7a5e7c003" subDir = "lean" [[lean_lib]]