fix(report): bind v2 chart cap to CHART_IDS.length
Five-theme personal_full assembled nine charts after health vargas landed, but the document schema still capped at six. Bind the count to the enum, align JSON/Python contracts, and log final-parse paths without values. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -109,10 +109,13 @@
|
||||
"enum": [
|
||||
"D1",
|
||||
"D2",
|
||||
"D6",
|
||||
"D8",
|
||||
"D9",
|
||||
"D10",
|
||||
"D11",
|
||||
"D24"
|
||||
"D24",
|
||||
"D30"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
@@ -736,7 +739,8 @@
|
||||
"$ref": "#/definitions/chart"
|
||||
},
|
||||
"minItems": 1,
|
||||
"maxItems": 6
|
||||
"maxItems": 9,
|
||||
"description": "maxItems must equal CHART_IDS.length in frontend/src/lib/personal-report-contract.ts"
|
||||
},
|
||||
"thematicNarrative": {
|
||||
"type": "array",
|
||||
|
||||
Reference in New Issue
Block a user