← Back to Pull requests

feat: TaskExecutionStateに復旧要否と案内メッセージを追加 #85

Closed
unknown closed this pull request without merging on Nov 19, 2026 02:51 UTC
View on GitHub
unknown unknown commented on Nov 18, 2026 04:51 UTC
Author

👥 担当

| 役割 | 担当者 |
| --- | --- |
| 🔍 レビュー依頼 | @tr-motomura-akira |
| 🔀 マージ依頼 | @tr-motomura-akira |

🏷️ プロセス状態

  • 🆕 新規設計

  • ✏️ 設計修正

  • 🛠️ 新規実装

  • 🔧 実装修正
  • 🔗 タスクリンク

  • Issue #92
  • 📋 詳細


    形式に従う為にレビュー設定しました。(見て欲しい所無しです)

    Taskの失敗保持中にGUIへ復旧要否と案内を通知できるよう、TaskExecutionStateへbool recovery_requiredとstring messageを追加します。既存のstate項目は維持します。

  • FAILED_HOLDではrecovery_required=trueとシステム再起動の案内を返します。

  • 送信前のPLC許可待ちではPAUSED / recovery_required=falseと許可復帰・RESUMEの案内を返します。

  • 実際の状態判断・文言の設定はNavigation側で行います。ROS Actionの最終Result形式は変更しません。
  • 関連PR・適用条件

  • Navigation #57:本フィールドの設定と状態判断。

  • Gateway #34:取消しの結果待機。

  • GUI #117:REST設定・schema・HTTP/SSE試験。
  • ROSメッセージ定義の変更です。Orchestratorと関連する発行・購読側、GatewayのROS型を同じ定義から再生成・再ビルドし、揃えて適用してください。取り込み先はdev/v2.0.0です。

    検証

  • ROS 2 Humbleで本interfaceと変更後のOrchestratorをビルド成功。

  • 生成された8フィールドを確認し、FAILED_HOLD / recovery_required / messageのROSシリアライズ・復元が一致。

  • 関連NavigationのCompiler / Orchestrator試験:Compiler 63件・Orchestrator 179件、計242件成功(失敗・スキップ0)。

  • 実機・GUI画面での確認は未実施。
  • ✅ セルフチェック

  • ローカルでビルド・テストが通っている(上記の範囲)

  • 関連ドキュメント / コメントを更新した

  • 破壊的変更・互換性への影響を「詳細」に記載した
  • Diff: 177 lines (+132 / -45) across 2 files Reviewer: tr-motomura-akira Review duration: 1320m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.35) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.35 · 177 lines diff across 2 files
    0.35
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.310
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #85"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 35.4% (MEDIUM) · Higher = larger blast radius
    35.4%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 15.3% · Safe to merge
    15.3%