Repository navigation
Description
Delivery phase
Phase 1 - frontend with mock services
Goal
Show the application directly at / with a non-sensitive shell and an accessible login overlay.
Context and authority
Milestone F2; read AGENTS.md, docs/team/product-manager.md, docs/product/LCA_diff_PRD.md, docs/engineering/roadmap.md, and docs/engineering/LCA_diff_Implementation_Specification.md §§6.1, 6.8. Current planning baseline is on docs/agent-workflow, pending review/merge into main; proposed ADRs are not accepted authority. Build shell/layout and auth-dialog presentation under apps/frontend/src/app/ and UI components; use the established services/provider. These application paths are planned until created. Exclude all archive/reference folders.
Requirements and constraints
No separate landing/login route. Include header, Flows/Scores tabs, process sidebar framing, right indicator-sidebar framing for Scores and sidebar collapse behavior. No protected metadata/content loads before verified auth. Default Flows; settings stays modest. Non-desktop view shows accessible larger-screen-required content.
One session-sized task/PR including verification and handoff. Run all development, installation and checks in containers; install nothing on the host. No real backend, Firebase project, cloud credentials or proprietary inputs. If the current PRD/spec must change, prepare an ADR and updates to both current documents in the same PR.
Acceptance criteria
- AC1 - An unauthenticated visit to / shows a centered named role=dialog/aria-modal login overlay on a dimmed shell, with no dataset/process/indicator/score service calls or rendered content.
- AC2 - Keyboard focus enters and stays in the dialog; Escape/cancel cannot expose an interactive protected shell; backdrop is inert/blocked rather than merely dimmed.
- AC3 - The verified-state shell presents header/account controls, Flows and Scores, correctly shown sidebar frames and keyboard-operable tabs/collapse controls.
- AC4 - A narrow viewport displays a meaningful accessible desktop-required state instead of a broken grid; focus rings/labels are visible.
- AC5 - Component/browser tests assert no protected calls while locked and cover focus behavior and layout states; explicit mock mode remains visible.
Out of scope and follow-ups
Functional forms are #13; account lifecycle and session state are #12/#14; actual selector/grid/indicators are F3–F5. No real Firebase/auth/security proof.
Verification plan
Inside ./dev shell, run established format:check/lint/typecheck/test:unit/build and npm --prefix apps/frontend run test:e2e. Record keyboard/manual narrow-view evidence plus a spy assertion of zero protected service calls.
Engineer records branch/SHA and exact results, leaves issue open, and hands off to QA. QA verifies every criterion at that SHA and reports PASS/FAIL/BLOCKED; mock evidence is not proof of real security/integration.
Dependencies and readiness
Blocked by #10. No implementation until dependencies and the M1 environment runtime gate are satisfied. This body is groomed planning material, not PM READY while blockers remain. Coordinator/PM rechecks merged dependencies and session-sized scope before starting.
Current readiness — supersedes historical planning baseline/blockers above
PM: READY for Phase 1/F2. F1 #10 is closed following independent QA PASS, passing final PR/full-suite CI and the maintainer's explicit PR #44 merge (96129438d254fe897a3094f7e6923e4ec6cfb2e7). M1 is merged in PR #35 and #2 is closed; current rootless Docker/Compose are available. The merged current PRD/specification, ADRs 0001–0003 and existing F1 contracts/provider are the working baseline; historical planning-branch statements above are superseded. AC1–5 are unchanged.
Implement only the shell/dialog presentation and layout slice. Observe the existing auth boundary; resolving is a non-sensitive loading shell, anonymous/unverified is locked, verified enables the shell. Full account forms are #13; adapter scenarios are #12; additional session/cache lifecycle hardening is #14. Do not add temporary bypass or hardcoded UI login. Use injected typed services for verified-state component/browser scenarios so the presentation can be verified before #12 merges. Preserve the explicit local demo marker. No protected data services are needed for shell framing.
Verification: guarded rootless container environment check; frozen frontend npm ci; format:check/lint/typecheck/test:unit/build; Chromium and Firefox test:e2e, including real dialog focus trap/inert background, Escape, tab/sidebar controls and narrow viewport. Instrument typed data services in component tests for zero protected calls while locked. Engineering records exact container commands/SHA and hands off to independent QA; no merge/close before QA, CI and maintainer-approved merge. No PRD/spec deviation or ADR is required for this bounded implementation.
Activity
DavidVFitzGerald commentedon Nov 13, 2026
PM: BLOCKED
Groomed using docs/team/product-manager.md for F2, 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: #10. 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 14, 2026
PM: READY — Phase 1/F2, AC1–5 unchanged. F1 #10 is complete after PR #44 merge (9612943), independent QA PASS and successful required CI. M1 PR #35/#2 satisfied; rootless Docker and Compose confirmed available. Implement shell/dialog presentation against the existing auth/service context per specification §§6.1,6.8. Use injected typed services for verified-state evidence; #12/#13/#14 retain adapter/forms/lifecycle ownership. No new product decision/ADR required. Exact bounded scope and container/Chromium/Firefox verification are appended to the issue body. Handoff: Software Engineer, then independent QA at delivered SHA.
DavidVFitzGerald commentedon Nov 14, 2026
Engineering: READY FOR QA
Phase 1/F2 #11; branch
feat/f2-locked-shell, delivered SHA8eaec2d.Implemented AC1–5 shell presentation: direct
/, named native required-login dialog, dimmed/inert background, keyboard focus and Escape/backdrop refusal; verified header/account/settings controls, Flows default and keyboard tabs, collapsible process/indicator framing; meaningful narrow/resize states and explicit local demo marker. No protected data calls are made by this shell.Exact container commands/results and reproducible review steps:
docs/engineering/f2-shell-verification.md. Guarded rootless Compose projectlca-diff-f2-shell, source/tmp/lca-diff-f2-shell, port 5175../dev up/checkPASS including eight preflight regressions; frozen npm ci PASS; format:check/lint/typecheck/build PASS; test:unit PASS 110 tests/six files; test:e2e PASS four tests (two Chromium, two Firefox). Built desktop/narrow browser previews visually inspected. Preview server stopped and Compose workspace available for independent QA.Component spies prove zero calls to every protected data method through anonymous/resolving/unverified/error and verified framing. Verified tabs/sidebar/logout behavior uses injected typed services. Production browser target remains anonymously locked with the existing auth placeholder; working mock accounts/forms and complete lifecycle remain #12/#13/#14; #15 covers consolidated journeys. No test login bypass is exposed. Safari unavailable; no real auth/backend/security evidence claimed.
No PRD/spec deviation or new ADR. Independent QA must verify AC1–5 at this SHA, followed by hosted required CI and maintainer review/merge. Issue remains open.
DavidVFitzGerald commentedon Nov 14, 2026
QA: PASS
Reviewed SHA
8eaec2df5faa91a76452dc308a75561e0fb57ae7, branchfeat/f2-locked-shell, PR #45. Phase 1/F2, mock-only shell slice; implementation and committed tests were not modified during independent QA./has a centered, named nativedialogwitharia-modal=true, visible dim backdrop and explicitly inert shell. All 11 data methods remain uncalled in injected component scenarios. Both production browser projects verify no protected content and no fetch/XHR/API/external requests across load/reload.Independent container verification from
/tmp/lca-diff-f2-shell:Environment PASS: rootless parent UID/GID 1000, all capability restrictions, no-new-privileges, frozen uv and eight preflight regressions. Frozen npm ci, format, lint, typecheck, 110 unit tests/six files and production build PASS. The first browser attempt was blocked by an engineering preview still owning 4173; after stopping its identified PID1021, independent
npm --prefix apps/frontend run test:e2ePASS: four tests, two Chromium/two Firefox. This was a leftover-process collision, not a product failure.Supplemental probe (outside delivered source): started
VITE_SERVICE_MODE=mock npm --prefix apps/frontend run devinside the same container, thennode /tmp/lca-f2-shell-extra-qa.mjs. Both browsers PASS observed auth/focus, keyboard tabs/collapse, account remount, signout, resize and zero protected calls. Temporary QA artifacts/screenshots remain outside tracked files. No runtime errors in final probes. Delivered working tree remains clean.Hosted required
qualityPASS: https://github.com/DavidVFitzGerald/LCA-diff/actions/runs/43592383115. No specification deviation requiring ADR; historical folders were excluded. Safari and real Firebase/API/mail/security were not exercised and are not claimed. Next action: coordinator/maintainer review and explicit merge; keep #11 open until approved merge. F2 as a whole is not complete.feat: add accessible locked application shell (Refs #11)
DavidVFitzGerald commentedon Nov 14, 2026
Coordinator: merged/closed. Maintainer confirmed PR #45 merged; GitHub records f70420d at 2026-11-14T12:25:24Z. Independent QA PASS at delivered SHA 8eaec2d: #11 (comment). Required quality run 43592383115 SUCCESS. AC1–5 shell slice is complete; forms/session/consolidated acceptance remain #13–#15. No real auth/backend/security completion claimed.