feat: ABM 시뮬 UX 개선 + 가맹사업법 후보지 영업구역 평가 연계#186
Merged
Conversation
backend: - legal node: vacancy_spot_analyses → spot_evaluations (rank/level/summary) 가공, franchise_law risk 에 attach - legal specialists: territory_radius_m 사용자 정의값 동적 반영 - competitor_intel: winner 매물 좌표 기준 카니발 분석 + 캐시 v3→v4 - main.py / abm_simulation_service: ABM Redis 캐시 TTL 1h→24h (재시뮬 비용 절감) - main.py: cache SET 로그 메시지 ttl=86400s 동기화 frontend: - types: LegalSpotEvaluation 타입 추가, LegalRisk.spot_evaluations 옵셔널 필드 - InsightsGrid: 후보지 영업구역 침해 점검 카드 4개 (rank/dong/level/summary) 추가 - AbmPersonaMap: preview 100→300, agent wandering drift 5배, action 별 시각 강화, click hit-test 18px, 디버그 console.log 3개 제거 - AgentMapVisualizer: competitor 라벨 숨김 → 클릭 popup + 비교반경원 - AbmTab: vacancy_spots 상권분석과 동기화 (winner 동만 score top4), same_brand_locations 자사 매장 별도 marker - AbmFloatingWidget: /dashboard/abm 라우트 차단 제거 (시뮬 진행 중 widget 유지) - abmStore: sessionStorage→localStorage (탭 닫음 후 결과 보존) chore: - .gitignore: backend/data/legal/processed/_embedding_cache.pkl 추가 - docs/retrospective/2026-05-04.md: 세션 로그 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
주요 변경
backend
nodes/legal.py:vacancy_spot_analyses→spot_evaluations가공,franchise_lawrisk 에 attachlegal/specialists.py: 사용자 정의territory_radius_m동적 반영nodes/competitor_intel.py: winner 매물 좌표 기준 카니발 분석 + 캐시 v3→v4main.py/abm_simulation_service.py: ABM 캐시 TTL 1h→24h, 로그 메시지 동기화frontend
types/index.ts:LegalSpotEvaluation타입 +LegalRisk.spot_evaluations필드InsightsGrid.tsx: 후보지 영업구역 침해 점검 카드 4개 (1등/2등/3등/4등 + danger/caution/safe)AbmPersonaMap.tsx: preview 100→300, agent drift 5배, click hit-test 18px, 디버그 log 3개 제거AgentMapVisualizer.tsx: competitor 라벨 → 클릭 popup + 비교반경원AbmTab.tsx: vacancy_spots 상권분석 동기화, same_brand_locations 자사 매장 별도 markerAbmFloatingWidget.tsx: /dashboard/abm 라우트 차단 제거abmStore.ts: sessionStorage→localStoragechore
.gitignore:_embedding_cache.pkl추가Test plan
cd backend && uvicorn src.main:app --reload시작cd frontend && npm run dev시작🤖 Generated with Claude Code