Repository navigation
Description
Delivery phase
Phase 1 - frontend with mock services. Milestone F5; task key F5-08.
Goal
Provide reviewable proof that every MVP frontend journey works with mocks before any backend implementation starts.
Context and authority
Read AGENTS.md, docs/product/LCA_diff_PRD.md, docs/engineering/LCA_diff_Implementation_Specification.md, docs/engineering/roadmap.md, and docs/team/product-manager.md. Do not read archive/reference folders. Current governance/spec documents are prepared on branch docs/agent-workflow; acceptance/merge authority follows docs/adr/README.md, not proposed ADR status. Any contract deviation needs an ADR and both current document updates in the same PR.
Specification §§6, 7 frontend boundary, 9.1–9.3; roadmap Phase 1 gate. Planned files: apps/frontend/ final critical/full browser scenarios, docs/engineering/ Phase 1 coverage/evidence and roadmap links (planned).
Requirements and constraints
This is a bounded acceptance/evidence task, not a mega implementation task. Map UI requirements to delivered issues and actual tests/manual evidence. Run Chromium and Firefox; attempt practical Safari verification when available and state exact limitations (Playwright WebKit is not identical to Safari). Use only synthetic data and containers, with no backend/cloud credentials.
All work runs in containers with synthetic mock data and no API/Firebase/cloud dependency. Keep HTTP/auth/fixtures behind typed services and mock adapters; components consume contracts rather than fixtures. Follow Software Engineer and QA role handoffs, commit focused increments referencing this issue, and leave it open for QA/review.
Acceptance criteria
- AC1 — The complete login/registration/reset/verification, discovery/bulk select, signed Flows/Scores, indicator selection, differences, reorder/remove and reload/account-isolation journeys have evidence against a reviewed SHA.
- AC2 — Hundreds-of-processes scrolling, window/DOM bounds, mixed heights, offscreen scaling, comparability warnings, cancellation and snapshot/stale-selection recovery are covered.
- AC3 — Required unit/format/lint/type/build and browser checks pass in containers; full desktop browser results, workload/environment and exact commands are recorded.
- AC4 — The coverage checklist accounts for all §6 requirements and frontend parts of §9.2 behaviors 13–18; missing/blocked/failed checks remain explicit and block a false Phase 1 PASS.
- AC5 — Any new failure is returned to its owning task or linked Bug; no unresolved MVP-critical frontend defect is hidden by a gate checkbox.
- AC6 — The handoff clearly distinguishes mock completion from real Firebase/API/ETL/publication/deployment validation in Phase 2, and coordinator marks completion only after review/merge.
Out of scope and follow-ups
Backend implementation, real integration and production performance belong to roadmap B1–B4/I1/R1–R2; POST-MVP features stay excluded. Feature fixes remain in their owning issues or linked Bugs.
Verification plan
Run on the Docker host: ./dev shell, then inside /workspaces/lca-diff: npm --prefix apps/frontend run format:check, npm --prefix apps/frontend run lint, npm --prefix apps/frontend run typecheck, npm --prefix apps/frontend run test:unit, and npm --prefix apps/frontend run build. These scripts are established by F1, not claimed available today. Browser scenarios use npm --prefix apps/frontend run test:e2e -- --project=chromium (F1 establishes the pinned Playwright tool/browser setup). No host package installs.
Run all standard frontend checks plus npm --prefix apps/frontend run test:e2e -- --project=chromium and --project=firefox, and the full configured E2E suite. Record manual §9.3 UI journeys, browser limitations, reviewed SHA and an explicit PASS/FAIL/BLOCKED gate report.
Record exact commands/results and delivered SHA in the engineering handoff. QA independently checks every criterion at that SHA and reports PASS/FAIL/BLOCKED; unavailable required checks are not passing.
Dependencies and readiness
Blocking predecessors: #33. Also requires verified M1 container runtime and merged bootstrap/M2 configuration; later milestones are planned, not implementation-ready while predecessors remain open. PM must recheck dependencies and actual interfaces before marking READY.
Activity
DavidVFitzGerald commentedon Nov 13, 2026
PM: BLOCKED
Groomed using docs/team/product-manager.md for F5, Phase 1 — frontend with mock services. Documentation review: PASS for scope, required sections, specification coverage and acyclic dependency links; this is not application QA or implementation readiness.
Blocking predecessor issues: #33. The M1 runtime gate (#2) and merged bootstrap/M2 configuration (#3) also remain required. PM must recheck merged dependencies and current interfaces before changing this to READY.
Engineer implements one issue, commits regularly and hands the delivered SHA plus exact container checks to independent QA; do not close before QA, review and approved merge. No backend/Firebase/cloud credentials or host installations are required for Phase 1.
DavidVFitzGerald commentedon Nov 16, 2026
Deferred to post-MVP (coordinator, 2026-11-16) per the maintainer's local-only MVP scope revision, ADR 0006 (#95). ADR 0006 removes the mock-only Phase 1 gate; real-stack acceptance happens in L3 (#30). The full mock-frontend coverage checklist and cross-browser evidence remain useful later as part of post-MVP release validation. Body and criteria are retained unchanged for later re-grooming; recheck dependencies (now partly on L1–L3: #96, #97, #30) before any future start.