← Back to Pull requests

docs(task-intake): add stage 4 realignment rule for critical decisions #27

Closed
unknown closed this pull request without merging on May 28, 2026 12:22 UTC
View on GitHub
unknown unknown commented on May 28, 2026 12:20 UTC
Author

变更内容


  • .kimi/skills/task-intake/SKILL.md: 在阶段 4 不变量中新增"执行中遇重大决策点,回退对齐"规则,明确执行过程中若发现需求歧义、方案冲突、边界不清等未在前期覆盖的重要决策点时,应暂停实现并回到阶段 1 重新对齐,禁止直接调用工具中断流程
  • 类型


  • docs: 文档更新

  • feat: 新功能

  • fix: Bug 修复

  • refactor: 代码重构

  • test: 测试补充

  • chore: 构建/工具链
  • 检查项


  • 本地 pre-commit 通过(typecheck / lint / analyze / check-docs)

  • 测试已补充或无需补充

  • 文档已同步或无需同步
  • Diff: 46 lines (+34 / -12) across 1 files Reviewer: HelloWorldU Review duration: 1m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.26) × (1 − Review Confidence (0.44)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.26 · 46 lines diff across 1 files
    0.26
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 52% · Reviewer familiarity: 35%
    44%
    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.230
    Real PR Conversation Timeline
    1 comments
    "Review active on #27"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 44.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: 26% (LOW) · Higher = larger blast radius
    26%
    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: 44.2% · Lower = rushed or shallow review
    44.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: 14.5% · Safe to merge
    14.5%