누적된 잠금·승인·증거 체인이 구현과 완료를 반복 차단해 작업 비용을 키웠다. 보안·데이터 손상·명시적 외부 의존성만 차단 조건으로 남기고 로드맵과 스킬의 기본 흐름을 단순화한다.
103 lines
7.4 KiB
Markdown
103 lines
7.4 KiB
Markdown
# 전역 마일스톤 실행 순서
|
|
|
|
이 문서는 Phase를 가로지르는 Milestone 실행 lane과 차단 예외를 기록한다. 같은 prefix는 작은 index부터 순차 실행하고, 다른 prefix는 차단 표기가 없으면 병렬 실행할 수 있다.
|
|
|
|
## 실행 순서
|
|
|
|
### route
|
|
|
|
3. [[route-03] Heavy Plan/Review 실행과 검증 MVP](phase/knowledge-tool-optimization-extension/milestones/knowledge-tool-validation-optimization.md)
|
|
Hot Path의 lightweight Plan/Review를 장기 작업용 `heavy` mode로 확장해 `heavy-only` preset에서 재계획·검증·review/repair·resume 경계를 먼저 검증한다.
|
|
|
|
4. [[route-04] Execution Preset 하이브리드 Mode 라우팅](phase/knowledge-tool-optimization-extension/milestones/openai-compatible-hybrid-request-execution-routing.md)
|
|
cloud model advisory와 deterministic hard gate를 결합해 Edge가 외부 model에 매핑된 preset의 허용 mode 중 요청 난이도에 맞는 실행 경로를 고르고 route evidence를 축적한다.
|
|
|
|
5. [[route-05] RAG 기반 Local Routing Model 운영 전환](phase/knowledge-tool-optimization-extension/milestones/rag-local-routing-model-operations.md)
|
|
cloud-first route evidence가 품질·규모 gate를 통과하면 RAG local router를 shadow/canary로 검증해 운영 기본 경로로 점진 전환한다.
|
|
- 선행 차단: `[observe-03]`, `[provider-02]`
|
|
|
|
### surface
|
|
|
|
1. [[surface-01] Inference API Surface와 실행 Lifecycle 책임 경계 리팩터링](phase/knowledge-tool-optimization-extension/milestones/inference-api-surface-execution-lifecycle-refactor.md)
|
|
OpenAI, Anthropic, Gemini wire 계약은 분리하고 기존 provider service 경계를 재사용하면서 cross-surface handler 재진입과 단계별 lifecycle 소유권을 정리한다. 사용 가능한 benchmark는 비교 자료로만 쓰며 workspace lock이나 별도 정합성 gate를 구현 시작 조건으로 두지 않는다.
|
|
|
|
### gate
|
|
|
|
1. [[gate-01] StreamGate 경량 통과 모드](phase/knowledge-tool-optimization-extension/milestones/stream-gate-operating-modes.md)
|
|
공통 StreamGate 수명주기를 유지하면서 의미 필터, 응답 보류와 자동 복구 없이 최소 확인과 동기 추적만 수행하는 경량 통과 모드를 추가한다.
|
|
|
|
### output
|
|
|
|
1. [[output-01] OpenAI-compatible 출력 검증 필터](phase/knowledge-tool-optimization-extension/milestones/openai-compatible-output-validation-filters.md)
|
|
실제 의미 필터 전에 deterministic diagnostic mock으로 실제 Stream Evidence Gate의 pass·observe-only·blocking recovery를 관측하는 smoke를 통과시키고, OpenAI-compatible single-stream 반복과 incoming request history에 누적된 assistant 반복, JSON contract 검증/repair 경로를 안정화한다.
|
|
|
|
2. [[output-02] OpenAI-compatible Incomplete Tool Call Syntax Gate](phase/knowledge-tool-optimization-extension/milestones/openai-compatible-incomplete-tool-call-syntax-gate.md)
|
|
terminal provider 응답의 incomplete tool-call syntax를 deterministic하게 판정한다.
|
|
|
|
3. [[output-03] OpenAI-compatible Runtime Output Integrity Filter](phase/knowledge-tool-optimization-extension/milestones/openai-compatible-runtime-output-integrity-filter.md)
|
|
terminal output invariant와 공통 filter/retry pipeline을 정의한다.
|
|
|
|
### judge
|
|
|
|
1. [[judge-01] LLM 판별 기반 Missing Tool Call 재시도 Gate](phase/knowledge-tool-optimization-extension/milestones/llm-judged-missing-tool-call-retry-gate.md)
|
|
tool 사용 의도 누락 케이스를 LLM judge와 buffered retry 후보로 검토한다.
|
|
- 선행 차단: `[output-01]`
|
|
|
|
2. [[judge-02] Tool Call 판정 모델 Gate 리뷰](phase/knowledge-tool-optimization-extension/milestones/tool-call-validator-model-gate-review.md)
|
|
schema만으로 어려운 tool-call 후보에 validator 모델을 쓸지 검토한다.
|
|
|
|
### observe
|
|
|
|
1. [[observe-02] Provider 부하 메트릭과 Live Queue Dashboard](phase/operational-observability-provider-management/milestones/provider-load-metrics-queue-dashboard.md)
|
|
Edge provider-pool의 capacity, in-flight, queued와 queue wait를 Prometheus/Grafana로 관측해 provider별 live 부하와 적체·회복을 분석한다.
|
|
|
|
2. [[observe-03] 요청 실행 로그와 Usage Ledger 기반](phase/operational-observability-provider-management/milestones/request-execution-log-usage-ledger-foundation.md)
|
|
요청별 provider/model 선택, timing, token, status/error를 구조화된 ledger로 남기는 기반을 스케치한다.
|
|
|
|
### liveness
|
|
|
|
1. [[liveness-01] Provider Stall Watchdog 제거](phase/operational-observability-provider-management/milestones/provider-stall-watchdog-removal.md)
|
|
provider 무출력 시간을 정지로 오판하는 watchdog과 전용 probe/recovery 계층을 제거하고 명시적 request·transport lifecycle만 유지한다.
|
|
|
|
### update
|
|
|
|
1. [[update-01] Update Plane 안정 프로토콜](phase/update-plane-self-update-foundation/milestones/update-plane-stable-protocol.md)
|
|
hello/status, manifest, command, event, recovery 최소 계약을 스케치한다.
|
|
|
|
2. [[update-02] Host-local Manager 기반 자체 업데이트](phase/update-plane-self-update-foundation/milestones/host-local-manager-self-update.md)
|
|
manager/updater의 release staging, 검증, restart, rollback 실행 모델을 정리한다.
|
|
|
|
3. [[update-03] Edge/Node 롤아웃과 복구 정책](phase/update-plane-self-update-foundation/milestones/edge-node-rollout-recovery-policy.md)
|
|
Edge/Node rolling update, 실패/재연결/rollback 보고 정책을 스케치한다.
|
|
|
|
### package
|
|
|
|
1. [[package-01] Personal Local Edge 패키징과 배포 모드 프로파일](phase/personal-edge-packaging-deployment/milestones/personal-local-edge-deployment-profiles.md)
|
|
personal/server/fleet 배포 모드와 capability gate 경계를 스케치한다.
|
|
- 선행 차단: `[update-02]`
|
|
|
|
### provider
|
|
|
|
1. [[provider-01] Provider Runtime 설정과 모델 획득 오케스트레이션](phase/operational-observability-provider-management/milestones/provider-runtime-model-acquisition-orchestration.md)
|
|
provider runtime launch/profile, model download/cache/verification 경계를 스케치한다.
|
|
|
|
2. [[provider-02] Provider-Device-Model Qualification 리포트와 Lifecycle 관리](phase/operational-observability-provider-management/milestones/provider-device-model-qualification-report.md)
|
|
provider/device/model별 compatibility, performance, quality, lifecycle 리포트 경계를 정리한다.
|
|
|
|
### context
|
|
|
|
1. [[context-01] Provider 입력 컨텍스트 선택과 축소](phase/knowledge-tool-optimization-extension/milestones/request-context-assembly-optimization.md)
|
|
provider dispatch 전에 무관한 과거 요청-답변 단위를 제거하고, 유지한 답변·tool/search 결과 안에서도 필요한 문단·코드 블록·구간만 남기는 입력 context 최적화를 스케치한다.
|
|
- 선행 차단: `[observe-03]`
|
|
|
|
### memory
|
|
|
|
1. [[memory-01] 장기 기억과 RAG 업데이트 사이클 (2차)](phase/knowledge-tool-optimization-extension/milestones/long-term-memory-rag-second-wave.md)
|
|
repo 장기 기억, RAG 저장소, update cycle, MCP 기반 context 절약 후보를 스케치한다.
|
|
- 선행 차단: `[route-03]`, `[observe-03]`
|
|
|
|
### advisor
|
|
|
|
1. [[advisor-01] Advisor와 Context Hook 확장 (2차)](phase/knowledge-tool-optimization-extension/milestones/advisor-context-hook-second-wave.md)
|
|
advisor 역할과 여러 기능을 실행 흐름에 연결하는 Context Hook 경계를 스케치한다.
|
|
- 선행 차단: `[route-03]`
|