docs(sdlc): sdlc-002 service-token user-based Discovery/Planning/Index/summary 문서 초안

This commit is contained in:
2026-04-23 07:21:31 +00:00
parent 5d3884fd4a
commit 1e8e3d7ae2
5 changed files with 508 additions and 0 deletions
@@ -0,0 +1,16 @@
# Summary - sdlc-002_20260423_service-token-user-based
- 이슈명: service-token user-based 소유권
- 상태: draft
- 작성 시각(KST): 2026-04-23
- 마지막 갱신 시각(KST): 2026-04-23
## 핵심 요약
- `bot_principal` / `bot token` 명칭을 `service_principal` / `service token`으로 전체 rename한다 (도메인/서비스/리포지터리/스키마/CLI/API/DB 마이그레이션 포함, 약 15개 파일).
- `auth_tokens.user_id`에 `service_principal.owner_user_id`(실제 user ID)를 저장하도록 소유권 모델을 교정하고, `get_token_principal()`의 `COALESCE` 우회 로직을 제거한다.
## 단계별 문서
- [Discovery](./1_discovery.md)
- [Index](./index.md)