46 lines
3.3 KiB
Markdown

# PlotDirector Website
Repository: `/srv/repos/PlotDirector.Website`; Gitea `nick/PlotDirector.Website`.
This is the public ASP.NET Core .NET 10 MVC/Razor website for `https://plotdirector.com`.
It is an architectural extraction, not a redesign. Preserve existing routes, content,
branding, responsive behaviour, accessibility and released feature claims.
## Boundaries
No SQL Server, Dapper, application authentication/session, application runtime,
SignalR, PWA manifest or service worker. Public account/billing links use configured
`Application:BaseUrl`; Production is `https://app.plotdirector.com`.
Do not modify `/srv/repos/PlotDirector` as part of website work. Coordinate an
explicit application task when its authoritative documentation/brand needs changes.
Do not copy secrets, uploads or application configuration into this repository.
## Architecture and content
Controllers and Razor views retain the extracted rendering. `Content/solver.json`
is a validated published graph; editorial/presentation JSON supplies existing copy.
`Content/pricing.json` contains public plan facts, never provider secrets or user entitlements.
The solver engine snapshot is extraction version 1 from application baseline 9dcd29d4;
application workspace/billing business logic is not implemented here.
`Help/published` is a generated immutable artifact, NOT an independently edited source.
PlotDirector remains authoritative. See `Docs/Content.md` for publication and consumption.
Public brand assets are versioned as extraction v1; shared snapshots have provenance
in `Content/brand-manifest.json`. Do not silently modify consumed package files.
## Build and qualification
`dotnet build PlotDirector.Website.slnx`
`python3 Tests/verify.py --origin http://127.0.0.1:5051`
Browser verification uses Playwright against the running service. Record real evidence.
Development sends noindex headers and robots Disallow. Production must retain canonical
plotdirector.com URLs, metadata, JSON-LD, public sitemap and verification assets.
Sitemap entries come only from published content. Do not invent modification dates,
features, marketing sections or guaranteed AI ranking claims. Unknown pages return 404.
## Operations
See `Docs/Publishing.md`. Website deployment MUST NOT invoke application migrations,
restart the application or change its database/configuration. Use separate identity,
service, port, immutable releases, signing key, receipts and rollback.
No Production activation or infrastructure modification without explicit approval.
Do not modify unrelated web1 sites, especially catherinelynwood.com.
Help publication format 2 must declare audience public and explicit Visibility=public on every served article. Reject application/legacy/unclassified artifacts. Article visibility is maintained only in authoritative application Markdown, never a website exclusion list. See Docs/HelpVisibility.md. Pricing is an explicitly published snapshot, not an automatic DB feed; use the application PublicPricing exporter and review the correct environment before updating it.
Production cutover completed with owner approval on 27 November 2026. See Docs/Publishing.md for current independent identities, signing/SSH keys and commands. Public cookies use distinct names and an explicit Nginx allowlist; never forward application authentication cookies to the website process.