diff --git a/Docs/WordCompanion/Persistent-Authorisation.md b/Docs/WordCompanion/Persistent-Authorisation.md index 06e7755b..09cd0d22 100644 --- a/Docs/WordCompanion/Persistent-Authorisation.md +++ b/Docs/WordCompanion/Persistent-Authorisation.md @@ -85,3 +85,27 @@ On the real interactive Windows user profile, verify: Native DPAPI, Windows logon startup, Word runtime behaviour and visual qualification remain for the user. No installer/system configuration or installed software was modified on Atlas; no Production changes are authorised or performed. Deployment, backup and live Development verification are recorded below after delivery. + +## Delivery evidence + +Implementation commit **5316ad539ca1695fc003a65b6aa4aec7c351a4ef** was pushed on the existing shared branch and deployed to Development. Documentation-only follow-up commits descend from that implementation. Source version14, qualified version13 installer files and the installed Windows laptop were not built/reinstalled on Atlas. + +- SQL238 applied after copy-only, checksummed backup and `RESTORE VERIFYONLY`: `/var/opt/mssql/backup/PlotDirector_Development_before_installation_auth_20261107T000508Z.bak`. +- Release: `/srv/apps/plotdirector-dev/releases/5316ad5-20261107T001259Z`. +- Previous application retained: `/srv/apps/plotdirector-dev/current-before-5316ad5-20261107T001259Z`. +- Published/deployed `PlotLine.dll` SHA-256 both **0924407f7fa678887e527d8dae47a9f1b66b813e357099cac06be12425c16960**. +- Idle import/Story Intelligence guards passed before replacement; service active and local/public Development GETs returned 200. Existing configuration, data-protection keys, uploads and logs were preserved. + +The actual Development HTTP/browser pass used a dedicated normally created/signed-in account and the real SQL-backed installation repository. It passed first-time persistent approval, short-lived access issuance, renewal without browser interaction, identical-rotation retry, rejection of another old-credential operation, new-process identity replacement, refusal of the prior process token, agent-only state without Word, owner-device management and antiforgery, revocation of unexpired access, and website-logout revocation of both access and future renewal. No manuscript or AI requests were made. The fixture account/device rows and private credential file were removed through the normal account-deletion path; the new AppUser cascade was exercised. + +Repeat the explicit live authentication check on Development only: + +```sh +dotnet run --no-build --project PlotLine.Tests/PlotLine.Tests.csproj -- --dev-browser-identity create /tmp/pd-dev-browser-auth-qualification.json +node PlotLine.Tests/Browser/native-authorisation-development.cjs /tmp/pd-dev-browser-auth-qualification.json +dotnet run --no-build --project PlotLine.Tests/PlotLine.Tests.csproj -- --dev-browser-identity cleanup /tmp/pd-dev-browser-auth-qualification.json +``` + +Provisioning verifies the effective Development database and creates its own pre-fixture backup. The browser test refuses non-fixture credentials and does not test real Windows protected storage. Private diagnostics/credential files must not be printed or committed. + +**Ready for the user's Windows qualification, not a claim that DPAPI, Windows restart or Word has been exercised on Atlas.** No Production deployment or Windows installation was performed.