Repository navigation
Retain native PAPER inventory in read-only account snapshots - #613
Merged
Pigbibi merged 2 commits intoOct 25, 2026
Conversation
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Pigbibi
merged commit Oct 25, 2026
a5d8e9a
into
codex/website-paper-inventory-baseline-20261025
1 check passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PAPER read-only probes archived balance, cash and financing before the strategy portfolio read stock positions. This lost the complete native inventory from website snapshots. Capture native stock positions once before strategy filtering and reuse that response in the portfolio; archive only symbol/currency/quantity, leaving unavailable market value null.
Keep PAPER admission, financing facts, currency validation and trading behavior unchanged. Proven empty positions remain empty; missing channels, malformed inventory and read failures remain unknown without discarding known balances. This release PR starts from the exact currently serving PAPER commit 82788aa and contains five inventory files plus a behavior-preserving correction to an existing test fixture required by CI; it is not a deployment of the maintenance main branch.
Validation: frozen dependency environment (QPK 03ab459d, Longport 3.0.23), 100 tests and 18 subtests passed, Ruff and diff checks passed. A subsequent 63-test/18-subtest focused rerun and whole-repository Ruff also passed after the fixture correction. No production adoption or real inventory readback is claimed by this PR.