159 lines
12 KiB
Markdown
159 lines
12 KiB
Markdown
# Development acceptance and handover
|
|
|
|
**Both products are independently functioning and qualified in Development. Both
|
|
repositories are committed and pushed. Production cutover is prepared but has NOT
|
|
been performed. Explicit owner approval remains required.**
|
|
|
|
## Products, repositories and measured running releases
|
|
|
|
| Product | Source / remote | Development | Qualified running source |
|
|
| --- | --- | --- | --- |
|
|
| Application | `/srv/repos/PlotDirector`; `git@git.catherinelynwood.com:nick/PlotDirector.git`, branch `codex/application-website-separation-20261127` | https://dev.plotdirector.com/ | `a5d2af23568a43ffb666a239620dda26d7f8fe94` |
|
|
| Website | `/srv/repos/PlotDirector.Website`; private `git@git.catherinelynwood.com:nick/PlotDirector.Website.git`, branch `main` | http://192.168.10.10:5051/ (also http://atlas:5051/ where Atlas resolves) | `27bc77b40ace8565cb8cfcb731b94f397cddfb01` |
|
|
|
|
Application release: `development-a5d2af23568a-20261127T214101Z`, receipt
|
|
`20261127T214335Z-d3e13c66e036`. Website release: `website-separation-dev-final`;
|
|
its final admitted smoke/retained-release receipt is
|
|
`cf531e33-6344-405c-a323-9efd77d2fa1e`. Repository HEADs include subsequent
|
|
publishing-tool qualification and evidence/documentation commits; these do not
|
|
change the qualified ASP.NET application files. Exact package/DLL/manifest hashes
|
|
are in the receipts. Both Git remotes/branches were read back after pushing.
|
|
|
|
Runtime separation: `plotdirector-dev` / `plotdirector`, port 5050; independent
|
|
`plotdirector-website-dev` / `plotdirector-website`, port 5051. Each has its own
|
|
release/configuration/logging/rollback path. The website has no SQL Server,
|
|
application authentication/session, SignalR, application runtime or PWA dependency.
|
|
Internal application PlotLine projects, namespaces and assemblies are unchanged.
|
|
The application retains its database, users, subscriptions, manuscripts and services.
|
|
|
|
## Public compatibility and content
|
|
|
|
[Complete inventory](Evidence/public-urls.json): **449 indexed URLs**, including
|
|
409 articles, 32 categories and the Help Centre index; **78 further active public
|
|
solver/browse/feature URLs**, plus legacy help/solver/query/fragment route contracts.
|
|
[Asset inventory](Evidence/public-assets.json) records every extracted website static
|
|
file/checksum. The dynamic sitemap exactly retains the 449-URL Production baseline.
|
|
Solver indexing was already disabled in Production; this intentional state remains.
|
|
Unknown pages return 404; no missing-route-to-homepage redirect is introduced.
|
|
|
|
A direct live read-only comparison of **86** main pages/solver/browse/feature pages
|
|
found identical public text. Development plan limits differed from Production;
|
|
the website snapshot was corrected to the observed released Production limits and
|
|
prices. Paid-plan checkout IDs also match Production (4, 3, 1). Five previously
|
|
broken screenshot links now resolve to copies of their existing full-size images.
|
|
There is no redesign, new marketing section or speculative feature copy.
|
|
|
|
Public Razor rendering, navigation, branding, AVIF/WebP responsive assets, metadata,
|
|
Open Graph/Twitter, JSON-LD and canonical plotdirector.com URLs remain. Unique help
|
|
page titles disambiguate repeated headings without changing article identifiers or
|
|
body content. Sitemap dates use genuine source Git dates/published article metadata,
|
|
not build/request timestamps. Existing apex DNS verification remains unchanged.
|
|
Public robots allows crawlers, including AI search crawlers; Development and app
|
|
indexing are separately restricted. The supplementary llms guide makes no ranking
|
|
promise. Public links to account/checkout functions explicitly use the app origin.
|
|
|
|
## Shared documentation and brand
|
|
|
|
Application source `PlotLine/Help/Articles` remains authoritative. The exporter uses
|
|
the existing HelpService, an exact source commit and an explicit approved URL list.
|
|
It preserves collision-resolved identifiers, Markdown, search/navigation metadata,
|
|
real modification dates and referenced assets, with a version/channel/checksum
|
|
manifest. Internal/unreleased material is not selected through a blanket glob.
|
|
|
|
Each runtime independently consumes the same approved artifact into its own store:
|
|
|
|
- Application: `/opt/plotdirector-dev/shared/help/current`.
|
|
- Website: `/opt/plotdirector-website-dev/shared/help/current`.
|
|
|
|
Production gets separate corresponding local stores and explicitly Production-approved
|
|
content. A Development artifact was rejected when consumed as Production. Both
|
|
runtimes were observed loading a new approved publication and restoring the previous
|
|
publication **without either PID changing**, and without deploying application code.
|
|
No published copies are edited independently. Application file-source fallback and
|
|
all contextual-help APIs remain available. Publication/consumption commands are in
|
|
`Tools/PublicContent/README.md` and the website's `Docs/Content.md`.
|
|
|
|
The versioned public brand snapshot matches **114** shared files byte-for-byte.
|
|
The website brand publisher and explicit application source consumer support future
|
|
reviewed version updates with independent deployments. Authentication uses the public
|
|
brand in every display mode; authenticated application themes remain independent.
|
|
|
|
## Verification results
|
|
|
|
| Gate | Result / evidence |
|
|
| --- | --- |
|
|
| Application solution build | Passed, 0 warnings / 0 errors, clean qualification checkout |
|
|
| Full executable regression | Passed; 894 emitted PASS results, no `dotnet test` substitution |
|
|
| Domain/help/email-link focused checks | Passed: safe returns, app boundaries, app-origin verification/reset URLs in captured queued messages, application help hot reload |
|
|
| Website build/publish | Passed .NET 10 / Razor compilation; independent signed package source identity verified |
|
|
| Website HTTP/crawl qualification | All **527** pages, **554** internal paths and **42** referenced asset paths passed; sitemap/canonical/unique title/JSON-LD/date/404 checks passed |
|
|
| Production SEO policy | All 527 pages checked in a local Production-mode website host; baseline 449 are indexable, existing solver noindex retained; no live Production deployment |
|
|
| Real public browser | **26** checks passed at 1440px/390px: loaded images, primary pages, mobile navigation, help search/article, complete solver journey, app links and no website PWA |
|
|
| Real application browser | **30** checks passed: branded account pages, normal login/logout/safe deep links, all seven persisted themes (restored), synthetic project/book/manuscript workspace, Context and established SignalR connection, subscription/taskpane routes |
|
|
| Real MFA | **5** checks passed using a dedicated synthetic account: authenticator/recovery branding, real TOTP and protected return; original disabled MFA state restored; no secrets/codes/screenshots recorded |
|
|
| Real installed Chromium PWA | **5** checks passed: installation/default Projects launch, theme availability, honest offline network failure, public-brand sign-out and sign-in; test installation/profile removed |
|
|
| Office add-in manifests | Development and Production XML pass Office validator, stable add-in ID, version 1.0.1.0 |
|
|
| Website deployment security | **11** tests passed: valid compressed package, tampering/signature/product/path/member rejection, bounded loopback responses and refusal of redirects/external targets |
|
|
| Prepared Nginx | **17** local sandbox checks passed, including syntax, normal browser path/query redirects, POST/bearer/body preservation, AJAX/JSON controller calls, legacy Word assets, WebSocket upgrade, independent public help fragments/images and denied internal health |
|
|
| Entire website while app stopped | **All 527 HTTP pages and all 26 real browser checks passed with application PID 0 throughout**, under the existing idle/history/deployment lock guards; application restarted healthy; website PID unchanged |
|
|
| Shared help | Both products' independent hot publication and content rollback passed without service restart |
|
|
| Independent deployment/restart/rollback | Passed for both; website did not restart app, app did not restart website; application rollback/restoration used newly signed compressed packages and zero SQL migrations |
|
|
| Existing compressed app publishing | Preserved and exercised; Development receipts show zero migrations; Production tooling remains unchanged |
|
|
| Production boundaries | No Production write/cutover/provider action; normal verified HTTPS still returns 200 for apex, www and Catherine |
|
|
|
|
Evidence is in `Evidence/`, including structured receipts, published URL/asset
|
|
inventories, HTTP/browser/PWA/MFA results, strict application-stopped qualification,
|
|
shared-help publication, rollback isolation and representative screenshots.
|
|
Credentials, login screenshots, browser storage/traces and actual author data were
|
|
not recorded. Test writes were confined to the existing dedicated synthetic account
|
|
(theme preference and MFA), with the original settings restored.
|
|
|
|
## Operations and practical limitations
|
|
|
|
Normal app Development publishing remains the existing guarded command. Its old
|
|
protected baseline was reconciled to the already-qualified running 9dcd29d4 package
|
|
and complete 338-entry Development history, after signed/installed/live verification;
|
|
no SQL or service change occurred during that reconciliation. Previous baseline is
|
|
retained. Production's separate 337-entry history was not substituted.
|
|
|
|
The `/srv` filesystem has about 1.1 GiB available. Only this task's failed temporary
|
|
build output was removed; final clean builds use the roomy system volume under
|
|
`~/.local/share/plotdirector-development/worktrees`. No unrelated releases/checkouts,
|
|
backups or user investigation files were deleted. The two initial untracked
|
|
investigation documents remain uncommitted and unchanged.
|
|
|
|
Start independent Codex sessions with `cd /srv/repos/PlotDirector && codex` or
|
|
`cd /srv/repos/PlotDirector.Website && codex`. Website/app service journals are separate.
|
|
The actual website Development URL is the LAN URL above, verified from the existing
|
|
reverse-proxy host. Atlas UFW permits this new port only from 192.168.10.0/24; existing
|
|
SSH/SQL/application rules were retained. An optional externally
|
|
reachable `website-dev.plotdirector.com` HTTPS host is templated but requires DNS,
|
|
TLS and edge administration; it is not falsely reported as provisioned.
|
|
|
|
## Production approval and remaining owner/operator actions
|
|
|
|
[Controlled cutover and rollback](Cutover.md) contains the baseline, infrastructure,
|
|
permissions, TLS commands, deployment order, cookie/deep-link behavior, legacy browser
|
|
versus API/SignalR/AJAX handling, provider/client requirements, smoke tests and recovery.
|
|
Website `Docs/Publishing.md` contains its independent prepare/transfer/validate/
|
|
activate/rollback commands; application commands remain in `Docs/Codex/Deployment.md`
|
|
and `Docs/Deployment/Production.md`. Shared content commands are in `Docs/Content.md`.
|
|
|
|
The cutover still needs explicit owner approval, followed by the reviewed web1
|
|
administrator provisioning/Nginx/app TLS steps. No temporary admin SSH request is
|
|
needed for completed Development work. Preserve all existing app configuration,
|
|
secrets, uploads, Data Protection keys/discriminator, SQL/history and held workers.
|
|
|
|
At approved cutover the owner must confirm pending editor/Word/offline work is saved,
|
|
uninstall/reinstall the PWA at app.plotdirector.com, update the Word web-add-in
|
|
manifest and reauthorize native Companion for the new origin. The existing native
|
|
MSI is origin-configurable; an origin-only change does not require new binaries.
|
|
**Physical Windows/Word operation has not been tested here.**
|
|
|
|
Stripe dashboard/callback/portal domain changes and real email-delivery acceptance
|
|
require the appropriate owner/provider action. No live payment or real email was
|
|
sent as a qualification claim. Email URL generation, account-page rendering, real
|
|
login/MFA/deep-link handling and existing subscription UI were verified. Old provider
|
|
callbacks retain a body-preserving bridge while updates are completed. No Production
|
|
integration settings or signing secrets were changed.
|