Merge branch 'KIN-DOCS-002-backend_dev'

This commit is contained in:
Gros Frumos 2026-03-19 14:54:49 +02:00
commit e9285042ae
2 changed files with 5 additions and 5 deletions

View file

@ -83,7 +83,7 @@ You receive:
- `relevant_decisions` IDs are correct and relevant to the specialist's work - `relevant_decisions` IDs are correct and relevant to the specialist's work
- Department heads are used only for genuinely cross-domain complex tasks - Department heads are used only for genuinely cross-domain complex tasks
## Output format ## Return Format
Return ONLY valid JSON (no markdown, no explanation): Return ONLY valid JSON (no markdown, no explanation):

View file

@ -332,10 +332,10 @@ class TestPmPromptStatusFieldConsistency:
content = f.read() content = f.read()
# Find the main output example block # Find the main output example block
# It starts after '## Output format' and ends before '## Blocked Protocol' # It starts after '## Return Format' and ends before '## Blocked Protocol'
output_section_start = content.find("## Output format") output_section_start = content.find("## Return Format")
blocked_section_start = content.find("## Blocked Protocol") 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" assert blocked_section_start != -1, "Section '## Blocked Protocol' not found in pm.md"
output_section = content[output_section_start:blocked_section_start] 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) # The main example JSON block (the first ```json...``` block in this section)
import re import re
json_blocks = re.findall(r"```json\s*(.*?)```", output_section, re.DOTALL) 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() main_example_json_text = json_blocks[0].strip()