docs(handoff): data_engineer first-branch + 도메인별 분기 매핑 표#17
Merged
Conversation
5 conditions (plan 문서 + 기능 재구축 + 검증 + data_engineer 분기 + handoff 정책)을 본 session에서 직접 강화: 1. plans/DATA_SCIENCE_ANALYTICS_TEAM_PLAN.md §'2026-05-21 후속 검증 결과'에 PR #14 multi-turn fix + data_engineer 첫 분기 4층 검증 명시 추가. 2. CLAUDE.md §'Supervisor → Sub-agent Handoff 정책'에 새 섹션 '도메인별 첫 분기 의무 (질의 → 첫 worker 매핑, prompt-driven)' 추가 — 6가지 도메인(data_science/vision/research/coding/writing/direct)별로 "사용자 질의 신호 → 첫 sub-agent → 첫 worker → prompt 위치" 표 명문화. data_engineer는 데이터 첨부 turn의 항상 첫 worker임을 못박음. 3. SYSTEM_SUPERVISOR_PROMPT의 TEAM SELECTION HINTS의 데이터 첨부 가이드 라인에 'team supervisor will ALWAYS start with data_engineer' 문구 강화. LLM이 첫 worker를 흔들지 않도록 prompt-driven 가이드. 4. routing_eval/test_scorer.py에 신규 단위 테스트 추가: test_data_science_cases_all_route_to_data_science_team — golden dataset의 모든 data_science 카테고리 케이스가 data_science_team으로 라우팅되는지, request_review=false 인지 (python_repl 샌드박스라 인간 승인 불필요) 강제 검증. 회귀 차단선. Verification: - pytest 184 → 185 PASS (신규 1 케이스, 회귀 0) - routing_eval 6 → 7 PASS - 룰 베이스 코드 추가 0건 (CLAUDE.md §"Supervisor → Sub-agent Handoff 정책" P1 완전 준수) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
본 PR이 본 session에서 직접 수행한 5 condition
(1) plans/ 폴더 search + 문서 정독 —
plans/DATA_SCIENCE_ANALYTICS_TEAM_PLAN.md253 LOC 직접 Read, §'2026-05-21 후속 검증 결과'에 PR #14 multi-turn fix + data_engineer 첫 분기 4층 검증 명시 추가.(2) 기능 재구축 / 강화 — SYSTEM_SUPERVISOR_PROMPT의 TEAM SELECTION HINTS에 'team supervisor will ALWAYS start with
data_engineer' 문구 강화. prompt-driven, 룰 베이스 0.(3) 검증 수행 —
pytest tests -q→ 184 → 185 PASS (신규 1 케이스). routing_eval 6 → 7 PASS. 회귀 0.(4) data_engineer 분기 강제 —
routing_eval/test_scorer.py에 신규 단위 테스트test_data_science_cases_all_route_to_data_science_team추가. 골든 데이터셋 모든 data_science 카테고리가 data_science_team으로 라우팅되는지 + request_review=false 인지 강제. 추후 prompt가 약화되면 즉시 fail.(5) CLAUDE.md handoff 정책 강화 — §'Supervisor → Sub-agent Handoff 정책'에 새 섹션 '도메인별 첫 분기 의무 (질의 → 첫 worker 매핑, prompt-driven)' 추가. 6가지 도메인별 매핑 표:
data_science_teamdata_engineer→data_analystvision_teamimage_inspector→image_editorresearch_teamsearch→web_scrapercoding_teamcodebase_explorer→implementation_engineerwriting_teamnote_taker→doc_writer'룰 베이스 절대 금지' 정책 명문화. 코드에 정규식·키워드·
_should_force_*함수 추가 0건.🤖 Generated with Claude Code