|
| 1 | +DEMO SCENARIO: escalation-approved |
| 2 | +{"timestamp": "2026-06-15T03:07:47.223288+00:00", "level": "INFO", "logger": "bug_triage_workflow.openai_provider", "message": "Native classifier agent created", "extra": {"executor": "classifier_agent", "model": "gpt-4.1-mini"}} |
| 3 | +event=started |
| 4 | +event=status |
| 5 | +{"timestamp": "2026-06-15T03:07:47.226910+00:00", "level": "INFO", "logger": "bug_triage_workflow.preprocess", "message": "Bug report preprocessed", "extra": {"executor": "preprocess_bug_report", "missing_info_count": 1, "extracted_field_names": ["browser", "device_or_os", "environment", "module"]}} |
| 6 | +event=executor_invoked | executor=preprocess_executor |
| 7 | +event=executor_completed | executor=preprocess_executor |
| 8 | +event=superstep_started |
| 9 | +event=executor_invoked | executor=classifier_request_executor |
| 10 | +event=executor_completed | executor=classifier_request_executor |
| 11 | +event=superstep_completed |
| 12 | +event=superstep_started |
| 13 | +event=executor_invoked | executor=classifier_agent |
| 14 | +event=executor_completed | executor=classifier_agent |
| 15 | +event=superstep_completed |
| 16 | +event=superstep_started |
| 17 | +{"timestamp": "2026-06-15T03:07:49.132151+00:00", "level": "INFO", "logger": "bug_triage_workflow.classifier", "message": "Bug report classification completed", "extra": {"executor": "classifier_agent", "category": "security", "urgency": "critical", "sentiment": "neutral", "recommended_route": "request_human_approval", "confidence": 0.95}} |
| 18 | +event=executor_invoked | executor=classifier_response_executor |
| 19 | +event=executor_completed | executor=classifier_response_executor |
| 20 | +event=superstep_completed |
| 21 | +event=superstep_started |
| 22 | +{"timestamp": "2026-06-15T03:07:49.183812+00:00", "level": "INFO", "logger": "bug_triage_workflow.router", "message": "Triage route selected", "extra": {"executor": "route_triage", "selected_route": "request_human_approval", "recommended_route": "request_human_approval", "category": "security", "urgency": "critical", "sentiment": "neutral"}} |
| 23 | +event=executor_invoked | executor=router_executor |
| 24 | +event=executor_completed | executor=router_executor |
| 25 | +event=superstep_completed |
| 26 | +event=superstep_started |
| 27 | +event=executor_invoked | executor=request_human_review_executor |
| 28 | +event=output | executor=request_human_review_executor |
| 29 | +event=request_info | executor=request_human_review_executor | request_info=paused |
| 30 | +event=status |
| 31 | +event=executor_completed | executor=request_human_review_executor |
| 32 | +event=superstep_completed |
| 33 | +event=status |
| 34 | +request_info=resume |
| 35 | +event=started |
| 36 | +event=status |
| 37 | +event=superstep_started |
| 38 | +event=executor_invoked | executor=request_human_review_executor |
| 39 | +event=executor_completed | executor=request_human_review_executor |
| 40 | +event=superstep_completed |
| 41 | +event=superstep_started |
| 42 | +event=executor_invoked | executor=create_escalation_ticket_executor |
| 43 | +event=output | executor=create_escalation_ticket_executor |
| 44 | +event=executor_completed | executor=create_escalation_ticket_executor |
| 45 | +event=superstep_completed |
| 46 | +event=status |
| 47 | +final_status=completed |
| 48 | +selected_route=create_escalation_ticket |
| 49 | +human_review_required=True |
| 50 | +human_review_action=approve_escalation |
| 51 | +approval_granted=True |
| 52 | +FINAL WORKFLOW RESULT |
| 53 | +{ |
| 54 | + "status": "completed", |
| 55 | + "selected_route": "create_escalation_ticket", |
| 56 | + "classification": { |
| 57 | + "category": "security", |
| 58 | + "urgency": "critical", |
| 59 | + "sentiment": "neutral", |
| 60 | + "missing_info": [ |
| 61 | + "actual_behavior" |
| 62 | + ], |
| 63 | + "recommended_route": "request_human_approval", |
| 64 | + "reasoning": "The bug report describes a security vulnerability with unauthorized access to private data, which is critical and requires human approval. Some information on actual behavior is missing but does not delay escalation.", |
| 65 | + "confidence": 0.95 |
| 66 | + }, |
| 67 | + "human_review_required": true, |
| 68 | + "human_review_action": "approve_escalation", |
| 69 | + "approval_granted": true, |
| 70 | + "final_action": "Create an escalation ticket for human-reviewed handling.", |
| 71 | + "error": null, |
| 72 | + "event_log": [ |
| 73 | + { |
| 74 | + "status": "received", |
| 75 | + "message": "Bug report received.", |
| 76 | + "executor": "preprocess_executor", |
| 77 | + "data": {}, |
| 78 | + "created_at": "2026-06-15T03:07:47.225529Z" |
| 79 | + }, |
| 80 | + { |
| 81 | + "status": "preprocessed", |
| 82 | + "message": "Bug report preprocessed.", |
| 83 | + "executor": "preprocess_executor", |
| 84 | + "data": { |
| 85 | + "missing_info": [ |
| 86 | + "actual_behavior" |
| 87 | + ] |
| 88 | + }, |
| 89 | + "created_at": "2026-06-15T03:07:47.226975Z" |
| 90 | + }, |
| 91 | + { |
| 92 | + "status": "classified", |
| 93 | + "message": "Bug report classified.", |
| 94 | + "executor": "classifier_agent", |
| 95 | + "data": { |
| 96 | + "category": "security", |
| 97 | + "urgency": "critical", |
| 98 | + "sentiment": "neutral" |
| 99 | + }, |
| 100 | + "created_at": "2026-06-15T03:07:49.132251Z" |
| 101 | + }, |
| 102 | + { |
| 103 | + "status": "routed", |
| 104 | + "message": "Bug report routed.", |
| 105 | + "executor": "router_executor", |
| 106 | + "data": { |
| 107 | + "selected_route": "request_human_approval" |
| 108 | + }, |
| 109 | + "created_at": "2026-06-15T03:07:49.183905Z" |
| 110 | + }, |
| 111 | + { |
| 112 | + "status": "awaiting_human_review", |
| 113 | + "message": "Waiting for human review.", |
| 114 | + "executor": "request_human_review_executor", |
| 115 | + "data": {}, |
| 116 | + "created_at": "2026-06-15T03:07:49.235343Z" |
| 117 | + }, |
| 118 | + { |
| 119 | + "status": "escalation_approved", |
| 120 | + "message": "Human reviewer approved escalation.", |
| 121 | + "executor": "request_human_review_executor", |
| 122 | + "data": { |
| 123 | + "approver": "Demo Reviewer" |
| 124 | + }, |
| 125 | + "created_at": "2026-06-15T03:07:49.340633Z" |
| 126 | + }, |
| 127 | + { |
| 128 | + "status": "completed", |
| 129 | + "message": "Escalation ticket created.", |
| 130 | + "executor": "create_escalation_ticket_executor", |
| 131 | + "data": {}, |
| 132 | + "created_at": "2026-06-15T03:07:49.340670Z" |
| 133 | + } |
| 134 | + ], |
| 135 | + "created_at": "2026-06-15T03:07:49.340812Z", |
| 136 | + "updated_at": "2026-06-15T03:07:49.340818Z" |
| 137 | +} |
| 138 | +DEMO VALIDATION PASSED |
0 commit comments