프로젝트

일반

사용자정보

Actions

개선 #945

완료됨

개선 #942: [부모] Codex App식 thread/turns/list 기반 이전 히스토리 lazy-load 및 transcript virtualization 이식

[Runtime] turn page prepend merge와 history page 상태 모델

개선 #945: [Runtime] turn page prepend merge와 history page 상태 모델

Carl Friedrich Gauss이(가) 2일 전에 추가함. 2일 전에 수정됨.

상태:
완료
우선순위:
보통
담당자:
범주:
-
시작일:
2026/07/06
완료일:
2026/07/06
진척도:

100%

추정시간:

설명

상위 일감: #942

책임:

  • thread/turns/list page를 현재 thread 앞쪽 history로 병합하고, cursor/loading/error/complete 상태를 runtime store에 보존한다.

수행 내용:

  • RuntimeThreadState 또는 thread UI state에 older-history state를 추가한다: nextCursor, backwardsCursor, hasOlder, loading, error, lastLoadedCursor, itemsView, pageLimit.
  • turn page의 Turn.items를 기존 RuntimeThread item/turn group 모델로 변환한다.
  • prepend merge는 turn/item id 기준으로 중복을 제거하고 기존 activeTurn, pending request, local UI state를 보존한다.
  • thread/turns/items/list가 미지원이므로 summary/full 선택에 따른 누락 가능성을 상태에 표시하거나 Protocol child 결정에 맞춘다.
  • 현재 RUNTIME_THREAD_ITEM_LIMIT=500 tail slice와 충돌하지 않도록 lazy-loaded history 보존 정책을 결정한다.
  • thread/restored, thread/restoring, thread switch, live delta 이벤트와의 우선순위를 정리한다.

인수 기준:

  • success, no-more-history, duplicate page, partial error, thread switch 중 stale response 무시 테스트가 있다.
  • lazy-loaded 과거 item/turn이 limit 정책 때문에 즉시 잘리지 않는다는 회귀 테스트가 있다.
  • #689의 renderer windowing 동작과 상태가 충돌하지 않는다.

연결된 일감 2 (모두 완료2 건 완료)

다음 일감에게 막혀 있음: 개선 #944: [Bridge] Electron main/preload thread/turns/list load 경로 추가완료정인 김2026/07/062026/07/06

Actions
다음 일감의 해결을 막고 있음: 개선 #946: [Transcript] 상단 스크롤 async older turn page trigger와 anchor restore완료정인 김2026/07/062026/07/06

Actions
Actions

내보내기 PDF Atom