refactor!: support RUB only (WealthLedger/main#55) #204
Open
codex-bot
wants to merge 1 commits from
refactor/55-rub-only-squashed into develop
pull from: refactor/55-rub-only-squashed
merge into: :develop
:develop
:refactor/55-rub-only-squashed
:refactor/55-rub-only
:main
:release/2.4.1
No Reviewers
Labels
Clear labels
Kind/Dependencies
Kind/Investigation
Kind/Process
Kind/Refactor
audit/2026-10-11
kind/investigation
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Dependency update or dependency-management work
Research or decision required before implementation
Developer workflow, CI/CD, tooling, or process improvement
Internal code or configuration restructuring without new product behavior
Technical Audit Remediation — 2026-10-11
Нужна проверка evidence до решения; runtime-дефект не утверждается
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Status
Abandoned
3
Somebody has started to work on this but abandoned work
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: WealthLedger/backend#204
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Replaces #203: same diff, a single commit squashed on top of the current develop. The previous commit failed commitlint (body-max-line-length).
Summary
The system supports only RUB. Non-RUB data is filtered out at ingest, and per-currency collections are collapsed into a single RUB Money.
Linked Issue
WealthLedger/main#55. Related: WealthLedger/frontend#168, WealthLedger/docs#68 and WealthLedger/specs#86 (already merged).
Changes
rubMoney.totalsByCurrency→totals,cashBalances→cash,structure.currenciesremoved,unrealizedReturnByCurrency/income totals/eventsincomeTotalsByCurrency→ single Money.NON_RUB_ACTIVITYremoved; non-RUB flows do not enter XIRR.20261108000000_rub_only_value_points,20261108000001_rub_only_resync_now.Verification
On top of develop with #202 merged:
npm run verify: pass (367)npm run test:e2e: passBreaking Changes
Public API contract changed. The frontend counterpart (#168) is already in develop.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.