feat(aggregation): Implement sub-agent summarization pass

This commit is contained in:
2026-05-04 04:52:40 -04:00
parent d85514eb4f
commit 76c4ce3677
4 changed files with 147 additions and 4 deletions
+29
View File
@@ -179,3 +179,32 @@ RULES:
Analyze this error and generate the patch:
"""
TIER4_SUMMARIZE_CODE_PROMPT: str = """You are a Tier 4 QA Agent specializing in code summarization.
Your goal is to provide a concise, high-signal summary of the provided code file.
Focus on the primary responsibility of the module and its key architectural components.
INPUT:
- File Path: {file_path}
- Heuristic Outline: {outline}
- Raw Content:
{content}
OUTPUT REQUIREMENT:
Provide a 1-2 sentence high-level summary followed by a brief bulleted list of key features or responsibilities.
Keep it extremely concise. Do NOT repeat the outline.
"""
TIER4_SUMMARIZE_TEXT_PROMPT: str = """You are a Tier 4 QA Agent specializing in document summarization.
Your goal is to provide a concise, high-signal summary of the provided text/markdown file.
INPUT:
- File Path: {file_path}
- Heuristic Outline: {outline}
- Raw Content:
{content}
OUTPUT REQUIREMENT:
Provide a 1-2 sentence high-level summary of the document's purpose and key takeaways.
Keep it extremely concise.
"""