Repository navigation
Description
Summary and impact
With two published releases in the local stack, the Scores tab fails for every process selection with "Score values could not be loaded." This happens, for example, after the documented opt-in BAFU import next to the synthetic seed. Found during L3 #30 acceptance (AC6). It blocks the MVP Scores journey after the opt-in import.
Delivery phase
Local MVP (ADR 0006), found in L3 #30 acceptance.
Steps to reproduce
./dev app-up(synthetic seed), then promote and publish any second release through./dev app-import(README "Opt-in private BAFU import").- Log in as the demo user, select two processes of one release and open Scores.
Expected behavior and authority
Scores shows the selected indicators of the selected processes' releases. Spec §6.5 says to compare only native method/indicator keys, and cross-release indicator mapping is post-MVP (§10.3). The API correctly scopes indicators to the selection's revision snapshot (§7.3).
Actual behavior
The indicator tree lists each release's methods, and the default selects both releases' GWP 100. The frontend sends every selected indicator ID, including the other release's, to POST /api/v1/comparison/scores/rows. The API answers 422 INVALID_FILTER and the grid shows the load error with Retry.
Environment and version
main at baff738 plus feat/l3-differences, local app stack, Chromium. Not mock-reproducible today because the mock comparison catalog has one release.
Context and dependencies
Frontend only: ScoresGrid/ScoresPanel pass useIndicators().ids unscoped to useScoreGrid. No API or contract change.
Acceptance criteria
- Scores row/cell reads include only selected indicators whose release is among the selected processes' releases.
- If none of the selected indicators belongs to those releases, Scores shows an explicit select-an-indicator state, not a load error or endless loading.
- Regression test at the component layer; the real-stack check with two releases passes.
Regression and verification plan
Vitest regression through the composed Scores grid with a two-release catalog, plus the frontend gates inside ./dev shell. The real-stack opt-in import check is recorded in docs/engineering/local-mvp-verification.md.
Out of scope and follow-ups
Cross-release indicator harmonization (post-MVP §10.3). Stale indicator reconciliation (#32).
Activity
DavidVFitzGerald commentedon Nov 16, 2026
Fixed on
feat/l3-differencesin064c518(PR #109, together with L3 #30, because it blocked #30 AC6). Regression:scores-grid.test.tsx(fails without the fix) and an App-level empty-state test inflows-composition.test.tsx. Real check: Scores loads GWP 100 for the BAFU representative selection after the opt-in import. Ready for QA with #30.DavidVFitzGerald commentedon Nov 16, 2026
QA verdict for #107 (verified with L3 #30 at
f57d5e6, PR #109): all three ACs PASS. Regression fails without the fix; two-release real stack shows Scores without INVALID_FILTER. Full evidence: #30 (comment)fix: scope Scores indicators to the selected processes' releases (Refs …
DavidVFitzGerald commentedon Nov 16, 2026
Closed by the coordinator after QA PASS (see #30 QA verdict), passing hosted CI and the maintainer's merge of PR #109.