design: unpark frontend architecture — vision v0.6 + ADR-016 (Frontend Live-Update Transport)#33
Merged
Conversation
…d Live-Update Transport)
Discharges the vision's explicit frontend-architecture unpark trigger ("CritterBids
lands on a stable live-update pattern"), confirmed by the sibling-repo frontend survey
(docs/research/frontend-survey-sibling-repos.md, committed in prior session).
ADR-016 (Accepted): SignalR (`@microsoft/signalr` v10) as the browser-client
live-update transport for rider, driver, and ops frontend surfaces. Architecture is
the transport-agnostic push→Query-cache-bridge pattern from CritterBids'
`createSignalRProvider<TMessage>`: component contract (useListen / useConnectionState /
applyMessage) is decoupled from transport at the createConnection seam. gRPC-web ruled
out as niche and experimental; gRPC thesis demonstrated by the backend service mesh.
Cross-references ADR-005 (browser-client push is the fourth transport category not
covered by service-to-service ADR-005) and ADR-006 (accessTokenFactory token
acquisition for authed hub connections).
Vision v0.6: adopted convergent house stack (React 19 / Vite 8 / TS 6 / Tailwind v4 /
TanStack Query / shadcn/ui / Zod) and audience-SPA monorepo shape (rider / driver /
operations / shared / e2e) as working direction in §Tentative Technology Stack. Removed
"Frontend architecture" and "Map library for frontend" from §Explicitly Parked. Added
three new §Open Questions entries: map library (candidates: MapLibre GL / Leaflet /
deck.gl; couples to Telemetry BC geospatial representation), contracts-package shape
(one @crittercab/shared vs. per-BC packages), and frontend monorepo vs. separate repos.
Two successor sessions named: map-library spike (after Telemetry geospatial repr. is
settled) and contracts/monorepo session (at first frontend implementation).
Null narrative/workshop spec delta — vision/ADR-layer design-return per ADR-004.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
createSignalRProvider<TMessage>; component contract decoupled from transport at thecreateConnectionseam. gRPC-web ruled out as niche/experimental — gRPC thesis demonstrated by the backend service mesh, not the browser transport. Cross-references ADR-005 (browser-client push is the fourth transport category) and ADR-006 (token acquisition for authed hub connections).rider/driver/operations/shared/e2e) as working direction. Removed "Frontend architecture" and "Map library for frontend" from§Explicitly Parked. Added three§Open Questionsentries: map library, contracts-package shape, frontend monorepo vs. separate repos.Artifacts changed
docs/decisions/016-frontend-live-update-transport.mddocs/decisions/README.mddocs/vision/README.mddocs/retrospectives/frontend-architecture-unpark.mddocs/retrospectives/README.mdDesign-return cadence
This is a design-return per ADR-004 — deliberate step back into the design phase after the recent implementation/tidy/workshop stretch. No code is produced; the deliverables are the vision amendment and the ADR. The survey input (
docs/research/frontend-survey-sibling-repos.md) was committed in the prior session.Out of scope