← Back to Pull requests

feat(missing-features): Technology stack page: plan drawer, per-plan reports, page trimmed #3

Open
unknown opened this pull request with 348 lines diff across 4 files
View on GitHub
unknown unknown commented on Nov 02, 2026 13:18 UTC
Author

Summary


Follow-up to #2. The Missing Features page now holds only the Technology stack section, and two things in it are improved.

  • Page trimmed. The page shows only the Technology stack section, and its title is the page heading. The reported-features review queue is removed from the page.

  • Plan features drawer redesigned. A cleaner right-hand drawer: header with the plan, its type badge and customer count; the price as the headline; three count tiles (Reported, Added, Catalog) that also filter the list; compact grouped lists with a customer count per row. The group heading says where a feature came from, so the per-row pills are gone. UI only; keyboard and focus behaviour are unchanged. ReportCard is removed (only the drawer used it).

  • Reports shown on the plan they were made against. A feature reported on an existing plan, such as "Pro", now appears in that plan's drawer and in the customer table as "on Pro", so QA can see which plan lacks it. A report with no plan (older response) or whose plan the customer no longer has is listed under Custom, as before.

  • The totals line says "N reports" (the number of reports) because the table's Reported column counts distinct features per tool.
  • Notes for review


  • The review queue is gone from the console. Start review / Accept / Decline / Undo are no longer offered anywhere in the admin app, because this section is read-only. The backend endpoints and the queue's data layer (features/missing-features/api.ts and queries.ts) are unchanged and unused, so restoring the queue is a small change. Say if you would rather delete that unused code.

  • Depends on the backend. The page calls GET /adm/cos-process-management/missing-features/stack-selections, and the per-plan reports need planId on each report row. Both are in LakshyaTyagi1/backend feat/cost-cutting-tool-v1 (PRs #511, #512, and ac57bacb), which is not yet on gcp-dev. Against an older backend the page still renders: a missing planId falls back to Custom.

  • Reports of existing plans reach the backend only once the customer app change (customer repo f50a476, PR #75) is live; until then they still arrive under Custom.

  • Merges cleanly into uat: this branch already contains uat's latest commit.
  • Verification


  • tsc: 0 errors in src

  • ESLint clean on the touched folders

  • Report-to-plan grouping checked on synthetic data (two customers' reports of one feature merge on Pro with both statuses; a report with no plan id goes to Custom)

  • Open /missing-features against a backend that has the stack-selections endpoint and check the table, a plan drawer, and the AED / USD toggle

  • The repo has no automated tests.
  • 🤖 Generated with Claude Code

    Diff: 348 lines (+261 / -87) across 4 files Reviewer: claude[bot] Review duration: 0m
    All Vouch review confidence checks passed
    Residual risk 0.36 = Change Risk (0.42) × (1 − Review Confidence (0.15)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 348 lines diff across 4 files
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 7% · Reviewer familiarity: 35%
    14%
    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.350
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #3"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: medium confidence: 14.8% 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: 42.4% (MEDIUM) · Higher = larger blast radius
    42.4%
    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: 14.8% · Lower = rushed or shallow review
    14.8%
    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: 36.1% · Moderate risk
    36.1%