feat: expand SGS hall POI adaptation

This commit is contained in:
lyf
2026-06-30 01:01:41 +08:00
parent e826c92486
commit c06d309e08
4 changed files with 1311 additions and 12 deletions

View File

@@ -0,0 +1,27 @@
# Task 2 Report
Status: DONE_WITH_CONCERNS
Files changed:
- `src/data/adapters/sgsSdkGuideAdapter.ts`
- `src/domain/museum.ts`
Commands run:
- `node scripts/check-sgs-hall-poi-adapter.mjs`
- Output: `SGS hall POI adapter smoke check passed`
- `pnpm type-check`
- Output summary: `vue-tsc --noEmit` completed successfully.
Commits created:
- `08a6bcb` in implementer worktree: `feat: expand SGS hall POI adaptation`
- Main workspace integrated manually because cherry-pick was blocked by existing local changes to the same files.
Self-review notes:
- Adapter now includes public exhibition-space whitelist and keyword checks.
- `toMuseumHallPoisFromSgs` now supports entrance anchors, space-center fallback, standalone space fallback, and diagnostics helper.
- Main integration preserves stronger Task 1 semantics approved by user: `backend-sgs-sdk-hall-entrance` requires both entrance coordinates and route node, and later real entrance anchors can upgrade a space-center POI.
- `src/domain/museum.ts` already had/keeps typed hall fields (`MuseumPoiKind`, `MuseumPoiEntrance`, hall/source fields, preview fields) required by adapter output.
Concerns:
- Manual integration was required because the main workspace already had overlapping uncommitted changes in adapter/domain files.
- Task 3 will add repository diagnostics consumption of `createSgsHallPoiDiagnostics`.