From 4b295ee224a944fc1a0a84c5063ed65b450f014d Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Sun, 8 Nov 2026 13:34:55 -0700 Subject: [PATCH] build: pin bookspec at d877bcf, every area's rules complete there bookspec now states the format rules too (S-C6), so every accounting rule is complete as a record, and the Lean model runs its examples (L-G3: 8 whole, agreeing with the Rust derivation on all 25 figures both answer). Lean builds and audits 151; adapter and package tests pass. 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 68fb612c..cf192ac3 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=90d005a2ba0a9b81cef09daa843d5de6412565ff#90d005a2ba0a9b81cef09daa843d5de6412565ff" +source = "git+https://git.swaits.com/swaits/bookspec?rev=d877bcfff8e048937875dcf79225140844bc5116#d877bcfff8e048937875dcf79225140844bc5116" 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=90d005a2ba0a9b81cef09daa843d5de6412565ff#90d005a2ba0a9b81cef09daa843d5de6412565ff" +source = "git+https://git.swaits.com/swaits/bookspec?rev=d877bcfff8e048937875dcf79225140844bc5116#d877bcfff8e048937875dcf79225140844bc5116" dependencies = [ "bookspec-checker", "serde_json", diff --git a/crates/ledger-core/Cargo.toml b/crates/ledger-core/Cargo.toml index 717c3978..28b1d054 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 = "90d005a2ba0a9b81cef09daa843d5de6412565ff" } -bookspec-runner = { git = "https://git.swaits.com/swaits/bookspec", rev = "90d005a2ba0a9b81cef09daa843d5de6412565ff" } +bookspec-checker = { git = "https://git.swaits.com/swaits/bookspec", rev = "d877bcfff8e048937875dcf79225140844bc5116" } +bookspec-runner = { git = "https://git.swaits.com/swaits/bookspec", rev = "d877bcfff8e048937875dcf79225140844bc5116" } 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 ee54457a..6e09d470 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 = "90d005a2ba0a9b81cef09daa843d5de6412565ff" } +bookspec-checker = { git = "https://git.swaits.com/swaits/bookspec", rev = "d877bcfff8e048937875dcf79225140844bc5116" } proptest = "1" tempfile = "3" toml = "1" diff --git a/verify/lean/lake-manifest.json b/verify/lean/lake-manifest.json index 4f272e6d..c3fc1a4c 100644 --- a/verify/lean/lake-manifest.json +++ b/verify/lean/lake-manifest.json @@ -5,10 +5,10 @@ "type": "git", "subDir": "lean", "scope": "", - "rev": "90d005a2ba0a9b81cef09daa843d5de6412565ff", + "rev": "d877bcfff8e048937875dcf79225140844bc5116", "name": "bookspec", "manifestFile": "lake-manifest.json", - "inputRev": "90d005a2ba0a9b81cef09daa843d5de6412565ff", + "inputRev": "d877bcfff8e048937875dcf79225140844bc5116", "inherited": false, "configFile": "lakefile.toml"}], "name": "wanderbooks", diff --git a/verify/lean/lakefile.toml b/verify/lean/lakefile.toml index d0a8f59e..3c9527d9 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 = "90d005a2ba0a9b81cef09daa843d5de6412565ff" +rev = "d877bcfff8e048937875dcf79225140844bc5116" subDir = "lean" [[lean_lib]]