Record overnight Development qualification and session-capture regression evidence
This commit is contained in:
parent
10f44edbca
commit
a2e891c917
123
Docs/Investigations/2026-11-05-overnight-verification.md
Normal file
123
Docs/Investigations/2026-11-05-overnight-verification.md
Normal file
@ -0,0 +1,123 @@
|
||||
# Overnight qualification evidence
|
||||
|
||||
Application source deployed: `10f44ed`. Final handover/test-only commits do not change deployed application binaries.
|
||||
|
||||
Full application harness: **411 PASS**, process exit 0. Native portable harness: **206 checks passed**, exit 0. Final solution build: **0 warnings, 0 errors**. Actual authenticated HTTP regression passed after session guard change. Full harness preceded that isolated guard; final build, HTTP and SQL session regression rechecked it.
|
||||
|
||||
## Final build
|
||||
|
||||
```text
|
||||
|
||||
Build succeeded.
|
||||
0 Warning(s)
|
||||
0 Error(s)
|
||||
|
||||
Time Elapsed 00:00:54.15
|
||||
```
|
||||
|
||||
## Authenticated HTTP
|
||||
|
||||
```text
|
||||
PASS actual HTTP native pairing, antiforgery, bearer/stamp, book/subscription access, canonical AI/idempotency, persistent review and live WebSocket invalidation (synthetic provider, no database)
|
||||
```
|
||||
|
||||
## Native foundation
|
||||
|
||||
```text
|
||||
Native foundation: 206 checks passed. Linux named-pipe API uses Unix domain sockets; Windows ACL/COM/Word responsiveness NOT verified.
|
||||
```
|
||||
|
||||
## Writing screens
|
||||
|
||||
```text
|
||||
PASS native PWA exact-session following, pinned scope, manual pause, disconnection and Word-unavailable states
|
||||
PASS native presence badge never infers connection from associations and clears stale links safely
|
||||
```
|
||||
|
||||
## Existing Office.js browser regressions
|
||||
|
||||
```text
|
||||
PASS pinned context retains scoped saved content without SignalR/latest Word/window registration
|
||||
PASS pinned intent retains scoped saved content without SignalR/latest Word/window registration
|
||||
PASS fresh Writer launcher opens both missing role windows without undeclared currentRole
|
||||
```
|
||||
|
||||
## Plot Lines
|
||||
|
||||
```text
|
||||
PASS: narrative map Focus/Weave, shared scenes, threads, gaps, connections, themes, inspector and association workflow
|
||||
```
|
||||
|
||||
## Continuity
|
||||
|
||||
```text
|
||||
PASS warning triage search, state, expansion and unchanged author-action forms
|
||||
```
|
||||
|
||||
## Public design
|
||||
|
||||
```text
|
||||
PASS public theme isolation: all seven themes, browser/standalone, signed in/out; authentication palette and validation; responsive layouts, assets, navigation, checkout links and public SEO.
|
||||
```
|
||||
|
||||
## Embedded theme
|
||||
|
||||
```text
|
||||
PASS embedded writing screens inherit and track existing PWA theme without separate persistence
|
||||
```
|
||||
|
||||
## SQL imported-session guard
|
||||
|
||||
```text
|
||||
PASS canonical native initial import, source/summary preservation, retry and incremental append
|
||||
SQL file completed: overnight-session-regression.sql
|
||||
```
|
||||
|
||||
## SQL rollback failure
|
||||
|
||||
```text
|
||||
PASS source-stage failure rolled back core chapters, scenes, receipt and fixture; review/canonical author data untouched
|
||||
SQL file completed: NativeApprovedImportRollback.sql
|
||||
```
|
||||
|
||||
## Windows script syntax only
|
||||
|
||||
```text
|
||||
PASS parse PlotDirector.NativeCompanion/WindowsValidation/Update-WordCompanion.ps1
|
||||
PASS parse PlotDirector.NativeCompanion/WindowsValidation/Install-WordCompanion.ps1
|
||||
```
|
||||
|
||||
## Development deployment
|
||||
|
||||
```text
|
||||
active
|
||||
Development server release: /srv/apps/plotdirector-dev/releases/overnight-integrated-10f44ed-20261105234532
|
||||
Previous application backup: /srv/apps/plotdirector-dev/current-before-overnight-integrated-10f44ed-20261105234532
|
||||
PlotLine.dll publish/deployed SHA256 matches: fcd299fad24173d49972c5b4baa8788a527ba5f6536255fd627574101419eaac
|
||||
PlotDirector.Companion.Protocol.dll publish/deployed SHA256 matches: 3a79bb8eca364cb1f88ea10e0133198d37450cc027fd38cb7ffc67ef3f3c535d
|
||||
```
|
||||
|
||||
## Development GET smoke checks
|
||||
|
||||
```text
|
||||
200 GET http://127.0.0.1:5050/ (33941 bytes; final http://127.0.0.1:5050/)
|
||||
200 GET https://dev.plotdirector.com/ (33941 bytes; final https://dev.plotdirector.com/)
|
||||
200 GET https://dev.plotdirector.com/help/getting-started/first-book (11063 bytes; final https://dev.plotdirector.com/help/getting-started/first-book)
|
||||
200 GET https://dev.plotdirector.com/help/word-companion/install (10569 bytes; final https://dev.plotdirector.com/help/word-companion/install)
|
||||
200 GET https://dev.plotdirector.com/js/writing-embedded-theme.js (703 bytes; final https://dev.plotdirector.com/js/writing-embedded-theme.js)
|
||||
200 GET https://dev.plotdirector.com/js/warning-triage.js (1127 bytes; final https://dev.plotdirector.com/js/warning-triage.js)
|
||||
200 GET https://dev.plotdirector.com/native-companion/workspace (7405 bytes; final https://dev.plotdirector.com/Account/Login?ReturnUrl=%2Fnative-companion%2Fworkspace)
|
||||
401 GET https://dev.plotdirector.com/api/native-companion/books
|
||||
```
|
||||
|
||||
## Service warnings/errors
|
||||
|
||||
```text
|
||||
-- No entries --
|
||||
```
|
||||
|
||||
## Scope
|
||||
|
||||
Browser checks used the existing isolated Razor host and synthetic fixtures. Authenticated HTTP used synthetic identities and AI provider, exercising real HTTP/auth/antiforgery/SignalR controllers without provider spend. SQL fixtures ran against Development inside rolled-back transactions. Public TLS smoke checks used deployed Development. No live author manuscript, payment mutation, Windows Word execution, installer build/install or Production deployment was performed.
|
||||
|
||||
The application-principal backup attempt for migration234 was denied before schema changes; the administrative SQL backup completed and VERIFYONLY passed before applying234. No permission changes were made.
|
||||
@ -8,8 +8,8 @@ INSERT dbo.Books(ProjectID,BookTitle,BookNumber,SortOrder) VALUES(@Project,N'Nat
|
||||
DECLARE @Review uniqueidentifier=NEWID(),@Doc uniqueidentifier=NEWID(),@Session uniqueidentifier=NEWID(),@Operation uniqueidentifier=NEWID();
|
||||
DECLARE @Key nvarchar(80)=CONCAT('native:',REPLACE(CONVERT(nvarchar(36),@Doc),'-',''),':10');
|
||||
INSERT dbo.NativeChapterReviews(ReviewID,UserID,BookID,ManuscriptID,ChapterStart,ChapterEnd,ContentHash,ResultJson,DecisionsJson,EncryptedSource)
|
||||
VALUES(@Review,@User,@Book,@Doc,10,30,'fixture-hash',N'{"DocumentRevision":2,"Scenes":[{"Start":10,"End":30}]}',N'[]',N'fixture-encrypted-source');
|
||||
UPDATE dbo.NativeChapterReviews SET ResultJson=JSON_MODIFY(ResultJson,'$.CaptureSession',CONVERT(varchar(36),@Session)) WHERE ReviewID=@Review;
|
||||
VALUES(@Review,@User,@Book,@Doc,10,30,'fixture-hash',N'{"DocumentRevision":2,"Scenes":[{"Start":10,"End":30}]}',N'[]',NULL);
|
||||
EXEC dbo.NativeReviewSource_Save @UserID=@User,@ReviewID=@Review,@EncryptedSource=N'fixture-encrypted-source',@ObservedRevision=2,@SessionID=@Session;
|
||||
DECLARE @Items nvarchar(max)=(SELECT @Review ReviewID,1 Version,@Key [Key],'fixture-hash' Hash,N'Approved opening' Title,10 Start,30 [End],JSON_QUERY((SELECT CONCAT(@Key,':10') [Key],N'Approved scene' Title,N'An author-approved summary.' Summary,N'Preserved source prose.' [Text],1 StartParagraph,1 EndParagraph,3 Words FOR JSON PATH)) Scenes FOR JSON PATH);
|
||||
EXEC dbo.NativeReviewImport @Action='Commit',@UserID=@User,@BookID=@Book,@OperationID=@Operation,@DocumentGuid=@Doc,@ItemsJson=@Items;
|
||||
IF (SELECT COUNT(*) FROM dbo.Chapters WHERE BookID=@Book AND IsArchived=0)<>1 THROW 51000,'Wrong chapter creation count',1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user