diff --git a/AGENTS.md b/AGENTS.md index 8631e872..ea61e1d0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -126,8 +126,8 @@ The independent public website source is `/srv/repos/PlotDirector.Website`, repo `PlotDirector.Website`. Public editorial pages and the public Problem Solver are maintained there. Do not duplicate website content edits in this application. Internal PlotLine project/assembly/namespace identities remain unchanged. -Application Production origin is prepared as `https://app.plotdirector.com`; cutover -requires explicit approval. Development remains `https://dev.plotdirector.com`. +Application Production origin is `https://app.plotdirector.com`; the owner-approved +cutover completed on 27 November 2026. Further Production changes require approval. Development remains `https://dev.plotdirector.com`. See `Docs/Separation/Audit.md`, `Cutover.md` and `Acceptance.md` for measured status. Application help remains authoritative in `PlotLine/Help/Articles`. Public help must diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/1440--.png b/Docs/Deployment/Evidence/ProductionSeparation-20261127/1440--.png new file mode 100644 index 00000000..3d4517af Binary files /dev/null and b/Docs/Deployment/Evidence/ProductionSeparation-20261127/1440--.png differ diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/1440--help.png b/Docs/Deployment/Evidence/ProductionSeparation-20261127/1440--help.png new file mode 100644 index 00000000..0e27f765 Binary files /dev/null and b/Docs/Deployment/Evidence/ProductionSeparation-20261127/1440--help.png differ diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/1440--pricing.png b/Docs/Deployment/Evidence/ProductionSeparation-20261127/1440--pricing.png new file mode 100644 index 00000000..0d5cae6a Binary files /dev/null and b/Docs/Deployment/Evidence/ProductionSeparation-20261127/1440--pricing.png differ diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/390--help.png b/Docs/Deployment/Evidence/ProductionSeparation-20261127/390--help.png new file mode 100644 index 00000000..5647ee88 Binary files /dev/null and b/Docs/Deployment/Evidence/ProductionSeparation-20261127/390--help.png differ diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/app-activation-receipt.json b/Docs/Deployment/Evidence/ProductionSeparation-20261127/app-activation-receipt.json new file mode 100644 index 00000000..cf6c7e1a --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionSeparation-20261127/app-activation-receipt.json @@ -0,0 +1 @@ +{"availability":{"confirmed_inactive_to_health_ready_seconds":7.5107956290012226,"definition":"Monotonic intervals include stop/start commands; observed public outage measured separately on Atlas.","service_stop_to_start_seconds":3.3869196510058828,"stop_request_to_health_ready_seconds":7.696860274008941,"stop_request_to_start_command_complete_seconds":3.5729903979809023},"checks":{"activation":true,"application":{"database":"PlotLine","environment":"Production","healthy":true,"sourceCommit":"a36e1d8c172f81d7e22f513c96b66e8568f2c7c4","version":"1.0.0"},"binary_identity":true,"database":{"complete_history":true,"healthy":true,"history":{"baselined":210,"executed":127,"expected":337,"latest_successful_release":{"activated_utc":"2026-11-27T20:36:48.6128277Z","activation_kind":"Deploy","application_version":"1.0.0","deployment_identifier":"20261127T203623Z-d82f2be53cfe","manifest_sha256":"344f86090191f18f6ad4c6d05d92b411a6d87d311842b4292d64f128a86b277f","package_sha256":"dd8615e6b94e6ca49eddadd60d622309980d9d82f88e74f804fb2b99145d55e6","recorded":true,"release_identifier":"plotdirector-production-spatial-9dcd29d423b2-20261127T203415Z","source_commit":"9dcd29d423b20e373e49fb28180d993c40aa165d"},"recorded":337,"successful_release_count":7},"history_verification_seconds":0.1937411},"http_login":true,"http_root":true},"completed_utc":"2026-11-27T23:03:33.103+00:00","database_backup":{"options":["COPY_ONLY","CHECKSUM","VERIFYONLY"],"path":"/srv/backups/sql/PlotLine-predeploy-20261127T230312Z-0b6dbdee4c45.bak","verified":true},"deployment_id":"20261127T230312Z-0b6dbdee4c45","failures":[],"format":1,"migration_history":{"complete":true,"database_bytes":486539264,"history":{"baselined":210,"executed":127,"expected":337,"latest_successful_release":{"activated_utc":"2026-11-27T20:36:48.6128277Z","activation_kind":"Deploy","application_version":"1.0.0","deployment_identifier":"20261127T203623Z-d82f2be53cfe","manifest_sha256":"344f86090191f18f6ad4c6d05d92b411a6d87d311842b4292d64f128a86b277f","package_sha256":"dd8615e6b94e6ca49eddadd60d622309980d9d82f88e74f804fb2b99145d55e6","recorded":true,"release_identifier":"plotdirector-production-spatial-9dcd29d423b2-20261127T203415Z","source_commit":"9dcd29d423b20e373e49fb28180d993c40aa165d"},"recorded":337,"successful_release_count":7},"history_verification_seconds":0.2952615,"schema":"96de8e6cdd4001f4e2cf3ceff28ee0238e0c0c8fc79d662928a76a45e05f4e35"},"migrations":{"baselined":0,"committed":[],"committed_list_truncated":false,"executed":0,"schema":"96de8e6cdd4001f4e2cf3ceff28ee0238e0c0c8fc79d662928a76a45e05f4e35"},"operation":"activate","origin":"web1","phases":[{"completed_utc":"2026-11-27T23:03:12.880+00:00","exclusive_seconds":0.564192,"name":"package_validation","outcome":"passed","parent":null,"seconds":0.564192,"started_utc":"2026-11-27T23:03:12.316+00:00"},{"completed_utc":"2026-11-27T23:03:14.642+00:00","exclusive_seconds":1.762603,"name":"decompression","outcome":"passed","parent":null,"seconds":1.762603,"started_utc":"2026-11-27T23:03:12.880+00:00"},{"completed_utc":"2026-11-27T23:03:17.734+00:00","exclusive_seconds":3.091878,"name":"package_validation","outcome":"passed","parent":null,"seconds":3.091878,"started_utc":"2026-11-27T23:03:14.643+00:00"},{"completed_utc":"2026-11-27T23:03:20.253+00:00","exclusive_seconds":1.035376,"name":"database_state_verification","outcome":"passed","parent":null,"seconds":1.330638,"started_utc":"2026-11-27T23:03:18.922+00:00"},{"clock":"SQL worker Stopwatch; measured duration, UTC endpoints unavailable","completed_utc":null,"exclusive_seconds":0.295262,"name":"migration_history_verification","outcome":"passed","parent":"database_state_verification","seconds":0.295262,"started_utc":null},{"completed_utc":"2026-11-27T23:03:24.197+00:00","exclusive_seconds":3.926002,"name":"database_backup","outcome":"passed","parent":null,"seconds":3.926002,"started_utc":"2026-11-27T23:03:20.271+00:00"},{"completed_utc":"2026-11-27T23:03:24.908+00:00","exclusive_seconds":0.185952,"name":"service_stop","outcome":"passed","parent":null,"seconds":0.185952,"started_utc":"2026-11-27T23:03:24.722+00:00"},{"completed_utc":"2026-11-27T23:03:26.587+00:00","exclusive_seconds":1.630947,"name":"migration_execution","outcome":"passed","parent":null,"seconds":1.630947,"started_utc":"2026-11-27T23:03:24.956+00:00"},{"completed_utc":"2026-11-27T23:03:27.997+00:00","exclusive_seconds":1.402942,"name":"release_installation","outcome":"passed","parent":null,"seconds":1.402942,"started_utc":"2026-11-27T23:03:26.594+00:00"},{"completed_utc":"2026-11-27T23:03:28.011+00:00","exclusive_seconds":0.004953,"name":"release_activation","outcome":"passed","parent":null,"seconds":0.004953,"started_utc":"2026-11-27T23:03:28.006+00:00"},{"completed_utc":"2026-11-27T23:03:28.295+00:00","exclusive_seconds":0.283316,"name":"service_start","outcome":"passed","parent":null,"seconds":0.283316,"started_utc":"2026-11-27T23:03:28.011+00:00"},{"completed_utc":"2026-11-27T23:03:32.418+00:00","exclusive_seconds":0.906566,"name":"postactivation_verification","outcome":"passed","parent":"application_health_readiness","seconds":1.100307,"started_utc":"2026-11-27T23:03:31.318+00:00"},{"clock":"SQL worker Stopwatch; measured duration, UTC endpoints unavailable","completed_utc":null,"exclusive_seconds":0.193741,"name":"migration_history_verification","outcome":"passed","parent":"postactivation_verification","seconds":0.193741,"started_utc":null},{"completed_utc":"2026-11-27T23:03:32.418+00:00","exclusive_seconds":3.023456,"name":"application_health_readiness","outcome":"passed","parent":null,"seconds":4.123763,"started_utc":"2026-11-27T23:03:28.295+00:00"},{"completed_utc":"2026-11-27T23:03:32.486+00:00","exclusive_seconds":0.059745,"name":"postactivation_verification","outcome":"passed","parent":null,"seconds":0.059745,"started_utc":"2026-11-27T23:03:32.426+00:00"},{"completed_utc":"2026-11-27T23:03:33.103+00:00","exclusive_seconds":0.022238,"name":"receipt_generation","outcome":"passed","parent":null,"seconds":0.022238,"started_utc":"2026-11-27T23:03:33.081+00:00"}],"previous_release":{"deployment":"20261127T203623Z-d82f2be53cfe","package_sha256":"dd8615e6b94e6ca49eddadd60d622309980d9d82f88e74f804fb2b99145d55e6","release":"plotdirector-production-spatial-9dcd29d423b2-20261127T203415Z","source_commit":"9dcd29d423b20e373e49fb28180d993c40aa165d","version":"1.0.0"},"protected_evidence_reference":"/srv/plotdirector/deployment-evidence/20261127T230312Z-0b6dbdee4c45.jsonl","recovery":"No automatic database restore or application rollback. Review protected attempt evidence on failure.","release":{"application_sha256":"656a443fba4d442c20645af931ecc2db01c329efd908e2b5bd915871dde8244b","dll_sha256":"7cc36c1bd429d23cac0d0b2e728bd359df85c5f7518d186ff482f33687e5cf36","id":"plotdirector-production-separation-a36e1d8c172f-20261127","manifest_sha256":"0f368807b2ce420a5b9a77155ccc75a1fee48913c8aed8a22ed4fde1df520057","package_sha256":"55da0936156cf7497d0d3e571bab1f59865137fc9e7c13fc966072bfc68febb5","source_commit":"a36e1d8c172f81d7e22f513c96b66e8568f2c7c4","version":"1.0.0"},"release_history":{"activated_utc":"2026-11-27T23:03:32.4589909Z","activation_kind":"Deploy","application_version":"1.0.0","deployment_identifier":"20261127T230312Z-0b6dbdee4c45","manifest_sha256":"0f368807b2ce420a5b9a77155ccc75a1fee48913c8aed8a22ed4fde1df520057","package_sha256":"55da0936156cf7497d0d3e571bab1f59865137fc9e7c13fc966072bfc68febb5","recorded":true,"release_identifier":"plotdirector-production-separation-a36e1d8c172f-20261127","source_commit":"a36e1d8c172f81d7e22f513c96b66e8568f2c7c4"},"started_utc":"2026-11-27T23:03:12.240+00:00","status":"activated","timing":{"clock":"monotonic; UTC timestamps for correlation only","measured_top_level_seconds":18.389169,"total_seconds":20.863248,"unattributed_seconds":2.474079},"transfer":{"bytes":166010299,"mib_per_second":1.617260159611623,"seconds":97.89380977099063,"source":"ssh-receiver-unprivileged"},"transport":{"compression_ratio":0.298687,"compression_seconds_atlas":2.068804061971605,"method":"zstd","original_bytes":555796480,"original_sha256":"55da0936156cf7497d0d3e571bab1f59865137fc9e7c13fc966072bfc68febb5","settings":{"level":6,"threads":4},"transferred_bytes":166009316,"transferred_sha256":"f727f93246391aca60e9da68fa2b7f6222429d39e059a2d52b21cf15d7493875"},"unperformed_phases":["release_preparation","production_validation","remote_activation","receipt_retrieval","scope_verification","build","packaging_signing","compression","transfer","public_acceptance"],"warnings":[]} diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/app-validation.json b/Docs/Deployment/Evidence/ProductionSeparation-20261127/app-validation.json new file mode 100644 index 00000000..b1c92d4c --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionSeparation-20261127/app-validation.json @@ -0,0 +1,323 @@ +{ + "format": 1, + "origin": "atlas-pipeline", + "started_utc": "2026-11-27T22:50:51.859+00:00", + "completed_utc": "2026-11-27T22:52:47.223+00:00", + "status": "validated", + "phases": [ + { + "name": "package_validation", + "started_utc": "2026-11-27T22:50:51.860+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-27T22:50:52.051+00:00", + "seconds": 0.190828, + "exclusive_seconds": 0.190828 + }, + { + "name": "decompression", + "started_utc": "2026-11-27T22:50:52.051+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-27T22:50:53.135+00:00", + "seconds": 1.084199, + "exclusive_seconds": 1.084199 + }, + { + "name": "package_validation", + "started_utc": "2026-11-27T22:50:53.135+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-27T22:50:58.285+00:00", + "seconds": 5.150217, + "exclusive_seconds": 5.150217 + }, + { + "name": "transfer", + "started_utc": "2026-11-27T22:50:58.395+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-27T22:52:37.292+00:00", + "seconds": 98.89729, + "exclusive_seconds": 98.89729 + }, + { + "name": "production_validation", + "started_utc": "2026-11-27T22:52:37.292+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-27T22:52:46.280+00:00", + "seconds": 8.987848, + "exclusive_seconds": 8.987848 + }, + { + "name": "receipt_retrieval", + "started_utc": "2026-11-27T22:52:46.280+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-27T22:52:47.206+00:00", + "seconds": 0.926007, + "exclusive_seconds": 0.926007 + }, + { + "name": "receipt_generation", + "started_utc": "2026-11-27T22:52:47.206+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-27T22:52:47.223+00:00", + "seconds": 0.016912, + "exclusive_seconds": 0.016912 + } + ], + "warnings": [ + "Validation only; no activation, backup or migration performed" + ], + "failures": [], + "checks": {}, + "migrations": { + "executed": null, + "baselined": null + }, + "recovery": "No automatic database restore or application rollback. Review protected attempt evidence on failure.", + "transport": { + "method": "zstd", + "original_bytes": 555796480, + "transferred_bytes": 166009316, + "original_sha256": "55da0936156cf7497d0d3e571bab1f59865137fc9e7c13fc966072bfc68febb5", + "transferred_sha256": "f727f93246391aca60e9da68fa2b7f6222429d39e059a2d52b21cf15d7493875", + "compression_ratio": 0.298687, + "compression_seconds_atlas": 2.068804061971605, + "settings": { + "level": 6, + "threads": 4 + } + }, + "release": { + "id": "plotdirector-production-separation-a36e1d8c172f-20261127", + "source_commit": "a36e1d8c172f81d7e22f513c96b66e8568f2c7c4", + "version": "1.0.0", + "package_sha256": "55da0936156cf7497d0d3e571bab1f59865137fc9e7c13fc966072bfc68febb5", + "application_sha256": "656a443fba4d442c20645af931ecc2db01c329efd908e2b5bd915871dde8244b", + "dll_sha256": "7cc36c1bd429d23cac0d0b2e728bd359df85c5f7518d186ff482f33687e5cf36" + }, + "transfer": { + "source": "atlas-sender", + "bytes": 166010299, + "seconds": 98.89738204603782, + "mib_per_second": 1.6008488307761533 + }, + "server_validation": { + "checks": {}, + "completed_utc": "2026-11-27T22:52:46.141+00:00", + "deployment_id": "20261127T225238Z-5c9aca3b881c", + "failures": [], + "format": 1, + "migration_history": { + "complete": true, + "database_bytes": 486539264, + "history": { + "baselined": 210, + "executed": 127, + "expected": 337, + "latest_successful_release": { + "activated_utc": "2026-11-27T20:36:48.6128277Z", + "activation_kind": "Deploy", + "application_version": "1.0.0", + "deployment_identifier": "20261127T203623Z-d82f2be53cfe", + "manifest_sha256": "344f86090191f18f6ad4c6d05d92b411a6d87d311842b4292d64f128a86b277f", + "package_sha256": "dd8615e6b94e6ca49eddadd60d622309980d9d82f88e74f804fb2b99145d55e6", + "recorded": true, + "release_identifier": "plotdirector-production-spatial-9dcd29d423b2-20261127T203415Z", + "source_commit": "9dcd29d423b20e373e49fb28180d993c40aa165d" + }, + "recorded": 337, + "successful_release_count": 7 + }, + "history_verification_seconds": 0.4745028, + "schema": "96de8e6cdd4001f4e2cf3ceff28ee0238e0c0c8fc79d662928a76a45e05f4e35" + }, + "migrations": { + "baselined": null, + "executed": null + }, + "operation": "validate", + "origin": "web1", + "phases": [ + { + "completed_utc": "2026-11-27T22:52:38.589+00:00", + "exclusive_seconds": 0.423775, + "name": "package_validation", + "outcome": "passed", + "parent": null, + "seconds": 0.423775, + "started_utc": "2026-11-27T22:52:38.165+00:00" + }, + { + "completed_utc": "2026-11-27T22:52:40.364+00:00", + "exclusive_seconds": 1.775376, + "name": "decompression", + "outcome": "passed", + "parent": null, + "seconds": 1.775376, + "started_utc": "2026-11-27T22:52:38.589+00:00" + }, + { + "completed_utc": "2026-11-27T22:52:43.026+00:00", + "exclusive_seconds": 2.661286, + "name": "package_validation", + "outcome": "passed", + "parent": null, + "seconds": 2.661286, + "started_utc": "2026-11-27T22:52:40.364+00:00" + }, + { + "completed_utc": "2026-11-27T22:52:45.449+00:00", + "exclusive_seconds": 0.954947, + "name": "database_state_verification", + "outcome": "passed", + "parent": null, + "seconds": 1.42945, + "started_utc": "2026-11-27T22:52:44.020+00:00" + }, + { + "clock": "SQL worker Stopwatch; measured duration, UTC endpoints unavailable", + "completed_utc": null, + "exclusive_seconds": 0.474503, + "name": "migration_history_verification", + "outcome": "passed", + "parent": "database_state_verification", + "seconds": 0.474503, + "started_utc": null + }, + { + "completed_utc": "2026-11-27T22:52:46.141+00:00", + "exclusive_seconds": 0.026918, + "name": "receipt_generation", + "outcome": "passed", + "parent": null, + "seconds": 0.026918, + "started_utc": "2026-11-27T22:52:46.114+00:00" + } + ], + "previous_release": { + "deployment": "20261127T203623Z-d82f2be53cfe", + "package_sha256": "dd8615e6b94e6ca49eddadd60d622309980d9d82f88e74f804fb2b99145d55e6", + "release": "plotdirector-production-spatial-9dcd29d423b2-20261127T203415Z", + "source_commit": "9dcd29d423b20e373e49fb28180d993c40aa165d", + "version": "1.0.0" + }, + "protected_evidence_reference": "/srv/plotdirector/deployment-evidence/20261127T225238Z-5c9aca3b881c.jsonl", + "recovery": "No automatic database restore or application rollback. Review protected attempt evidence on failure.", + "release": { + "application_sha256": "656a443fba4d442c20645af931ecc2db01c329efd908e2b5bd915871dde8244b", + "dll_sha256": "7cc36c1bd429d23cac0d0b2e728bd359df85c5f7518d186ff482f33687e5cf36", + "id": "plotdirector-production-separation-a36e1d8c172f-20261127", + "manifest_sha256": "0f368807b2ce420a5b9a77155ccc75a1fee48913c8aed8a22ed4fde1df520057", + "package_sha256": "55da0936156cf7497d0d3e571bab1f59865137fc9e7c13fc966072bfc68febb5", + "source_commit": "a36e1d8c172f81d7e22f513c96b66e8568f2c7c4", + "version": "1.0.0" + }, + "started_utc": "2026-11-27T22:52:38.102+00:00", + "status": "validated", + "timing": { + "clock": "monotonic; UTC timestamps for correlation only", + "measured_top_level_seconds": 6.316805, + "total_seconds": 8.038803, + "unattributed_seconds": 1.721998 + }, + "transfer": { + "bytes": 166010299, + "mib_per_second": 1.617260159611623, + "seconds": 97.89380977099063, + "source": "ssh-receiver-unprivileged" + }, + "transport": { + "compression_ratio": 0.298687, + "compression_seconds_atlas": 2.068804061971605, + "method": "zstd", + "original_bytes": 555796480, + "original_sha256": "55da0936156cf7497d0d3e571bab1f59865137fc9e7c13fc966072bfc68febb5", + "settings": { + "level": 6, + "threads": 4 + }, + "transferred_bytes": 166009316, + "transferred_sha256": "f727f93246391aca60e9da68fa2b7f6222429d39e059a2d52b21cf15d7493875" + }, + "unperformed_phases": [ + "release_preparation", + "production_validation", + "remote_activation", + "receipt_retrieval", + "scope_verification", + "build", + "packaging_signing", + "compression", + "transfer", + "database_backup", + "migration_execution", + "service_stop", + "release_installation", + "release_activation", + "service_start", + "application_health_readiness", + "postactivation_verification", + "public_acceptance" + ], + "warnings": [] + }, + "previous_release": { + "deployment": "20261127T203623Z-d82f2be53cfe", + "package_sha256": "dd8615e6b94e6ca49eddadd60d622309980d9d82f88e74f804fb2b99145d55e6", + "release": "plotdirector-production-spatial-9dcd29d423b2-20261127T203415Z", + "source_commit": "9dcd29d423b20e373e49fb28180d993c40aa165d", + "version": "1.0.0" + }, + "migration_history": { + "complete": true, + "database_bytes": 486539264, + "history": { + "baselined": 210, + "executed": 127, + "expected": 337, + "latest_successful_release": { + "activated_utc": "2026-11-27T20:36:48.6128277Z", + "activation_kind": "Deploy", + "application_version": "1.0.0", + "deployment_identifier": "20261127T203623Z-d82f2be53cfe", + "manifest_sha256": "344f86090191f18f6ad4c6d05d92b411a6d87d311842b4292d64f128a86b277f", + "package_sha256": "dd8615e6b94e6ca49eddadd60d622309980d9d82f88e74f804fb2b99145d55e6", + "recorded": true, + "release_identifier": "plotdirector-production-spatial-9dcd29d423b2-20261127T203415Z", + "source_commit": "9dcd29d423b20e373e49fb28180d993c40aa165d" + }, + "recorded": 337, + "successful_release_count": 7 + }, + "history_verification_seconds": 0.4745028, + "schema": "96de8e6cdd4001f4e2cf3ceff28ee0238e0c0c8fc79d662928a76a45e05f4e35" + }, + "timing": { + "total_seconds": 115.364026, + "measured_top_level_seconds": 115.253301, + "unattributed_seconds": 0.110725, + "clock": "monotonic; UTC timestamps for correlation only" + }, + "unperformed_phases": [ + "release_preparation", + "remote_activation", + "scope_verification", + "build", + "packaging_signing", + "compression", + "database_backup", + "migration_execution", + "service_stop", + "release_installation", + "release_activation", + "service_start", + "application_health_readiness", + "postactivation_verification", + "public_acceptance" + ] +} diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/application-browser-production.json b/Docs/Deployment/Evidence/ProductionSeparation-20261127/application-browser-production.json new file mode 100644 index 00000000..43cd9aa0 --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionSeparation-20261127/application-browser-production.json @@ -0,0 +1,8 @@ +{ + "passed": true, + "checks": 10, + "scriptErrors": [], + "pwa": "Real browser registration at app origin; no caches; offline request fails instead of exposing an authenticated cached response", + "authenticatedOwnerSession": false, + "physicalInstallation": false +} \ No newline at end of file diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/availability.json b/Docs/Deployment/Evidence/ProductionSeparation-20261127/availability.json new file mode 100644 index 00000000..52f3779c --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionSeparation-20261127/availability.json @@ -0,0 +1,13 @@ +{ + "publicSamplingIntervalSeconds": 1, + "publicFailedSamples": 5, + "failureFirstUtc": "2026-11-27T23:03:25.248006+00:00", + "failureLastUtc": "2026-11-27T23:03:29.249081+00:00", + "interpretation": "Five failed one-second HTTP samples, followed by four one-second samples of temporary sign-in redirection before Nginx switched. Approximately nine seconds of homepage interruption; HTTP failure interval alone approximately five seconds. Helper inactive-to-health 7.5108 seconds.", + "publicSamples": 759, + "websiteSamples": 374, + "websiteFailedSamples": 0, + "websiteObservedAcrossApplicationRestart": true, + "temporaryLoginRedirectSamples": 4, + "publicHomepageInterruptionApproximateSeconds": 9 +} diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/cutover.json b/Docs/Deployment/Evidence/ProductionSeparation-20261127/cutover.json new file mode 100644 index 00000000..fcd31259 --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionSeparation-20261127/cutover.json @@ -0,0 +1 @@ +{"cutoverUtc": "2026-11-27T23:03:34.081988+00:00", "application": {"healthy": true, "version": "1.0.0", "sourceCommit": "a36e1d8c172f81d7e22f513c96b66e8568f2c7c4", "database": "PlotLine", "environment": "Production"}, "website": {"healthy": true, "product": "PlotDirector.Website", "sourceCommit": "681edbd4c3d9dd53a59469b443848f8a71a870b6"}, "nginx": "validated and reloaded", "catherineConfiguration": "unchanged"} diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/email-acceptance-fence.json b/Docs/Deployment/Evidence/ProductionSeparation-20261127/email-acceptance-fence.json new file mode 100644 index 00000000..476e84be --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionSeparation-20261127/email-acceptance-fence.json @@ -0,0 +1,7 @@ +{ + "preExisting": true, + "beforeAndAfterErrorCategory": "PlotLine.Services.EmailQueueWorker", + "beforeAndAfterPermissionDenial": "EmailQueue_ResetStuckSending", + "fencePreserved": true, + "outboundEmailDelivery": "not claimed; separate acceptance-fence review required" +} diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/infrastructure-final.json b/Docs/Deployment/Evidence/ProductionSeparation-20261127/infrastructure-final.json new file mode 100644 index 00000000..dc3001ea --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionSeparation-20261127/infrastructure-final.json @@ -0,0 +1,48 @@ +{ + "onlyApplicationConfigurationChanges": [ + "AllowedHosts", + "HelpContent__Path", + "Site__WebsiteBaseUrl" + ], + "allOtherSettingsSecretsDatabaseAndDataProtectionUnchanged": true, + "catherineFilesUnchanged": true, + "services": { + "plotdirector": { + "MainPID": "78320", + "NRestarts": "0", + "ExecMainStartTimestamp": "Fri 2026-11-27 23:03:28 UTC", + "User": "plotdirector", + "Group": "plotdirector", + "ActiveState": "active" + }, + "plotdirector-website": { + "MainPID": "78018", + "NRestarts": "0", + "ExecMainStartTimestamp": "Fri 2026-11-27 23:01:32 UTC", + "User": "plotdirector-website", + "Group": "plotdirector-website", + "ActiveState": "active" + }, + "catherinelynwood": { + "MainPID": "50983", + "NRestarts": "0", + "ExecMainStartTimestamp": "Thu 2026-11-26 06:45:05 UTC", + "User": "catherinelynwood", + "Group": "catherinelynwood", + "ActiveState": "active" + } + }, + "websiteGroups": { + "plotdirector-website": [ + "plotdirector-website" + ], + "plotdirector-website-deploy": [ + "plotdirector-website-deploy" + ] + }, + "websiteCannotReadAppHelp": true, + "websiteCannotReadAppEnvironment": true, + "appPublicationArticles": 409, + "publicPublicationArticles": 367, + "catherineBodyMatchesPreflight": true +} \ No newline at end of file diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/integrations-readonly-final.json b/Docs/Deployment/Evidence/ProductionSeparation-20261127/integrations-readonly-final.json new file mode 100644 index 00000000..c7dbc818 --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionSeparation-20261127/integrations-readonly-final.json @@ -0,0 +1,19 @@ +{ + "readOnly": true, + "paymentEventsSent": false, + "configurationChangedByAgent": false, + "endpoints": [ + { + "url": "https://app.plotdirector.com/api/stripe/webhook", + "status": "enabled", + "events": [ + "checkout.session.completed", + "customer.subscription.created", + "customer.subscription.updated", + "customer.subscription.deleted", + "invoice.payment_failed", + "invoice.payment_succeeded" + ] + } + ] +} \ No newline at end of file diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/owner-acceptance.json b/Docs/Deployment/Evidence/ProductionSeparation-20261127/owner-acceptance.json new file mode 100644 index 00000000..942f8bfd --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionSeparation-20261127/owner-acceptance.json @@ -0,0 +1,14 @@ +{ + "ownerConfirmedSavedAndClosedBeforeActivation": true, + "ownerConfirmedPostCutover": [ + "sign in", + "Projects", + "existing manuscripts", + "subscription", + "existing theme", + "Context Workspace", + "authorised administrator help" + ], + "agentDidNotUseOwnerCredentials": true, + "physicalWordAndPwaInstallation": "manual acceptance pending" +} diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/production-smoke.json b/Docs/Deployment/Evidence/ProductionSeparation-20261127/production-smoke.json new file mode 100644 index 00000000..e39f7996 --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionSeparation-20261127/production-smoke.json @@ -0,0 +1,949 @@ +{ + "passed": true, + "checks": 178, + "errors": [], + "results": [ + { + "name": "Application root -> Projects", + "passed": true, + "detail": null + }, + { + "name": "Unauthenticated deep link /Projects", + "passed": true, + "detail": null + }, + { + "name": "Unauthenticated deep link /Books/Details/123456789", + "passed": true, + "detail": null + }, + { + "name": "Unauthenticated deep link /Writer/Workspaces", + "passed": true, + "detail": null + }, + { + "name": "Unauthenticated deep link /HelpDiagnostics", + "passed": true, + "detail": null + }, + { + "name": "Branded account page /Account/Login", + "passed": true, + "detail": null + }, + { + "name": "Branded account page /Account/Register", + "passed": true, + "detail": null + }, + { + "name": "Branded account page /Account/ForgotPassword", + "passed": true, + "detail": null + }, + { + "name": "Branded account page /Account/ResetPassword", + "passed": true, + "detail": null + }, + { + "name": "Branded account page /Account/VerifyEmail", + "passed": true, + "detail": null + }, + { + "name": "Branded account page /Account/VerifyEmailConfirmation", + "passed": true, + "detail": null + }, + { + "name": "Branded account page /Account/ResendVerificationEmail", + "passed": true, + "detail": null + }, + { + "name": "Branded account page /Account/AccessDenied", + "passed": true, + "detail": null + }, + { + "name": "MFA requires pending authentication /Account/TwoFactor", + "passed": true, + "detail": null + }, + { + "name": "MFA requires pending authentication /Account/TwoFactorRecovery", + "passed": true, + "detail": null + }, + { + "name": "Legacy browser path/query preserved /Projects?legacy=1", + "passed": true, + "detail": null + }, + { + "name": "Legacy browser path/query preserved /Books/Details/123456789?legacy=1", + "passed": true, + "detail": null + }, + { + "name": "Legacy browser path/query preserved /Account/ResetPassword?token=00000000-0000-0000-0000-000000000000&x=a%2Bb%2F%3D", + "passed": true, + "detail": null + }, + { + "name": "Legacy AJAX reaches app without cross-origin redirect", + "passed": true, + "detail": { + "status": 401 + } + }, + { + "name": "Legacy AJAX reaches app without cross-origin redirect", + "passed": true, + "detail": { + "status": 302 + } + }, + { + "name": "Protected integration https://app.plotdirector.com/api/native-companion/books", + "passed": true, + "detail": { + "status": 401 + } + }, + { + "name": "Protected integration https://app.plotdirector.com/api/word-companion/projects", + "passed": true, + "detail": { + "status": 401 + } + }, + { + "name": "Protected SignalR negotiation https://app.plotdirector.com/hubs/native-companion/negotiate?negotiateVersion=1", + "passed": true, + "detail": { + "status": 401 + } + }, + { + "name": "Protected SignalR negotiation https://app.plotdirector.com/hubs/native-companion-agent/negotiate?negotiateVersion=1", + "passed": true, + "detail": { + "status": 401 + } + }, + { + "name": "Protected SignalR negotiation https://app.plotdirector.com/hubs/word-companion-follow/negotiate?negotiateVersion=1", + "passed": true, + "detail": { + "status": 401 + } + }, + { + "name": "Protected SignalR negotiation https://app.plotdirector.com/hubs/story-intelligence/negotiate?negotiateVersion=1", + "passed": true, + "detail": { + "status": 401 + } + }, + { + "name": "Unsigned webhook rejected without event processing https://app.plotdirector.com", + "passed": true, + "detail": { + "status": 400 + } + }, + { + "name": "Word taskpane shell https://app.plotdirector.com", + "passed": true, + "detail": null + }, + { + "name": "Deployment health private https://app.plotdirector.com", + "passed": true, + "detail": null + }, + { + "name": "Protected integration https://plotdirector.com/api/native-companion/books", + "passed": true, + "detail": { + "status": 401 + } + }, + { + "name": "Protected integration https://plotdirector.com/api/word-companion/projects", + "passed": true, + "detail": { + "status": 401 + } + }, + { + "name": "Protected SignalR negotiation https://plotdirector.com/hubs/native-companion/negotiate?negotiateVersion=1", + "passed": true, + "detail": { + "status": 401 + } + }, + { + "name": "Protected SignalR negotiation https://plotdirector.com/hubs/native-companion-agent/negotiate?negotiateVersion=1", + "passed": true, + "detail": { + "status": 401 + } + }, + { + "name": "Protected SignalR negotiation https://plotdirector.com/hubs/word-companion-follow/negotiate?negotiateVersion=1", + "passed": true, + "detail": { + "status": 401 + } + }, + { + "name": "Protected SignalR negotiation https://plotdirector.com/hubs/story-intelligence/negotiate?negotiateVersion=1", + "passed": true, + "detail": { + "status": 401 + } + }, + { + "name": "Unsigned webhook rejected without event processing https://plotdirector.com", + "passed": true, + "detail": { + "status": 400 + } + }, + { + "name": "Word taskpane shell https://plotdirector.com", + "passed": true, + "detail": null + }, + { + "name": "Deployment health private https://plotdirector.com", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/chapter-analysis-result", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.chapterResult", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.chapterResult", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/combined-chapter-analysis-test", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.chapterTest", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.chapterTest", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/confirming-an-admin-scene-import", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.commit", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.commit", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/analysis-configuration-status", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.configuration", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.configuration", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/story-intelligence-diagnostics", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.diagnostics", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.diagnostics", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/analyse-an-existing-chapter", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.existingChapter", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.existingChapter", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/analysis-book-context", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.book", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.book", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/analysis-chapter-context", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.chapter", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.chapter", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/chapter-structure-test-model", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.chapterModel", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.chapterModel", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/analysis-chapter-number", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.chapterNumber", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.chapterNumber", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/chapter-test-source-text", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.chapterText", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.chapterText", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/illustration-category-filter", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.illustrationCategory", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.illustrationCategory", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/illustration-metadata", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.illustrationMetadata", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.illustrationMetadata", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/illustration-admin-notes", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.illustrationNotes", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.illustrationNotes", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/illustration-generation-prompt", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.illustrationPrompt", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.illustrationPrompt", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/illustration-library-search", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.illustrationSearch", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.illustrationSearch", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/illustration-specification", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.illustrationSpecification", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.illustrationSpecification", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/illustration-status-filter", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.illustrationStatus", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.illustrationStatus", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/parsed-analysis-output", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.parsedOutput", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.parsedOutput", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/analysis-project-context", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.project", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.project", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/raw-analysis-response", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.rawOutput", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.rawOutput", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/analysis-scene-context", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.scene", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.scene", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/scene-test-context-output", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.sceneContext", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.sceneContext", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/scene-intelligence-test-model", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.sceneModel", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.sceneModel", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/analysis-scene-number", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.sceneNumber", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.sceneNumber", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/scene-test-source-text", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.sceneText", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.sceneText", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/analysis-source-label", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.sourceLabel", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.sourceLabel", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/chapter-text-upload", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fields.upload", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fields.upload", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/full-chapter-analysis-test", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.fullChapterTest", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.fullChapterTest", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/illustration-generation-queue", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.illustrationQueue", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.illustrationQueue", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/reviewing-a-library-illustration", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.illustrationReview", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.illustrationReview", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/story-intelligence-illustration-library", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.illustrations", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.illustrations", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/admin-story-intelligence-import-preview", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.importPreview", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.importPreview", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/analysis-run-metadata", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.metadata", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.metadata", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/chapter-analysis-pre-flight", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.preflight", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.preflight", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/analysis-prompt-availability", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.prompts", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.prompts", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/development-data-reset", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.reset", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.reset", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/inspecting-a-story-intelligence-run", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.runDetails", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.runDetails", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/saved-story-intelligence-runs", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.runs", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.runs", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/scene-analysis-results", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.sceneResults", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.sceneResults", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/story-intelligence-scene-dry-run", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.sceneTest", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.sceneTest", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /help/story-intelligence-admin/selected-chapter-source", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /Help/Article/storyIntelligence.admin.source", + "passed": true, + "detail": null + }, + { + "name": "Anonymous app restricted help denied /HelpDrawer/Article?key=storyIntelligence.admin.source", + "passed": true, + "detail": null + }, + { + "name": "Restricted app category denied", + "passed": true, + "detail": null + }, + { + "name": "PWA belongs to app and defaults to Projects", + "passed": true, + "detail": null + }, + { + "name": "PWA icon /pwa/icon-192.png", + "passed": true, + "detail": null + }, + { + "name": "PWA icon /pwa/icon-512.png", + "passed": true, + "detail": null + }, + { + "name": "PWA icon /pwa/icon-maskable-512.png", + "passed": true, + "detail": null + }, + { + "name": "PWA worker remains network dependent", + "passed": true, + "detail": null + }, + { + "name": "Application indexing restricted", + "passed": true, + "detail": null + }, + { + "name": "Application sitemap excluded", + "passed": true, + "detail": null + }, + { + "name": "Website has no application PWA /site.webmanifest", + "passed": true, + "detail": null + }, + { + "name": "Website has no application PWA /service-worker.js", + "passed": true, + "detail": null + }, + { + "name": "Public crawler access and sitemap", + "passed": true, + "detail": null + }, + { + "name": "Verified TLS plotdirector.com", + "passed": true, + "detail": { + "expires": "Feb 23 14:51:34 2027 GMT", + "san": [ + "plotdirector.com", + "www.plotdirector.com" + ] + } + }, + { + "name": "Verified TLS app.plotdirector.com", + "passed": true, + "detail": { + "expires": "Feb 25 21:53:26 2027 GMT", + "san": [ + "app.plotdirector.com" + ] + } + }, + { + "name": "Verified TLS catherinelynwood.com", + "passed": true, + "detail": { + "expires": "Feb 22 20:10:52 2027 GMT", + "san": [ + "catherinelynwood.com", + "www.catherinelynwood.com" + ] + } + } + ], + "physicalWordTested": false, + "liveOwnerLoginTested": false, + "realEmailOrPaymentsSent": false +} diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/rollback-exact-validation.json b/Docs/Deployment/Evidence/ProductionSeparation-20261127/rollback-exact-validation.json new file mode 100644 index 00000000..1f75e702 --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionSeparation-20261127/rollback-exact-validation.json @@ -0,0 +1,323 @@ +{ + "format": 1, + "origin": "atlas-pipeline", + "started_utc": "2026-11-27T22:56:39.228+00:00", + "completed_utc": "2026-11-27T22:58:13.212+00:00", + "status": "validated", + "phases": [ + { + "name": "package_validation", + "started_utc": "2026-11-27T22:56:39.229+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-27T22:56:39.692+00:00", + "seconds": 0.463312, + "exclusive_seconds": 0.463312 + }, + { + "name": "decompression", + "started_utc": "2026-11-27T22:56:39.692+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-27T22:56:40.726+00:00", + "seconds": 1.034108, + "exclusive_seconds": 1.034108 + }, + { + "name": "package_validation", + "started_utc": "2026-11-27T22:56:40.726+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-27T22:56:42.413+00:00", + "seconds": 1.686468, + "exclusive_seconds": 1.686468 + }, + { + "name": "transfer", + "started_utc": "2026-11-27T22:56:42.659+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-27T22:58:03.577+00:00", + "seconds": 80.91836, + "exclusive_seconds": 80.91836 + }, + { + "name": "production_validation", + "started_utc": "2026-11-27T22:58:03.577+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-27T22:58:12.208+00:00", + "seconds": 8.631187, + "exclusive_seconds": 8.631187 + }, + { + "name": "receipt_retrieval", + "started_utc": "2026-11-27T22:58:12.209+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-27T22:58:13.194+00:00", + "seconds": 0.985709, + "exclusive_seconds": 0.985709 + }, + { + "name": "receipt_generation", + "started_utc": "2026-11-27T22:58:13.194+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-27T22:58:13.212+00:00", + "seconds": 0.017122, + "exclusive_seconds": 0.017122 + } + ], + "warnings": [ + "Validation only; no activation, backup or migration performed" + ], + "failures": [], + "checks": {}, + "migrations": { + "executed": null, + "baselined": null + }, + "recovery": "No automatic database restore or application rollback. Review protected attempt evidence on failure.", + "transport": { + "method": "zstd", + "original_bytes": 555806720, + "transferred_bytes": 166028357, + "original_sha256": "2c379a75aaf914cf754d052a568b9605ff49f5ffa4b141167e0482d4a9b49e87", + "transferred_sha256": "bd3ebfb0b42a62497602db6c057fc9cca5378777e042fbb41caea91e1e7ed834", + "compression_ratio": 0.298716, + "compression_seconds_atlas": 2.0681692979997024, + "settings": { + "level": 6, + "threads": 4 + } + }, + "release": { + "id": "plotdirector-rollback-exact-9dcd29d423b2-separation-20261127", + "source_commit": "9dcd29d423b20e373e49fb28180d993c40aa165d", + "version": "1.0.0", + "package_sha256": "2c379a75aaf914cf754d052a568b9605ff49f5ffa4b141167e0482d4a9b49e87", + "application_sha256": "9d1aaf9cc2b945e11b25b70a24d00679da086af6df6ea03f10d7d569472e02a9", + "dll_sha256": "7fc84cb642bba8ddd9726acdcc5fed9566544b4adcff3a4ec09f37d47df3aa29" + }, + "transfer": { + "source": "atlas-sender", + "bytes": 166029349, + "seconds": 80.91846501996042, + "mib_per_second": 1.9567588914581113 + }, + "server_validation": { + "checks": {}, + "completed_utc": "2026-11-27T22:58:12.120+00:00", + "deployment_id": "20261127T225804Z-be5e331e0c9c", + "failures": [], + "format": 1, + "migration_history": { + "complete": true, + "database_bytes": 486539264, + "history": { + "baselined": 210, + "executed": 127, + "expected": 337, + "latest_successful_release": { + "activated_utc": "2026-11-27T20:36:48.6128277Z", + "activation_kind": "Deploy", + "application_version": "1.0.0", + "deployment_identifier": "20261127T203623Z-d82f2be53cfe", + "manifest_sha256": "344f86090191f18f6ad4c6d05d92b411a6d87d311842b4292d64f128a86b277f", + "package_sha256": "dd8615e6b94e6ca49eddadd60d622309980d9d82f88e74f804fb2b99145d55e6", + "recorded": true, + "release_identifier": "plotdirector-production-spatial-9dcd29d423b2-20261127T203415Z", + "source_commit": "9dcd29d423b20e373e49fb28180d993c40aa165d" + }, + "recorded": 337, + "successful_release_count": 7 + }, + "history_verification_seconds": 0.3076288, + "schema": "96de8e6cdd4001f4e2cf3ceff28ee0238e0c0c8fc79d662928a76a45e05f4e35" + }, + "migrations": { + "baselined": null, + "executed": null + }, + "operation": "validate", + "origin": "web1", + "phases": [ + { + "completed_utc": "2026-11-27T22:58:04.800+00:00", + "exclusive_seconds": 0.408011, + "name": "package_validation", + "outcome": "passed", + "parent": null, + "seconds": 0.408011, + "started_utc": "2026-11-27T22:58:04.392+00:00" + }, + { + "completed_utc": "2026-11-27T22:58:06.306+00:00", + "exclusive_seconds": 1.506257, + "name": "decompression", + "outcome": "passed", + "parent": null, + "seconds": 1.506257, + "started_utc": "2026-11-27T22:58:04.800+00:00" + }, + { + "completed_utc": "2026-11-27T22:58:09.197+00:00", + "exclusive_seconds": 2.891183, + "name": "package_validation", + "outcome": "passed", + "parent": null, + "seconds": 2.891183, + "started_utc": "2026-11-27T22:58:06.306+00:00" + }, + { + "completed_utc": "2026-11-27T22:58:11.243+00:00", + "exclusive_seconds": 0.848431, + "name": "database_state_verification", + "outcome": "passed", + "parent": null, + "seconds": 1.15606, + "started_utc": "2026-11-27T22:58:10.087+00:00" + }, + { + "clock": "SQL worker Stopwatch; measured duration, UTC endpoints unavailable", + "completed_utc": null, + "exclusive_seconds": 0.307629, + "name": "migration_history_verification", + "outcome": "passed", + "parent": "database_state_verification", + "seconds": 0.307629, + "started_utc": null + }, + { + "completed_utc": "2026-11-27T22:58:12.119+00:00", + "exclusive_seconds": 0.023675, + "name": "receipt_generation", + "outcome": "passed", + "parent": null, + "seconds": 0.023675, + "started_utc": "2026-11-27T22:58:12.096+00:00" + } + ], + "previous_release": { + "deployment": "20261127T203623Z-d82f2be53cfe", + "package_sha256": "dd8615e6b94e6ca49eddadd60d622309980d9d82f88e74f804fb2b99145d55e6", + "release": "plotdirector-production-spatial-9dcd29d423b2-20261127T203415Z", + "source_commit": "9dcd29d423b20e373e49fb28180d993c40aa165d", + "version": "1.0.0" + }, + "protected_evidence_reference": "/srv/plotdirector/deployment-evidence/20261127T225804Z-be5e331e0c9c.jsonl", + "recovery": "No automatic database restore or application rollback. Review protected attempt evidence on failure.", + "release": { + "application_sha256": "9d1aaf9cc2b945e11b25b70a24d00679da086af6df6ea03f10d7d569472e02a9", + "dll_sha256": "7fc84cb642bba8ddd9726acdcc5fed9566544b4adcff3a4ec09f37d47df3aa29", + "id": "plotdirector-rollback-exact-9dcd29d423b2-separation-20261127", + "manifest_sha256": "e7590931ce38befcf5f4a5846aca7459ef3ae6cd6ae81d42b88b6eef33d4d23b", + "package_sha256": "2c379a75aaf914cf754d052a568b9605ff49f5ffa4b141167e0482d4a9b49e87", + "source_commit": "9dcd29d423b20e373e49fb28180d993c40aa165d", + "version": "1.0.0" + }, + "started_utc": "2026-11-27T22:58:04.341+00:00", + "status": "validated", + "timing": { + "clock": "monotonic; UTC timestamps for correlation only", + "measured_top_level_seconds": 5.985186, + "total_seconds": 7.77893, + "unattributed_seconds": 1.793744 + }, + "transfer": { + "bytes": 166029349, + "mib_per_second": 1.9820757293480036, + "seconds": 79.88490226003341, + "source": "ssh-receiver-unprivileged" + }, + "transport": { + "compression_ratio": 0.298716, + "compression_seconds_atlas": 2.0681692979997024, + "method": "zstd", + "original_bytes": 555806720, + "original_sha256": "2c379a75aaf914cf754d052a568b9605ff49f5ffa4b141167e0482d4a9b49e87", + "settings": { + "level": 6, + "threads": 4 + }, + "transferred_bytes": 166028357, + "transferred_sha256": "bd3ebfb0b42a62497602db6c057fc9cca5378777e042fbb41caea91e1e7ed834" + }, + "unperformed_phases": [ + "release_preparation", + "production_validation", + "remote_activation", + "receipt_retrieval", + "scope_verification", + "build", + "packaging_signing", + "compression", + "transfer", + "database_backup", + "migration_execution", + "service_stop", + "release_installation", + "release_activation", + "service_start", + "application_health_readiness", + "postactivation_verification", + "public_acceptance" + ], + "warnings": [] + }, + "previous_release": { + "deployment": "20261127T203623Z-d82f2be53cfe", + "package_sha256": "dd8615e6b94e6ca49eddadd60d622309980d9d82f88e74f804fb2b99145d55e6", + "release": "plotdirector-production-spatial-9dcd29d423b2-20261127T203415Z", + "source_commit": "9dcd29d423b20e373e49fb28180d993c40aa165d", + "version": "1.0.0" + }, + "migration_history": { + "complete": true, + "database_bytes": 486539264, + "history": { + "baselined": 210, + "executed": 127, + "expected": 337, + "latest_successful_release": { + "activated_utc": "2026-11-27T20:36:48.6128277Z", + "activation_kind": "Deploy", + "application_version": "1.0.0", + "deployment_identifier": "20261127T203623Z-d82f2be53cfe", + "manifest_sha256": "344f86090191f18f6ad4c6d05d92b411a6d87d311842b4292d64f128a86b277f", + "package_sha256": "dd8615e6b94e6ca49eddadd60d622309980d9d82f88e74f804fb2b99145d55e6", + "recorded": true, + "release_identifier": "plotdirector-production-spatial-9dcd29d423b2-20261127T203415Z", + "source_commit": "9dcd29d423b20e373e49fb28180d993c40aa165d" + }, + "recorded": 337, + "successful_release_count": 7 + }, + "history_verification_seconds": 0.3076288, + "schema": "96de8e6cdd4001f4e2cf3ceff28ee0238e0c0c8fc79d662928a76a45e05f4e35" + }, + "timing": { + "total_seconds": 93.983201, + "measured_top_level_seconds": 93.736266, + "unattributed_seconds": 0.246935, + "clock": "monotonic; UTC timestamps for correlation only" + }, + "unperformed_phases": [ + "release_preparation", + "remote_activation", + "scope_verification", + "build", + "packaging_signing", + "compression", + "database_backup", + "migration_execution", + "service_stop", + "release_installation", + "release_activation", + "service_start", + "application_health_readiness", + "postactivation_verification", + "public_acceptance" + ] +} diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/security-cleanup.json b/Docs/Deployment/Evidence/ProductionSeparation-20261127/security-cleanup.json new file mode 100644 index 00000000..8db7ea80 --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionSeparation-20261127/security-cleanup.json @@ -0,0 +1,12 @@ +{ + "temporaryAdministratorAuthorizationsRemoved": [ + "SHA256:2Iw3JYNS8TgPARowjnp+7wNC6cmWf1EV7Cy1Mg1ig3w", + "SHA256:bM1HN/HxtYGnaddxCACFgCEnEA1yGZU7zH3OcVUMO1w" + ], + "desktopAndLaptopKeyLinesPreservedByteForByte": true, + "administratorSshReconnectionRefused": true, + "restrictedPublishingAccountsRetained": true, + "taskSshTunnelClosed": true, + "temporaryPricingExporterRemovedFromWeb1": true, + "privatePricingConnectionFileDeleted": true +} diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/website-activation.json b/Docs/Deployment/Evidence/ProductionSeparation-20261127/website-activation.json new file mode 100644 index 00000000..a4eb5679 --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionSeparation-20261127/website-activation.json @@ -0,0 +1 @@ +{"operation": "f3771060-6105-40fc-94dc-6fc06ad801ee", "release": "website-production-separation-20261127-v4", "kind": "deploy", "startedUtc": "2026-11-27T23:01:32Z", "status": "activated", "sourceCommit": "681edbd4c3d9dd53a59469b443848f8a71a870b6", "packageSha256": "c5ecde870449fab0dd2bd71cd2a38fc22054de4cc2bb3256f597615eca1e42fb", "manifestSha256": "bca076044e1662bcc2320e83c66dd26bbbd809b52f738faf064833303c7d1317", "previous": "/srv/plotdirector-website/releases/website-production-separation-20261127-v3/app", "health": {"healthy": true, "product": "PlotDirector.Website", "sourceCommit": "681edbd4c3d9dd53a59469b443848f8a71a870b6"}, "smokeTests": [{"path": "/", "status": 200, "bytes": 33800}, {"path": "/pricing", "status": 200, "bytes": 19819}, {"path": "/help", "status": 200, "bytes": 15379}, {"path": "/problem-solver", "status": 200, "bytes": 10868}, {"path": "/sitemap.xml", "status": 200, "bytes": 78428}], "completedUtc": "2026-11-27T23:01:40Z"} diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/website-browser.json b/Docs/Deployment/Evidence/ProductionSeparation-20261127/website-browser.json new file mode 100644 index 00000000..315b5d60 --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionSeparation-20261127/website-browser.json @@ -0,0 +1,34 @@ +{ + "passed": true, + "origin": "https://plotdirector.com", + "checks": [ + "1440 /", + "1440 /features", + "1440 /pricing", + "1440 /problem-solver", + "1440 /problem-solver/browse", + "1440 /help", + "1440 /about", + "1440 /contact", + "1440 /privacy", + "1440 /terms", + "390 /", + "390 /features", + "390 /pricing", + "390 /problem-solver", + "390 /problem-solver/browse", + "390 /help", + "390 /about", + "390 /contact", + "390 /privacy", + "390 /terms", + "mobile navigation", + "server-rendered help search", + "published help article", + "Problem Solver completed 5 answers", + "no website PWA installation", + "application account links" + ], + "errors": [], + "failed": [] +} \ No newline at end of file diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/website-loopback-http-v4.json b/Docs/Deployment/Evidence/ProductionSeparation-20261127/website-loopback-http-v4.json new file mode 100644 index 00000000..a749d80d --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionSeparation-20261127/website-loopback-http-v4.json @@ -0,0 +1,11 @@ +{ + "origin": "http://127.0.0.1:5054", + "productionPolicy": true, + "baselineUrls": 406, + "renderedPages": 484, + "internalPaths": 510, + "assets": 42, + "restrictedArticlesChecked": 42, + "errors": [], + "passed": true +} diff --git a/Docs/Deployment/Evidence/ProductionSeparation-20261127/website-production-http-final.json b/Docs/Deployment/Evidence/ProductionSeparation-20261127/website-production-http-final.json new file mode 100644 index 00000000..fa253034 --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionSeparation-20261127/website-production-http-final.json @@ -0,0 +1,12 @@ +{ + "origin": "https://plotdirector.com", + "productionPolicy": true, + "legacyApplicationBridge": true, + "baselineUrls": 406, + "renderedPages": 484, + "internalPaths": 510, + "assets": 42, + "restrictedArticlesChecked": 42, + "errors": [], + "passed": true +} diff --git a/Docs/Deployment/Production.md b/Docs/Deployment/Production.md index 498f57ec..c4d82369 100644 --- a/Docs/Deployment/Production.md +++ b/Docs/Deployment/Production.md @@ -5,7 +5,7 @@ activation. Production is live on web1 following the authorised [Phase 2 deploym [Phase 1 qualification](Phase1-20261125.md) remains historical release evidence; future changes still require environment-specific authorisation and qualification. -Latest application release: **`9dcd29d423b20e373e49fb28180d993c40aa165d`**, version `1.0.0`, promoted with explicit owner authorisation on 27 November 2026. See [Locations and Spatial Context Production promotion](ProductionSpatialContext-20261127.md) and its [measured receipt](Evidence/ProductionSpatialContext-20261127/pipeline-receipt.json). This release applies migrations 335–339 and retains Production's complete 337-entry history, including the Development reset-procedure omission. Qualified schema: `96de8e6cdd4001f4e2cf3ceff28ee0238e0c0c8fc79d662928a76a45e05f4e35`. The Production-specific qualified plan is at `/home/nick/.local/share/plotdirector-production/releases/spatial-context-navigation-20261127/`. Previous application: `dc65c9b258420b225503162ee7e4e62491d0712f`; [its promotion](ProductionRelationships-20261127.md) remains historical evidence. Do not substitute Development's ledger. +Latest application release: **`a36e1d8c172f81d7e22f513c96b66e8568f2c7c4`**, activated with explicit owner approval on 27 November 2026 as part of the [independent application/website cutover](ProductionSeparation-20261127.md). Application is https://app.plotdirector.com; the independent website is https://plotdirector.com. Website source is `681edbd4c3d9dd53a59469b443848f8a71a870b6`. Production retains the 337-entry ledger and schema `96de8e6cdd4001f4e2cf3ceff28ee0238e0c0c8fc79d662928a76a45e05f4e35`; no migration executed. Current preparation/recovery artifacts: `/home/nick/.local/share/plotdirector-production/releases/separation-20261127/`. Previous combined application `9dcd29d423b20e373e49fb28180d993c40aa165d` is retained with an exact signed, schema-validated rollback package, subject to the mandatory administrator-help security fence. Do not substitute Development's ledger. **Tooling installed:** compressed transport, receipts and timing instrumentation are installed and non-activating verified on web1; see [qualification and installation](Transport-20261125.md). diff --git a/Docs/Deployment/ProductionSeparation-20261127.md b/Docs/Deployment/ProductionSeparation-20261127.md new file mode 100644 index 00000000..c272221f --- /dev/null +++ b/Docs/Deployment/ProductionSeparation-20261127.md @@ -0,0 +1,206 @@ +# Production separation — completed 27 November 2026 + +Owner explicitly approved this cutover and confirmed pending PWA/editor/Word work +was saved and windows closed. Nginx switched at **23:03:34 UTC**. Production now has +two independently signed, compressed, deployed services. Catherine is unchanged. + +| Product | Origin | Source commit | Release / receipt | +|---|---|---|---| +| Application | https://app.plotdirector.com | `a36e1d8c172f81d7e22f513c96b66e8568f2c7c4` | `plotdirector-production-separation-a36e1d8c172f-20261127` / `20261127T230312Z-0b6dbdee4c45` | +| Website | https://plotdirector.com | `681edbd4c3d9dd53a59469b443848f8a71a870b6` | `website-production-separation-20261127-v4` / `f3771060-6105-40fc-94dc-6fc06ad801ee` | + +Source repositories remain `/srv/repos/PlotDirector` (separation branch) and +`/srv/repos/PlotDirector.Website` (`main`). Later documentation/test/template commits +do not change these deployed binary identities. Internal PlotLine names remain. + +## Persistence and recovery + +No SQL migration executed. Production retains the 337-entry ledger and schema +`96de8e6cdd4001f4e2cf3ceff28ee0238e0c0c8fc79d662928a76a45e05f4e35`. +The activation made and verified a COPY_ONLY/CHECKSUM backup: +`/srv/backups/sql/PlotLine-predeploy-20261127T230312Z-0b6dbdee4c45.bak`. +All non-domain environment settings, database connection, secrets, uploads and Data +Protection paths/discriminator were retained. Only AllowedHosts, WebsiteBaseUrl and +HelpContent path changed. Existing accounts, subscriptions and manuscripts remain +in the same database. The owner subsequently confirmed normal login, Projects, +manuscripts, subscription, theme, Context Workspace and authorised administrator help. + +Protected configuration backup: +`/srv/backups/configuration/plotdirector-before-separation-20261127T224859Z`. +Previous combined source: `9dcd29d423b20e373e49fb28180d993c40aa165d`. +An independently signed **exact original binary** rollback package is staged and +validated as `plotdirector-rollback-exact-9dcd29d423b2-separation-20261127`. +It matches deployed baseline DLL SHA-256 +`7fc84cb642bba8ddd9726acdcc5fed9566544b4adcff3a4ec09f37d47df3aa29`. +Do not substitute the attempted rebuild, whose identity differed and was refused. + +Atlas preparation/recovery artifacts: +`/home/nick/.local/share/plotdirector-production/releases/separation-20261127/`. +Keep the original packages, signatures, full plans, backups and receipts. + +## Infrastructure and isolation + +Application remains `plotdirector.service`, user `plotdirector`, loopback 5001, +`/srv/plotdirector/current`. Website is `plotdirector-website.service`, user +`plotdirector-website`, loopback 5004, `/srv/plotdirector-website/current`. +Website has its own transfer account, SSH/signing keys, forced command, protected +helper/configuration, immutable releases, receipts, lock and logs. Neither website +identity has application/Catherine/sudo/adm/docker group membership or application +configuration/help access. Website deployment never invokes SQL or the app service. + +Both DNS origins resolve to web1. A separate app certificate covers app.plotdirector.com, +expires 25 February 2027, and passed targeted renewal dry-run. Existing apex certificate, +renewal hook and certbot timer were preserved. The app-specific deploy hook only reloads +validated Nginx for the app lineage. Catherine certificate/config/service were untouched. + +Reviewed vhosts retain TLS 1.2/1.3, 110 MB request limit, maintenance gate, existing +forwarded-client policy, long-lived application connections and private deployment +health routes. Public-cookie forwarding whitelists only the website's antiforgery +and solver cookies; application authentication cookies never enter the website process. +API/SignalR/webhook/taskpane legacy locations proxy to 5001 with bodies and upgrades. +Browser application links redirect 308 to the identical app path/query. Legacy AJAX +and controller POSTs proxy. Unknown public routes remain 404. No catch-all home redirect. + +## Shared help and pricing + +The authoritative application Markdown declares visibility. The Production v3 +publication from `242e32e4a6d02a911ab9f8a43a6b7ff6af2b54b3` has two projections: + +- Public: 367 articles, manifest `a1dade89dc3fb624cbf241e2a39d7caa682e5ef777802f4721b5e1f2e9e5af2f`. +- Application: 409 articles, manifest `58f6cb23f06556df671aec99811b5c61ebdadfd0f42f80c618f3139ff3ca34b0`. + +Stores are `/srv/plotdirector-website/shared/help/current` and +`/srv/plotdirector/shared/help/current`. The latter is root:plotdirector, directories +0750/files 0640, inaccessible to the website runtime. All 42 administrator articles +and their category are absent from public navigation/search/related/sitemap/machine +indexes and return 404 anonymously, including legacy aliases. They remain accessible +to the existing authenticated administrator allowlist; owner acceptance confirmed it. +Internal authoring guidance is not published. Publication remains independently +versioned and hot-reloadable without restarting either application. Use +`Tools/PublicContent/README.md` and the website `Docs/Content.md`; select the correct +Production audience and approved digest, never Development/unclassified content. + +Pricing was freshly exported **read-only from the authoritative Production PlotLine +database** using `dbo.SubscriptionLevel_ListActive`. All four plans' prices, limits +and checkout IDs matched the qualified public facts. Published snapshot/provenance +are in the website Content directory. It is not an automatic database feed: future +plan changes need the reviewed `Tools/PublicPricing` export and independent website +publication. No customer/provider secrets or Development limits were published. + +## Verification and downtime + +Evidence is in [Evidence/ProductionSeparation-20261127](Evidence/ProductionSeparation-20261127). + +- Exact application source already passed the normal build and 896-check full + executable regression. Production helper verified signature, checksums, backup, + idle state, unchanged schema/full ledger, runtime identity and activation history. +- Final website passed a Production loopback crawl before traffic switched, then + all 484 rendered public routes, 510 internal paths, 42 assets, 406 sitemap URLs, + canonical/metadata/JSON-LD/indexing, and all restricted help URLs/aliases externally. +- 26 desktop/mobile public browser checks passed, including actual solver POSTs, + public help search and the absence of website PWA installation. Screenshots retained. +- 178 application/protocol smoke checks passed: account pages, safe deep-link return + URLs, legacy redirects/AJAX, API authentication, all four SignalR negotiation guards, + unsigned webhook rejection on both domains, taskpane and PWA URLs, TLS and indexing. + These are endpoint/authentication checks, not authenticated live SignalR execution. +- Ten additional application browser checks passed, including real service-worker + registration scoped to the app, no caches and a failed offline browser fetch. + No login screenshots, credentials, private manuscripts or browser storage retained. +- The owner separately confirmed normal authenticated application acceptance. +- Website continued returning 200 throughout the application restart; its PID/start + time did not change. Earlier website activations did not restart the baseline app. +- Public sampling saw five failed one-second samples, approximately five seconds + of HTTP unavailability (sampling bound: about four to six seconds), followed by four + samples of temporary sign-in redirection before Nginx switched. Total homepage + interruption was approximately nine seconds. Helper measured + 7.51 seconds confirmed-inactive to application health-ready; 3.39 seconds to start + command completion. No further failed public samples. Website outage: none observed. +- Catherine response hash and seven tracked files match preflight. Its process + remained running since 26 November; no restart or unrelated service change. + +Two pretraffic website provisioning issues were corrected: bounded receiver telemetry +was initially rejected, and a five-second cold solver load exceeded a three-second +smoke request limit. Telemetry remains untrusted, bounded and never authorizes payloads; +page smoke requests now allow a bounded 15 seconds while health requests remain three +seconds. All 14 deployment security tests pass. Failed initial artifacts/receipts were +preserved; guards stopped the unexposed website. No failed Production traffic cutover +or unqualified automatic rollback occurred. Website v3 is superseded by v4's explicit +cookie isolation; use **v4 as the independent website rollback floor**. + +## Integrations and remaining manual acceptance + +Read-only Stripe inspection verified that the owner updated the single enabled webhook +to `https://app.plotdirector.com/api/stripe/webhook`, preserving all six event types. +No duplicate endpoint, agent-written provider change, live charge or synthetic valid +payment event was made. Legacy webhook proxy remains. Next legitimate webhook/payment +delivery is still a manual acceptance item; unsigned request rejection does not prove +real signature/event processing. Provider signing configuration was not changed by us. + +Live email delivery remains blocked by the pre-existing acceptance permission fence. +Log comparison before/after cutover shows the same EmailQueue_ResetStuckSending +EXECUTE denial; it is not a new domain regression. Restoring outbound queue operation +requires a separate review/authorisation under the existing Production acceptance +procedure. Real email verification/reset delivery and MFA-device round trips remain manual; +rendering and legacy token/query routing passed. Existing worker/acceptance/egress +restrictions were not enabled or relaxed. Physical Windows/Word capture/synchronisation, +SignalR behaviour inside Word and actual PWA installation remain owner acceptance. +Follow [Companion and PWA migration](../Separation/Companion-PWA-Production.md). + +## Independent future publishing + +Application preparation uses the existing full Production plan/ledger and signing key; +qualify each new exact source and schema before signing. Standard compressed workflow: + +```sh +python3 Tools/Deployment/deploy.py --bundle /absolute/qualified-new-app-bundle \ + --identity /home/nick/.ssh/plotdirector-production \ + --public-key /home/nick/plotdirector-phase1-20261125/release-signing/phase1-candidate.pub.pem \ + --receipt /absolute/new-app-operation.json --public-acceptance --activate +``` + +Each operation requires a unique release ID and a new output/receipt path. No migration +flag is needed for code-only releases. Application activation does not restart website. + +Website commands run from its independent clean committed checkout: + +```sh +python3 Tools/Deployment/website_release.py prepare --source /absolute/clean/website \ + --output /absolute/new-website-bundle --release-id UNIQUE-ID \ + --signing-key /home/nick/.local/share/plotdirector-website-production/signing/private.pem \ + --public-key /home/nick/.local/share/plotdirector-website-production/signing/public.pem +python3 Tools/Deployment/transfer.py /absolute/new-website-bundle \ + --identity /home/nick/.ssh/plotdirector-website-production +``` + +Use pinned SSH with `plotdirector-website-deploy@85.190.124.132` for `validate UNIQUE-ID`, +`activate UNIQUE-ID`, `rollback PREVIOUS-ID`, `receipt UUID`. Strict options remain +in Production.md. Logs: `journalctl -u plotdirector` / `-u plotdirector-website`, plus +separate Nginx app/website logs. Routine restricted publishing needs no administrator. Both temporary Atlas administrator +authorisations were removed (including the additional key from the corrected initial +request); desktop/laptop key lines were preserved byte-for-byte. Administrator +reconnection is denied, while both restricted receipt commands still work. Temporary +pricing-export binaries/private configuration and the task SSH tunnel were removed. + +## Rollback + +Website-only: reverify/rollback its retained signed **v4-or-later compatible** release; +app and database stay untouched. Help rollback selects an approved audience-specific +immutable publication; never restore unrestricted or unclassified public help. + +Whole cutover/app emergency: fence writes if integrity is uncertain. The prepared +root-only `operators/rollback-infrastructure.py` in the protected configuration backup restores the +backed-up app environment and original PlotDirector vhost **with a help security +fence on both origins**, validates/reloads Nginx, and preserves app TLS/legacy clients. +Then invoke the restricted app command: + +```text +rollback plotdirector-rollback-exact-9dcd29d423b2-separation-20261127 +``` + +The retained compressed package already passed schema/ledger validation. Old binaries +may not publicly serve help/drawers/diagnostics/sitemap/LLM indexes until corrected +visibility is restored. Do not simply restore the unrestricted baseline vhost. No +database restore, key rotation, upload replacement or Catherine change is part of +rollback. Administrator configuration recovery may require temporary key authorisation; +normal application/website rollback remains restricted. No rollback was needed after +the successful traffic switch. diff --git a/Docs/Separation/Acceptance.md b/Docs/Separation/Acceptance.md index 352f9df1..2971cf49 100644 --- a/Docs/Separation/Acceptance.md +++ b/Docs/Separation/Acceptance.md @@ -1,3 +1,7 @@ +> Production cutover completed with owner approval on 27 November 2026. +> [Production qualification, runtime identities and remaining manual tests](../Deployment/ProductionSeparation-20261127.md) +> supersede the historical pre-cutover status below. + # Development acceptance and handover **Latest correction:** administrator-only help is excluded by authoritative source diff --git a/Docs/Separation/Companion-PWA-Production.md b/Docs/Separation/Companion-PWA-Production.md new file mode 100644 index 00000000..10377ffa --- /dev/null +++ b/Docs/Separation/Companion-PWA-Production.md @@ -0,0 +1,51 @@ +# Word Companion and PWA after the Production domain move + +Application: https://app.plotdirector.com. The server database, users, subscriptions, +books and manuscripts are unchanged. The old apex API/SignalR/taskpane bridge remains +available during transition. Ordinary redirects are not used for these protocol clients. + +## Native Windows Companion + +No new MSI is required for this origin change: the existing client supports a server +address. No Windows binary was rebuilt, re-signed or physically tested on Atlas. + +1. Confirm any remaining Word work is saved and synchronised. Keep local documents + and existing browser data; do not transplant or delete protected credentials manually. +2. Open Companion Settings, **CONNECTION & ACCOUNT**. Sign out/revoke the old server + approval using the supported UI, after synchronisation has completed. +3. Set **PlotDirector server HTTPS address** to `https://app.plotdirector.com`. + Use **Use server address** / **Change account…** and complete browser sign-in and + new Companion approval with the same Production account. +4. Select the existing book/document association. Do not reimport an existing manuscript + simply to change domains. Verify book lists, document capture/sync status, Context + navigation and reconnect behaviour. Use a disposable test document for edits. +5. Verify installed Word integration and update workflow on Windows. Relative API and + SignalR calls now use the selected origin. Origin-scoped DPAPI installation tokens + are not manually migrated. If an old installation lacks these settings, use the + established qualified Windows installer/update process; no unqualified MSI is supplied. + +## Office web add-in + +Use [manifest.production.xml](../../PlotDirector.WordCompanion/manifest.production.xml), +version 1.0.1.0, retaining its existing add-in identifier. AppDomain, SourceLocation, +icons and taskpane links target app.plotdirector.com. Replace the previously sideloaded +manifest or update the existing Microsoft 365 central deployment, then reopen Word +and sign in on the new app origin. The Development manifest stays on dev.plotdirector.com. + +Both old/new taskpane URLs and their five CSS/JavaScript dependencies were verified +over HTTPS; their assets match. Protected Companion APIs and SignalR negotiation +remain protected on both origins. These checks do not prove physical Office execution, +document-event delivery, authorisation, capture or writing synchronisation. + +## Installed PWA + +The owner confirmed pending old-PWA/editor/Companion changes were saved before cutover. +Uninstall the old apex installation, sign in at https://app.plotdirector.com, and install +the app from that origin. Launch it and confirm Projects, your existing theme, deep +links and Context windows. Retain old browser data until server saves are confirmed. + +The new manifest uses `/Projects` as id/start URL and `/` scope. Icons and worker +belong to the app origin. Browser registration/offline checks passed: there is no +authenticated response cache, fetch handler or background sync. Offline operation +must not claim server saves. The public website has no PWA manifest/worker/install UI. +Actual installation and physical Word acceptance remain manual owner checks. diff --git a/Docs/Separation/Cutover.md b/Docs/Separation/Cutover.md index ce6a0688..122d218f 100644 --- a/Docs/Separation/Cutover.md +++ b/Docs/Separation/Cutover.md @@ -1,3 +1,8 @@ +> Executed with explicit owner approval on 27 November 2026 at 23:03:34 UTC. +> See [completed cutover, current commands and rollback floor](../Deployment/ProductionSeparation-20261127.md). +> The preparation text below is retained as the approved historical procedure; +> it is not a statement that Production is still on the combined baseline. + # Controlled Production cutover — approval required **Prepared procedure only. No Production cutover, certificate issuance, service,