diff --git a/Docs/Locations/Refinements.md b/Docs/Locations/Refinements.md index 4b4c6406..86f7c9c7 100644 --- a/Docs/Locations/Refinements.md +++ b/Docs/Locations/Refinements.md @@ -81,8 +81,7 @@ restriction or temporary/temporal tracking is introduced. Real/Fictional provena - Maps, Floor Plans, Context and Word Companion keep their location identities, references, existing detection/Quick Add flags and provider contracts. Their interfaces and focus/Hold/Follow are unchanged. -Verification, screenshots, delivery identifiers and remaining environment limits are recorded below -once the final release has completed validation. +Verification and delivery evidence follows below. Production remained untouched. ## Reproduce the focused rendered checks @@ -101,3 +100,113 @@ xvfb-run -a node PlotLine.Tests/Browser/shared-attributes-comparison.cjs --insta maintained in JavaScript. The browser tests use actual compiled Razor/shared assets with synthetic HTTP mutations. `PlotLine.Tests/Sql/LocationTaxonomy.sql` is guarded to disposable clones and rolls its fixtures back. Existing Characters and Locations browser regressions remain separate checks. + +## Delivery and verification + +Final deployed application: **3cbafd34f2cdd9f75c94d1b74906db63edf8d946**. +Development release `development-location-refinements-3cbafd34f2cd-20261127T145949Z`, deployment +`20261127T150012Z-7f65af63d564`, passed signed admission, verified COPY_ONLY/CHECKSUM backup, +binary/application/database checks and release-history recording. Migration 338 was applied through +the first Development activation; the final code-only activation executed zero migrations. +[Final receipt](RefinementsEvidence/development-deployment.json), +[migration receipt](RefinementsEvidence/migration-deployment.json), +[health](RefinementsEvidence/local-health.json), [release gates](RefinementsEvidence/gates.json). + +Implementation commits pushed to `codex/word-companion-native-phase1-20261104`: + +- `0e5a3805`: hierarchical picker, canonical taxonomy, shared Attributes and both consumers. +- `2fb6423c`: preserve the older canonical type-list API and authenticated regression coverage. +- `3cbafd34`: preserve picker/palette semantic colours, with seven-theme computed-colour assertions. + +Validation completed: + +- Clean solution build: zero warnings/errors; executable regression harness: **889 PASS**, exit 0. +- Two fresh migration clones: all 208 other original business tables unchanged, all 16 old type rows + and IDs unchanged, 81 new canonical types and 105 metadata rows; identical resulting schema hashes, + DBCC and constraints passed. [Migration qualification](RefinementsEvidence/migration-qualification.json). + The code-only qualification retained all 210 business-table fingerprints and the same schema. + [Final qualification](RefinementsEvidence/database-qualification.json). +- Focused SQL tests: three-level acyclic taxonomy, grouping/assignable separation, Office contexts, + generic/specialised and bulk assignments, exact prior-value Undo, unchanged physical containment + and provenance, server rejection of grouping keys. All fixtures roll back. + [SQL results](RefinementsEvidence/taxonomy-sql.txt). +- Existing location SQL tests and real Dapper contracts passed with the expanded catalogue, including + hierarchy/concurrency guards, scene/reference/merge preservation, exact datetime2 merge binding, + typed classification export and generic restore. [SQL](RefinementsEvidence/existing-location-sql.txt), + [Dapper](RefinementsEvidence/dapper-contract.txt). +- Actual compiled Razor/shared assets, with isolated synthetic HTTP mutations: new picker/taxonomy + suite at 50/500/1,000 records; around 100 containment levels, wide roots/siblings, repeated names, + aliases, long paths and descriptions. Native bidirectional drag, bulk/Undo, generic selection, + descendant filtering/counts, nested menus, explicit merge confirmation, branch exclusions, + root selection, keyboard navigation, empty/clear search, and saved nested expansion passed. + [Browser](RefinementsEvidence/results-browser.json), [installed PWA](RefinementsEvidence/results-pwa.json). +- Existing Characters browser/PWA suites passed at 10/100/500; existing Locations browser/PWA suites + passed at 50/200/500/1,000. These exercise the existing cards, biographies, inline operations, + relationship/navigation links, selection, live-refresh guards, hierarchy drag and panel persistence. +- Both palettes passed one-session cross-workspace navigation with independent widths/group state, + aligned columns at narrow/wide bounds, seven themes and 1024/1440/1920 viewport checks. Character + card node counts, full fixture biographies and variable heights remain intact. + [Shared browser check](RefinementsEvidence/shared-browser.json), + [shared installed-PWA check](RefinementsEvidence/shared-pwa.json). +- Authenticated final Development browser: real type assignment/bulk/Undo/filtering, aliases, + Create/Edit parent/type controls, relationship target, workspace parent/alias picker, native attribute + drag in both directions, cycle/heading rejection, reviewed workspace merge, traditional merge + confirmation, and real Characters creation/bulk/filter/Undo with variable biographies. + [Actual browser](RefinementsEvidence/development-refinements.json). +- Actual installed Development Chromium PWA: 105-node catalogue, legacy 97-ID response without a + duplicate NULL choice, Office disambiguation, alias picker, both palettes, card descriptions, + resize and same-window Details. [Actual installed PWA](RefinementsEvidence/development-refinements-pwa.json). + +All screenshots and mutation tests use synthetic fixtures. The dedicated account and its owned +project/book/locations/characters were removed through the existing account hard-delete workflow; +its credential file and all three task-specific qualification databases were removed. Development +was never restored or reset. [Cleanup](RefinementsEvidence/fixture-cleanup.json). + +## Representative rendered evidence + +| Demonstration | Screenshots | +|---|---| +| Wide hierarchical picker with selected full path | [Browser](RefinementsEvidence/picker-browser.png), [installed PWA](RefinementsEvidence/picker-pwa.png) | +| Deep hierarchy / long path | [Browser](RefinementsEvidence/picker-large-browser.png), [PWA](RefinementsEvidence/picker-large-pwa.png) | +| Expanded taxonomy, light/dark | [Light](RefinementsEvidence/taxonomy-browser-modern-light.png), [dark](RefinementsEvidence/taxonomy-browser-modern-dark.png) | +| Shared Locations palette | [Light](RefinementsEvidence/locations-attributes-browser-modern-light.png), [dark](RefinementsEvidence/locations-attributes-browser-modern-dark.png) | +| Shared Characters palette | [Light](RefinementsEvidence/characters-attributes-browser-modern-light.png), [dark](RefinementsEvidence/characters-attributes-browser-modern-dark.png) | +| Character cards retained | [Browser](RefinementsEvidence/characters-cards-browser.png), [installed PWA](RefinementsEvidence/characters-cards-pwa.png) | +| Deployed parent and traditional merge pickers | [Parent](RefinementsEvidence/development-picker.png), [merge](RefinementsEvidence/development-merge-picker.png) | +| Deployed taxonomy and Characters | [Locations](RefinementsEvidence/development-taxonomy.png), [Characters](RefinementsEvidence/development-characters.png) | +| Deployed installed PWA | [Type picker](RefinementsEvidence/development-pwa-type-picker.png), [location picker](RefinementsEvidence/development-pwa-location-picker.png), [Locations](RefinementsEvidence/development-pwa-locations.png), [Characters](RefinementsEvidence/development-pwa-characters.png) | + +The evidence directory also includes all seven theme screenshots for both palettes and modes. +Representative new-workspace load timings (milliseconds; single synthetic HTTP-fixture passes): + +| Locations | Browser | Installed Chromium PWA | +|---:|---:|---:| +| 50 | 287 | 316 | +| 500 | 490 | 773 | +| 1000 | 756 | 1181 | + +These are rendered fixture measurements, not authenticated service benchmarks or statistical speedup +claims. Full descriptions/cards remain unvirtualised, as before. Deep-picker interaction measurements +include search, pointer actions, a screenshot and deliberate settling waits. + +## Acceptance boundaries + +| Requirement | Status | Evidence / limit | +|---|---|---| +| Hierarchical picker, sibling/root order, paths, aliases, duplicate names | Passed | Rendered suites and actual forms | +| Root choice, operation exclusions, keyboard, clear/empty search | Passed | Browser/PWA; actual server rejection retained | +| Workspace and traditional merge confirmation | Passed | Authenticated final Development run | +| Existing IDs/values, generic levels, three-level taxonomy | Passed | SQL fingerprints, graph checks, actual assignments | +| Parent filters/counts, bulk, drag and exact Undo | Passed | Both rendered consumers; SQL and actual mutation checks | +| Shared styling, semantic colours, narrow/wide aligned columns | Passed | Seven themes, computed colour checks and screenshots | +| Independent preferences, resize, scrolling and restored expansion | Passed | Same-session browser/PWA navigation | +| Characters cards and existing Locations workflows | Passed | Existing browser suites, SQL and authenticated smoke | +| Maps, Floor Plans, Context, import and Word contracts | Passed | Existing harness/contracts; unchanged IDs/providers, no interface redesign | +| No added AI/geocoding or focus/Hold/Follow writes | Passed | New command/read paths and migration inspected; existing focus harness | +| Development deployment and fixture removal | Passed | Signed receipts, healthy exact source/database, cleanup record | +| Physical Windows/Edge/Word end-to-end use | Not verified | Linux browser + genuinely installed Chromium PWA were available | +| Collections above 1,000; exhaustive assistive-technology audit | Not verified | No claim beyond exercised cases | + +No unresolved failing check remains. Catalogue authoring UI is not included; extensions use reviewed +forward-only migrations. Specialised Maps/Floor Plans selectors and Context/Assets interfaces remain +unchanged by design. No general application redesign was undertaken. diff --git a/Docs/Locations/RefinementsEvidence/characters-attributes-browser-baby-blue.png b/Docs/Locations/RefinementsEvidence/characters-attributes-browser-baby-blue.png new file mode 100644 index 00000000..96041744 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/characters-attributes-browser-baby-blue.png differ diff --git a/Docs/Locations/RefinementsEvidence/characters-attributes-browser-modern-dark.png b/Docs/Locations/RefinementsEvidence/characters-attributes-browser-modern-dark.png new file mode 100644 index 00000000..34283135 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/characters-attributes-browser-modern-dark.png differ diff --git a/Docs/Locations/RefinementsEvidence/characters-attributes-browser-modern-light.png b/Docs/Locations/RefinementsEvidence/characters-attributes-browser-modern-light.png new file mode 100644 index 00000000..a06dee45 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/characters-attributes-browser-modern-light.png differ diff --git a/Docs/Locations/RefinementsEvidence/characters-attributes-browser-plotdirector.png b/Docs/Locations/RefinementsEvidence/characters-attributes-browser-plotdirector.png new file mode 100644 index 00000000..da2b62d1 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/characters-attributes-browser-plotdirector.png differ diff --git a/Docs/Locations/RefinementsEvidence/characters-attributes-browser-rose-pink.png b/Docs/Locations/RefinementsEvidence/characters-attributes-browser-rose-pink.png new file mode 100644 index 00000000..cdf72ac8 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/characters-attributes-browser-rose-pink.png differ diff --git a/Docs/Locations/RefinementsEvidence/characters-attributes-browser-warm-dark.png b/Docs/Locations/RefinementsEvidence/characters-attributes-browser-warm-dark.png new file mode 100644 index 00000000..640fca59 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/characters-attributes-browser-warm-dark.png differ diff --git a/Docs/Locations/RefinementsEvidence/characters-attributes-browser-warm-light.png b/Docs/Locations/RefinementsEvidence/characters-attributes-browser-warm-light.png new file mode 100644 index 00000000..9a55b10f Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/characters-attributes-browser-warm-light.png differ diff --git a/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-baby-blue.png b/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-baby-blue.png new file mode 100644 index 00000000..493ed62d Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-baby-blue.png differ diff --git a/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-modern-dark.png b/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-modern-dark.png new file mode 100644 index 00000000..bda86e3f Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-modern-dark.png differ diff --git a/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-modern-light.png b/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-modern-light.png new file mode 100644 index 00000000..f21857a2 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-modern-light.png differ diff --git a/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-plotdirector.png b/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-plotdirector.png new file mode 100644 index 00000000..9543fc21 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-plotdirector.png differ diff --git a/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-rose-pink.png b/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-rose-pink.png new file mode 100644 index 00000000..dc008d3c Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-rose-pink.png differ diff --git a/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-warm-dark.png b/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-warm-dark.png new file mode 100644 index 00000000..b18c2abd Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-warm-dark.png differ diff --git a/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-warm-light.png b/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-warm-light.png new file mode 100644 index 00000000..650031bc Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/characters-attributes-pwa-warm-light.png differ diff --git a/Docs/Locations/RefinementsEvidence/characters-browser-performance.json b/Docs/Locations/RefinementsEvidence/characters-browser-performance.json new file mode 100644 index 00000000..5d5b9c7e --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/characters-browser-performance.json @@ -0,0 +1,17 @@ +[ + { + "count": 10, + "loadMs": 271, + "assignments": 13 + }, + { + "count": 100, + "loadMs": 373, + "assignments": 13 + }, + { + "count": 500, + "loadMs": 1016, + "assignments": 13 + } +] \ No newline at end of file diff --git a/Docs/Locations/RefinementsEvidence/characters-cards-browser.png b/Docs/Locations/RefinementsEvidence/characters-cards-browser.png new file mode 100644 index 00000000..e88d3717 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/characters-cards-browser.png differ diff --git a/Docs/Locations/RefinementsEvidence/characters-cards-pwa.png b/Docs/Locations/RefinementsEvidence/characters-cards-pwa.png new file mode 100644 index 00000000..53a6c47e Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/characters-cards-pwa.png differ diff --git a/Docs/Locations/RefinementsEvidence/characters-pwa-performance.json b/Docs/Locations/RefinementsEvidence/characters-pwa-performance.json new file mode 100644 index 00000000..4422a980 --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/characters-pwa-performance.json @@ -0,0 +1,17 @@ +[ + { + "count": 10, + "loadMs": 295, + "assignments": 13 + }, + { + "count": 100, + "loadMs": 445, + "assignments": 13 + }, + { + "count": 500, + "loadMs": 1407, + "assignments": 13 + } +] \ No newline at end of file diff --git a/Docs/Locations/RefinementsEvidence/dapper-contract.txt b/Docs/Locations/RefinementsEvidence/dapper-contract.txt new file mode 100644 index 00000000..51398ae4 --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/dapper-contract.txt @@ -0,0 +1,7 @@ +PASS Dapper read: 50 synthetic + 69 existing clone records, old list 28.3 ms (119 rows), new six-result directory 115.3 ms +PASS Dapper read: 200 synthetic + 69 existing clone records, old list 61.1 ms (269 rows), new six-result directory 83.9 ms +PASS Dapper read: 500 synthetic + 69 existing clone records, old list 63.7 ms (569 rows), new six-result directory 72.0 ms +PASS Dapper read: 1000 synthetic + 69 existing clone records, old list 83.7 ms (1069 rows), new six-result directory 69.9 ms +PASS Dapper reviewed merge preserves exact datetime2(7) versions. +PASS Dapper create result, exact-version assignment/Undo, directory projections including entry/exit-only usage, and rollback; no live data changed. +PASS actual typed ProjectBackup export and generic location JSON restore retain classification; restore rolled back. diff --git a/Docs/Locations/RefinementsEvidence/database-qualification.json b/Docs/Locations/RefinementsEvidence/database-qualification.json new file mode 100644 index 00000000..fd5642e3 --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/database-qualification.json @@ -0,0 +1,35 @@ +{ + "status": "passed", + "runs": [ + { + "clone": 1, + "starting_schema_sha256": "7096629dc68204c09d0ca5b2fae5eaf24505d7435ebdefe0141f3ee8b52a9a21", + "resulting_schema_sha256": "7096629dc68204c09d0ca5b2fae5eaf24505d7435ebdefe0141f3ee8b52a9a21", + "executed": 0, + "unchanged_original_business_tables": 210, + "existing_type_rows_and_ids_unchanged": true, + "original_type_count": 97, + "result_type_count": 97, + "taxonomy_entries": 105, + "integrity": { + "integrity": true, + "constraint_violations": 0 + } + }, + { + "clone": 2, + "starting_schema_sha256": "7096629dc68204c09d0ca5b2fae5eaf24505d7435ebdefe0141f3ee8b52a9a21", + "resulting_schema_sha256": "7096629dc68204c09d0ca5b2fae5eaf24505d7435ebdefe0141f3ee8b52a9a21", + "executed": 0, + "unchanged_original_business_tables": 210, + "existing_type_rows_and_ids_unchanged": true, + "original_type_count": 97, + "result_type_count": 97, + "taxonomy_entries": 105, + "integrity": { + "integrity": true, + "constraint_violations": 0 + } + } + ] +} \ No newline at end of file diff --git a/Docs/Locations/RefinementsEvidence/development-characters.png b/Docs/Locations/RefinementsEvidence/development-characters.png new file mode 100644 index 00000000..20725bf8 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/development-characters.png differ diff --git a/Docs/Locations/RefinementsEvidence/development-deployment.json b/Docs/Locations/RefinementsEvidence/development-deployment.json new file mode 100644 index 00000000..af6d7139 --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/development-deployment.json @@ -0,0 +1,91 @@ +{ + "status": "activated", + "operation": "activate", + "deployment_id": "20261127T150012Z-7f65af63d564", + "started_utc": "2026-11-27T15:00:12.634+00:00", + "completed_utc": "2026-11-27T15:00:46.003+00:00", + "release": { + "application_sha256": "712cf76b4a96a8962bc18407d6bbede95e304ccd0449aacb3860380d8ab36bbe", + "dll_sha256": "e7fc47ff1355c892923d8d268123bc890e65ce6883eb4faaad23dc66e8542af4", + "id": "development-location-refinements-3cbafd34f2cd-20261127T145949Z", + "manifest_sha256": "c2909e47da17c0d3786a36ef2f6623d9e98bd3e9ff44fd8f70327036c1cb968e", + "package_sha256": "df9c559800b22566142bd8ddeb90161bf55cf9666097c88edb8761e4349abbdb", + "source_commit": "3cbafd34f2cdd9f75c94d1b74906db63edf8d946", + "version": "1.0.0" + }, + "checks": { + "activation": true, + "application": { + "database": "PlotDirector_Development", + "environment": "Development", + "healthy": true, + "sourceCommit": "3cbafd34f2cdd9f75c94d1b74906db63edf8d946", + "version": "1.0.0" + }, + "binary_identity": true, + "database": { + "complete_history": true, + "healthy": true, + "history": { + "baselined": 317, + "executed": 20, + "expected": 337, + "latest_successful_release": { + "activated_utc": "2026-11-27T14:43:46.7419503Z", + "activation_kind": "Deploy", + "application_version": "1.0.0", + "deployment_identifier": "20261127T144315Z-90b369e13fad", + "manifest_sha256": "e78cc446178a059c73d4dfe1c6d2e5c03132206149f9b9f4c371333c98b5553a", + "package_sha256": "f7467fd8427662e0781eb086fa145dbbf9be5c552d3e0118550c6b13a021a6b2", + "recorded": true, + "release_identifier": "development-location-refinements-0e5a38050174-20261127T144256Z", + "source_commit": "0e5a38050174e99260fe60ed4aa40c9a076e4aaf" + }, + "recorded": 337, + "successful_release_count": 18 + }, + "history_verification_seconds": 0.1236504 + }, + "http_login": true, + "http_root": true + }, + "migrations": { + "baselined": 0, + "committed": [], + "committed_list_truncated": false, + "executed": 0, + "schema": "7096629dc68204c09d0ca5b2fae5eaf24505d7435ebdefe0141f3ee8b52a9a21" + }, + "release_history": { + "activated_utc": "2026-11-27T15:00:45.7960160Z", + "activation_kind": "Deploy", + "application_version": "1.0.0", + "deployment_identifier": "20261127T150012Z-7f65af63d564", + "manifest_sha256": "c2909e47da17c0d3786a36ef2f6623d9e98bd3e9ff44fd8f70327036c1cb968e", + "package_sha256": "df9c559800b22566142bd8ddeb90161bf55cf9666097c88edb8761e4349abbdb", + "recorded": true, + "release_identifier": "development-location-refinements-3cbafd34f2cd-20261127T145949Z", + "source_commit": "3cbafd34f2cdd9f75c94d1b74906db63edf8d946" + }, + "availability": { + "confirmed_inactive_to_health_ready_seconds": 6.991940856038127, + "definition": "Monotonic intervals include stop/start commands; observed public outage measured separately on Atlas.", + "service_stop_to_start_seconds": 3.631064420042094, + "stop_request_to_health_ready_seconds": 7.154535422974732, + "stop_request_to_start_command_complete_seconds": 3.7936617409577593 + }, + "failures": [], + "warnings": [ + "upload-metrics-unavailable; sender receipt may provide transfer measurements" + ], + "database_backup": { + "verified": true, + "options": [ + "COPY_ONLY", + "CHECKSUM", + "VERIFYONLY" + ] + }, + "target": "Development on Atlas only", + "production_access": false +} \ No newline at end of file diff --git a/Docs/Locations/RefinementsEvidence/development-merge-picker.png b/Docs/Locations/RefinementsEvidence/development-merge-picker.png new file mode 100644 index 00000000..d5bbd885 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/development-merge-picker.png differ diff --git a/Docs/Locations/RefinementsEvidence/development-picker.png b/Docs/Locations/RefinementsEvidence/development-picker.png new file mode 100644 index 00000000..afcceaf0 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/development-picker.png differ diff --git a/Docs/Locations/RefinementsEvidence/development-pwa-characters.png b/Docs/Locations/RefinementsEvidence/development-pwa-characters.png new file mode 100644 index 00000000..349a78a4 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/development-pwa-characters.png differ diff --git a/Docs/Locations/RefinementsEvidence/development-pwa-location-picker.png b/Docs/Locations/RefinementsEvidence/development-pwa-location-picker.png new file mode 100644 index 00000000..bd3474d1 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/development-pwa-location-picker.png differ diff --git a/Docs/Locations/RefinementsEvidence/development-pwa-locations.png b/Docs/Locations/RefinementsEvidence/development-pwa-locations.png new file mode 100644 index 00000000..9b1ee4f3 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/development-pwa-locations.png differ diff --git a/Docs/Locations/RefinementsEvidence/development-pwa-type-picker.png b/Docs/Locations/RefinementsEvidence/development-pwa-type-picker.png new file mode 100644 index 00000000..c5f04192 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/development-pwa-type-picker.png differ diff --git a/Docs/Locations/RefinementsEvidence/development-refinements-pwa.json b/Docs/Locations/RefinementsEvidence/development-refinements-pwa.json new file mode 100644 index 00000000..4d63dccc --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/development-refinements-pwa.json @@ -0,0 +1,14 @@ +{ + "status": "passed", + "target": "Development", + "installed": true, + "checks": [ + "real installed Chromium PWA", + "canonical taxonomy and legacy flat API contract", + "type picker disambiguates Office", + "alias/path containment picker", + "shared Locations taxonomy palette", + "same-window Details", + "shared Characters palette, resize and two unchanged biographies" + ] +} \ No newline at end of file diff --git a/Docs/Locations/RefinementsEvidence/development-refinements.json b/Docs/Locations/RefinementsEvidence/development-refinements.json new file mode 100644 index 00000000..f40a7c7c --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/development-refinements.json @@ -0,0 +1,21 @@ +{ + "status": "passed", + "target": "Development", + "checks": [ + "real canonical 105-entry API", + "generic and specialised type selection", + "parent counts include descendants", + "actual bulk type assignment and exact Undo", + "type filtering and cards", + "Edit parent picker and aliases", + "Create parent/type pickers", + "Details relationship target picker", + "workspace parent and alias search", + "native bidirectional attribute drag and Undo", + "server cycle and heading rejection", + "alias-based reviewed merge", + "traditional merge picker and confirmation", + "real Characters bulk attributes/filter/Undo", + "unchanged variable character biographies" + ] +} \ No newline at end of file diff --git a/Docs/Locations/RefinementsEvidence/development-taxonomy.png b/Docs/Locations/RefinementsEvidence/development-taxonomy.png new file mode 100644 index 00000000..abbc65d9 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/development-taxonomy.png differ diff --git a/Docs/Locations/RefinementsEvidence/existing-location-sql.txt b/Docs/Locations/RefinementsEvidence/existing-location-sql.txt new file mode 100644 index 00000000..8621f373 --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/existing-location-sql.txt @@ -0,0 +1,29 @@ +5661||2026-11-27T14:38:14.4334209 +5661|5664|2026-11-27T14:38:14.4374884 +5661||2026-11-27T14:38:14.4415565 +5662||2026-11-27T14:38:14.4415565 +5661|Workspace test root|2026-11-27T14:38:14.4496921 +5661|Workspace renamed|2026-11-27T14:38:14.4496922 +5662|5661|2026-11-27T14:38:14.4537655 +5665|5664|2026-11-27T14:38:14.4537656 +5662||2026-11-27T14:38:14.4578356 +5665||2026-11-27T14:38:14.4578356 +5661|0|2026-11-27T14:38:19.4578357 +5661|Author prose|2026-11-27T14:38:19.4578358 +5661|Exact prose |2026-11-27T14:38:19.4578359 +PASS bulk branch preservation, root moves, classification, targeted rename, exact undo +PASS descendant cycle rejection +PASS unavailable parent rejection +PASS cross-project parent rejection +PASS stale write rejection +PASS unauthorized mutation rejection +8174|5674|Merge source|Merge survivor +PASS merge invalidates pre-merge child Undo receipts +PASS transactional merge preserves conflicting descriptions, source, classification, children, map geometry, floor-plan links, scene assignments, aliases and non-hierarchical relationships +PASS traditional save rejects descendant cycles +PASS traditional save rejects self-parent assignment +PASS traditional save rejects mismatched location/project +5681 +PASS traditional save preserves unchanged archived-parent references, classification and import transaction +8174|5683|Case source|Case survivor +PASS merge preserves case-only and trailing-space prose differences diff --git a/Docs/Locations/RefinementsEvidence/fixture-cleanup.json b/Docs/Locations/RefinementsEvidence/fixture-cleanup.json new file mode 100644 index 00000000..d5624fe2 --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/fixture-cleanup.json @@ -0,0 +1,7 @@ +{ + "status": "passed", + "disposable_account_and_owned_project_book_locations_characters_removed": true, + "private_credential_file_deleted": true, + "qualification_clones_removed": 3, + "development_restored_or_reset": false +} \ No newline at end of file diff --git a/Docs/Locations/RefinementsEvidence/gates.json b/Docs/Locations/RefinementsEvidence/gates.json new file mode 100644 index 00000000..d8b28e22 --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/gates.json @@ -0,0 +1,20 @@ +{ + "source_commit": "3cbafd34f2cdd9f75c94d1b74906db63edf8d946", + "results": [ + { + "gate": "build", + "exit_code": 0, + "seconds": 42.32 + }, + { + "gate": "regression", + "exit_code": 0, + "seconds": 98.1 + }, + { + "gate": "publish", + "exit_code": 0, + "seconds": 31.31 + } + ] +} \ No newline at end of file diff --git a/Docs/Locations/RefinementsEvidence/local-health.json b/Docs/Locations/RefinementsEvidence/local-health.json new file mode 100644 index 00000000..722da846 --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/local-health.json @@ -0,0 +1,7 @@ +{ + "healthy": true, + "version": "1.0.0", + "sourceCommit": "3cbafd34f2cdd9f75c94d1b74906db63edf8d946", + "database": "PlotDirector_Development", + "environment": "Development" +} \ No newline at end of file diff --git a/Docs/Locations/RefinementsEvidence/locations-attributes-browser-baby-blue.png b/Docs/Locations/RefinementsEvidence/locations-attributes-browser-baby-blue.png new file mode 100644 index 00000000..850142b6 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/locations-attributes-browser-baby-blue.png differ diff --git a/Docs/Locations/RefinementsEvidence/locations-attributes-browser-modern-dark.png b/Docs/Locations/RefinementsEvidence/locations-attributes-browser-modern-dark.png new file mode 100644 index 00000000..079ea12e Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/locations-attributes-browser-modern-dark.png differ diff --git a/Docs/Locations/RefinementsEvidence/locations-attributes-browser-modern-light.png b/Docs/Locations/RefinementsEvidence/locations-attributes-browser-modern-light.png new file mode 100644 index 00000000..02434252 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/locations-attributes-browser-modern-light.png differ diff --git a/Docs/Locations/RefinementsEvidence/locations-attributes-browser-plotdirector.png b/Docs/Locations/RefinementsEvidence/locations-attributes-browser-plotdirector.png new file mode 100644 index 00000000..b6a921c1 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/locations-attributes-browser-plotdirector.png differ diff --git a/Docs/Locations/RefinementsEvidence/locations-attributes-browser-rose-pink.png b/Docs/Locations/RefinementsEvidence/locations-attributes-browser-rose-pink.png new file mode 100644 index 00000000..f4b62d4c Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/locations-attributes-browser-rose-pink.png differ diff --git a/Docs/Locations/RefinementsEvidence/locations-attributes-browser-warm-dark.png b/Docs/Locations/RefinementsEvidence/locations-attributes-browser-warm-dark.png new file mode 100644 index 00000000..8e2b196b Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/locations-attributes-browser-warm-dark.png differ diff --git a/Docs/Locations/RefinementsEvidence/locations-attributes-browser-warm-light.png b/Docs/Locations/RefinementsEvidence/locations-attributes-browser-warm-light.png new file mode 100644 index 00000000..5910bfc5 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/locations-attributes-browser-warm-light.png differ diff --git a/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-baby-blue.png b/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-baby-blue.png new file mode 100644 index 00000000..e63e56d2 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-baby-blue.png differ diff --git a/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-modern-dark.png b/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-modern-dark.png new file mode 100644 index 00000000..5389a1e7 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-modern-dark.png differ diff --git a/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-modern-light.png b/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-modern-light.png new file mode 100644 index 00000000..e96b1e93 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-modern-light.png differ diff --git a/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-plotdirector.png b/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-plotdirector.png new file mode 100644 index 00000000..f004c018 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-plotdirector.png differ diff --git a/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-rose-pink.png b/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-rose-pink.png new file mode 100644 index 00000000..34b21002 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-rose-pink.png differ diff --git a/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-warm-dark.png b/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-warm-dark.png new file mode 100644 index 00000000..d3e8bec7 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-warm-dark.png differ diff --git a/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-warm-light.png b/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-warm-light.png new file mode 100644 index 00000000..dd838751 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/locations-attributes-pwa-warm-light.png differ diff --git a/Docs/Locations/RefinementsEvidence/migration-deployment.json b/Docs/Locations/RefinementsEvidence/migration-deployment.json new file mode 100644 index 00000000..bbd70107 --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/migration-deployment.json @@ -0,0 +1,93 @@ +{ + "status": "activated", + "operation": "activate", + "deployment_id": "20261127T144315Z-90b369e13fad", + "started_utc": "2026-11-27T14:43:15.549+00:00", + "completed_utc": "2026-11-27T14:43:46.945+00:00", + "release": { + "application_sha256": "62332d93dc963fbac37651f970bb04fab572af08a17dcadafa946ffcf769a493", + "dll_sha256": "6ea473d35843560c5cec62081ac3f1b446b0520fb8dc8557c5c4834ea1594444", + "id": "development-location-refinements-0e5a38050174-20261127T144256Z", + "manifest_sha256": "e78cc446178a059c73d4dfe1c6d2e5c03132206149f9b9f4c371333c98b5553a", + "package_sha256": "f7467fd8427662e0781eb086fa145dbbf9be5c552d3e0118550c6b13a021a6b2", + "source_commit": "0e5a38050174e99260fe60ed4aa40c9a076e4aaf", + "version": "1.0.0" + }, + "checks": { + "activation": true, + "application": { + "database": "PlotDirector_Development", + "environment": "Development", + "healthy": true, + "sourceCommit": "0e5a38050174e99260fe60ed4aa40c9a076e4aaf", + "version": "1.0.0" + }, + "binary_identity": true, + "database": { + "complete_history": true, + "healthy": true, + "history": { + "baselined": 317, + "executed": 20, + "expected": 337, + "latest_successful_release": { + "activated_utc": "2026-11-27T13:36:05.9558071Z", + "activation_kind": "Deploy", + "application_version": "1.0.0", + "deployment_identifier": "20261127T133528Z-4f86bec8648b", + "manifest_sha256": "00190320b17328bd3021d171924b2133f3e42bf25dfae6b1f07ec0c7d20d8373", + "package_sha256": "017501055111bf1790e48936222ba940cf74d4b70e061dcc50b1119a0b942699", + "recorded": true, + "release_identifier": "development-locations-451e766777b1-20261127T133501Z", + "source_commit": "451e766777b134f5be4b0780c01ac8d56b3ec39d" + }, + "recorded": 337, + "successful_release_count": 17 + }, + "history_verification_seconds": 0.1454663 + }, + "http_login": true, + "http_root": true + }, + "migrations": { + "baselined": 0, + "committed": [ + "338_LocationTypeTaxonomy" + ], + "committed_list_truncated": false, + "executed": 1, + "schema": "7096629dc68204c09d0ca5b2fae5eaf24505d7435ebdefe0141f3ee8b52a9a21" + }, + "release_history": { + "activated_utc": "2026-11-27T14:43:46.7419503Z", + "activation_kind": "Deploy", + "application_version": "1.0.0", + "deployment_identifier": "20261127T144315Z-90b369e13fad", + "manifest_sha256": "e78cc446178a059c73d4dfe1c6d2e5c03132206149f9b9f4c371333c98b5553a", + "package_sha256": "f7467fd8427662e0781eb086fa145dbbf9be5c552d3e0118550c6b13a021a6b2", + "recorded": true, + "release_identifier": "development-location-refinements-0e5a38050174-20261127T144256Z", + "source_commit": "0e5a38050174e99260fe60ed4aa40c9a076e4aaf" + }, + "availability": { + "confirmed_inactive_to_health_ready_seconds": 5.994446413998958, + "definition": "Monotonic intervals include stop/start commands; observed public outage measured separately on Atlas.", + "service_stop_to_start_seconds": 2.2334060690482147, + "stop_request_to_health_ready_seconds": 6.173158943012822, + "stop_request_to_start_command_complete_seconds": 2.412122125038877 + }, + "failures": [], + "warnings": [ + "upload-metrics-unavailable; sender receipt may provide transfer measurements" + ], + "database_backup": { + "verified": true, + "options": [ + "COPY_ONLY", + "CHECKSUM", + "VERIFYONLY" + ] + }, + "target": "Development on Atlas only", + "production_access": false +} \ No newline at end of file diff --git a/Docs/Locations/RefinementsEvidence/migration-qualification.json b/Docs/Locations/RefinementsEvidence/migration-qualification.json new file mode 100644 index 00000000..dbdca8c4 --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/migration-qualification.json @@ -0,0 +1,35 @@ +{ + "status": "passed", + "runs": [ + { + "clone": 1, + "starting_schema_sha256": "5d7980cd3d919c3498cf644734295fc8b4c11244ce094c14b54211db89c926d4", + "resulting_schema_sha256": "7096629dc68204c09d0ca5b2fae5eaf24505d7435ebdefe0141f3ee8b52a9a21", + "executed": 1, + "unchanged_original_business_tables": 208, + "existing_type_rows_and_ids_unchanged": true, + "original_type_count": 16, + "result_type_count": 97, + "taxonomy_entries": 105, + "integrity": { + "integrity": true, + "constraint_violations": 0 + } + }, + { + "clone": 2, + "starting_schema_sha256": "5d7980cd3d919c3498cf644734295fc8b4c11244ce094c14b54211db89c926d4", + "resulting_schema_sha256": "7096629dc68204c09d0ca5b2fae5eaf24505d7435ebdefe0141f3ee8b52a9a21", + "executed": 1, + "unchanged_original_business_tables": 208, + "existing_type_rows_and_ids_unchanged": true, + "original_type_count": 16, + "result_type_count": 97, + "taxonomy_entries": 105, + "integrity": { + "integrity": true, + "constraint_violations": 0 + } + } + ] +} \ No newline at end of file diff --git a/Docs/Locations/RefinementsEvidence/picker-browser.png b/Docs/Locations/RefinementsEvidence/picker-browser.png new file mode 100644 index 00000000..4328ff49 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/picker-browser.png differ diff --git a/Docs/Locations/RefinementsEvidence/picker-large-browser.png b/Docs/Locations/RefinementsEvidence/picker-large-browser.png new file mode 100644 index 00000000..c73b8b39 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/picker-large-browser.png differ diff --git a/Docs/Locations/RefinementsEvidence/picker-large-pwa.png b/Docs/Locations/RefinementsEvidence/picker-large-pwa.png new file mode 100644 index 00000000..e24bc8b3 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/picker-large-pwa.png differ diff --git a/Docs/Locations/RefinementsEvidence/picker-pwa.png b/Docs/Locations/RefinementsEvidence/picker-pwa.png new file mode 100644 index 00000000..da98f513 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/picker-pwa.png differ diff --git a/Docs/Locations/RefinementsEvidence/results-browser.json b/Docs/Locations/RefinementsEvidence/results-browser.json new file mode 100644 index 00000000..caf868e1 --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/results-browser.json @@ -0,0 +1,38 @@ +{ + "status": "passed", + "results": [ + { + "count": 50, + "loadMs": 287, + "assignments": 8, + "themes": 7, + "widths": [ + 1024, + 1440, + 1920 + ] + }, + { + "count": 500, + "loadMs": 490, + "assignments": 2, + "themes": 7, + "widths": [ + 1024, + 1440, + 1920 + ] + }, + { + "count": 1000, + "loadMs": 756, + "assignments": 2, + "themes": 7, + "widths": [ + 1024, + 1440, + 1920 + ] + } + ] +} \ No newline at end of file diff --git a/Docs/Locations/RefinementsEvidence/results-pwa.json b/Docs/Locations/RefinementsEvidence/results-pwa.json new file mode 100644 index 00000000..e33dbe78 --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/results-pwa.json @@ -0,0 +1,38 @@ +{ + "status": "passed", + "results": [ + { + "count": 50, + "loadMs": 316, + "assignments": 8, + "themes": 7, + "widths": [ + 1024, + 1440, + 1920 + ] + }, + { + "count": 500, + "loadMs": 773, + "assignments": 2, + "themes": 7, + "widths": [ + 1024, + 1440, + 1920 + ] + }, + { + "count": 1000, + "loadMs": 1181, + "assignments": 2, + "themes": 7, + "widths": [ + 1024, + 1440, + 1920 + ] + } + ] +} \ No newline at end of file diff --git a/Docs/Locations/RefinementsEvidence/shared-browser.json b/Docs/Locations/RefinementsEvidence/shared-browser.json new file mode 100644 index 00000000..fcc112fb --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/shared-browser.json @@ -0,0 +1,10 @@ +{ + "status": "passed", + "themes": 7, + "checks": [ + "both real consumers use shared renderer", + "same-session independent group/width preferences", + "width and nested expansion restore", + "unaltered character biographies and variable card dimensions" + ] +} \ No newline at end of file diff --git a/Docs/Locations/RefinementsEvidence/shared-pwa.json b/Docs/Locations/RefinementsEvidence/shared-pwa.json new file mode 100644 index 00000000..fcc112fb --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/shared-pwa.json @@ -0,0 +1,10 @@ +{ + "status": "passed", + "themes": 7, + "checks": [ + "both real consumers use shared renderer", + "same-session independent group/width preferences", + "width and nested expansion restore", + "unaltered character biographies and variable card dimensions" + ] +} \ No newline at end of file diff --git a/Docs/Locations/RefinementsEvidence/taxonomy-browser-baby-blue.png b/Docs/Locations/RefinementsEvidence/taxonomy-browser-baby-blue.png new file mode 100644 index 00000000..67e28b90 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/taxonomy-browser-baby-blue.png differ diff --git a/Docs/Locations/RefinementsEvidence/taxonomy-browser-modern-dark.png b/Docs/Locations/RefinementsEvidence/taxonomy-browser-modern-dark.png new file mode 100644 index 00000000..455f9efb Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/taxonomy-browser-modern-dark.png differ diff --git a/Docs/Locations/RefinementsEvidence/taxonomy-browser-modern-light.png b/Docs/Locations/RefinementsEvidence/taxonomy-browser-modern-light.png new file mode 100644 index 00000000..e5d4d1ce Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/taxonomy-browser-modern-light.png differ diff --git a/Docs/Locations/RefinementsEvidence/taxonomy-browser-plotdirector.png b/Docs/Locations/RefinementsEvidence/taxonomy-browser-plotdirector.png new file mode 100644 index 00000000..d282f7a1 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/taxonomy-browser-plotdirector.png differ diff --git a/Docs/Locations/RefinementsEvidence/taxonomy-browser-rose-pink.png b/Docs/Locations/RefinementsEvidence/taxonomy-browser-rose-pink.png new file mode 100644 index 00000000..beea9277 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/taxonomy-browser-rose-pink.png differ diff --git a/Docs/Locations/RefinementsEvidence/taxonomy-browser-warm-dark.png b/Docs/Locations/RefinementsEvidence/taxonomy-browser-warm-dark.png new file mode 100644 index 00000000..e90ad4b8 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/taxonomy-browser-warm-dark.png differ diff --git a/Docs/Locations/RefinementsEvidence/taxonomy-browser-warm-light.png b/Docs/Locations/RefinementsEvidence/taxonomy-browser-warm-light.png new file mode 100644 index 00000000..aca1e34a Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/taxonomy-browser-warm-light.png differ diff --git a/Docs/Locations/RefinementsEvidence/taxonomy-pwa-baby-blue.png b/Docs/Locations/RefinementsEvidence/taxonomy-pwa-baby-blue.png new file mode 100644 index 00000000..cd7993c5 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/taxonomy-pwa-baby-blue.png differ diff --git a/Docs/Locations/RefinementsEvidence/taxonomy-pwa-modern-dark.png b/Docs/Locations/RefinementsEvidence/taxonomy-pwa-modern-dark.png new file mode 100644 index 00000000..44d43c95 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/taxonomy-pwa-modern-dark.png differ diff --git a/Docs/Locations/RefinementsEvidence/taxonomy-pwa-modern-light.png b/Docs/Locations/RefinementsEvidence/taxonomy-pwa-modern-light.png new file mode 100644 index 00000000..eb650782 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/taxonomy-pwa-modern-light.png differ diff --git a/Docs/Locations/RefinementsEvidence/taxonomy-pwa-plotdirector.png b/Docs/Locations/RefinementsEvidence/taxonomy-pwa-plotdirector.png new file mode 100644 index 00000000..3c2b0c79 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/taxonomy-pwa-plotdirector.png differ diff --git a/Docs/Locations/RefinementsEvidence/taxonomy-pwa-rose-pink.png b/Docs/Locations/RefinementsEvidence/taxonomy-pwa-rose-pink.png new file mode 100644 index 00000000..cb17a3a6 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/taxonomy-pwa-rose-pink.png differ diff --git a/Docs/Locations/RefinementsEvidence/taxonomy-pwa-warm-dark.png b/Docs/Locations/RefinementsEvidence/taxonomy-pwa-warm-dark.png new file mode 100644 index 00000000..c4334772 Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/taxonomy-pwa-warm-dark.png differ diff --git a/Docs/Locations/RefinementsEvidence/taxonomy-pwa-warm-light.png b/Docs/Locations/RefinementsEvidence/taxonomy-pwa-warm-light.png new file mode 100644 index 00000000..6293723b Binary files /dev/null and b/Docs/Locations/RefinementsEvidence/taxonomy-pwa-warm-light.png differ diff --git a/Docs/Locations/RefinementsEvidence/taxonomy-sql.txt b/Docs/Locations/RefinementsEvidence/taxonomy-sql.txt new file mode 100644 index 00000000..49e87d7f --- /dev/null +++ b/Docs/Locations/RefinementsEvidence/taxonomy-sql.txt @@ -0,0 +1,29 @@ +PASS 105-node canonical taxonomy, assignable/group separation and disambiguated Office contexts +PASS taxonomy reachability, acyclicity and three presentation levels +7437||2026-11-27T15:01:44.1907605 +7437|6|2026-11-27T15:01:44.1948318 +7437||2026-11-27T15:01:44.1948319 +7437|16|2026-11-27T15:01:44.1988986 +7437||2026-11-27T15:01:44.1988987 +7437|38|2026-11-27T15:01:44.2029662 +7437||2026-11-27T15:01:44.2029663 +7437|22|2026-11-27T15:01:44.2070324 +7437||2026-11-27T15:01:44.2070325 +7437|57|2026-11-27T15:01:44.2110992 +7437||2026-11-27T15:01:44.2110993 +7437|34|2026-11-27T15:01:44.2151650 +7437||2026-11-27T15:01:44.2192322 +7437|61|2026-11-27T15:01:44.2192323 +7437||2026-11-27T15:01:44.2233024 +7437|21|2026-11-27T15:01:44.2233025 +7437||2026-11-27T15:01:44.2273865 +7437|8|2026-11-27T15:01:44.2273866 +7437||2026-11-27T15:01:44.2314601 +7437|97|2026-11-27T15:01:44.2314602 +PASS generic and specialised assignments, exact Undo, unchanged containment/provenance +7437||2026-11-27T15:01:44.2355363 +7438||2026-11-27T15:01:44.2355363 +7437|22|2026-11-27T15:01:44.2518353 +7438|22|2026-11-27T15:01:44.2518353 +PASS bulk specialisation and individual prior-value Undo +PASS server rejects taxonomy headings as type IDs; all fixture data rolled back diff --git a/Docs/Locations/Workspace.md b/Docs/Locations/Workspace.md index 46a68571..2bcef198 100644 --- a/Docs/Locations/Workspace.md +++ b/Docs/Locations/Workspace.md @@ -1,7 +1,11 @@ # Locations workspace +The current hierarchical picker, data-driven taxonomy and shared Attributes composition are +documented in [Locations refinements](Refinements.md) and the +[shared Attributes standard](../UI/AttributesPanel.md). The mutation/merge safeguards below remain in force. + The main directory uses the existing `dbo.Locations` identifiers. `LocationWorkspaceController` -reads a flat directory and recorded associations using Dapper and `Location_WorkspaceRead`. +reads a flat directory and recorded associations using Dapper and `Location_WorkspaceRead`, with `LocationTypeTaxonomy_Read` for canonical presentation. The browser builds hierarchy paths and child indexes without a recursive SQL view or per-location queries. The initial MVC request reads the authorised project only. Associated manuscript prose is never loaded. Existing Details/Edit, archive, scene assignment and relationship forms remain. @@ -24,8 +28,9 @@ are suitable quick switches; numeric detection priority remains in the full form It is independent of type. No existing location is classified automatically. Classification is edited in the workspace and preserved by existing full forms, which do not update this column. `LocationItem.Classification` and the existing export selector preserve it through project backups; -the generic restore contract already accepts the additional column. `LocationWorkspaceIcons` maps -canonical labels onto opt-in shared ribbon icons without changing other consumers. +the generic restore contract already accepts the additional column. `LocationWorkspaceIcons` adapts canonical taxonomy metadata to opt-in shared ribbon icons without +changing other consumers. Migration 338 adds 81 further assignable types and a 105-node metadata +hierarchy while retaining every existing ID/name; see the refinements catalogue/extension contract. ## Mutation and hierarchy safety diff --git a/PlotLine.Tests/Browser/location-refinements-dev.cjs b/PlotLine.Tests/Browser/location-refinements-dev.cjs index df85b0f0..ad4b59a3 100644 --- a/PlotLine.Tests/Browser/location-refinements-dev.cjs +++ b/PlotLine.Tests/Browser/location-refinements-dev.cjs @@ -21,7 +21,8 @@ if(!file?.startsWith('/tmp/pd-dev-browser-'))throw Error('Dedicated private fixt await page.locator('[data-clear-selection]').click();await expand(page.locator('[data-value="@premises"]'));await expand(attr('residential'));await attr('house').locator('[data-attribute-filter]').dragTo(row(kitchen));await page.waitForTimeout(200);data=await directory();assert.equal(data.locations.find(r=>r.id===kitchen).type,type('house'));await page.locator('[data-undo]').click();await page.waitForTimeout(200);data=await directory();assert.equal(data.locations.find(r=>r.id===kitchen).type,type('kitchen'));await row(kitchen).locator('[data-drag-location]').dragTo(attr('house'));await page.waitForTimeout(200);data=await directory();assert.equal(data.locations.find(r=>r.id===kitchen).type,type('house'));await page.locator('[data-undo]').click();await page.waitForTimeout(200); data=await directory();let r=data.locations.find(r=>r.id===north);assert.equal((await api('Assign',{projectId:identity.ProjectID,attribute:'parent',changes:[{id:north,value:String(home),version:r.version}]})).status,409);r=data.locations.find(r=>r.id===home);assert.equal((await api('Assign',{projectId:identity.ProjectID,attribute:'type',changes:[{id:home,value:'@premises',version:r.version}]})).status,409); const duplicate=await create('Ledger alternate acceptance',null);await load();await row(duplicate).getByRole('button',{name:/Actions for/}).click();await page.getByRole('menuitem',{name:'Merge with another location…',exact:true}).click();dialog=page.locator('[data-location-dialog]');await dialog.getByRole('searchbox',{name:'Search locations'}).fill('Old ledger lodging');await dialog.locator(`[data-picker-id="${home}"] .pd-location-picker-name`).click();await dialog.locator('input[type=checkbox]').check();const merged=page.waitForResponse(r=>r.url().endsWith('/LocationWorkspace/Merge'));await dialog.locator('[data-dialog-save]').click();assert.equal((await merged).status(),200);await dialog.waitFor({state:'hidden'});data=await directory();assert.equal(data.locations.length,5);assert.equal(data.locations.find(r=>r.id===home).type,type('house'));assert.equal(data.locations.find(r=>r.id===home).parent,harbour);await page.evaluate(()=>document.querySelectorAll('[data-toast-host] button[aria-label^=Dismiss]').forEach(b=>b.click()));await page.screenshot({path:out+'/development-taxonomy.png'}); + const traditionalDuplicate=await create('Traditional merge acceptance',null);await page.goto(base+`/Locations/Merge/${traditionalDuplicate}`);await page.getByRole('button',{name:'Choose surviving location',exact:true}).click();dialog=page.locator('dialog.pd-location-picker-dialog');await dialog.getByRole('searchbox',{name:'Search locations'}).fill('Old ledger lodging');await dialog.locator(`[data-picker-id="${home}"] .pd-location-picker-name`).click();await page.screenshot({path:out+'/development-merge-picker.png'});await dialog.getByRole('button',{name:'Choose location',exact:true}).click();await page.locator('input[type=checkbox][name="Form.Confirm"]').check();await page.getByRole('button',{name:'Merge location',exact:true}).click();await page.waitForURL(new RegExp(`/Locations/Details/${home}$`));data=await directory();assert.equal(data.locations.length,5);assert.equal(data.locations.find(r=>r.id===home).type,type('house')); for(const [name,bio]of [['Acceptance cast one','A complete synthetic biography.'],['Acceptance cast two','A complete synthetic biography. '.repeat(16)]]){await page.goto(base+`/Characters/Create?${q}`);await page.locator('[name=CharacterName]').fill(name);await page.locator('[name=DefaultDescription]').fill(bio);await page.getByRole('button',{name:'Save character',exact:true}).click();await page.waitForURL(/\/Characters\/Details\/\d+/);} await page.goto(base+`/Characters?${q}`);await page.locator('[data-attribute=importance]').first().waitFor();const characters=async()=>{const r=await page.request.get(base+`/CharacterAttributes/Directory?${q}`);assert.equal(r.status(),200);return r.json();};const before=(await characters()).characters;assert.equal(before.length,2);await page.locator('[data-select-visible]').click();await page.locator('[data-attribute=importance][data-value="10"] [data-assign]').click();await page.waitForTimeout(200);assert((await characters()).characters.every(r=>r.values.importance==='10'));await page.locator('[data-attribute=importance][data-value="10"] [data-attribute-filter]').click();assert.equal(await page.locator('.character-card:not([hidden])').count(),2);await page.locator('[data-clear-filter]').click();await page.locator('[data-undo]').click();await page.waitForTimeout(200);assert.deepEqual((await characters()).characters.map(r=>r.values),before.map(r=>r.values));assert((await page.locator('.character-card').first().textContent()).includes('A complete synthetic biography.'));const heights=await page.locator('.character-card').evaluateAll(ns=>ns.map(n=>Math.round(n.getBoundingClientRect().height)));assert(new Set(heights).size>1);await page.evaluate(()=>document.querySelectorAll('[data-toast-host] button[aria-label^=Dismiss]').forEach(b=>b.click()));await page.screenshot({path:out+'/development-characters.png'}); - assert.deepEqual(errors,[]);identity.RefinementFixture={north,harbour,south,home,kitchen};fs.writeFileSync(file,JSON.stringify(identity),{mode:0o600});fs.writeFileSync(out+'/development-refinements.json',JSON.stringify({status:'passed',target:'Development',checks:['real canonical 105-entry API','generic and specialised type selection','parent counts include descendants','actual bulk type assignment and exact Undo','type filtering and cards','Edit parent picker and aliases','Create parent/type pickers','Details relationship target picker','workspace parent and alias search','native bidirectional attribute drag and Undo','server cycle and heading rejection','alias-based reviewed merge','real Characters bulk attributes/filter/Undo','unchanged variable character biographies']},null,2));console.log('PASS authenticated Development picker/taxonomy/shared Attributes forms, mutations and safeguards; dedicated fixture only.'); + assert.deepEqual(errors,[]);identity.RefinementFixture={north,harbour,south,home,kitchen};fs.writeFileSync(file,JSON.stringify(identity),{mode:0o600});fs.writeFileSync(out+'/development-refinements.json',JSON.stringify({status:'passed',target:'Development',checks:['real canonical 105-entry API','generic and specialised type selection','parent counts include descendants','actual bulk type assignment and exact Undo','type filtering and cards','Edit parent picker and aliases','Create parent/type pickers','Details relationship target picker','workspace parent and alias search','native bidirectional attribute drag and Undo','server cycle and heading rejection','alias-based reviewed merge','traditional merge picker and confirmation','real Characters bulk attributes/filter/Undo','unchanged variable character biographies']},null,2));console.log('PASS authenticated Development picker/taxonomy/shared Attributes forms, mutations and safeguards; dedicated fixture only.'); }finally{await context.close();await browser.close();}})().catch(e=>{console.error(e);process.exitCode=1;}); diff --git a/PlotLine.Tests/Sql/LocationTaxonomy.sql b/PlotLine.Tests/Sql/LocationTaxonomy.sql index 819bb624..9bf95010 100644 --- a/PlotLine.Tests/Sql/LocationTaxonomy.sql +++ b/PlotLine.Tests/Sql/LocationTaxonomy.sql @@ -7,6 +7,14 @@ IF EXISTS(SELECT 1 FROM dbo.LocationTypeTaxonomy x LEFT JOIN dbo.LocationTypes t IF EXISTS(SELECT 1 FROM dbo.LocationTypeTaxonomy WHERE IsAssignable=0 AND LocationTypeID IS NOT NULL) THROW 51000,'Grouping leaked into assignable IDs.',1; IF NOT EXISTS(SELECT 1 FROM dbo.LocationTypeTaxonomy WHERE TypeKey=N'office-room' AND ParentKey=N'room') OR NOT EXISTS(SELECT 1 FROM dbo.LocationTypeTaxonomy WHERE TypeKey=N'office-premises' AND ParentKey=N'commercial') THROW 51000,'Office contexts lost.',1; PRINT 'PASS 105-node canonical taxonomy, assignable/group separation and disambiguated Office contexts'; +DECLARE @reachable int,@depth int; +;WITH hierarchy AS( + SELECT TypeKey,0 AS Depth FROM dbo.LocationTypeTaxonomy WHERE ParentKey IS NULL + UNION ALL SELECT child.TypeKey,parent.Depth+1 FROM dbo.LocationTypeTaxonomy child JOIN hierarchy parent ON child.ParentKey=parent.TypeKey +) SELECT @reachable=COUNT(*),@depth=MAX(Depth) FROM hierarchy OPTION(MAXRECURSION 1000); +IF @reachable<>(SELECT COUNT(*) FROM dbo.LocationTypeTaxonomy) OR @depth<2 THROW 51000,'Taxonomy must be an acyclic hierarchy with at least three presentation levels.',1; +PRINT 'PASS taxonomy reachability, acyclicity and three presentation levels'; + DECLARE @p int,@u int; SELECT TOP(1) @p=p.ProjectID,@u=a.UserID FROM dbo.Projects p JOIN dbo.ProjectUserAccess a ON a.ProjectID=p.ProjectID WHERE p.IsArchived=0 AND a.IsActive=1 AND a.AccessRole=N'Owner' ORDER BY p.ProjectID; BEGIN TRANSACTION;