Record book recovery qualification and Development deployment

This commit is contained in:
Nick Beckley 2026-11-06 19:09:58 +00:00
parent b4bf21328e
commit bda826b207

View File

@ -55,3 +55,22 @@ Final normal regression harness: **414 passed checks, exit0**. Browser regressio
![Narrow dark restore preview](Images/book-restore-narrow-dark.png)
Historical compatibility retains the existing1.0–1.3 readers and refusal/warning policy. These tests cover version/older-shape contracts; no claim is made that an arbitrary external historical archive contains data that its original writer never exported. Missing vocabulary definitions or required dependencies fail safely rather than trusting numeric IDs.
## Development deployment — verified
Application commit: `b4bf21328e88be8f836268dca7e01205a9f733bf` on `codex/word-companion-native-phase1-20261104` (pushed). The later documentation-only handover commit records this deployment without changing its application build.
- Migration236 applied to **PlotDirector_Development only**, after prerequisite and idle-work gates. It is now a live forward-only migration; subsequent repairs require a new numbered migration.
- Unique pre-migration backup: `/var/opt/mssql/backups/PlotDirector_Development-book-recovery-20261106T190600Z.bak`; COPY_ONLY/CHECKSUM and RESTORE VERIFYONLY succeeded.
- Migration SHA256: `d5d647c6c7e8e0c9cdc762f9446c3656543d318a3b8c4708ad99a420dacce762`.
- Release: `/srv/apps/plotdirector-dev/releases/book-recovery-b4bf213-20261106T190216Z/`.
- Previous application preserved at `/srv/apps/plotdirector-dev/current-before-book-recovery-b4bf213-20261106T190216Z/`.
- Published/deployed `PlotLine.dll` SHA256 matches: `15dafca838cb2dd8678efe69136fcc400c370585b16a6e2a49909536235a0b66`.
- `plotdirector-dev` active; local GET and public TLS-validated HTTPS GET both200. No warning-priority service journal entries during qualification. Application-principal SQL smoke checks confirm new tables, append-state handling and archive-inclusive reservation procedure.
- Live browser smoke used normal antiforgery-protected login and a dedicated temporary account: owner empty state, `.plotdirector` upload validation, filename/book selection, new-project preview, explicit unchecked confirmation, manuscript ribbon POST, `/Imports` redirect and contextual Help all passed. **No live restore was confirmed.** The temporary identity was removed through the normal complete account-deletion workflow; its private credential file was deleted.
Configuration, uploads and existing data-protection keys were preserved. No new configuration or external services are required. Production and the Windows Companion source/installation were not changed.
## Author acceptance
Use a non-production test book first. On Development, back up one book, inspect the file and restore into a new test project. Check scene prose, planning/Intent, characters, maps and attachments. Repeat with several/all books and an existing owned destination. Verify duplicate refusal, preserved archive status and shared-data conflict previews. Only deliberately delete an online test book after checking its backup; then verify its released slot permits a fresh restore. Saved-point rewind remains a separate explicit replacement operation.