Skip to content

fix(core): duplicate 액션 우선순위 보정#98

Merged
JeremyDev87 merged 1 commit into
masterfrom
fix/94-action-ranking-dedupe
May 5, 2026
Merged

fix(core): duplicate 액션 우선순위 보정#98
JeremyDev87 merged 1 commit into
masterfrom
fix/94-action-ranking-dedupe

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

배경

duplicate hygiene 항목이 실제 source/artifact 성능 evidence 작업보다 높은 Top next actions로 보이면 사용자가 먼저 해야 할 일을 잘못 판단할 수 있습니다.

변경 사항

  • action ranking에 내부 bucket을 추가해 source/artifact 성능 작업, production-likely duplicate, unknown duplicate, dev-only duplicate 순서를 고정했습니다.
  • 같은 bucket 안에서는 기존 정렬 기준인 estimated KB, confidence, difficulty, finding id 순서를 유지했습니다.
  • duplicate dedupe fix hint를 same-major high-confidence duplicate에만 유지하고, dev-only 또는 major mismatch duplicate에는 노출하지 않게 했습니다.
  • ranking 및 fix hint regression test를 추가했습니다.

검증

  • cargo test -p legolas-core --test action_plan
  • cargo test -p legolas-core --test intelligence_impact
  • cargo test --workspace
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo fmt --all --check
  • git diff --check
  • $devils-advocate-review-loop: Critical 0 / High 0 / Medium 0 / Low 0

브랜치 / 워크트리

  • base: master
  • branch: fix/94-action-ranking-dedupe
  • worktree: /private/tmp/legolas-wave1-20260505/issue-94-action-ranking-dedupe

이슈 연결

Closes #94

성능 evidence 기반 액션이 duplicate hygiene보다 먼저 나오도록 rank bucket을 추가하고, same-major high-confidence duplicate에만 dedupe fix hint를 유지한다.

Closes #94
@JeremyDev87 JeremyDev87 added test fix Bug fixes labels May 5, 2026
@JeremyDev87

Copy link
Copy Markdown
Owner Author

독립 fresh-session 리뷰 결과

  • Verdict: APPROVE
  • Severity Summary: Critical 0 / High 0 / Medium 0 / Low 0
  • Findings: 없음
  • Rationale: 원격 PR diff 기준 변경 범위가 action_plan.rs와 관련 테스트로 제한되어 있고, 랭킹 bucket 및 dedupe hint 조건이 이슈 [Sub] Top actions 랭킹과 dedupe hint 안전화 #94 완료 기준과 일치합니다. cargo test -p legolas-core --test action_plan 재실행이 통과했고, 확인 시점의 PR 체크도 모두 통과 상태라 Critical/High 차단 이슈가 없습니다.

@JeremyDev87 JeremyDev87 self-assigned this May 5, 2026
@JeremyDev87 JeremyDev87 marked this pull request as ready for review May 5, 2026 12:30
@JeremyDev87 JeremyDev87 merged commit dcee23d into master May 5, 2026
8 checks passed
@JeremyDev87 JeremyDev87 deleted the fix/94-action-ranking-dedupe branch May 5, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fixes test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sub] Top actions 랭킹과 dedupe hint 안전화

1 participant