Repository navigation
docs(research): resize 重绘时序证据与候选方向 (#194) - #197
Conversation
… refs #194 Fixes the observed arithmetic (repaint generated for the previous geometry, consumed at the new one, shifted by the height difference), lists three candidate directions with risks, and fixes the bounded experiment that must precede any implementation.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 73a5112021
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
| 2. **进度记录**:几何变化前 `grid=[111,7] top=75`,缩放到 75% 时 `grid=[149,10] top=75`,回到 100% 时 `grid=[111,7] top=78`,且 `selected` 由 true 变 false。 | ||
| 3. **输出轨迹**:一轮几何序列里出现约 10 次"回 home 重打尾部 6 行(075–080)"的重绘批次,并带 `ESC[7;1H` 与若干 `ESC[K CR LF`。 | ||
|
|
||
| 把三者合起来:重绘批次按**旧几何**(10 行、首行 075)生成,被**新几何**(7 行、首行 078)消费,于是行 0–5 被写成 075–080,整体错位 **10 − 7 = 3 行**。 |
There was a problem hiding this comment.
Keep the repaint-generation ordering labeled as a hypothesis
The listed observations establish a content change and a three-row displacement, but do not establish that the repaint was generated for the ten-row geometry. In the reviewed code, experiments/shell/shell.cpp records output timestamps and dimensions at consumption, not generation or arrival. Moreover, experiments/shell/results/2026-10-29-resize-repaint-witness/README.md explicitly preserves two distinct interleavings producing the bad state and says the actual CI cut remains unknown. Presenting one ordering as an observed fact here can incorrectly constrain the proposed fix before the timing experiment below has resolved it. Label this explanation as a hypothesis and retain the unresolved generation/arrival/consumption ordering.
AGENTS.md reference: AGENTS.md:L13-L13
Useful? React with 👍 / 👎.
为 #194 固化观测与候选方向,不改行为。
Refs #194 #38