- tools/anissia_client.py: Anissia API 클라이언트 (편성표/자막) - tools/nyaa_client.py: Nyaa.si RSS 토렌트 검색 - tools/qbit_client.py: qBittorrent Web API 클라이언트 - tools/subtitle_downloader.py: Google Drive/Tistory/Naver 자막 파서 - tools/title_matcher.py: 제목 매칭 + NAS 폴더명 생성 - tools/anime_pipeline.py: 전체 파이프라인 오케스트레이터 - tools/nas_scanner.py: NAS 폴더/파일 스캔 - prompts/unified.md: anime 모드 추가 (AI 평문 의도 분류) - api/discord_bot.py: AI 평문 anime 핸들러 + /anime 슬래시 커맨드 - config.py: qBittorrent/NAS 설정 추가 - .agents/: agent_guide 워크플로우 통합 - docs/devlog: 세션 기록
66 lines
1.9 KiB
Markdown
66 lines
1.9 KiB
Markdown
---
|
|
description: 세션 시작 시 프로젝트 맥락을 빠르게 복구하는 워크플로우 (시작, continue, 이어서, 작업 시작)
|
|
---
|
|
|
|
# 세션 시작 프로토콜
|
|
|
|
새 대화 시작, "continue", "이어서", "작업 시작" 등 요청 시 이 워크플로우를 실행합니다.
|
|
|
|
// turbo-all
|
|
|
|
## 절차
|
|
|
|
### 0. 에이전트 룰 & 맥락 로딩 (자동)
|
|
|
|
`.agents/AGENT.md`를 읽고 에이전트 행동 규칙을 로딩합니다.
|
|
`.agents/references/known-issues.md`를 읽어 최근 이슈를 파악합니다.
|
|
|
|
### 1. Devlog 맥락 복구
|
|
|
|
오늘 + 어제 devlog index를 읽고 최근 작업 흐름을 파악합니다.
|
|
|
|
```powershell
|
|
$today = Get-Date -Format "yyyy-MM-dd"
|
|
$yesterday = (Get-Date).AddDays(-1).ToString("yyyy-MM-dd")
|
|
if (Test-Path "docs\devlog\$today.md") {
|
|
Write-Host "=== Devlog: $today ==="
|
|
Get-Content "docs\devlog\$today.md"
|
|
} elseif (Test-Path "docs\devlog\$yesterday.md") {
|
|
Write-Host "=== Devlog: $yesterday (no entry for today yet) ==="
|
|
Get-Content "docs\devlog\$yesterday.md"
|
|
} else {
|
|
Write-Host "=== No recent devlog found ==="
|
|
}
|
|
```
|
|
|
|
미완료(🔧) 항목이 있으면 해당 entry 파일을 읽어 이어받기 맥락을 확보합니다:
|
|
- Entry 경로: `docs/devlog/entries/YYYYMMDD-NNN.md`
|
|
|
|
### 2. Git 상태 확인
|
|
|
|
```powershell
|
|
git status --short
|
|
```
|
|
```powershell
|
|
git log --oneline -5
|
|
```
|
|
|
|
### 3. Vikunja TODO 태스크
|
|
|
|
```powershell
|
|
python .agents\workflows\helpers\vikunja_helper.py list todo
|
|
```
|
|
|
|
### 4. 종합 보고
|
|
|
|
결과를 종합하여 사용자에게 보고:
|
|
- 마지막 작업 맥락 + 미완료 항목 (devlog 🔧 기반)
|
|
- TODO 태스크 목록 (라벨 + 우선순위)
|
|
- 다음 작업 제안
|
|
|
|
**우선순위 판단 기준** (라벨만으로 판단 금지):
|
|
- P0: 최근 커밋에서 스키마/모델/인터페이스 변경 → 연쇄 영향 점검
|
|
- P1: 서버 기동/API 응답 장애
|
|
- P2: 기능 미완성/UX 개선
|
|
- P3: 정확도 향상, 신규 기능, CI/CD, 문서 정리
|