Repository navigation
Description
Delivery phase
Phase 1 - frontend with mock services
Goal
Allow the later selector to query a realistic asynchronous catalog independently of any backend.
Context and authority
Milestone F1; 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.2–6.3, 7.1, 7.3–7.4. Current planning baseline is on docs/agent-workflow, pending review/merge into main; proposed ADRs are not accepted authority. Implement release/search/resolve-selection/header mock operations under apps/frontend/src/services/mock/; extend synthetic fixtures/tests. These application paths are planned until created. Exclude all archive/reference folders.
Requirements and constraints
Use only synthetic fixtures and the F1 interfaces. Include deterministic configurable latency/error scenarios, AbortSignal cancellation, stable cursors, release/revision metadata and safe structured errors. Search preserves the specified AND-tokenized case-insensitive substring semantics, never fuzzy matches.
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 - Release, tree-search, selection-resolution and header calls satisfy the typed boundary and return stable snapshots/cursors.
- AC2 - Search combines every token in each populated allowlisted field and every populated field with AND; nested ancestry and matching descendant counts remain correct.
- AC3 - Resolve-selection returns every eligible match beyond visible pages with deterministic alphabetical name/geography/ID ordering and no product-wide count cap.
- AC4 - Cancelled work does not deliver stale results; known invalid filters, unavailable releases, unknown processes and oversized transport windows produce safe typed failures.
- AC5 - Unit tests cover a multi-page branch, zero matches, multiple fields/tokens, out-of-order completion, request cancellation and the difference between transport window size and allowed total selection.
Out of scope and follow-ups
Selector UI is #16/#17; client selection state is #18/#19. Comparison mocks are #8; real indexed search belongs to Phase 2.
Verification plan
Inside ./dev shell, run npm --prefix apps/frontend run test:unit, plus format:check/lint/typecheck/build. Assert mock requests directly through the boundary using deterministic clocks/scenarios; inspect that no HTTP/Firebase/proprietary-file dependency was added.
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 #6. 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 blockers above
PM: READY, Phase 1/F1. PR #40 merged at fc9609b; predecessor #6 independently QA PASS and final hosted quality CI PASS (run 43534799498), now closed. M1/M2 gates remain satisfied. Current merged contracts and documents apply; historical planning-branch statements are superseded. AC1–5 unchanged; no new ADR/product decision required. All development/checks stay in rootless containers. Mock execution does not establish real backend/security correctness.
Activity
DavidVFitzGerald commentedon Nov 13, 2026
PM: BLOCKED
Groomed using docs/team/product-manager.md for F1, 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: #6. 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
Verified merged #6 contracts in PR #40, independent QA PASS and final quality CI PASS. Readiness addendum supersedes historical blockers; AC1–5 unchanged. #7 proceeds first on isolated feat/f1-mock-discovery; #8 is ready but not started. Cursors/snapshots and bounded reads must preserve merged service semantics; independent QA follows implementation. #9/#10 retain predecessor gates.
DavidVFitzGerald commentedon Nov 14, 2026
Engineering: READY FOR QA
Branch
feat/f1-mock-discovery, SHAc8dc8c9bae6a396339dc60d2e47dd458e5aeabc5. AC1–5 implemented through a typed discovery subset: releases, paged tree search and selection resolution, terminal header batches; immutable snapshot and semantic cursor binding; full filtered branch counts; deterministic scenarios and cancellation.Rootless container check/frozen npm ci PASS. Exact checks:
All PASS: 60 tests/three files, including 26 discovery cases. Verified 257 total selections through bounded 17-ID pages/header batches, deterministic tie ordering, exact branch scope including release root, cursor/filter/snapshot invalidation, empty matches, invalid inputs, safe errors, copied inputs/results, out-of-order completion and cancellation/listener cleanup.
git diff --checkPASS, committed worktree clean.Independent QA reviewing this SHA. Comparison/auth/UI/network behavior remains outside scope (#8/#12/#16–#19); mock results are not real security evidence. Leave open until QA, CI and approved merge.
DavidVFitzGerald commentedon Nov 14, 2026
QA: PASS
Independent QA at
c8dc8c9bae6a396339dc60d2e47dd458e5aeabc5, Phase 1 mock mode, PR #41.Independent rootless container checks:
All five PASS: 60 tests/three files (26 discovery tests); build PASS, 15 modules. Additional read-only container probes verified cursor normalization and semantic/revision/operation binding, full tree counts with paginated leaves, cross-revision errors, literal search, pending cancellation and configurable failures.
git diff origin/main --checkPASS; lock unchanged; clean worktree and reviewed SHA unchanged. QA made no edits.No blocking regression or spec deviation found. Comparison execution #8, composition #9, selector UI and real auth/backend/security evidence remain separate. Coordinator confirms hosted CI, then maintainer reviews/merges PR #41; leave #7 open until approved merge.
DavidVFitzGerald commentedon Nov 14, 2026
Coordinator: READY FOR REVIEW
PR #41, branch feat/f1-mock-discovery, SHA c8dc8c9. Independent QA PASS AC1–5, 60 tests and all five container quality scripts PASS; hosted quality CI PASS at this SHA: https://github.com/DavidVFitzGerald/LCA-diff/actions/runs/43536287631. Clean committed worktree; no in-scope blockers. Next: maintainer reviews/merges PR #41, then coordinator closes #7. #8 is PM-ready from merged #6; #9 requires both #7/#8. No merge/deployment performed.
feat: implement asynchronous mock discovery and selection services (R…
DavidVFitzGerald commentedon Nov 14, 2026
Coordinator verified maintainer merge of PR #41 at af4aa98. Independent QA PASS and hosted quality CI PASS at delivered c8dc8c9 are recorded above. Closing completed F1 discovery slice; #8 comparison services proceeds next.