ci: 카탈로그 자동화 액션 7종 + 채점/발굴 시스템#1
Merged
Merged
Conversation
- validate-catalog: PR/push 시 frontmatter + schema 검증 - link-check: source/upstream URL 살아있는지 (PR + 주1회) - update-readme-index: catalog 변경 시 카테고리 README 자동 갱신 - monthly-borderline-rescore: 매달 borderline 항목 Pop+Act 재채점 - quarterly-full-rescore: 분기 전체 재채점 + borderline 리스트 갱신 - quarterly-rediscovery: 분기 GitHub Search로 신규 후보 자동 발굴 scripts/automation.py — 단일 CLI (score/rescore/discover/render-index) - docs/scoring.md 5요소 룰 따름 - Pop+Act만 자동, Reviews/Quality/Trust는 수동값 유지 - AI 카테고리 6개월 freshness rule → 자동 Tier 3 강등 - 강등 시 frontmatter status: archived, README에 ~~취소선~~ _status/ 디렉토리 신설 - borderline.json: 컷트라인 ±2 자동 추적 - candidates.json: 신규 발굴 후보 누적 (분기 PR로 비움) - history.jsonl: 모든 점수 변동 append-only 이력
…imit - write_frontmatter 폐기 → update_frontmatter (in-place 키 치환) 이전 구현은 URL 값에 따옴표를 추가해 2회차 rescore에서 source/upstream 파싱이 깨지고 모든 엔트리가 skip되는 시한폭탄. 새 구현은 원본 frontmatter 텍스트를 보존하고 score/status 키만 regex 치환. multi-line scalar, 키 순서, 따옴표 정책 모두 그대로 유지. - borderline-only 모드: 기존엔 borderline.json 갱신을 건너뛰어 Tier 올라간 항목이 계속 borderline에 남아 매달 재채점되는 무한 반복. rescore된 항목 결과로 borderline 리스트 patch. - discover: GitHub Search API rate limit (10 req/min) 준수. gh_search 호출 사이 7초 sleep. 검증: catalog 23개 entry 전수 round-trip + 2회차 idempotency 통과.
Owner
Author
셀프 리뷰 + 수정 (16d7e15)code-reviewer 에이전트로 독립 리뷰 돌리고 블로커 2개 + 중요 1개 수정했어. 발견 → 수정Critical 1 — URL 값 round-trip 파괴 (실측 확인됨)
Critical 2 — borderline-only 무한 반복
Important — discover rate limit
검증
보류
|
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.
Summary
scripts/automation.py단일 CLI +_status/상태 디렉토리docs/scoring.md5요소 룰 그대로 따름. Pop+Act만 자동, 나머지 3개(Reviews/Quality/Trust)는 수동값 유지워크플로우 6종
validate-catalog.ymlvalidate-catalog.sh호출)link-check.ymlupdate-readme-index.ymlcatalog/<cat>/README.md자동 갱신monthly-borderline-rescore.ymlquarterly-full-rescore.ymlquarterly-rediscovery.yml채점 정책 (디스커션 합의)
docs/scoring.md)21 / 1114 (각 컷 ±2)status: archived, README에서취소선처리status: active복귀새 파일/구조
scripts/automation.py—score / rescore / discover / render-indexsubcommandscripts/render_candidates_table.py— PR 본문용 후보 표 렌더 헬퍼_status/borderline.json— 컷트라인 근접 항목 자동 추적_status/candidates.json— 신규 발굴 후보 (분기 PR로 비움)_status/history.jsonl— 모든 점수 변동 append-only 이력catalog/_schema/entry.schema.json—score객체 +statusenum 필드 추가catalog/<cat>/README.md× 8 — 자동 생성 인덱스Test plan
bash scripts/validate-catalog.sh로컬 통과 확인 (이미 ✅)workflow_dispatch로 quarterly-rediscovery 1회 실행해서 임계값 적정성 확인MIN_STARS/MIN_POP_ACT조정 검토Notes
GITHUB_TOKEN자동 인증bot/...)로 push 후 자동 PR 생성 — 사람 검토 후 머지