fix: 리뷰어에게 전체 내용 전달 - 모든 truncation 제거

This commit is contained in:
2026-03-06 22:28:50 +09:00
parent ee71d7713d
commit 7777ca1ba7

View File

@@ -134,7 +134,7 @@ class TaskPipeline:
# 에이전트 보고 요약 # 에이전트 보고 요약
agent_reports = [] agent_reports = []
for i, output in enumerate(code_outputs): for i, output in enumerate(code_outputs):
agent_reports.append(f"--- Agent {i+1} 보고 ---\n{output[:1000]}") agent_reports.append(f"--- Agent {i+1} 보고 ---\n{output}")
# 최근 변경된 파일 읽기 (10분 이내) # 최근 변경된 파일 읽기 (10분 이내)
recent_files = [] recent_files = []
@@ -151,7 +151,7 @@ class TaskPipeline:
rel = fpath.relative_to(project_root) rel = fpath.relative_to(project_root)
content = fpath.read_text(encoding="utf-8", errors="replace") content = fpath.read_text(encoding="utf-8", errors="replace")
recent_files.append( recent_files.append(
f"### {rel}\n```\n{content[:3000]}\n```" f"### {rel}\n```\n{content}\n```"
) )
except (OSError, UnicodeDecodeError): except (OSError, UnicodeDecodeError):
continue continue
@@ -164,7 +164,7 @@ class TaskPipeline:
"issues": [], "issues": [],
} }
files_section = "\n\n".join(recent_files[:10]) # 최대 10개 files_section = "\n\n".join(recent_files)
prompt = ( prompt = (
f"## 요청된 태스크\n{chr(10).join(task_summaries)}\n\n" f"## 요청된 태스크\n{chr(10).join(task_summaries)}\n\n"