fix(gh-aw): repair and validate bot upgrade PRs (AROSLSRE-2267) #7190
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 285 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.338
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #7190"
general
weight: 0.35
raelga
AROSLSRE-2267
What
Make the scheduled gh-aw upgrade reuse its own open upgrade PR and repair generated files before publishing. It accepts only a unique, open, same-repository PR from
aro-hcp-robot[bot]on anupgrade-agentic-workflows-*branch. The generated dispatcher agent gets the discoverable.agent.mdsuffix, and moving or stale prompt references are pinned to the installed gh-aw release commit. The repo formatter and generated-content checks run before publication. New and existing upgrade PRs get a Conventional Commits title with an[auto]marker.Why
The automated upgrade can publish setup YAML that fails
verify-yamlfmt, an undiscoverable agent file, and moving prompt references. An open bot PR must be repairable by the next run rather than skipped.Testing
bash hack/test-gh-aw-recompile.shcovers matching, no match, unrelated authors and branches, duplicate matches, fork rejection, agent discovery, and replacement of moving and stale prompt refs.make verify-yamlfmtandmake -C config detect-changepass.Special notes for your reviewer
The workflow validates generated changes before a non-force push to its bot-owned branch. The bot PR policy permits
aro-hcp-robotto open ready for review without bypassing CI or merge gates. Please review any generated safe-output protected-file changes, includingCHANGELOG.md, separately. The compiler does not support adding protected-file entries through the workflow config.PR Checklist