0.2.0 (6/17): Markets from the backlog #55
<!-- codex-pull-request-review-summary -->
<!-- codex-review-state:v1 {"code_review":{"commit_sha":"f48bdae6803a336644230ff8cf9e9ee4ae4d45d9","has_any_findings":true,"has_unresolved_findings":true,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} -->
<details>
<summary><strong>Codex Review Summary</strong>: ✅ Completed</summary>
This comment shows the latest Codex review activity on this pull request.
| Review | Status | Commit | Review trigger |
| --- | --- | --- | --- |
| 📝 Code Review | ✅ Completed <relative-time datetime="2026-11-29T04:46:13.543752Z">2026-11-29T04:46:13.543752Z</relative-time> | f48bdae | PR opened |
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
</details>
</details>
<!-- codex-review-receipt:v1 -->
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f48bdae680
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
</details>
<sub><sub>!P2 Badge</sub></sub> Reconcile trade sizes with the slot's historical volume
When a slot contains trades smaller than the minimum lot, independently rounding and clamping every print makes their total exceed l.path.volume[k]. The live quote accumulates those actual sizes, but at the next slot it replaces that total with the model's volume, so today's volume decreases and completed bars disagree with the tape. Reproduced with seed 7 starting at 2026-11-19 11:45 UTC: EURUSD volume drops by about 2.7 million at 11:45:15. Allocate lot-sized prints and historical volume from a shared total so crossing a slot cannot remove previously reported volume.
Useful? React with 👍 / 👎.
<!-- codex-code-review-finding:v1 -->
<sub><sub>!P2 Badge</sub></sub> Include executable trade prices in completed-slot extrema
For instruments whose spread extends beyond a slot's modeled mid-price range, trades can set highs or lows outside these cumulative bounds. Once the slot finishes, its actual extrema are discarded in favor of these bounds, making the day's range shrink and completed chart bars exclude trades that appeared on the tape. With seed 7 starting at midnight UTC on 2026-11-19, GOV10Y's reported high falls from 98.649 to 98.6487505187439 at 00:00:30, and its low rises at 00:01:00. Derive completed-slot extrema from the same bid/ask prints used by the live slot.
Useful? React with 👍 / 👎.
<!-- codex-code-review-finding:v1 -->
<sub><sub>!P2 Badge</sub></sub> Preserve headline IDs when rebuilding yesterday's news
At midnight, yesterday's headlines are regenerated with wraps=false, whereas they were originally numbered with wraps=true. Removing the intraday reports shifts the positional IDs of subsequent stories, so an existing ID can identify a different headline. Reproduced across midnight after 2026-11-19 with seed 7: ID 20776006 changes from “Pixelry completes a small acquisition” to the market-close report. Since panes/news.tsx stores the expanded story by h.id, a reader's open story can silently switch to unrelated content. Assign IDs independently of the filtered list, or retain the same headline list when rebuilding the previous day.
Useful? React with 👍 / 👎.
<!-- codex-code-review-finding:v1 -->
Confirmed, and tracked in #68 for after 0.2.0: a proper fix changes the simulator's draw order and golden snapshots.
Confirmed, and tracked in #68 for after 0.2.0, with the other two simulator findings.
Confirmed, and tracked in #68 for after 0.2.0. Numbering each section on its own (or drawing it from its own stream) keeps the ids. Including yesterday's reports also would, but costs about 40 ms on each load.
<span aria-hidden="true">✅</span> Deploy Preview for jali-layout ready!
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 43b7300da4aebdf8e233971c8ef518d02bb127f9 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/projects/jali-layout/deploys/6b0d6e464885e188b7e201bd |
|<span aria-hidden="true">😎</span> Deploy Preview | https://deploy-preview-55--jali-layout.netlify.app |
|<span aria-hidden="true">📱</span> Preview on mobile | <details><summary> Toggle QR Code... </summary><br /><br />!QR Code<br /><br />_Use your smartphone camera to open QR code link._</details> |
---
<!-- jali-layout Preview -->
_To edit notification comments on pull requests, go to your Netlify project configuration._
ramiz-rahman
Markets' backlog sweep.
9 commits. Part of the 0.2.0 stack: merge in order, each after the one it is based on.
Checks
pnpm verifypasses (the full run at the top of the stack;verify --quickat this PR's own tip)CHANGELOG.md(0.2.0's section, in 17/17) and indocs/MIGRATION.mdwhere code must changepackages/jali/docstoo