← Back to Pull requests

feat(robot-state): 状態取得サービスの型定義 triorb_robot_state_interface を追加する #37

Closed
unknown closed this pull request without merging on Aug 26, 2026 09:38 UTC
View on GitHub
unknown unknown commented on Aug 20, 2026 01:50 UTC
Author

レビュー依頼:@TriorbKumagaiKazuki
マージ依頼:@tr-motomura-akira (自身でマージ予定)
プロセス状態:追加実装
タスクリンク:なし
AIレビュー結果:chatgpt-codex-connector Bot left a comment の通り
詳細:

概要


ロボット状態集約の取得サービス robot/state/get が使う型定義
triorb_robot_state_interface(GetDiagnosticArray.srv)を本リポジトリへ追加します。
旧リポジトリから移設しました。
この型が無いと triorb_robot_state_aggregator がビルドできないため。

追加後にローカル(Ubuntu 22.04 / ROS 2 Humble)で確認しています。

Finished <<< triorb_robot_state_reporter   [1.34s]
Finished <<< triorb_robot_state_interface  [8.24s]
Finished <<< triorb_robot_state_aggregator [1.62s]
Summary: 3 packages finished [12.9s]

関連


  • 利用側:triorb_robot_state_aggregator(TriOrb-External-Communication-Subsystems)

  • カテゴリ定義の PR とは独立しています(別リポジトリ・内容の依存なし)
  • Diff: 90 lines (+67 / -23) across 1 files Reviewer: tr-motomura-akira Review duration: 9107m
    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 · 90 lines diff across 1 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
    Shallow Review Depth shallow_review_depth
    0.289
    Diff Size diff_size
    0.270
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #37"
    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.0% (LOW) · Higher = larger blast radius
    35.0%
    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.1% · Safe to merge
    15.1%