← Back to Pull requests

fix(today): 親が深い作業のパンくずを縮め、作業名が先に目に入るようにする #78

Open
unknown opened this pull request with 114 lines diff across 1 files
View on GitHub
unknown unknown commented on Nov 30, 2026 13:51 UTC
Author

概要

「きょう」と「朝会」では、作業名の前に親タスクの名前を全階層ぶん並べていました。階層が深いと親の名前で行が埋まり、どの作業なのかが読み取りにくくなっていたため、表記を見直しました。

変更内容

  • 親が3段以上あるときは途中を省き、最上位 › … › 直近の親 だけを出す(lib/taskPath.ts に getShortParentPath / getShortTaskPathName を追加)

  • 作業の一覧(TaskLabel)では、親を作業名の上に小さく1行で添える。幅が足りないときは末尾を省略し、折り返さない

  • 省いた階層は、親の行にマウスを乗せると全部見られる(title)

  • 「朝会」の困りごと・計画の穴・対策、「きょう」の未入力の案内・コメント一覧など、文章の中に入る作業名も同じ短縮表記にする

  • 日報(コピーする文章)は画面の外で読まれるため、これまでどおり全階層を書く。目標欄の読み上げ用ラベルも全階層のまま

  • SPEC.md の該当箇所を更新し、index.html を作り直した
  • 表示だけの変更で、ストアと保存形式には触れていません。

    確認したこと

  • npm test(903 件すべて成功。短縮表記のテストを追加)、npm run lint、npm run typecheck、npm run build、npm run build:html、git diff --check

  • 開発サーバーで、親が4段ある作業を用意し、「きょう」(① 予定を決める・② 実績を入れる)と「朝会」(遅れている作業・困りごと・計画の穴)の表示を確認

  • 幅 420px でも親の行が1行に収まり(末尾省略)、横スクロールが出ないことを確認
  • 確認していないこと

  • タッチ端末では title が出ないため、省いた階層を画面上で見る手段はありません(計画の画面では確認できます)
  • 🤖 Generated with Claude Code

    Diff: 114 lines (+85 / -29) across 1 files Reviewer: chatgpt-codex-connector[bot] Review duration: 2m
    All Vouch review confidence checks passed
    Residual risk 0.20 = Change Risk (0.36) × (1 − Review Confidence (0.45)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 114 lines diff across 1 files
    0.36
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 93% · Reviewer familiarity: 35%
    45%
    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.344
    Diff Size diff_size
    0.284
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #78"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 45.2% 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: 36.4% (MEDIUM) · Higher = larger blast radius
    36.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: 45.2% · Lower = rushed or shallow review
    45.2%
    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: 19.9% · Safe to merge
    19.9%
    Repository