Claude VM c7cf1aee49 feat(geoportal-v2): re-enable deep-enrich for cladiri + forward layerId
Orchestrator team shipped CLADIRI support in
/api/v1/parcel/enrich (PR4):
  - DeepEnrichLayerId enum + optional layerId in input
  - inferLayerIdFromCadref() regex /-C\d+(-U\d+)?$/ — covers apartments too
  - loadFeature() now layer-aware (no more hardcoded
    layerId='TERENURI_ACTIVE')
  - fetchBuildingsForParcel skipped when running for a building
  - HTTP layer accepts layerId in body

Confirmed live via gis-api container logs — manual-override calls
on "304629-C2" / "304629-C3" (CLADIRI) reach orchestrator and complete.

Architots side:

1. Re-enabled the "Actualizează" / "Încarcă din ANCPI" button for
   cladiri. The disabled+tooltip gate I added last commit was the
   right thing while the orchestrator path didn't accept buildings —
   no longer needed.

2. refreshFromAncpi now forwards feature.layerId in the request body.
   Skips the orchestrator's dash-suffix auto-detect — more reliable
   than parsing "-C3" out of cadref each time.

3. ParcelRefBody type gained optional manualOverride + layerId fields
   so callers can pass both through the thin client.

Note from orchestrator team: extractEnrichment populates only the
generic NR_CF / ADRESA / PROPRIETARI / PROPRIETARI_VECHI / SOLICITANT
keys today. The CLADIRE_TYPE / CLADIRE_DESTINATIE / CLADIRE_OBSERVATII
/ CLADIRE_NIVELURI etc. fields the V2 building panel renders come
from a different orchestrator pipeline (building-tech), already wired
+ populating those rows when the orchestrator's bulk-enrich runs.
Single-parcel deep-enrich for a building updates NR_CF/ADRESA/
PROPRIETARI but leaves CLADIRE_* alone unless that pipeline runs in
parallel — separate iteration if needed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 21:41:12 +03:00
S
Description
No description provided
3.4 MiB
Languages
TypeScript 98.7%
Shell 0.4%
PLpgSQL 0.4%
Dockerfile 0.2%
CSS 0.1%
Other 0.1%