← Back to Pull requests

docs(skills): Collapse functional changes #61023

Closed
unknown closed this pull request without merging on Nov 21, 2026 09:23 UTC
View on GitHub
unknown unknown commented on Nov 20, 2026 15:25 UTC
Author

<!-- dd-meta {"pullId":"3196117c-055b-4c83-9ea5-3d98829340a6","source":"chat","resourceId":"0c1f3b70-2d54-4b62-a670-149da7bde500","workflowId":"fe34fc60-ae4a-42f1-9602-93c450d88efa","codeChangeId":"fe34fc60-ae4a-42f1-9602-93c450d88efa","sourceType":"code_channel"} -->
<!--Please give us some feedback on your experience writing this PR ! https://app.datadoghq.com/forms/43db4c02-6837-400c-8083-692e141b1b88 !-->

What does this PR do?

Update describe-functional-changes to wrap its output in a collapsed <details> block with a “Functional changes” summary. Update the output examples and /create-pr guidance to match.

<details>
<summary>Functional changes</summary>

| Before | After |
| --- | --- |
| PRs generated with /create-pr show the functional changes section expanded | The section starts collapsed; reviewers can expand it to read the tables or bullets |

</details>

Motivation

Reviewers found the always-expanded section too verbose. Keep the information available while making PR descriptions easier to scan, as agreed with agent-devx.

Describe how you validated your changes

Rendered all five output examples with a Markdown renderer and checked that their tables and bullets remain inside a details block without an open attribute. Confirmed both skills’ frontmatter is unchanged.

The generic skill validator rejects the existing argument-hint and model fields. Local AI review could not run: host reviewers were unauthenticated, and the fallback development image pull returned HTTP 503.

Additional Notes

Follow-up to #59637.

---

PR by Bits - View session in Datadog • Open in Slack

Comment @datadog to request changes

Diff: 223 lines (+167 / -56) across 2 files Reviewer: chouetz Review duration: 1077m
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 223 lines diff across 2 files
0.37
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%
60%
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.324
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #61023"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% 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.8% (MEDIUM) · Higher = larger blast radius
36.8%
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: 60.5% · Lower = rushed or shallow review
60.5%
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%