Repository navigation
Description
Delivery phase
Planning/documentation. Scope revision requested by the maintainer on 2026-11-16.
Goal
Record a local-only MVP: the app runs end to end on the maintainer's machine from a single command. Cloud deployment and the other non-essential work move to post-MVP, and the delivery plan reaches a locally working app in at most three more implementation PRs.
Context and authority
Maintainer decisions (2026-11-16): (1) remove deployment from the MVP; the app only needs to run locally. (2) Frontend talks to the real backend and data persists in PostgreSQL. (3) Start it with a single command. (4) Seed a committed synthetic release automatically; real BAFU data loads through the existing B3/B4 pipeline as an opt-in. (5) Local login uses the Firebase Auth Emulator. (6) The differences toggles are the only remaining F5 feature kept in the MVP; the other F5 work moves to post-MVP issues.
This deviates from PRD §§2–7 and specification §§3, 6.7–6.8, 8, 9 and 11–12, so specification §0.2 requires a numbered ADR and both current documents updated in the same PR.
Requirements and constraints
- ADR 0006 (Proposed) records the decision, alternatives, consequences, affected sections and test impacts. It partially supersedes ADR 0002/0005 gating: I1 no longer waits for the full Phase 1 mock gate.
- Update PRD, specification, roadmap, AGENTS.md, frontend backlog and ADR index consistently.
- Re-scope open F5 issues: [Task] L3 — Differences toggles on the real API and local MVP acceptance #30 becomes L3. [Task] F5 — Implement exact on-demand difference queries in mock services #29, [Task] F5 — Persist the versioned account-scoped workspace #31, [Task] F5 — Reconcile restored IDs and publication changes atomically #32, [Task] F5 — Complete comparison loading, recovery and accessibility states #33 and [Task] F5 — Record full mock-frontend acceptance and the Phase 1 gate #34 get the
post-MVPlabel and a deferral note. - Publish L1 and L2 implementation issues and keep later work at milestone level.
- No application code changes.
Acceptance criteria
- AC1 — ADR 0006 exists with all required ADR sections and is listed in the index as Proposed.
- AC2 — PRD and specification agree with ADR 0006: deployment, Terraform, Cloud SQL/Run, workspace persistence and full-corpus release validation are POST-MVP. A single-command local stack, real adapter with the Auth Emulator, a synthetic seed and opt-in BAFU import are MVP.
- AC3 — Roadmap shows L1 → L2 → L3 as the remaining MVP path, with gates, and lists the post-MVP milestones.
- AC4 — The F5 issues are re-labelled/re-scoped as described, with links.
- AC5 — No historical folder used; no application code changed.
Out of scope and follow-ups
Implementation is in L1/L2/L3 (#30). Post-MVP work stays at milestone level except for the existing deferred issues.
Verification plan
Documentation-only: cross-check the ADR, PRD, specification, roadmap and AGENTS.md for consistency, and run git diff --check. No product tests apply.
Dependencies and readiness
None. ADR 0006 becomes authoritative only when the maintainer merges this PR.
Activity
DavidVFitzGerald commentedon Nov 16, 2026
Handoff (coordinator, 2026-11-16): branch
docs/local-mvp-scope@49cc5a1, PR #98. AC1–AC5 prepared: ADR 0006 (Proposed), synced PRD/spec/roadmap/AGENTS/role docs/backlog/README. Issues re-scoped (#30 → L3; #29, #31–#34 post-MVP), L1 #96 and L2 #97 published. Checks:git diff --check(only pre-existing intentional hard line breaks); manual consistency review. Next: independent QA consistency review, then maintainer review/merge. L1 #96 starts after merge.docs: propose ADR 0006 local-only MVP and re-plan to L1–L3 (Refs #95)
docs: fix QA findings on the ADR 0006 acceptance record (Refs #95)
DavidVFitzGerald commentedon Nov 16, 2026
QA: FAIL (round 1, post-merge)
Independent documentation QA, run after the merge. Reviewed SHAs:
cf7f1d5, from PR docs: local-only MVP scope (proposed ADR 0006) and L1–L3 plan #98, merged by the maintainer on 2026-11-16 with hosted CI 4/4 passing.9cbf831.Merged L0 content: AC1–AC5 PASS. Evidence:
post-MVPlabel and a deferral comment. [Task] L1 — Single-command local stack with a seeded synthetic release #96 and [Task] L2 — Connect the frontend to the real API and Auth Emulator #97 contain all eight Task sections.PR #99 FAIL:
docs/engineering/roadmap.md:47still said "proposed ADR 0006".cf7f1d5merge. A stale 3-column coverage-table header atroadmap.md:514–515broke the 4-column table, so the §9.2 behavior column was lost.Non-blocking notes:
Engineering response: D1, D2 and N1–N3 are fixed in
22fed39on PR #99. QA re-verification is pending. No product tests apply, and no container checks were claimed.DavidVFitzGerald commentedon Nov 16, 2026
QA: PASS (round 2)
Re-reviewed PR #99 at head
22fed39523269fd3f45abc478b570b9a37dc5c69, on top of9cbf831andcf7f1d5. This was documentation-only independent QA.Fix commit:
9cbf831..22fed39touches onlyAGENTS.md,docs/engineering/roadmap.mdanddocs/engineering/frontend-backlog.md.Findings:
Acceptance criteria:
git diff --name-only cf7f1d5^ 22fed39lists the same 10 documentation files, with no application code, CI files, lockfiles or historical folders.Checks:
git diff --check cf7f1d5^ 22fed39: the only hits are the known intentional hard line breaks at PRD:3 and spec:3.rgsearches, run with the historical-folder exclusions: clean.22fed39: 4/4 pass (api-quality, backend-quality, etl-quality, quality; runs 43849569512, 43849569532 and 43849569539).QA authored no implementation changes, and no product or container tests were claimed.
Coordinator handoff
docs/adr-0006-accepted@22fed39, PR docs: record ADR 0006 acceptance (L0 follow-up) #99, ready for review. PR docs: local-only MVP scope (proposed ADR 0006) and L1–L3 plan #98 was merged atcf7f1d5.docs: record ADR 0006 acceptance from the PR #98 merge (Refs #95)
docs: fix QA findings on the ADR 0006 acceptance record (Refs #95)
DavidVFitzGerald commentedon Nov 16, 2026
Closed by the coordinator. L0 is complete: PR #98 (
cf7f1d5) and PR #99 (401dc06) were merged by the maintainer on 2026-11-16, after independent QA PASS and hosted CI 4/4 passing at22fed39. ADR 0006 is Accepted. Next is PM readiness grooming for L1 #96; its ADR 0006 dependency is now satisfied.