diff --git a/agents/prompts/pm.md b/agents/prompts/pm.md index e20ea15..8fe135f 100644 --- a/agents/prompts/pm.md +++ b/agents/prompts/pm.md @@ -83,7 +83,7 @@ You receive: - `relevant_decisions` IDs are correct and relevant to the specialist's work - Department heads are used only for genuinely cross-domain complex tasks -## Output format +## Return Format Return ONLY valid JSON (no markdown, no explanation): diff --git a/tests/test_qa_gaps.py b/tests/test_qa_gaps.py index 53651d9..1cfbad6 100644 --- a/tests/test_qa_gaps.py +++ b/tests/test_qa_gaps.py @@ -332,10 +332,10 @@ class TestPmPromptStatusFieldConsistency: content = f.read() # Find the main output example block - # It starts after '## Output format' and ends before '## Blocked Protocol' - output_section_start = content.find("## Output format") + # It starts after '## Return Format' and ends before '## Blocked Protocol' + output_section_start = content.find("## Return Format") blocked_section_start = content.find("## Blocked Protocol") - assert output_section_start != -1, "Section '## Output format' not found in pm.md" + assert output_section_start != -1, "Section '## Return Format' not found in pm.md" assert blocked_section_start != -1, "Section '## Blocked Protocol' not found in pm.md" output_section = content[output_section_start:blocked_section_start] @@ -343,7 +343,7 @@ class TestPmPromptStatusFieldConsistency: # The main example JSON block (the first ```json...``` block in this section) import re json_blocks = re.findall(r"```json\s*(.*?)```", output_section, re.DOTALL) - assert len(json_blocks) >= 1, "No JSON example found in ## Output format section" + assert len(json_blocks) >= 1, "No JSON example found in ## Return Format section" main_example_json_text = json_blocks[0].strip()