Record Locations acceptance, authenticated Development verification and deployment evidence

This commit is contained in:
Nick Beckley 2026-11-27 13:38:36 +00:00
parent 451e766777
commit d256457c6b
16 changed files with 333 additions and 27 deletions

View File

@ -1,7 +1,7 @@
# Locations workspace delivery and acceptance
Implementation is complete. Development activation and authenticated smoke evidence will be
appended after the signed release is activated. Production is outside this task.
Implemented, committed, pushed and activated on **Development only** on 27 November 2026.
The final application source is **451e766777b134f5be4b0780c01ac8d56b3ec39d**. Production was untouched.
## Delivered architecture
@ -24,6 +24,9 @@ Migration **336_LocationSaveHierarchyIntegrity.sql** also closes the traditional
writer’s cycle and cross-project loophole, using the same project-first lock order. Unchanged
historical parents remain intact. The project export selector and `LocationItem` retain
classification through backup/restore.
Migration **337_LocationMutationVersionIntegrity.sql** makes versions strictly advance across the
existing location writers, versions children reparented by merge, and preserves case-only and
trailing-space description differences. These changes alter procedures, without rewriting records.
The established merge now also preserves maps and conflicting descriptions, including when
opened through the traditional Details page. The workspace adds conflict review and version checks.
No AI processing or geocoding is invoked by these workspace commands.
@ -48,16 +51,57 @@ No AI processing or geocoding is invoked by these workspace commands.
horizontal document overflow. Native physical Windows/Edge installation was not available.
- Focused SQL regressions run only on disposable clones and roll back: ancestor/descendant bulk
safety, root moves, exact original parents on Undo, no-op versions, cycle/unavailable/cross-project
parent rejection, unauthorized/stale writes, and targeted rename preserving scene assignment.
parent rejection, unauthorized/stale writes, monotonic timestamps, rejection of pre-merge child Undo,
exact case/trailing-space description handling, and targeted rename preserving scene assignment.
Merge preserves source records, descriptions, classification, children, aliases, authored
relationships, scene assignments, map feature IDs/geometry and floor-plan links.
- Real Dapper create/assignment/Undo and six directory result sets, including entry/exit-only
- Real Dapper create/assignment/Undo and a reviewed merge with an exact `datetime2(7)` timestamp,
plus six directory result sets, including entry/exit-only
character scene assignments counted once. Actual typed project export and generic location JSON
restore retain a non-null classification. Restore fixture is rolled back and removed.
- Two fresh final-schema qualification clones produce identical schema hashes. All **208** other
original business tables retain fingerprints; existing LocationTypes rows are unchanged and the
only data addition is four canonical types. DBCC integrity and constraints pass (zero violations).
See [sanitised qualification](Evidence/database-qualification.json).
- Two initial 335/336 qualification clones retained all **208** other original business-table
fingerprints; existing LocationTypes rows were unchanged and only four canonical types were added.
The final 337 qualification repeated on two fresh post-335/336 clones: all **209** original
business-table fingerprints remained unchanged. DBCC integrity and constraints report zero
violations. See [initial qualification](Evidence/workspace-database-qualification.json) and
[final qualification](Evidence/database-qualification.json).
## Development delivery
Release `development-locations-451e766777b1-20261127T133501Z`, deployment
`20261127T133528Z-4f86bec8648b`, passed signed admission, verified COPY_ONLY/CHECKSUM backup,
application/binary/database checks and release-history recording. Migrations 335–337 were applied
through the Development helper; the final code release executed zero migrations. No Production
host, credentials or database was used. [Receipt](Evidence/development-deployment.json),
[health](Evidence/development-health.json), [release gates](Evidence/release-gates.json),
[code-only qualification](Evidence/code-release-qualification.json).
A disposable account/project/book was created through normal repositories/forms. The authenticated
browser exercised Directory/Create/Assign/Undo/Merge, hidden-selection menus, Enter child creation,
inline rename/description, reviewed merge, actual second-window live invalidation, server cycle and
cross-project rejection, and full Edit cycle rejection with the persisted description intact. The existing non-hierarchical
relationship form worked. Characters, Names, Relationships, Maps, Floor Plans, Assets, Writer,
Location Details and Edit returned authenticated successful pages; this is route smoke, not an
exhaustive manual audit of those workspaces. [Results](Evidence/development-smoke.json).
The genuinely installed Development Chromium PWA also passed authenticated directory/state,
context menus, full card description and same-window Details navigation.
[Installed-PWA results](Evidence/development-pwa-smoke.json),
[menu](Evidence/development-pwa-context.png), [cards](Evidence/development-pwa-cards.png).
The disposable account and its owned fixture project/book/locations were removed through the
established hard-delete account workflow after verification. Nine task-specific qualification
clones were removed; Development was never restored or reset.
Implementation commits (pushed to `codex/word-companion-native-phase1-20261104`):
- `6a90a71e`: workspace, direct commands, cards, hierarchy and merge preservation.
- `7e27aba3`: traditional writer hierarchy integrity and qualification.
- `39c34d9f`: retain description drafts during local updates.
- `2b1af493`: commands for selections hidden in collapsed branches.
- `3b89c196`: visible full-form errors and one-step workspace Undo.
- `eebbf3b6`: monotonic mutation versions, exact prose and draft navigation guards.
- `451e7667`: exact Dapper merge timestamp binding and authenticated regression protection.
## Performance
@ -111,19 +155,19 @@ counts, without per-location queries. [Raw database results](Evidence/database-p
| Hierarchy/cards, complete descriptions, variable heights | Passed | DOM height checks and rendered screenshots |
| Selection/filter preservation and branch-safe sorting | Passed | View/sibling-order checks |
| Multiple map/floor-plan associations and same-window links | Passed | Directory links and SQL preservation checks |
| Merge review, reconciliation and rollback safeguards | Passed | SQL data-integrity fixtures; workspace review implemented |
| Merge review, reconciliation and rollback safeguards | Passed | Transactional SQL fixtures and actual reviewed Development merge |
| Backup/export/restore retains optional classification | Passed | Actual typed export and generic restore round trip |
| No new AI, no manuscript focus writes | Passed | Command paths contain no AI/geography/focus calls; existing harness |
| Existing related workspace behavior | Passed | 889-check harness; authenticated route smoke pending activation |
| Live updates across actual Development windows | Not verified | Pending post-activation dedicated-account check |
| Development deployment and authenticated mutations | Not verified | Pending signed release activation |
| Existing related workspace behavior | Passed | 889-check harness; authenticated route smoke passed; not exhaustive editing |
| Live updates across actual Development windows | Passed | Actual second-window classification invalidation |
| Development deployment and authenticated mutations | Passed | Signed helper receipt, healthy exact commit/database, dedicated-account smoke |
| Every existing Context consumer with physical Word/PWA | Not verified | Existing contracts/hints preserved; physical Word unavailable |
| Windows/Edge installed-PWA behavior | Not verified | Linux Chromium browser + real installed PWA verified |
| Collections above 1,000; exhaustive keyboard/assistive-tech audit | Not verified | No claim beyond measured cases |
| New location image storage | Not implemented | No canonical location-image attribute exists; conditional scope only |
| New feature-level reveal inside Maps/Floor Plans | Not implemented | Existing routes select map/plan; their editors are unchanged |
No unresolved failing check is known. The last two “Not implemented” items are conditional features
Failed: none remaining after fixing the merge timestamp binding and full-form validation display. The last two “Not implemented” items are conditional features
without an existing canonical field/route, not replacement representations or editor redesigns.
## Rendered evidence
@ -133,6 +177,7 @@ All screenshots use controlled synthetic data, never the author's manuscripts/lo
| Demonstration | Screenshot |
|---|---|
| Baseline list | [Before](Evidence/before.png) |
| Authenticated deployed workspace | [Development](Evidence/development-workspace.png) |
| Complete workspace | [Browser](Evidence/workspace.png), [installed PWA](Evidence/pwa-workspace.png) |
| Populated multilevel hierarchy | [Hierarchy](Evidence/hierarchy.png) |
| Attribute assignment | [Assignment](Evidence/attribute-assignment.png) |

View File

@ -0,0 +1,31 @@
{
"status": "passed",
"runs": [
{
"clone": 8,
"starting_schema_sha256": "5d7980cd3d919c3498cf644734295fc8b4c11244ce094c14b54211db89c926d4",
"resulting_schema_sha256": "5d7980cd3d919c3498cf644734295fc8b4c11244ce094c14b54211db89c926d4",
"executed": 0,
"unchanged_original_tables": 209,
"existing_canonical_types_unchanged": true,
"only_data_addition": "none",
"integrity": {
"integrity": true,
"constraint_violations": 0
}
},
{
"clone": 9,
"starting_schema_sha256": "5d7980cd3d919c3498cf644734295fc8b4c11244ce094c14b54211db89c926d4",
"resulting_schema_sha256": "5d7980cd3d919c3498cf644734295fc8b4c11244ce094c14b54211db89c926d4",
"executed": 0,
"unchanged_original_tables": 209,
"existing_canonical_types_unchanged": true,
"only_data_addition": "none",
"integrity": {
"integrity": true,
"constraint_violations": 0
}
}
]
}

View File

@ -0,0 +1,7 @@
PASS Dapper read: 50 synthetic + 69 existing clone records, old list 24.1 ms (119 rows), new six-result directory 79.2 ms
PASS Dapper read: 200 synthetic + 69 existing clone records, old list 46.4 ms (269 rows), new six-result directory 34.4 ms
PASS Dapper read: 500 synthetic + 69 existing clone records, old list 57.3 ms (569 rows), new six-result directory 102.5 ms
PASS Dapper read: 1000 synthetic + 69 existing clone records, old list 83.8 ms (1069 rows), new six-result directory 62.5 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.

View File

@ -2,26 +2,26 @@
"status": "passed",
"runs": [
{
"clone": 6,
"starting_schema_sha256": "dc6afafb8c25fd63d98a97d016402ddda7474fdfa296a18722b3ddc2569ecb91",
"resulting_schema_sha256": "5ae0ab8cfee2759dd2a1e967e888b277855b93efd8a56dfca15d2eb4e75ca946",
"executed": 2,
"unchanged_original_tables": 208,
"clone": 8,
"starting_schema_sha256": "5ae0ab8cfee2759dd2a1e967e888b277855b93efd8a56dfca15d2eb4e75ca946",
"resulting_schema_sha256": "5d7980cd3d919c3498cf644734295fc8b4c11244ce094c14b54211db89c926d4",
"executed": 1,
"unchanged_original_tables": 209,
"existing_canonical_types_unchanged": true,
"only_data_addition": "four canonical location types",
"only_data_addition": "none",
"integrity": {
"integrity": true,
"constraint_violations": 0
}
},
{
"clone": 7,
"starting_schema_sha256": "dc6afafb8c25fd63d98a97d016402ddda7474fdfa296a18722b3ddc2569ecb91",
"resulting_schema_sha256": "5ae0ab8cfee2759dd2a1e967e888b277855b93efd8a56dfca15d2eb4e75ca946",
"executed": 2,
"unchanged_original_tables": 208,
"clone": 9,
"starting_schema_sha256": "5ae0ab8cfee2759dd2a1e967e888b277855b93efd8a56dfca15d2eb4e75ca946",
"resulting_schema_sha256": "5d7980cd3d919c3498cf644734295fc8b4c11244ce094c14b54211db89c926d4",
"executed": 1,
"unchanged_original_tables": 209,
"existing_canonical_types_unchanged": true,
"only_data_addition": "four canonical location types",
"only_data_addition": "none",
"integrity": {
"integrity": true,
"constraint_violations": 0

View File

@ -0,0 +1,91 @@
{
"status": "activated",
"operation": "activate",
"deployment_id": "20261127T133528Z-4f86bec8648b",
"started_utc": "2026-11-27T13:35:28.278+00:00",
"completed_utc": "2026-11-27T13:36:06.179+00:00",
"release": {
"application_sha256": "942c23930d35e3768a2e49cafd488c7906f88d3d2d83ef7d44d118d832413a99",
"dll_sha256": "a53971b5b0beea335ec7ae5cbb94f813fbe3fe12e92b0b836d39f549974392bb",
"id": "development-locations-451e766777b1-20261127T133501Z",
"manifest_sha256": "00190320b17328bd3021d171924b2133f3e42bf25dfae6b1f07ec0c7d20d8373",
"package_sha256": "017501055111bf1790e48936222ba940cf74d4b70e061dcc50b1119a0b942699",
"source_commit": "451e766777b134f5be4b0780c01ac8d56b3ec39d",
"version": "1.0.0"
},
"checks": {
"activation": true,
"application": {
"database": "PlotDirector_Development",
"environment": "Development",
"healthy": true,
"sourceCommit": "451e766777b134f5be4b0780c01ac8d56b3ec39d",
"version": "1.0.0"
},
"binary_identity": true,
"database": {
"complete_history": true,
"healthy": true,
"history": {
"baselined": 317,
"executed": 19,
"expected": 336,
"latest_successful_release": {
"activated_utc": "2026-11-27T13:27:07.7986930Z",
"activation_kind": "Deploy",
"application_version": "1.0.0",
"deployment_identifier": "20261127T132643Z-eaeff6ed53e5",
"manifest_sha256": "278e5f1fc3640dca5ac270f9f2e103b4aa761f16ee77487b599a2cb76f614246",
"package_sha256": "6108ca18a213cd2f8e10806cdb5717b780e795b2e2b14e749b0265a814637616",
"recorded": true,
"release_identifier": "development-locations-eebbf3b6fb85-20261127T132606Z",
"source_commit": "eebbf3b6fb8586c6f728a6771a28f5bbb3851a1d"
},
"recorded": 336,
"successful_release_count": 16
},
"history_verification_seconds": 0.117046
},
"http_login": true,
"http_root": true
},
"migrations": {
"baselined": 0,
"committed": [],
"committed_list_truncated": false,
"executed": 0,
"schema": "5d7980cd3d919c3498cf644734295fc8b4c11244ce094c14b54211db89c926d4"
},
"release_history": {
"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"
},
"availability": {
"confirmed_inactive_to_health_ready_seconds": 7.450195097015239,
"definition": "Monotonic intervals include stop/start commands; observed public outage measured separately on Atlas.",
"service_stop_to_start_seconds": 2.0969468150287867,
"stop_request_to_health_ready_seconds": 7.6625117840012535,
"stop_request_to_start_command_complete_seconds": 2.309266688011121
},
"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
}

View File

@ -0,0 +1,7 @@
{
"healthy": true,
"version": "1.0.0",
"sourceCommit": "451e766777b134f5be4b0780c01ac8d56b3ec39d",
"database": "PlotDirector_Development",
"environment": "Development"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

View File

@ -0,0 +1,13 @@
{
"status": "passed",
"target": "Development",
"installed": true,
"checks": [
"real installed Chromium PWA",
"authenticated workspace directory",
"saved classification",
"shared context menu",
"card description",
"same-window Location Details navigation"
]
}

View File

@ -0,0 +1,29 @@
{
"status": "passed",
"target": "Development",
"checks": [
"real Directory/Create/Assign/Undo/Merge endpoints",
"bulk assignment and protected Undo",
"one-step workspace Undo clears after restoration",
"normal non-hierarchical relationship form",
"reviewed merge archives source and retains survivor",
"inline child Enter-save",
"context menu for a selection hidden in a collapsed branch",
"classification",
"inline rename preserves child identifiers",
"description save",
"server cycle rejection",
"traditional full Edit rejects cycles without losing posted data",
"cross-project mutation rejection",
"actual second-window live invalidation",
"/Characters",
"/Names",
"/RelationshipMap",
"/Maps",
"/FloorPlans",
"/StoryAssets",
"/Locations/Details/5656",
"/Locations/Edit/5656",
"/Writer"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

View File

@ -0,0 +1,7 @@
{
"status": "passed",
"account_and_owned_fixture_removed": true,
"private_credential_file_deleted": true,
"workflow": "existing account hard-delete cleanup",
"development_restored_or_reset": false
}

View File

@ -0,0 +1,20 @@
{
"source_commit": "451e766777b134f5be4b0780c01ac8d56b3ec39d",
"results": [
{
"gate": "build",
"exit_code": 0,
"seconds": 41.26
},
{
"gate": "regression",
"exit_code": 0,
"seconds": 98.0
},
{
"gate": "publish",
"exit_code": 0,
"seconds": 31.15
}
]
}

View File

@ -1,11 +1,30 @@
5651||2026-11-27T13:24:33.7442842
5651|5654|2026-11-27T13:24:33.7948869
5651||2026-11-27T13:24:33.7948870
5652||2026-11-27T13:24:33.7948869
5651|Workspace test root|2026-11-27T13:24:33.8067801
5651|Workspace renamed|2026-11-27T13:24:33.8108695
5652|5651|2026-11-27T13:24:33.8206593
5655|5654|2026-11-27T13:24:33.8206593
5652||2026-11-27T13:24:33.8390525
5655||2026-11-27T13:24:33.8390525
5651|0|2026-11-27T13:24:38.8390526
5651|Author prose|2026-11-27T13:24:38.8390527
5651|Exact prose |2026-11-27T13:24:38.8390528
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|5664|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
5671
PASS traditional save preserves unchanged archived-parent references, classification and import transaction
8174|5673|Case source|Case survivor
PASS merge preserves case-only and trailing-space prose differences

View File

@ -0,0 +1,31 @@
{
"status": "passed",
"runs": [
{
"clone": 6,
"starting_schema_sha256": "dc6afafb8c25fd63d98a97d016402ddda7474fdfa296a18722b3ddc2569ecb91",
"resulting_schema_sha256": "5ae0ab8cfee2759dd2a1e967e888b277855b93efd8a56dfca15d2eb4e75ca946",
"executed": 2,
"unchanged_original_tables": 208,
"existing_canonical_types_unchanged": true,
"only_data_addition": "four canonical location types",
"integrity": {
"integrity": true,
"constraint_violations": 0
}
},
{
"clone": 7,
"starting_schema_sha256": "dc6afafb8c25fd63d98a97d016402ddda7474fdfa296a18722b3ddc2569ecb91",
"resulting_schema_sha256": "5ae0ab8cfee2759dd2a1e967e888b277855b93efd8a56dfca15d2eb4e75ca946",
"executed": 2,
"unchanged_original_tables": 208,
"existing_canonical_types_unchanged": true,
"only_data_addition": "four canonical location types",
"integrity": {
"integrity": true,
"constraint_violations": 0
}
}
]
}

View File

@ -42,7 +42,7 @@ parent. Recorded unavailable types remain visible in Details rather than being r
Each mutation records the established project audit. Audit result sets are captured internally.
The response returns exact post-save versions and changed values. A user-bound, protected receipt
expires after ten minutes; Undo compares the current version before applying the original value.
A stale receipt cannot overwrite later edits. The browser updates its directory, counts and details
A stale receipt cannot overwrite later edits. The workspace offers one-step Undo, not a redo toggle. The browser updates its directory, counts and details
without navigating/reloading. Live invalidations refresh other windows; dirty descriptions defer
refresh. Local attribute changes refresh the rest of Details while retaining the existing
description editor and its draft. Explicit Save/Cancel and discard confirmation protect unsaved descriptions.
@ -52,6 +52,11 @@ project membership and cycle checks, while preserving unchanged historical archi
Its alias writes stay transactional; import callers retain their outer transaction. Full-form validation
errors return the posted draft with an inline message rather than silently moving a self-parent to root.
Migration 337 makes every existing location writer advance `UpdatedDate` strictly, even when the
clock has not advanced. Merge also versions children whose parent changes, so an older parent Undo
cannot overwrite their post-merge containment. Binary and length comparisons retain case-only and
trailing-space description differences; no existing record is rewritten by this migration.
`Location_WorkspaceCreate` validates ownership/parent and creates a child transactionally from only
a name. Naming matches existing forms (required, 200 characters; repeated names are allowed).
Aliases and manuscript text are never rewritten by rename. Traditional creation remains available.
@ -69,7 +74,8 @@ An unclassified survivor inherits source classification; otherwise survivor clas
Survivor name, type and parent remain. Source records and original information stay archived.
Geographic confirmation evidence stays with its original record and is not inferred for the survivor.
The older full merge form remains available and receives the same preservation safeguards. The
workspace additionally previews conflicts and rejects records changed since review.
workspace additionally previews conflicts and rejects records changed since review. Dapper merge
parameters explicitly use `DbType.DateTime2`, preserving the seven-digit reviewed timestamps.
## Filters, associations and preferences