design/testplan: add index, shared preconditions, and compact format #142
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.43) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 385 lines diff across 4 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
Diff Size
diff_size
0.356
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #142"
general
weight: 0.35
redhat-chai-bot
Summary
Test plans generated from the
designworkflow'sdraft.mdtemplate are too long for effective human review. The bootc-delta-updates plan (EDM-4867) runs to 2,238 lines / 106 test cases. The primary bloat comes from every test case repeating full Preconditions/Steps/Expected Results subsections even when many cases under the same requirement share identical setup.This PR restructures the testplan template to serve both audiences — comprehensive for AI verification, scannable for human review — without losing any information.
Changes
1. Test Case Index (new section in 9b template)
A
## Test Case Indexsection between Overview and Test Cases provides a one-screen markdown table (ID, Scenario, IC, Priority) so reviewers can assess coverage at a glance.2. Shared Preconditions (9a rules + 9b template)
##### Shared Preconditionsunder each### FR-N/### NFR-Nheading. Individual test cases list only##### Additional Preconditions(delta from shared). This is the biggest size reduction — eliminates the repeated "device enrolled, writable registry configured" blocks.3. Compact inline format (9a rules + 9b template)
Cases with ≤ 2 steps and a single expected result can use inline
Steps:/Expected:format instead of full subsections.4. Parameterized assertion tables (9a rules)
When multiple cases share identical preconditions AND steps but differ only in a parameter value, they can merge into a single TC with a variation table.
5. Updated self-review checklist (9c)
Four new checklist items validate correct use of the new format (shared preconditions present, compact format used correctly, parameterized cases used where appropriate, index complete).
Version bump
0.11.5→0.12.0(MINOR — behavioral template change per AGENTS.md versioning rules).Expected impact
Estimated ~60-70% reduction in testplan line count (e.g. the 2,238-line bootc plan would drop to ~800-900 lines) while keeping full traceability for AI implementation verification.
---
AI-generated. Review for accuracy.
@adalton requested from Slack
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary
design. Its version changes from0.11.5to0.12.0.design/skills/draft.mdadds a Test Case Index and shared preconditions under requirement headings. Cases can list additional preconditions. Eligible cases can use compact inline steps and expected results, or parameterized tables when they share preconditions and steps.design/SKILL.mdanddesign/skills/draft.md. No_shared/files or cross-package conventions changed.<!-- end of auto-generated comment: release notes by coderabbit.ai -->