workflows,skills: clarify brownfield step scopes, add code quality review criteria and release-note requirements #15156
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.45) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 280 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.337
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #15156"
general
weight: 0.35
sdowell
BRIEF Change Description
This PR enhances the KCC brownfield migration workflow and associated skills per reviewer feedback:
1. Dedicated Code Health Review Skill: Extracts universal code quality, style, and design practices into a standalone skill [
.gemini/skills/reviewgen-code-health/SKILL.md](.gemini/skills/reviewgen-code-health/SKILL.md). This establishes a single source of truth across KCC for two-pass reviews (Pass 1: correctness/race conditions/edge cases; Pass 2: single responsibility per file, private encapsulation by default, no feature envy on data structs, own collaborators via constructor, depth-first Stepdown rule, colocated constants, method granularity, and no(nil, nil)return contracts).2. Modular Review Skills: Refactors [
.gemini/skills/reviewgen-brownfield-controller/SKILL.md](.gemini/skills/reviewgen-brownfield-controller/SKILL.md) and [.gemini/skills/reviewgen-brownfield-new-types/SKILL.md](.gemini/skills/reviewgen-brownfield-new-types/SKILL.md) to delegate code health and architectural checks toreviewgen-code-health, eliminating duplicated rules and preventing documentation drift.3. Bare Workflow Graph: Strips inlined review checklists, scope rules, and release note blocks from [
.agents/graphs/kcc-brownfield.yaml](.agents/graphs/kcc-brownfield.yaml). Issue templates and review definitions are now bare and delegate all instructions directly to the respective skills.4. Scope Boundaries & Release Note Requirements in Implementation Skills: Consolidates strict step scope boundaries, code health references, and the release-note block requirement (
release-note: NONE) into each implementation skill:- Step 1: [
.gemini/skills/crd-mapper-fuzzer-existing-type/SKILL.md](.gemini/skills/crd-mapper-fuzzer-existing-type/SKILL.md)- Step 2: [
.gemini/skills/kcc-identity-reference/SKILL.md](.gemini/skills/kcc-identity-reference/SKILL.md)- Step 3: [
.gemini/skills/create-fuzzer/SKILL.md](.gemini/skills/create-fuzzer/SKILL.md)- Step 5: [
.gemini/skills/kcc-direct-controller-implementer/SKILL.md](.gemini/skills/kcc-direct-controller-implementer/SKILL.md)Does this PR add something which needs to be 'release noted'?
``
release-note
``NONE