Files
hanarang-rails/Plans.md
이랑이 da85b92a6b feat(sprint-006): QA template runtime — 다랑이 체크리스트 실행
Sprint 006 전체 구현 — F3/F2 의 QA 측면 완성:

Schema:
- src/qa/schema.ts — QaTemplate, QaChecklistResult, QaArtifact Zod 스키마
- Zod + DodCheck 재사용

Templates (6종 YAML):
- qa-templates/scaffold-v1.yaml — README/LICENSE/gitignore/lockfile/strict
- qa-templates/feature-v1.yaml — tests/typecheck/no-console/no-any/tests-added
- qa-templates/bugfix-v1.yaml — regression-test/root-cause/no-scope-creep
- qa-templates/refactor-v1.yaml — tests/typecheck/no-behavior-change
- qa-templates/migration-v1.yaml — rollback/dry-run/data-loss/backup (critical)
- qa-templates/infra-v1.yaml — config-validated/secrets/rollback

Core:
- src/qa/template.ts — YAML loader, extends 체인 resolution, 프로젝트별 extras
- src/qa/verdict.ts — verdict 규칙 (critical/major → REQUEST_CHANGES,
  minor/recommendation 만 → APPROVE_WITH_NITS, 절대 REQUEST_CHANGES 안 됨)
- src/qa/runtime.ts — runQaTemplate: Contract check handlers 재사용
  manual 체크는 resolver 주입 가능 (없으면 SKIP 기본값)

CLI:
- rails qa run <type> [-s sprint-id] [-w workdir]
- rails qa show <artifact-id>
- rails qa templates  (목록)

Tests (19 신규, 101 total pass):
- computeVerdict 7가지 시나리오 (APPROVE / APPROVE_WITH_NITS / REQUEST_CHANGES / ABORT)
- minor-only 는 절대 REQUEST_CHANGES 안 된다는 rule 명시 테스트
- Template loader + listTemplates + extends merge
- runtime: file_exists pass/fail + manual resolver 주입 + artifact 저장
- scaffold-v1 실파일 로드 확인

검증: tsc --noEmit ✓ | vitest 101/101 ✓ | build ✓
       rails qa templates → 6개 전부 출력 ✓

사용자 메모리 feedback_qa_thorough.md 준수:
  - 체크 항목 수 제한 없음
  - 각 템플릿이 타입별로 세분화됨

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 15:46:58 +09:00

2.0 KiB
Raw Blame History

Plans.md — hanarang-rails

루트 인덱스만. 상세는 .plans/sprints/*.md 참조. 포맷: v2 (Task / 내용 / DoD / Depends / Status)

📖 관련 문서

Sprint 목차

# Sprint 상세 Status
0 세이프티 네트 + 실패 감사 + 프로젝트 세팅 SPRINT-000 cc:완료 [bac114d]
1 스켈레톤: XState FSM + orchestrator + .plans/ 스캐폴딩 SPRINT-001 cc:완료 [PR#1]
2 Skill 강제 진입 hook + bypass 감지 + 차단 SPRINT-002 cc:완료 [PR#2]
3 Sprint Contract + DoD validator (Zod) SPRINT-003 cc:완료 [PR#3]
4 4자매 핸드오프 엔진 (상태 전이 기반) SPRINT-004 cc:완료 [PR#4]
5 재시도 / 타임아웃 / 에스컬레이션 policy SPRINT-005 cc:완료 [PR#5]
6 QA 체크리스트 템플릿 + 다랑이 runtime SPRINT-006 cc:WIP
7 기존 프로젝트 마이그레이션 (아랑 등) SPRINT-007 cc:TODO

현재 스프린트

Sprint 006 — QA 체크리스트 템플릿 + 다랑이 runtime (cc:TODO)

다음 착수 예정. 상세는 .plans/sprints/SPRINT-001-skeleton.md 참조.

마커 범례

마커 의미
cc:TODO 미착수
cc:WIP 작업 중
cc:blocked 의존 대기
cc:완료 [hash] 완료 (commit hash)