Skip to content

feat: rustledger v0.20.2 — gap re-arm, WIT 3.3 compound handling - #242

Merged
robcohen merged 2 commits into
mainfrom
fix/wit33-compound-and-gap-rearm
Jul 4, 2026
Merged

robcohen merged 2 commits into
mainfrom
fix/wit33-compound-and-gap-rearm

Conversation

@robcohen

@robcohen robcohen commented Jul 4, 2026

Copy link
Copy Markdown
Member

Engine bump v0.20.1 → v0.20.2, delivering rustledger#1711 (typed scalars propagate NULL, beanquery parity).

Gap re-arm: ABS expects a number removed from KNOWN_ENGINE_GAPS — the Holdings queries excused since beancount#1699 are asserted un-excused again (verified both directions: failing on v0.20.1, passing on v0.20.2). The list is now empty; the guard test asserts emptiness and documents how to restore the marker-hit body when the next gap appears.

WIT 3.3 compound cost-number (closes #234): handled at both branch sites — _cost_number_from_json builds the two-string tuple Variant (input surface, the only place compound appears; booked egress rewrites to per-unit-from-total), and cost_number_values extracts (per-unit, LUMP) for pre-booking display. Tests for both.

Full suite: 659 passed, 1 skipped against the v0.20.2 component.

Closes #234

🤖 Generated with Claude Code

robcohen and others added 2 commits July 4, 2026 14:07
Engine bump v0.20.1 -> v0.20.2 (CI fetches the component by
RUSTLEDGER_VERSION), delivering rustledger#1711: typed scalar functions
propagate NULL (beanquery parity).

- KNOWN_ENGINE_GAPS: 'ABS expects a number' removed — the Holdings
  queries excused since beancount#1699 are asserted un-excused again (verified
  failing on v0.20.1, passing on v0.20.2). The guard test now asserts
  list emptiness and documents how to restore the marker-hit body when
  the next gap appears.
- WIT 3.3 'compound' cost-number (rustledger#1700) handled at both
  branch sites (closes #234): _cost_number_from_json builds the
  two-string tuple Variant (input surface — the only place compound
  appears; booked egress rewrites to per-unit-from-total), and
  cost_number_values extracts (per-unit, LUMP) for pre-booking display.

Full suite: 659 passed, 1 skipped against the v0.20.2 component.

Closes #234

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@robcohen
robcohen merged commit 9d15eda into main Jul 4, 2026
28 checks passed
@robcohen
robcohen deleted the fix/wit33-compound-and-gap-rearm branch July 4, 2026 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regenerate component bindings for WIT 3.3.0 (cost-number gains compound case)

1 participant