fix(harness): English document section titles in build_documents
This commit is contained in:
@@ -170,15 +170,15 @@ def build_documents(manifest: SessionManifest, session_dir: Path) -> list[dict]:
|
|||||||
"""Ordered, read-only document bundle for the UI panel. Only documents that exist
|
"""Ordered, read-only document bundle for the UI panel. Only documents that exist
|
||||||
on disk are returned. CTE artifacts (F6) are intentionally excluded (intermediate)."""
|
on disk are returned. CTE artifacts (F6) are intentionally excluded (intermediate)."""
|
||||||
docs: list[dict] = [{
|
docs: list[dict] = [{
|
||||||
"phase": "—", "key": "question", "title": "Domanda originale",
|
"phase": "—", "key": "question", "title": "Original question",
|
||||||
"format": "text", "content": manifest.question,
|
"format": "text", "content": manifest.question,
|
||||||
}]
|
}]
|
||||||
spec = [
|
spec = [
|
||||||
("question.md", "F3", "revised_question", "Domanda rivista", "markdown"),
|
("question.md", "F3", "revised_question", "Revised question", "markdown"),
|
||||||
("schema_linking.json", "F4", "schema_linking", "Schema linking", "schema-linking"),
|
("schema_linking.json", "F4", "schema_linking", "Schema linking", "schema-linking"),
|
||||||
("sql_final.sql", "F7", "sql", "SQL finale", "sql"),
|
("sql_final.sql", "F7", "sql", "Final SQL", "sql"),
|
||||||
("validation_report.md", "finalize", "validation_report", "Report di validazione", "markdown"),
|
("validation_report.md", "finalize", "validation_report", "Validation report", "markdown"),
|
||||||
("review_decisions.jsonl", "—", "decisions", "Decisioni", "decisions"),
|
("review_decisions.jsonl", "—", "decisions", "Decisions", "decisions"),
|
||||||
]
|
]
|
||||||
for filename, phase, key, title, fmt in spec:
|
for filename, phase, key, title, fmt in spec:
|
||||||
path = session_dir / filename
|
path = session_dir / filename
|
||||||
|
|||||||
Reference in New Issue
Block a user