Repository navigation
docs: 반 이동 기록 — 네비게이터가 어느 반에서 언제 왔는지 보고, 옛 반 출석을 새 반 출석부에 표시 - #511
Merged
Merged
Conversation
- share 11-19: 새 표 STUDY_PARTICIPANT_GROUP_MOVE 에 반 이동을 남긴다 (감사 로그를 쓰지 않는 이유 포함) - ERD: 새 표 문서, STUDY_PARTICIPANT 의 반 이동 이력 미확정 닫음 - study-group: 반 이동 단계에서 기록 한 줄 (반 이름 복사, 옮긴 캡틴은 응답에 안 냄) - attendance: 출석률을 반별 구간으로, 명부 조회에 groupMoves · movedOut (네비게이터 · 캡틴만) - my-studies · dashboard: 같은 구간 규칙 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 개인 출석률 · 완주 점수판은 있었던 반의 구간을 모두 합산, 반 평균은 그 반 구간만 - 새 반 출석부가 옛 반 기록을 회차 번호로 맞춰 「A반」 표시와 함께 보여 준다 (출석 행은 옮기지 않음) - attendance: recordedGroupName · otherGroupAttendances, 가져온 칸 저장은 400 - share 11-19: 이전 결정과 달라진 점, 해석 3개 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요약
반을 옮기면 기록이 남지 않아서, 네비게이터는 크루가 어느 반에서 언제 왔는지 알 수 없었습니다. 반을 지우면 반 이름까지 사라집니다. 반 이동을 새 표에 기록하고, 출석부와 출석률 규칙을 정한 기획·스펙 PR 입니다. 코드는 바꾸지 않았습니다.
결정 배경:
docs/share/2026-11-19-group-move-log.md정한 것
STUDY_PARTICIPANT_GROUP_MOVE: 반이 실제로 바뀐 명부 행마다 한 줄을 남깁니다. 옛 반·새 반의 ID와 그때 이름, 옮긴 시각, 옮긴 캡틴이 들어갑니다. 반 이동과 같은 트랜잭션에 쓰고, 반에 FK를 걸지 않아서 반을 지워도 남습니다.ADMIN_AUDIT_LOG)를 쓰지 않는 이유는 share 문서에 적었습니다. 감사 로그에는 IP 같은 민감 기록이 있고, 보관 기한이 개인정보 정책에 묶여 있으며, 반 ID를 담을 칸이 없습니다.변경 사항
docs/share/2026-11-19-group-move-log.md(새 문서)와 share 목록docs/erd/STUDY_PARTICIPANT_GROUP_MOVE.md(새 문서). ERD README에 표를 추가했고,STUDY_PARTICIPANT.md의 「반 이동 이력」 미확정 항목을 닫았습니다.specs/study-group/spec.md: 반 이동 단계에 기록 규칙을 넣고, 「시작 뒤 반 이동」 미결 항목을 닫았습니다.specs/attendance/spec.md: 반별 구간 산식,groupMoves·movedOut·recordedGroupName·otherGroupAttendances필드, 가져온 칸을 저장하면 400specs/my-studies/spec.md,specs/dashboard/spec.md: 같은 출석률 규칙확인 필요 (share 「해석」)
다음 PR
AttendanceRateCalculator구간 계산, 명부 응답 필드, 테스트체크리스트
Self Review
console.log/println/ 디버그 코드를 제거했다 (해당 없음)테스트
node scripts/check-dev-scope.mjs통과)보안 (PUBLIC 레포)
.env파일이 커밋에 포함되지 않았다기타
V{n}__*.sql마이그레이션을 같이 넣었다 (구현 PR에서 V60)01-planning/stories/**또는frontend/apps/playground/**/spec.ts를 건드렸다면pnpm --filter playground export-specs --check통과 확인 (건드리지 않음)팀 공유
docs/share/2026-11-19-group-move-log.md🤖 Generated with Claude Code