Skip to content

feat(001): US2 — 두-검증 앵커 보존·중복 PMID 경고 (T008~T009) #3

@BenKorea

Description

@BenKorea

현상/목표

Phase 4 / User Story 2 — 두-검증 앵커(검증 A/B·guideline 앵커) 보유·검증.

수정 범위

  • T008: src/common/kq.py — guideline 앵커(name/pmid/date=T)·guideline_refs·post_guideline_landmarks 필드 처리(형태 검증) + 검증규칙 5(검증 A∩B 중복 PMID 경고) 추가 (data-model.md)
  • T009: src/common/kq_spec.md — 검증 앵커 규칙·FR-006 매핑 반영

검증

  • uv run pytest tests/unit 전체 통과 (신규 test_kq.py 포함)
  • uv run python -m alert.validate_kq 검증 A 8/9·B 2/2 불변
  • 헌법 XI: kq.py ≤300줄, kq_spec.md ≤200줄

Independent Test

앵커 달린 KQ 로드 시 필드 보존 + 중복 PMID(A∩B) 경고.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions