Release 3.6
Dossier-API Enrichment Routing
All backend parcel enrichment now routes through dossier-api; LGA-based water authority fallback
Overview
Backend services were bypassing dossier-api for parcel lookups, creating duplicate cache paths and inconsistent results between the dossier frontend and the admin portal. This release finishes the migration so every enrichment call goes through dossier-api, and adds a fallback that resolves a sensible water authority for parcels that have no geometry.
What Changed
Unified Backend Enrichment
ProjectInsightEnrichmentServicenow callsdossier-apifor all parcel intelligence (SPI, parcel PFI, property PFI, title status, overlays, land size).- The platform is a consumer only; dossier-api remains the source of truth for parcel intelligence and owns the cache.
- Removed legacy direct-to-Vicplan code paths from the platform backend.
LGA-based Water Authority Fallback
- Untitled / pending parcels often lack geometry, so the spatial water-authority lookup returns nothing.
- Fallback mapping of LGA name → retail water authority (Yarra Valley, South East, Greater Western, etc.) lives in
parcel-summary.tsand kicks in when spatial lookup fails.
Reject Fuzzy SPI Matches
- Geocoder matches below a confidence threshold are now rejected rather than accepted.
- Prevents the subtle bug where a low-confidence geocoder match would assign the parcel to the wrong LGA and return incorrect zoning.
Files Touched
| File | Change |
|---|---|
app/src/Service/ProjectInsightEnrichmentService.php | Route all enrichment through dossier-api |
dossier-api/src/server/services/parcel-summary.ts | LGA water authority fallback map |
dossier-api/src/server/api.ts | Reject fuzzy SPI geocoder matches |