changedOutput schema / properties / result / anyOf
Previous value: -[
- {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "clarification": {
- "additionalProperties": false,
- "properties": {
- "defaultAssumptions": {
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
- },
- "missingFields": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "questions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "defaultAssumption": {
- "type": "string"
- },
- "field": {
- "type": "string"
- },
- "options": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "priority": {
- "type": "string"
- },
- "question": {
- "type": "string"
- },
- "whyImportant": {
- "type": "string"
- }
- },
- "required": [
- "field",
- "question",
- "whyImportant",
- "options",
- "defaultAssumption",
- "priority"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "missingFields",
- "questions",
- "defaultAssumptions"
- ],
- "type": "object"
- },
- "readiness": {
- "additionalProperties": false,
- "properties": {
- "fields": {
- "additionalProperties": {
- "additionalProperties": false,
- "properties": {
- "present": {
- "type": "boolean"
- },
- "value": {
- "type": "string"
- },
- "weight": {
- "type": "number"
- }
- },
- "required": [
- "weight",
- "present"
- ],
- "type": "object"
- },
- "type": "object"
- },
- "score": {
- "type": "number"
- },
- "status": {
- "enum": [
- "Not Ready",
- "Draft Ready",
- "Build Ready"
- ],
- "type": "string"
- }
- },
- "required": [
- "score",
- "status",
- "fields"
- ],
- "type": "object"
- },
- "recommendation": {
- "additionalProperties": false,
- "properties": {
- "canProceed": {
- "type": "boolean"
- },
- "reason": {
- "type": "string"
- },
- "suggestedNextTool": {
- "enum": [
- "spec_compile",
- "spec_interrogate"
- ],
- "type": "string"
- }
- },
- "required": [
- "canProceed",
- "suggestedNextTool",
- "reason"
- ],
- "type": "object"
- }
- },
- "required": [
- "readiness",
- "clarification",
- "recommendation"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "enum": [
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- },
- "translation": {
- "additionalProperties": false,
- "properties": {
- "codeHints": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "frontendTerms": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "identifiedIntent": {
- "type": "string"
- },
- "modificationPrompt": {
- "type": "string"
- },
- "originalDescription": {
- "type": "string"
- },
- "suggestedComponent": {
- "type": "string"
- }
- },
- "required": [
- "originalDescription",
- "identifiedIntent",
- "frontendTerms",
- "modificationPrompt",
- "suggestedComponent",
- "codeHints"
- ],
- "type": "object"
- }
- },
- "required": [
- "translation",
- "confidence"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "canDiagnoseNow": {
- "type": "boolean"
- },
- "guide": {
- "additionalProperties": false,
- "properties": {
- "checklist": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "commonIssues": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "knownInfo": {
- "additionalProperties": {},
- "type": "object"
- },
- "platform": {
- "type": "string"
- },
- "requiredInfo": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "type": "string"
- },
- "field": {
- "type": "string"
- },
- "how_to_get": {
- "type": "string"
- },
- "priority": {
- "type": "string"
- }
- },
- "required": [
- "field",
- "description",
- "how_to_get",
- "priority"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "troubleshootingSteps": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "platform",
- "requiredInfo",
- "knownInfo",
- "checklist",
- "commonIssues",
- "troubleshootingSteps"
- ],
- "type": "object"
- },
- "missingRequiredInfo": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "guide",
- "missingRequiredInfo",
- "canDiagnoseNow"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "blockers": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "decision": {
- "additionalProperties": false,
- "properties": {
- "aiKeyRisk": {
- "type": "boolean"
- },
- "canBeFrontendOnly": {
- "type": "boolean"
- },
- "mvpSuggestion": {
- "type": "string"
- },
- "needAdmin": {
- "type": "boolean"
- },
- "needAuth": {
- "type": "boolean"
- },
- "needBackend": {
- "type": "boolean"
- },
- "needLogging": {
- "type": "boolean"
- },
- "needSeparation": {
- "type": "boolean"
- },
- "paymentRisk": {
- "type": "boolean"
- },
- "productionSuggestion": {
- "type": "string"
- },
- "reasoning": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "recommendedDatabase": {
- "type": "string"
- }
- },
- "required": [
- "canBeFrontendOnly",
- "needBackend",
- "needSeparation",
- "recommendedDatabase",
- "needAuth",
- "needAdmin",
- "needLogging",
- "paymentRisk",
- "aiKeyRisk",
- "mvpSuggestion",
- "productionSuggestion",
- "reasoning"
- ],
- "type": "object"
- },
- "riskLevel": {
- "enum": [
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- }
- },
- "required": [
- "decision",
- "riskLevel",
- "blockers"
- ],
- "type": "object"
- }
- ]
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "clarification": {
+ "additionalProperties": false,
+ "properties": {
+ "defaultAssumptions": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "missingFields": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "questions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "defaultAssumption": {
+ "type": "string"
+ },
+ "example": {
+ "type": "string"
+ },
+ "field": {
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "priority": {
+ "type": "string"
+ },
+ "question": {
+ "type": "string"
+ },
+ "whyImportant": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "field",
+ "question",
+ "whyImportant",
+ "options",
+ "defaultAssumption",
+ "priority"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "missingFields",
+ "questions",
+ "defaultAssumptions"
+ ],
+ "type": "object"
+ },
+ "readiness": {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "additionalProperties": {
+ "additionalProperties": false,
+ "properties": {
+ "present": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ },
+ "weight": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "weight",
+ "present"
+ ],
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "score": {
+ "type": "number"
+ },
+ "status": {
+ "enum": [
+ "Not Ready",
+ "Draft Ready",
+ "Build Ready"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "score",
+ "status",
+ "fields"
+ ],
+ "type": "object"
+ },
+ "recommendation": {
+ "additionalProperties": false,
+ "properties": {
+ "canProceed": {
+ "type": "boolean"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "suggestedNextTool": {
+ "enum": [
+ "spec_compile",
+ "spec_interrogate"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "canProceed",
+ "suggestedNextTool",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "technicalProfile": {
+ "additionalProperties": false,
+ "properties": {
+ "blockers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "confidence": {
+ "enum": [
+ "high",
+ "medium",
+ "low"
+ ],
+ "type": "string"
+ },
+ "evidence": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "frontendOnly": {
+ "type": "boolean"
+ },
+ "needsAdmin": {
+ "type": "boolean"
+ },
+ "needsAuth": {
+ "type": "boolean"
+ },
+ "needsBackend": {
+ "type": "boolean"
+ },
+ "nextQuestions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "example": {
+ "type": "string"
+ },
+ "question": {
+ "type": "string"
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "question",
+ "example",
+ "why"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "shape": {
+ "enum": [
+ "static_page",
+ "local_storage_tool",
+ "local_json_import_export",
+ "static_json_data_page",
+ "light_backend_json_sqlite",
+ "full_backend_saas",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "suggestedStorage": {
+ "enum": [
+ "none",
+ "localStorage",
+ "indexedDB",
+ "static_json",
+ "json_file",
+ "sqlite",
+ "postgresql"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "shape",
+ "confidence",
+ "frontendOnly",
+ "needsBackend",
+ "needsAuth",
+ "needsAdmin",
+ "suggestedStorage",
+ "evidence",
+ "blockers",
+ "nextQuestions"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "readiness",
+ "clarification",
+ "recommendation"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "clarification": {
+ "additionalProperties": false,
+ "properties": {
+ "defaultAssumptions": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "missingFields": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "questions": {
+ "items": {},
+ "type": "array"
+ }
+ },
+ "required": [
+ "missingFields",
+ "questions",
+ "defaultAssumptions"
+ ],
+ "type": "object"
+ },
+ "confirmation": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object"
+ },
+ "inputConsumption": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "enum": [
+ "high",
+ "medium",
+ "low"
+ ],
+ "type": "string"
+ },
+ "consumedAnswers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "matchedDomain": {
+ "type": "string"
+ },
+ "unusedAnswers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "consumedAnswers",
+ "unusedAnswers",
+ "matchedDomain",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "mode": {
+ "enum": [
+ "not_ready",
+ "draft",
+ "formal"
+ ],
+ "type": "string"
+ },
+ "nextAction": {
+ "additionalProperties": false,
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "answer_questions",
+ "confirm_spec",
+ "start_build"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "message"
+ ],
+ "type": "object"
+ },
+ "pmIntentDecision": {
+ "additionalProperties": false,
+ "properties": {
+ "accessTopology": {
+ "enum": [
+ "single_device",
+ "lan_only",
+ "internet_ip",
+ "public_domain",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "actions": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "boundaryQuestionIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "confidence": {
+ "enum": [
+ "high",
+ "medium",
+ "low"
+ ],
+ "type": "string"
+ },
+ "coreObjects": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "defaultAssumptions": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "maintenanceMode": {
+ "enum": [
+ "agent_assisted",
+ "manual_files",
+ "web_admin",
+ "visitor_submission",
+ "runtime_collaboration",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "mustNotUse": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "needType": {
+ "enum": [
+ "static_display",
+ "personal_local_tool",
+ "multi_user_collaboration",
+ "content_marketing_site",
+ "data_visualization_site",
+ "transaction_workflow",
+ "content_knowledge",
+ "ai_automation",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "recommendedDeployment": {
+ "enum": [
+ "static_only",
+ "local_browser_only",
+ "static_hosting_with_agent_updates",
+ "local_lan_server_sqlite",
+ "cheap_vps_sqlite_by_ip",
+ "vps_domain_https",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "route": {
+ "enum": [
+ "spec_compile",
+ "spec_interrogate",
+ "architecture_decide"
+ ],
+ "type": "string"
+ },
+ "source": {
+ "enum": [
+ "local_rule",
+ "online_llm",
+ "merged"
+ ],
+ "type": "string"
+ },
+ "states": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "strongSignals": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "technicalShape": {
+ "enum": [
+ "static_page",
+ "local_storage_tool",
+ "local_json_import_export",
+ "static_json_data_page",
+ "light_backend_json_sqlite",
+ "full_backend_saas",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "usageScope": {
+ "enum": [
+ "self",
+ "fixed_group",
+ "public_audience",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "weakSignals": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "needType",
+ "usageScope",
+ "maintenanceMode",
+ "accessTopology",
+ "technicalShape",
+ "recommendedDeployment",
+ "route",
+ "confidence",
+ "strongSignals",
+ "weakSignals",
+ "coreObjects",
+ "states",
+ "actions",
+ "mustNotUse",
+ "boundaryQuestionIds",
+ "defaultAssumptions",
+ "source"
+ ],
+ "type": "object"
+ },
+ "readiness": {
+ "additionalProperties": false,
+ "properties": {
+ "score": {
+ "type": "number"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "score",
+ "status"
+ ],
+ "type": "object"
+ },
+ "spec": {
+ "additionalProperties": false,
+ "properties": {
+ "apiDesign": {
+ "type": "string"
+ },
+ "architecture": {
+ "type": "string"
+ },
+ "assumptions": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "coreFeatures": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "dataModel": {
+ "type": "string"
+ },
+ "inputConsumption": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "enum": [
+ "high",
+ "medium",
+ "low"
+ ],
+ "type": "string"
+ },
+ "consumedAnswers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "matchedDomain": {
+ "type": "string"
+ },
+ "unusedAnswers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "consumedAnswers",
+ "unusedAnswers",
+ "matchedDomain",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "nonGoals": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "platform": {
+ "type": "string"
+ },
+ "pmIntentDecision": {
+ "$ref": "#/properties/result/anyOf/0/anyOf/1/properties/pmIntentDecision"
+ },
+ "productGoal": {
+ "type": "string"
+ },
+ "riskBoundaries": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "successCriteria": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "targetUser": {
+ "type": "string"
+ },
+ "technicalProfile": {
+ "$ref": "#/properties/result/anyOf/0/anyOf/0/properties/technicalProfile"
+ }
+ },
+ "required": [
+ "productGoal",
+ "targetUser",
+ "platform",
+ "coreFeatures",
+ "dataModel",
+ "architecture",
+ "apiDesign",
+ "riskBoundaries",
+ "nonGoals",
+ "successCriteria",
+ "assumptions"
+ ],
+ "type": "object"
+ },
+ "technicalProfile": {
+ "$ref": "#/properties/result/anyOf/0/anyOf/0/properties/technicalProfile"
+ }
+ },
+ "required": [
+ "mode",
+ "readiness",
+ "nextAction"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "enum": [
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ },
+ "translation": {
+ "additionalProperties": false,
+ "properties": {
+ "codeHints": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "frontendTerms": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "identifiedIntent": {
+ "type": "string"
+ },
+ "modificationPrompt": {
+ "type": "string"
+ },
+ "originalDescription": {
+ "type": "string"
+ },
+ "suggestedComponent": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "originalDescription",
+ "identifiedIntent",
+ "frontendTerms",
+ "modificationPrompt",
+ "suggestedComponent",
+ "codeHints"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "translation",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "canDiagnoseNow": {
+ "type": "boolean"
+ },
+ "guide": {
+ "additionalProperties": false,
+ "properties": {
+ "checklist": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "commonIssues": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "knownInfo": {
+ "additionalProperties": {},
+ "type": "object"
+ },
+ "platform": {
+ "type": "string"
+ },
+ "requiredInfo": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "field": {
+ "type": "string"
+ },
+ "how_to_get": {
+ "type": "string"
+ },
+ "priority": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "field",
+ "description",
+ "how_to_get",
+ "priority"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "troubleshootingSteps": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "platform",
+ "requiredInfo",
+ "knownInfo",
+ "checklist",
+ "commonIssues",
+ "troubleshootingSteps"
+ ],
+ "type": "object"
+ },
+ "missingRequiredInfo": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "guide",
+ "missingRequiredInfo",
+ "canDiagnoseNow"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "blockers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "decision": {
+ "additionalProperties": false,
+ "properties": {
+ "aiKeyRisk": {
+ "type": "boolean"
+ },
+ "canBeFrontendOnly": {
+ "type": "boolean"
+ },
+ "capacityRisk": {
+ "type": "boolean"
+ },
+ "domain": {
+ "type": "string"
+ },
+ "mvpSuggestion": {
+ "type": "string"
+ },
+ "needAdmin": {
+ "type": "boolean"
+ },
+ "needAuth": {
+ "type": "boolean"
+ },
+ "needBackend": {
+ "type": "boolean"
+ },
+ "needLogging": {
+ "type": "boolean"
+ },
+ "needSeparation": {
+ "type": "boolean"
+ },
+ "paymentRisk": {
+ "type": "boolean"
+ },
+ "pmIntentDecision": {
+ "$ref": "#/properties/result/anyOf/0/anyOf/1/properties/pmIntentDecision"
+ },
+ "productionSuggestion": {
+ "type": "string"
+ },
+ "reasoning": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "recommendedDatabase": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "canBeFrontendOnly",
+ "needBackend",
+ "needSeparation",
+ "recommendedDatabase",
+ "needAuth",
+ "needAdmin",
+ "needLogging",
+ "paymentRisk",
+ "aiKeyRisk",
+ "mvpSuggestion",
+ "productionSuggestion",
+ "reasoning"
+ ],
+ "type": "object"
+ },
+ "riskLevel": {
+ "enum": [
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ },
+ "technicalProfile": {
+ "$ref": "#/properties/result/anyOf/0/anyOf/0/properties/technicalProfile"
+ }
+ },
+ "required": [
+ "decision",
+ "riskLevel",
+ "blockers"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+]