Record Maps Stage 4 deployment acceptance and cleanup

This commit is contained in:
Nick Beckley 2026-11-02 23:22:24 +00:00
parent 58498d4362
commit 4f361cb47f

View File

@ -38,3 +38,41 @@ Controls have labels, keyboard-operable handles, visible focus, lock/visibility
- Existing Maps Stage 1, Stage 2, Stage 3 and detached browser suites pass. Relationships ribbon and focus stability pass in web/PWA at 1440/1700/1920. Actual installed-PWA context-menu suite passes, including real clipboard operations and theme/keyboard/focus checks.
The first Development acceptance pass caught a reference-inspector interaction during the Stage 3 Create regression. Placement tools now take precedence over reference selection/dragging and clear the reference inspector when a piece is placed. Browser coverage explicitly places pieces over both locked and unlocked references. Final deployment, authenticated acceptance and cleanup evidence follow below.
## Final Development deployment
Implementation commit: `d58b0c2d838cfd9eea43c543d4bef5337678eabb`. Final runtime commit, including the placement fix and expanded coverage: **`58498d43623f1875d5040e5b7162d448b186362f`**. Subsequent documentation-only commits record acceptance and cleanup; they do not change deployed runtime code.
Development Maps: **https://dev.plotdirector.com/Maps** (sign in and select a project).
- Final release: `/srv/apps/plotdirector-dev/releases/maps-stage4-58498d4-20261102_231858`.
- Previous runtime backup: `/srv/apps/plotdirector-dev/current-before-maps-stage4-58498d4-20261102_231858`.
- Final pre-deployment database backup: `/var/opt/mssql/backup/PlotDirector_Development_solver_20261102_231854_f5c2c85f37fa4f41bbe41adebfabc883.bak` (237137920 bytes, COPY_ONLY/CHECKSUM, file verified). This database backup verification alone is not a database restore test; the dedicated project restore tests below separately recover actual image bytes.
- Active import/analysis/synthesis/enrichment/queued-work count and in-flight Development request count were both **zero** before restart.
- Service active; local HTTP GET and public validated-HTTPS GET returned **200**.
- Assembly informational version: `1.0.0+58498d43623f1875d5040e5b7162d448b186362f`.
- Published and installed `PlotLine.dll` SHA256 match: `9048ad3393f8615f20098bc30be3eba7b0319ff657d1943a90f7802d58bd09c5`.
## Authenticated acceptance on the final runtime
The Development-only `maps-stage4-dev-smoke.cjs` suite passes in web and PWA modes using two newly created projects owned by a disposable normal account. It verifies seven persisted application themes without rewriting map data; Dark application chrome around an independent map; Paper/Dark map selection; real normalized uploads; invalid upload/anonymous/cross-project denial; private image headers; opacity/position/size/rotation/Undo/Redo; locked-image panning; show/hide; placement and editing of structured geography over locked/unlocked references; Maximise/Restore; Keep/Escape/X/Discard/Save/retry after a simulated failed request; exact intended breadcrumb destination; and no unexpected native dialogs or JavaScript errors.
The same suite creates and downloads normal restore points, confirms the exported image bytes, removes the reference, saves, permanently deletes the unused image, then restores through `ProjectRestorePoints/Restore`. The restored map settings, unchanged structured features and exact image bytes match the snapshot, with the normal PreRestore safety backup recorded in service logs. It checks all six Story lenses, minimal detached shell and live theme synchronization without map mutation, and 800/390-pixel layouts. Existing Floor Plan upload and settings endpoints persist opacity/scale/offset/lock; all seven application themes retain the same Floor Plan image and saved opacity.
The final runtime also passes authenticated Stage 1 Create/Location/hierarchy/duplicate/delete/PWA smoke and Stage 2 six-lens/evidence/route/occupancy/navigation/PWA smoke. The browser fixture Stage 3 suite passes again after the placement fix in both web and PWA, including genuine `beforeunload`, exact destination, failed/malformed save, Keep/Escape/X, repeat clicks, rotation/shape manipulation, canonical context menus and scrubber coverage.
## Scope and next stage
No required Stage 4 feature is intentionally deferred. The scope remains one optional image per map, simple canvas choices and visual-only reference content. Theme synchronization uses the existing same-origin device preference; cross-device preference changes appear on normal reload rather than through a new push service. Genuine browser-owned unload dialogs retain browser-controlled wording. Unused project-image deletion is deliberate and irreversible through Undo; normal project backups can recover it.
Sensible Stage 5 options, requiring separate authorization, are image cropping and additional authoring/snap tools. Any future physical-scale calibration should require explicit author input and preserve the distinction between drawn placement and verified travel evidence. Image interpretation must not silently become geography.
**Production is unchanged.** All database, service, deployment and acceptance operations targeted Development only.
The authenticated **Stage 3 live suite also passes on the final runtime in web and PWA**, including repeated land/forest/path edits, real saves, original navigation, canonical menus, minimal detached shell, main/detached scene and hierarchy synchronization, real optimistic revision conflicts, failed-save navigation blocking, closed-opener scene navigation, authorization/CSRF and unchanged Story geography.
## Cleanup and delivery state
Both the database-regression identity and the live-acceptance identity were removed using the normal Development account-deletion workflow. Their owned projects and fixture data were removed with them; private credential files were deleted by the helper. A separate guarded Development query verified that the live identity, its two Story fixture projects and their `MapReferenceImages` bytes no longer exist. Both Floor Plan test image files were verified absent from the deployed filesystem after normal cleanup. Private fixture-ID files, the cleanup helper/check files and temporary publish directories were removed, and the task-owned browser fixture host was stopped. Release archives, database backups and non-secret verification logs remain as operational evidence.
The final service remains active with the verified runtime hash above. The Development warning/error journal remained empty through acceptance and cleanup. This documentation-only delivery commit leaves the worktree clean; Production was not changed.