Files
wanderbooks/crates/ledger-store/tests/fixtures/old-books-writer/Cargo.toml
T
swaitsandClaude Opus 5.5 a7f3cc09a9
check / check (push) Canceled after 0s
P3: odd cents split the same running way everywhere (defect 17, D-38)
Members' shares of earnings are split cumulatively by largest remainder in
the closes, the members' equity statement, the K-1 worksheet and the
viewer, so a member's capital on a given day never moves by a cent when its
month is later closed. Old closes replay as they were; the first P3 close
carries any true-up. Feature members_cumulative. Kani and Lean proofs of
the bounded drift; bookspec examples.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T3gXMVt7XJPi6ens1or9Dj
2026-10-20 21:35:00 -06:00

30 lines
1.3 KiB
TOML

# The harness that wrote tests/fixtures/old-books, through the Store API of
# the version that wrote them (main 188c90ea, 2026-10-17), and that version's
# expected.json (bin/expect). Not a workspace member: point the two paths at
# a checkout of the writing version (`git archive 188c90ea | tar -x -C
# wb-main`), then
# cargo run --bin writer -- OUT (the P0 review's thirteen and control)
# cargo run --bin extras -- OUT (the edges of chrono and Decimal)
# cargo run --bin extras2 -- OUT (depreciation for 10000-01; 1,044 drafts)
# cargo run --bin older -- OUT (x_older_rules, with its JournalWriter)
# cargo run --bin expect -- OUT (expected.json beside each journal)
# and copy each journal.jsonl, blobs/ and expected.json into old-books/.
# x_member_closes was written later, the same way, by main 00226a4c
# (2026-10-20, before P3's odd cent): `cargo run --bin members -- OUT`
# (members closes under every rounding rule main wrote; P3 review R-2).
[package]
name = "writer"
version = "0.1.0"
edition = "2024"
[dependencies]
ledger-core = { path = "wb-main/crates/ledger-core" }
ledger-store = { path = "wb-main/crates/ledger-store" }
chrono = "=0.4.45"
rust_decimal = "=1.43.0"
serde_json = "1"
[workspace]
# main's crates (wb-main) keep their own workspace.
exclude = ["wb-main"]