ОРРКЕСТРАЦИЯ - Усилить domain-loop business-first каноном для analyst и orchestrator
This commit is contained in:
@@ -5,13 +5,26 @@
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"summary",
|
||||
"user_intent_summary",
|
||||
"expected_direct_answer",
|
||||
"actual_direct_answer",
|
||||
"quality_score",
|
||||
"direct_answer_ok",
|
||||
"business_usefulness_ok",
|
||||
"business_utility_score",
|
||||
"direct_answer_priority_score",
|
||||
"state_continuity_score",
|
||||
"answer_shape_score",
|
||||
"evidence_clarity_score",
|
||||
"loop_decision",
|
||||
"requires_user_decision",
|
||||
"user_decision_type",
|
||||
"user_decision_prompt",
|
||||
"unresolved_p0_count",
|
||||
"regression_detected",
|
||||
"root_cause_layers",
|
||||
"broken_edge_ids",
|
||||
"violated_invariants",
|
||||
"priority_targets",
|
||||
"acceptance_criteria",
|
||||
"notes"
|
||||
@@ -20,11 +33,51 @@
|
||||
"summary": {
|
||||
"type": "string"
|
||||
},
|
||||
"user_intent_summary": {
|
||||
"type": "string"
|
||||
},
|
||||
"expected_direct_answer": {
|
||||
"type": "string"
|
||||
},
|
||||
"actual_direct_answer": {
|
||||
"type": ["string", "null"]
|
||||
},
|
||||
"quality_score": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 100
|
||||
},
|
||||
"direct_answer_ok": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"business_usefulness_ok": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"business_utility_score": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 100
|
||||
},
|
||||
"direct_answer_priority_score": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 100
|
||||
},
|
||||
"state_continuity_score": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 100
|
||||
},
|
||||
"answer_shape_score": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 100
|
||||
},
|
||||
"evidence_clarity_score": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 100
|
||||
},
|
||||
"loop_decision": {
|
||||
"type": "string",
|
||||
"enum": ["accepted", "continue", "partial", "blocked", "needs_exact_capability"]
|
||||
@@ -35,7 +88,17 @@
|
||||
},
|
||||
"user_decision_type": {
|
||||
"type": "string",
|
||||
"enum": ["none", "architecture_fork", "important_business_question", "scope_tradeoff", "data_truth_gap", "missing_required_observation", "risky_workaround", "risky_complexity", "other"],
|
||||
"enum": [
|
||||
"none",
|
||||
"architecture_fork",
|
||||
"important_business_question",
|
||||
"scope_tradeoff",
|
||||
"data_truth_gap",
|
||||
"missing_required_observation",
|
||||
"risky_workaround",
|
||||
"risky_complexity",
|
||||
"other"
|
||||
],
|
||||
"description": "Explain why the loop needs user input. Use none when requires_user_decision is false."
|
||||
},
|
||||
"user_decision_prompt": {
|
||||
@@ -49,6 +112,37 @@
|
||||
"regression_detected": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"root_cause_layers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"semantic_understanding_gap",
|
||||
"runtime_capability_gap",
|
||||
"edge_carryover_gap",
|
||||
"object_memory_gap",
|
||||
"field_mapping_gap",
|
||||
"answer_shape_mismatch",
|
||||
"ordering_semantics_mismatch",
|
||||
"business_utility_gap",
|
||||
"loop_coverage_gap",
|
||||
"domain_anchor_gap",
|
||||
"other"
|
||||
]
|
||||
}
|
||||
},
|
||||
"broken_edge_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"violated_invariants": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"priority_targets": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -68,7 +162,23 @@
|
||||
},
|
||||
"problem_type": {
|
||||
"type": "string",
|
||||
"enum": ["route_gap", "capability_gap", "evidence_gap", "presentation_gap", "regression", "other"]
|
||||
"enum": [
|
||||
"route_gap",
|
||||
"capability_gap",
|
||||
"evidence_gap",
|
||||
"presentation_gap",
|
||||
"semantic_understanding_gap",
|
||||
"edge_carryover_gap",
|
||||
"object_memory_gap",
|
||||
"field_mapping_gap",
|
||||
"answer_shape_mismatch",
|
||||
"ordering_semantics_mismatch",
|
||||
"business_utility_gap",
|
||||
"loop_coverage_gap",
|
||||
"domain_anchor_gap",
|
||||
"regression",
|
||||
"other"
|
||||
]
|
||||
},
|
||||
"fix_goal": {
|
||||
"type": "string"
|
||||
|
||||
Reference in New Issue
Block a user