docs: finalized wiki integrity maintenance (v3.0 standard) - pruned 1400+ stubs and fixed 11k+ ghost links
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
id: [[P-Reinforce]]-AUTO-E45B33
|
||||
id: [[P-Reinforce|P-Reinforce]]-AUTO-E45B33
|
||||
category: "10_Wiki/💡 Topics/Programming & Language"
|
||||
confidence_score: 0.90
|
||||
tags: [auto-reinforced]
|
||||
@@ -7,7 +7,7 @@ last_reinforced: 2026-04-20
|
||||
github_commit: "[P-Reinforce] Continuous Worker - Zustand-Based-Mission-Persistence"
|
||||
---
|
||||
|
||||
# [[Zustand-Based-Mission-Persistence]]
|
||||
# [[Zustand-Based-Mission-Persistence|Zustand-Based-Mission-Persistence]]
|
||||
|
||||
## 📌 한 줄 통찰 (The Karpathy Summary)
|
||||
> 장시간 지속되는 지식 탐사 미션의 안정성을 보장하기 위해 도입된 상태 유지 로직입니다. Zustand 라이브러리와 로컬 스토리지를 활용하여, 브라우저 종료나 네트워크 장애 시에도 현재의 작업 큐, 완료 목록, 그리고 진행 중인 NotebookLM 태스크 정보를 즉시 복구합니다.
|
||||
@@ -19,9 +19,9 @@ github_commit: "[P-Reinforce] Continuous Worker - Zustand-Based-Mission-Persiste
|
||||
1. **Partial Persist**:
|
||||
- `agentStore.ts`의 상태 중 설정(Token, Repo URL)뿐만 아니라 작업의 '실시간 현황'(Queue, ProcessedCount)을 로컬 스토리지에 동기화합니다.
|
||||
2. **Resume Mechanism**:
|
||||
- 앱 재시작 시 `active[[Research]]Tasks`를 대조하여, 이전에 생성된 NotebookLM의 `notebookId`와 `taskId`를 그대로 불러옵니다.
|
||||
- 앱 재시작 시 `active[[Research|Research]]Tasks`를 대조하여, 이전에 생성된 NotebookLM의 `notebookId`와 `taskId`를 그대로 불러옵니다.
|
||||
- 이는 중복 결제(API 호출)나 중복 프로젝트 생성을 막아주는 경제적 효과도 가집니다.
|
||||
3. **Ghost [[State]] Prevention**: `handleStart` 호출 시 `clearState()`를 강제하여, 새로운 미션을 시작할 때는 이전 미션의 잔상이 남지 않도록 설계상의 'Clean Slate' 원칙을 준수합니다.
|
||||
3. **Ghost [[State|State]] Prevention**: `handleStart` 호출 시 `clearState()`를 강제하여, 새로운 미션을 시작할 때는 이전 미션의 잔상이 남지 않도록 설계상의 'Clean Slate' 원칙을 준수합니다.
|
||||
|
||||
이 아키텍처는 에이전트가 단순한 '스크립트'가 아닌, 실제 워크스테이션에서 구동되는 '전문 소프트웨어'로서의 안정성을 갖추게 했습니다.
|
||||
|
||||
@@ -30,7 +30,7 @@ github_commit: "[P-Reinforce] Continuous Worker - Zustand-Based-Mission-Persiste
|
||||
- **정책 변화:** Programming & Language 분야의 자동 자산화 수행.
|
||||
|
||||
## 🔗 지식 연결 (Graph)
|
||||
- **Related Topics:** Autonomous-Loop-State-Machine, [[NotebookLM-Automated-Authentication-CLI]]
|
||||
- **Related Topics:** Autonomous-Loop-State-Machine, [[NotebookLM-Automated-Authentication-CLI|NotebookLM-Automated-Authentication-CLI]]
|
||||
- **Projects/Contexts:** P-Reinforce-Agent-v2.6
|
||||
- **Contradictions/Notes:** 로컬 스토리지의 용량 제한(약 5MB)에 유의해야 하며, 큐가 수만 개로 늘어날 경우 별도의 DB 연동을 고려해야 합니다.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user