Files
Jyotisha/docs
ClaudeandClaude Opus 5.5 8306959ec3 fix(home): 新建对话 no longer cold-starts Home off secondary pages (BUG-1509)
Recurrence of BUG-1040 / BUG-1104, reproduced in a production build:
- Warm decision now lasts until Home commits (releaseHomeWarmStart), not
  one microtask; the navigation note is peeked during render and taken
  after commit. React discarding and repeating Home's first render no
  longer flips it to the cold path.
- Secondary-page prefetch starts as soon as the list settles and on
  pointer intent; a 新建对话 click while it is in flight waits for it
  (at most 2 s, aria-busy) instead of cold-starting beside it.
- The session-list provider remembers its settled list on unmount, so
  returning from /learn starts warm; /learn header links use AppLink.
- Lifecycle tests repeat Home's first render inside a transition; 14
  new path tests (a)-(e), 12 fail on the old code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-02 12:36:08 +08:00
..
…