Repository navigation
feat(comlog): 저장소 작업 기록 comlog - #43
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 트리거 단어와 저장소 comlog 사용 여부로 종류를 정해 post / comlog / 둘 다 작업을 한 트랜잭션에서 생성 (createDraftJobs, 자리 수만큼 확인) - 사용됨 범위(post_trigger / comlog / both)를 findConsumedShas 에 추가, 초안 작성 작업만 셈 - 회차 트리거가 할당량·속도 제한 등으로 막히면 범위 커밋 전부를 backlog 로 남기고 경계를 푸시 끝으로 - 실패 행은 종류마다, 실행기는 각각 시작하고 둘 다 실패했을 때만 경계를 되돌림 - push 웹훅에서 저장소 공개 여부를 갱신 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 밀린 커밋 기록·경계 이동을 실패 행보다 먼저 해 중간에 실패해도 재전송이 다시 기록 - 선점 뒤 회차가 할당량·속도 제한으로 막히면 경계를 되돌리지 않고 선점한 묶음을 밀린 커밋으로 - 실행기를 하나도 시작하지 못해 경계를 되돌리면 작업의 경계 선점 표시를 지움 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- /comlog: 공개 프로젝트 카드 목록 (실효 공개 회차가 있는 것만, 최근 회차 게시순, 카드에 최근 회차 시각) - /comlog/[프로젝트]: 소개(상태·기술 스택·GitHub·데모 링크) + 회차 목록(게시 시각, 작성자에게 비공개 표시) - /comlog/[프로젝트]/[회차]: 게시글과 같은 본문 + 이전/다음 회차, 짝 블로그 글 링크, 조회 기록 - 공개 판단은 lib/comlog/rules 함수로만, 볼 수 없으면 404, 일부 공개·비공개는 noindex - 오픈그래프 이미지(비로그인 기준 판정, 프로젝트는 대표 이미지 또는 이름 이미지), JSON-LD, 사이트맵 - 헤더·모바일 메뉴에 comlog 추가 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 회차 자체가 일부 공개면 작성자가 아닌 사람의 프로젝트 회차 목록·이전/다음에서 뺌 (주소로는 열림, noindex) - 공개 회차는 일부 공개 프로젝트를 주소로 연 사람에게도 목록에 나옴 - 작성자에게는 일부 공개 회차를 "일부 공개" 표시와 함께 보여 줌 - /comlog 2쪽 이후는 프로젝트가 없어도 마지막 쪽을 넘으면 404 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
배포 중 예전 화면이 draftKind 없이 보낸 요청을 invalid 로 막지 않도록 요청 종류 해석을 parseRequestedKind 로 모으고, jobs.ts 의 DraftKind 가져오기 위치를 정리합니다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 초안 목록 맨 위 comlog 항목(회차 수·상태), 회차 칸(밀린 커밋 안내·프로젝트 소개·회차 최신순·새 회차, 접기, 모바일 서랍) - 스튜디오 라우트를 (studio) 그룹으로 옮겨 /comlog 소개 편집과 /comlog/new 새 회차가 같은 레이아웃을 씀 - 회차를 열면 최근 완료 작업 커밋을 고른 상태로 시작하고, 고른 커밋이 다르면 "고른 커밋으로 다시 작성" - 커밋 목록의 밀림·적용됨 아이콘과 문구, 자동 초안이 꺼져 있어도 적용됨 표시 - 프로젝트 소개 편집: 이름·상태·소개·기술 스택·대표 이미지·GitHub 링크·데모 링크·공개 범위·작성자 표시, 꺼짐·숨김·프리셋 안내 - 일반 초안 항목에 짝 회차 링크 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 회차 위 "커밋 N개 · 날짜 범위" (불러온 커밋의 날짜로, 모르면 개수만) - 회차 화면의 커밋 목록은 회차 작업 기준 "회차에 사용됨", 일반 초안은 지금 규칙 그대로 (자동 초안이 꺼져 있어도 표시) - 회차 기본 옵션은 유형·길이를 "작업 기록 · 짧게" 로 고정해 보여 주고, 일반 글에 남은 worklog 는 기본 유형으로 - 회차를 열 때 반영 커밋으로 미리 고른 선택은 그 회차를 떠나면 비움 (새 회차·다른 회차·소개·일반 초안) - 고른 커밋 목록에 커밋 내역에 아직 불러오지 않은 SHA 도 담아, 보내는 커밋과 "다시 작성" 비교가 같은 집합을 봄 - 자동 초안 상태 조회는 초안 id 형식·소유를 먼저 확인, 프로젝트가 없는 소개 화면은 GitHub 를 부르지 않고 404 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- 막힌 회차 트리거의 푸시 끝이 경계보다 앞서지 않으면(identical·behind) 밀린 커밋도 경계 이동도 하지 않음 - 밀린 커밋 기록을 한 번 다시 시도하고, 다시 실패하면 auto-draft.backlog-failed 로 보고 (실패 행은 실제 사유) - 자동 초안 실행 뒤 보고를 항상 전송 (after 안에서 삼킨 오류가 사라지지 않게) - 일반 글 작업은 worklog 로 돌지 않게 하고, 저장소 기본 옵션 저장도 고를 수 있는 글 종류만 받음 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 목록에 오를 회차가 하나도 없으면 프로젝트 페이지는 noindex·JSON-LD 없음, 사이트맵에서도 뺌 - 판단은 rules 의 isIndexableProject 한 곳에서 (/comlog 목록 규칙과 같음) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 프로젝트 소개 저장: 객체가 아닌 입력은 500 대신 invalid - 회차 작성 화면(새 회차·회차 열기)에도 프리셋 권장 안내 - 게시 액션이 공용 comlog 캐시 비우기 함수를 씀 - 설계 §13 검수 항목을 §12 와 맞춤 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
요약
연결한 저장소의 작업을 회차 단위로 꾸준히 기록·공개하는 comlog 를 추가합니다. 설계:
docs/superpowers/specs/2026-12-01-comlog-design.md, 계획:docs/superpowers/plans/2026-12-01-comlog.md.동작
[comdraft]트리거가 회차 초안을 만들고,[comdraft] post는 블로그 글,[comdraft] post log는 둘 다 (쿼터 두 번)worklog·길이short고정, 이전 회차 맥락은 넘기지 않음 (프리셋 권장 안내)/comlog목록 → 프로젝트(소개 + 회차) → 회차 상세, 공개/일부 공개/비공개 (더 좁은 쪽), 회차는/posts·게시글 사이트맵·관리자 게시글 집계에 섞이지 않음DB
0031_perpetual_marauders.sql(운영 적용 완료)배포 순서
comdraft-lambda (
worklog글 종류) 를 먼저 배포한 뒤 이 PR 을 병합합니다.테스트
tsc --noEmit, 바뀐 파일 eslint·prettier,pnpm build(개발 환경 값) 통과/posts섞임 없음post log로 짝 초안 두 개, 재전송 중복 없음, AI 중지 상태의 회차 트리거 → 실패 기록 + 밀린 커밋 + 기준점 이동, 기준점보다 오래된 푸시는 기준점 유지배포 뒤 할 일
/comlog읽기 추가 (확인 후 반영)🤖 Generated with Claude Code