← Back to Pull requests

docs: make the STP template the source of truth and fix inconsistencies between the STP docs #201

Closed
unknown closed this pull request without merging on Nov 20, 2026 12:56 UTC
View on GitHub
unknown unknown commented on Nov 17, 2026 10:23 UTC
Author

STP Metadata

VEP issue: N/A — this PR changes the STP authoring documentation and templates; it does not add or change a feature STP.

What this PR does

Makes the documents that tell authors how to write an STP consistent with each other and easier for a human reader to follow. They had drifted apart: the guide described a different structure than the template, the review checklist described a Section III format the template no longer uses, and several definitions disagreed.

The rule the PR applies:

  • The template is the source of truth for STP structure and format (stps/stp-template/stp.md, and child-stp.md for child STPs).

  • The guide explains purpose and process only. It maps the template's parts and says why each exists, instead of restating the structure.

  • AGENTS.md is a review index and workflow for AI tools, not a source of rules: the content requirements live in the template and the guide, and the template wins on a difference. Project documentation does not refer to it; only tool configuration does.
  • Changes, one topic per commit:

    1. Rename "Known Limitations" to "Feature Limitations" in the templates and review checklist, matching the guide and the Test Limitations counterpart.
    2. Align the review checklist with the template on the Section III format (a list, not a table) and the risk field names.
    3. Fix tier examples that contradicted the tier definitions.
    4. Make the guide follow the template: a purpose paragraph per part, Constraint Categories, Priority and Tier, and a pre-review checklist. The README describes the guide accurately, and the child template is listed wherever the parent template is listed (README, CLAUDE.md, Testing Tiers guide).
    5. Drop hard-coded list counts from the review checklist.
    6. Sign-off by function (Feature Owner, Quality Owner, Product Manager) instead of Reviewers and Approvers; the guide defines the three functions. Out of Scope entries are signed off by the Quality Owner or Product Manager, with the same "Sign-off" label as other entries.
    7. Child STPs link to the parent for risks and list only SIG-specific ones; the intentional differences from the parent are written down.
    8. Present AGENTS.md as a non-authoritative checklist, and relax "no API or CRD names" so user-facing objects can be named.
    9. State that Section I records the quality interpretation of the feature.
    10. Define P0 per release phase and add an optional phase tag (for example [P0][TP]) for the rare case where quality also covers Tech Preview.
    11. Update AI tool configuration wording to match the documentation.
    12. State the traceability rule in the template, the child template and the guide checklist: Section III scenarios are required for non-regression Testing Goals, and an acceptance criterion may be satisfied by named existing regression coverage in Test Strategy.
    13. Use the parent's Section III scenario format in the child template, with the tier inlined in the scenario line (#200 item 7).
    14. Out of Scope is a conscious decision, not a risk (#192 item 2): the template adds a "Difference from existing coverage" note and replaces the Out of Scope example that described existing coverage.

    Special notes for your reviewer

  • Each commit is one topic with the reasoning in its message, so you can review commit by commit. The whole change can also be read in one pass with git diff main...HEAD.

  • Already merged STPs are not changed or renamed.

  • Deliberately left out and tracked separately: remaining small conflicts between the docs (#192, apart from item 2), new authoring guidance such as a user-flow section, traceability IDs, a decision guide and worked examples (#193), and template wording polish (#200, apart from item 7).

  • CLAUDE.md still lists AGENTS.md as a key reference, as an AI-tool entry point like .coderabbit.yaml and .pr_agent.toml.
  • 🤖 Generated with Claude Code

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->
    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    Documentation
    Updated STP guidance and templates to clarify scope, requirements, risks, test scenarios, priorities, phase tags, environments, traceability, and sign-off.
    Clarified that STPs target GA, how intermediate phases are identified, and how P0 goals should be covered by failure-path scenarios or signed-off Out of Scope entries.
    Added a child STP template and guidance for SIG-specific content, parent-plan references, inherited requirements, and sign-off.
    Distinguished feature limitations, out-of-scope items, test limitations, and risks.
    Updated review guidance and the Testing Tiers guide, including the description of Tier 1 tests as single-feature tests on a cluster.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 608 lines (+456 / -152) across 7 files Reviewer: EdDev Review duration: 4472m
    All Vouch review confidence checks passed
    Residual risk 0.20 = Change Risk (0.50) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.50 · 608 lines diff across 7 files
    0.50
    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.384
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #201"
    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: 50.1% (MEDIUM) · Higher = larger blast radius
    50.1%
    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: 19.8% · Safe to merge
    19.8%