diff --git a/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/database-qualification.json b/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/database-qualification.json new file mode 100644 index 00000000..ed2ab7d0 --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/database-qualification.json @@ -0,0 +1 @@ +{"backup_sha256":"6cf9e6d4d340a222a48c43265582e45a0150b132ae6eeb2bb6cd112f97cb743c","developmentOnlySeedGuardReviewed":true,"productionAiDefaults":"disabled/zero; Development-only defaults are guarded by DB_NAME","runs":[{"all_original_fingerprints_equal":true,"database":"PlotDirector_Qualification_ProdRelease_20261126T214024","executed":12,"integrity":{"constraint_violations":0,"integrity":true},"original_rows":139554,"original_tables":163,"restored_schema":"1eaa17d39bfdc2542743d6e911659141466f0bdf4efbeb62fb76b958ddd03c21","resulting_schema_sha256":"23add4f059234d8c8b31793c94ec8dc288e2ec25c46e60cc2ca9b50d8f9fe75f","starting_schema_sha256":"b17db2bbdc583cb7bd3c856fb4db5cf6fc470e87fbaee5dc1dbbe99b6878beb7"},{"all_original_fingerprints_equal":true,"database":"PlotDirector_Qualification_ProdRelease_20261126T214114","executed":12,"integrity":{"constraint_violations":0,"integrity":true},"original_rows":139554,"original_tables":163,"restored_schema":"1eaa17d39bfdc2542743d6e911659141466f0bdf4efbeb62fb76b958ddd03c21","resulting_schema_sha256":"23add4f059234d8c8b31793c94ec8dc288e2ec25c46e60cc2ca9b50d8f9fe75f","starting_schema_sha256":"b17db2bbdc583cb7bd3c856fb4db5cf6fc470e87fbaee5dc1dbbe99b6878beb7"}],"source_commit":"f4daec7c87029abc0a32f89b07faa5d060a1c85a","status":"passed"} diff --git a/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/pipeline-receipt.json b/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/pipeline-receipt.json new file mode 100644 index 00000000..0dfc35ed --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/pipeline-receipt.json @@ -0,0 +1,753 @@ +{ + "format": 1, + "origin": "atlas-pipeline", + "started_utc": "2026-11-26T21:44:04.590+00:00", + "completed_utc": "2026-11-26T21:46:05.891+00:00", + "status": "activated", + "phases": [ + { + "name": "package_validation", + "started_utc": "2026-11-26T21:44:04.591+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-26T21:44:04.793+00:00", + "seconds": 0.20201, + "exclusive_seconds": 0.20201 + }, + { + "name": "decompression", + "started_utc": "2026-11-26T21:44:04.793+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-26T21:44:06.026+00:00", + "seconds": 1.232942, + "exclusive_seconds": 1.232942 + }, + { + "name": "package_validation", + "started_utc": "2026-11-26T21:44:06.026+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-26T21:44:07.737+00:00", + "seconds": 1.711533, + "exclusive_seconds": 1.711533 + }, + { + "name": "transfer", + "started_utc": "2026-11-26T21:44:07.858+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-26T21:45:27.751+00:00", + "seconds": 79.893288, + "exclusive_seconds": 79.893288 + }, + { + "name": "production_validation", + "started_utc": "2026-11-26T21:45:27.751+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-26T21:45:37.410+00:00", + "seconds": 9.658667, + "exclusive_seconds": 9.658667 + }, + { + "name": "receipt_retrieval", + "started_utc": "2026-11-26T21:45:37.410+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-26T21:45:38.294+00:00", + "seconds": 0.883649, + "exclusive_seconds": 0.883649 + }, + { + "name": "remote_activation", + "started_utc": "2026-11-26T21:45:38.295+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-26T21:46:04.612+00:00", + "seconds": 26.316693, + "exclusive_seconds": 26.316693 + }, + { + "name": "receipt_retrieval", + "started_utc": "2026-11-26T21:46:04.612+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-26T21:46:05.458+00:00", + "seconds": 0.845578, + "exclusive_seconds": 0.845578 + }, + { + "name": "public_acceptance", + "started_utc": "2026-11-26T21:46:05.458+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-26T21:46:05.867+00:00", + "seconds": 0.408609, + "exclusive_seconds": 0.408609 + }, + { + "name": "receipt_generation", + "started_utc": "2026-11-26T21:46:05.867+00:00", + "parent": null, + "outcome": "passed", + "completed_utc": "2026-11-26T21:46:05.891+00:00", + "seconds": 0.0242, + "exclusive_seconds": 0.0242 + } + ], + "warnings": [], + "failures": [], + "checks": { + "activation": true, + "application": { + "database": "PlotLine", + "environment": "Production", + "healthy": true, + "sourceCommit": "f4daec7c87029abc0a32f89b07faa5d060a1c85a", + "version": "1.0.0" + }, + "binary_identity": true, + "database": { + "complete_history": true, + "healthy": true, + "history": { + "baselined": 210, + "executed": 122, + "expected": 332, + "latest_successful_release": { + "activated_utc": "2026-11-25T21:19:19.3142530Z", + "activation_kind": "Deploy", + "application_version": "1.0.0", + "deployment_identifier": "20261125T211858Z-95eab0efa335", + "manifest_sha256": "05493eaaaff7a4ef182ec8ec26c5810cb9717ed2816ded3134687bed007150dd", + "package_sha256": "19f7a0247279e92c4f7af84d83138d68540d90c90e2ca0f5e48b9c7edbb6f395", + "recorded": true, + "release_identifier": "plotdirector-production-ff6369e9-20261125-r1", + "source_commit": "ff6369e9766b37fba38b9c327c0c170076236870" + }, + "recorded": 332, + "successful_release_count": 4 + }, + "history_verification_seconds": 0.2271462 + }, + "http_login": true, + "http_root": true + }, + "migrations": { + "baselined": 0, + "committed": [ + "323_CharacterQuickAttributes", + "324_CharacterTypes", + "325_NamesRecordedUsage", + "326_DiscretionaryAiAllowances", + "327_CharacterAiEnforcement", + "328_IntentAssessmentAiEnforcement", + "329_NameManuscriptCandidates", + "330_NameVerificationResults", + "331_AccountDeletionAiCleanup", + "332_DevelopmentAiPolicyDefaults", + "333_NameSearchPlanStability", + "334_NamesWorkspaceSorting" + ], + "committed_list_truncated": false, + "executed": 12, + "schema": "23add4f059234d8c8b31793c94ec8dc288e2ec25c46e60cc2ca9b50d8f9fe75f" + }, + "recovery": "No automatic database restore or application rollback. Review protected attempt evidence on failure.", + "transport": { + "method": "zstd", + "original_bytes": 554946560, + "transferred_bytes": 165799972, + "original_sha256": "b6ff1e99ca1dc2de72498acdbf0a4701ddb205a20a5d839d0113df769754a6b2", + "transferred_sha256": "a5239504697b951ae8d7012739fcc4cbdb49b262ae57494b38b684ef598cbe32", + "compression_ratio": 0.298767, + "compression_seconds_atlas": 2.0752655679825693, + "settings": { + "level": 6, + "threads": 4 + } + }, + "release": { + "id": "plotdirector-production-f4daec7c8702-20261126T214333", + "source_commit": "f4daec7c87029abc0a32f89b07faa5d060a1c85a", + "version": "1.0.0", + "package_sha256": "b6ff1e99ca1dc2de72498acdbf0a4701ddb205a20a5d839d0113df769754a6b2", + "application_sha256": "d85d2e6be6c5ad4c67a7f4cfaf0f17e1b9646c91765ee72d2bda6eed49f44f19", + "dll_sha256": "36ac5dbe737bf3a512a88e150d6f3a4ac91e688e583b58fb4ad3fbb7fd55c569" + }, + "transfer": { + "source": "atlas-sender", + "bytes": 165800948, + "seconds": 79.89337931299815, + "mib_per_second": 1.9791390363391859 + }, + "server_validation": { + "checks": {}, + "completed_utc": "2026-11-26T21:45:37.346+00:00", + "deployment_id": "20261126T214529Z-1ad96fc11ade", + "failures": [], + "format": 1, + "migration_history": { + "complete": false, + "database_bytes": 486539264, + "history": { + "baselined": 210, + "executed": 110, + "expected": 332, + "latest_successful_release": { + "activated_utc": "2026-11-25T21:19:19.3142530Z", + "activation_kind": "Deploy", + "application_version": "1.0.0", + "deployment_identifier": "20261125T211858Z-95eab0efa335", + "manifest_sha256": "05493eaaaff7a4ef182ec8ec26c5810cb9717ed2816ded3134687bed007150dd", + "package_sha256": "19f7a0247279e92c4f7af84d83138d68540d90c90e2ca0f5e48b9c7edbb6f395", + "recorded": true, + "release_identifier": "plotdirector-production-ff6369e9-20261125-r1", + "source_commit": "ff6369e9766b37fba38b9c327c0c170076236870" + }, + "recorded": 320, + "successful_release_count": 4 + }, + "history_verification_seconds": 0.3150918, + "schema": "b17db2bbdc583cb7bd3c856fb4db5cf6fc470e87fbaee5dc1dbbe99b6878beb7" + }, + "migrations": { + "baselined": null, + "executed": null + }, + "operation": "validate", + "origin": "web1", + "phases": [ + { + "completed_utc": "2026-11-26T21:45:29.505+00:00", + "exclusive_seconds": 0.421692, + "name": "package_validation", + "outcome": "passed", + "parent": null, + "seconds": 0.421692, + "started_utc": "2026-11-26T21:45:29.083+00:00" + }, + { + "completed_utc": "2026-11-26T21:45:31.174+00:00", + "exclusive_seconds": 1.668916, + "name": "decompression", + "outcome": "passed", + "parent": null, + "seconds": 1.668916, + "started_utc": "2026-11-26T21:45:29.505+00:00" + }, + { + "completed_utc": "2026-11-26T21:45:34.075+00:00", + "exclusive_seconds": 2.900244, + "name": "package_validation", + "outcome": "passed", + "parent": null, + "seconds": 2.900244, + "started_utc": "2026-11-26T21:45:31.174+00:00" + }, + { + "completed_utc": "2026-11-26T21:45:36.407+00:00", + "exclusive_seconds": 0.997974, + "name": "database_state_verification", + "outcome": "passed", + "parent": null, + "seconds": 1.313066, + "started_utc": "2026-11-26T21:45:35.094+00:00" + }, + { + "clock": "SQL worker Stopwatch; measured duration, UTC endpoints unavailable", + "completed_utc": null, + "exclusive_seconds": 0.315092, + "name": "migration_history_verification", + "outcome": "passed", + "parent": "database_state_verification", + "seconds": 0.315092, + "started_utc": null + }, + { + "completed_utc": "2026-11-26T21:45:37.346+00:00", + "exclusive_seconds": 0.033589, + "name": "receipt_generation", + "outcome": "passed", + "parent": null, + "seconds": 0.033589, + "started_utc": "2026-11-26T21:45:37.313+00:00" + } + ], + "previous_release": { + "deployment": "20261125T211858Z-95eab0efa335", + "package_sha256": "19f7a0247279e92c4f7af84d83138d68540d90c90e2ca0f5e48b9c7edbb6f395", + "release": "plotdirector-production-ff6369e9-20261125-r1", + "source_commit": "ff6369e9766b37fba38b9c327c0c170076236870", + "version": "1.0.0" + }, + "protected_evidence_reference": "/srv/plotdirector/deployment-evidence/20261126T214529Z-1ad96fc11ade.jsonl", + "recovery": "No automatic database restore or application rollback. Review protected attempt evidence on failure.", + "release": { + "application_sha256": "d85d2e6be6c5ad4c67a7f4cfaf0f17e1b9646c91765ee72d2bda6eed49f44f19", + "dll_sha256": "36ac5dbe737bf3a512a88e150d6f3a4ac91e688e583b58fb4ad3fbb7fd55c569", + "id": "plotdirector-production-f4daec7c8702-20261126T214333", + "manifest_sha256": "b71ded9d6e0390df732922d600301e78c5e1692ea8beddfb0bbf6ebe74cd2d05", + "package_sha256": "b6ff1e99ca1dc2de72498acdbf0a4701ddb205a20a5d839d0113df769754a6b2", + "source_commit": "f4daec7c87029abc0a32f89b07faa5d060a1c85a", + "version": "1.0.0" + }, + "started_utc": "2026-11-26T21:45:29.038+00:00", + "status": "validated", + "timing": { + "clock": "monotonic; UTC timestamps for correlation only", + "measured_top_level_seconds": 6.337507, + "total_seconds": 8.30803, + "unattributed_seconds": 1.970523 + }, + "transfer": { + "bytes": 165800948, + "mib_per_second": 2.017398565854744, + "seconds": 78.37821857299423, + "source": "ssh-receiver-unprivileged" + }, + "transport": { + "compression_ratio": 0.298767, + "compression_seconds_atlas": 2.0752655679825693, + "method": "zstd", + "original_bytes": 554946560, + "original_sha256": "b6ff1e99ca1dc2de72498acdbf0a4701ddb205a20a5d839d0113df769754a6b2", + "settings": { + "level": 6, + "threads": 4 + }, + "transferred_bytes": 165799972, + "transferred_sha256": "a5239504697b951ae8d7012739fcc4cbdb49b262ae57494b38b684ef598cbe32" + }, + "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": "20261125T211858Z-95eab0efa335", + "package_sha256": "19f7a0247279e92c4f7af84d83138d68540d90c90e2ca0f5e48b9c7edbb6f395", + "release": "plotdirector-production-ff6369e9-20261125-r1", + "source_commit": "ff6369e9766b37fba38b9c327c0c170076236870", + "version": "1.0.0" + }, + "migration_history": { + "complete": false, + "database_bytes": 486539264, + "history": { + "baselined": 210, + "executed": 110, + "expected": 332, + "latest_successful_release": { + "activated_utc": "2026-11-25T21:19:19.3142530Z", + "activation_kind": "Deploy", + "application_version": "1.0.0", + "deployment_identifier": "20261125T211858Z-95eab0efa335", + "manifest_sha256": "05493eaaaff7a4ef182ec8ec26c5810cb9717ed2816ded3134687bed007150dd", + "package_sha256": "19f7a0247279e92c4f7af84d83138d68540d90c90e2ca0f5e48b9c7edbb6f395", + "recorded": true, + "release_identifier": "plotdirector-production-ff6369e9-20261125-r1", + "source_commit": "ff6369e9766b37fba38b9c327c0c170076236870" + }, + "recorded": 320, + "successful_release_count": 4 + }, + "history_verification_seconds": 0.3150918, + "schema": "b17db2bbdc583cb7bd3c856fb4db5cf6fc470e87fbaee5dc1dbbe99b6878beb7" + }, + "server_activation": { + "availability": { + "confirmed_inactive_to_health_ready_seconds": 9.551538197003538, + "definition": "Monotonic intervals include stop/start commands; observed public outage measured separately on Atlas.", + "service_stop_to_start_seconds": 5.027483034005854, + "stop_request_to_health_ready_seconds": 9.709493600996211, + "stop_request_to_start_command_complete_seconds": 5.1854449000093155 + }, + "checks": { + "activation": true, + "application": { + "database": "PlotLine", + "environment": "Production", + "healthy": true, + "sourceCommit": "f4daec7c87029abc0a32f89b07faa5d060a1c85a", + "version": "1.0.0" + }, + "binary_identity": true, + "database": { + "complete_history": true, + "healthy": true, + "history": { + "baselined": 210, + "executed": 122, + "expected": 332, + "latest_successful_release": { + "activated_utc": "2026-11-25T21:19:19.3142530Z", + "activation_kind": "Deploy", + "application_version": "1.0.0", + "deployment_identifier": "20261125T211858Z-95eab0efa335", + "manifest_sha256": "05493eaaaff7a4ef182ec8ec26c5810cb9717ed2816ded3134687bed007150dd", + "package_sha256": "19f7a0247279e92c4f7af84d83138d68540d90c90e2ca0f5e48b9c7edbb6f395", + "recorded": true, + "release_identifier": "plotdirector-production-ff6369e9-20261125-r1", + "source_commit": "ff6369e9766b37fba38b9c327c0c170076236870" + }, + "recorded": 332, + "successful_release_count": 4 + }, + "history_verification_seconds": 0.2271462 + }, + "http_login": true, + "http_root": true + }, + "completed_utc": "2026-11-26T21:46:04.557+00:00", + "database_backup": { + "options": [ + "COPY_ONLY", + "CHECKSUM", + "VERIFYONLY" + ], + "path": "/srv/backups/sql/PlotLine-predeploy-20261126T214539Z-aec6e6bd73a7.bak", + "verified": true + }, + "deployment_id": "20261126T214539Z-aec6e6bd73a7", + "failures": [], + "format": 1, + "migration_history": { + "complete": false, + "database_bytes": 486539264, + "history": { + "baselined": 210, + "executed": 110, + "expected": 332, + "latest_successful_release": { + "activated_utc": "2026-11-25T21:19:19.3142530Z", + "activation_kind": "Deploy", + "application_version": "1.0.0", + "deployment_identifier": "20261125T211858Z-95eab0efa335", + "manifest_sha256": "05493eaaaff7a4ef182ec8ec26c5810cb9717ed2816ded3134687bed007150dd", + "package_sha256": "19f7a0247279e92c4f7af84d83138d68540d90c90e2ca0f5e48b9c7edbb6f395", + "recorded": true, + "release_identifier": "plotdirector-production-ff6369e9-20261125-r1", + "source_commit": "ff6369e9766b37fba38b9c327c0c170076236870" + }, + "recorded": 320, + "successful_release_count": 4 + }, + "history_verification_seconds": 0.3102329, + "schema": "b17db2bbdc583cb7bd3c856fb4db5cf6fc470e87fbaee5dc1dbbe99b6878beb7" + }, + "migrations": { + "baselined": 0, + "committed": [ + "323_CharacterQuickAttributes", + "324_CharacterTypes", + "325_NamesRecordedUsage", + "326_DiscretionaryAiAllowances", + "327_CharacterAiEnforcement", + "328_IntentAssessmentAiEnforcement", + "329_NameManuscriptCandidates", + "330_NameVerificationResults", + "331_AccountDeletionAiCleanup", + "332_DevelopmentAiPolicyDefaults", + "333_NameSearchPlanStability", + "334_NamesWorkspaceSorting" + ], + "committed_list_truncated": false, + "executed": 12, + "schema": "23add4f059234d8c8b31793c94ec8dc288e2ec25c46e60cc2ca9b50d8f9fe75f" + }, + "operation": "activate", + "origin": "web1", + "phases": [ + { + "completed_utc": "2026-11-26T21:45:39.651+00:00", + "exclusive_seconds": 0.474536, + "name": "package_validation", + "outcome": "passed", + "parent": null, + "seconds": 0.474536, + "started_utc": "2026-11-26T21:45:39.176+00:00" + }, + { + "completed_utc": "2026-11-26T21:45:41.303+00:00", + "exclusive_seconds": 1.652547, + "name": "decompression", + "outcome": "passed", + "parent": null, + "seconds": 1.652547, + "started_utc": "2026-11-26T21:45:39.651+00:00" + }, + { + "completed_utc": "2026-11-26T21:45:44.217+00:00", + "exclusive_seconds": 2.913184, + "name": "package_validation", + "outcome": "passed", + "parent": null, + "seconds": 2.913184, + "started_utc": "2026-11-26T21:45:41.304+00:00" + }, + { + "completed_utc": "2026-11-26T21:45:46.627+00:00", + "exclusive_seconds": 1.017404, + "name": "database_state_verification", + "outcome": "passed", + "parent": null, + "seconds": 1.327637, + "started_utc": "2026-11-26T21:45:45.299+00:00" + }, + { + "clock": "SQL worker Stopwatch; measured duration, UTC endpoints unavailable", + "completed_utc": null, + "exclusive_seconds": 0.310233, + "name": "migration_history_verification", + "outcome": "passed", + "parent": "database_state_verification", + "seconds": 0.310233, + "started_utc": null + }, + { + "completed_utc": "2026-11-26T21:45:54.021+00:00", + "exclusive_seconds": 7.244202, + "name": "database_backup", + "outcome": "passed", + "parent": null, + "seconds": 7.244202, + "started_utc": "2026-11-26T21:45:46.777+00:00" + }, + { + "completed_utc": "2026-11-26T21:45:54.225+00:00", + "exclusive_seconds": 0.157783, + "name": "service_stop", + "outcome": "passed", + "parent": null, + "seconds": 0.157783, + "started_utc": "2026-11-26T21:45:54.067+00:00" + }, + { + "completed_utc": "2026-11-26T21:45:57.627+00:00", + "exclusive_seconds": 3.370242, + "name": "migration_execution", + "outcome": "passed", + "parent": null, + "seconds": 3.370242, + "started_utc": "2026-11-26T21:45:54.257+00:00" + }, + { + "completed_utc": "2026-11-26T21:45:58.959+00:00", + "exclusive_seconds": 1.325796, + "name": "release_installation", + "outcome": "passed", + "parent": null, + "seconds": 1.325796, + "started_utc": "2026-11-26T21:45:57.633+00:00" + }, + { + "completed_utc": "2026-11-26T21:45:58.985+00:00", + "exclusive_seconds": 0.009067, + "name": "release_activation", + "outcome": "passed", + "parent": null, + "seconds": 0.009067, + "started_utc": "2026-11-26T21:45:58.976+00:00" + }, + { + "completed_utc": "2026-11-26T21:45:59.252+00:00", + "exclusive_seconds": 0.267439, + "name": "service_start", + "outcome": "passed", + "parent": null, + "seconds": 0.267439, + "started_utc": "2026-11-26T21:45:58.985+00:00" + }, + { + "completed_utc": "2026-11-26T21:46:03.776+00:00", + "exclusive_seconds": 0.892529, + "name": "postactivation_verification", + "outcome": "passed", + "parent": "application_health_readiness", + "seconds": 1.119675, + "started_utc": "2026-11-26T21:46:02.657+00:00" + }, + { + "clock": "SQL worker Stopwatch; measured duration, UTC endpoints unavailable", + "completed_utc": null, + "exclusive_seconds": 0.227146, + "name": "migration_history_verification", + "outcome": "passed", + "parent": "postactivation_verification", + "seconds": 0.227146, + "started_utc": null + }, + { + "completed_utc": "2026-11-26T21:46:03.776+00:00", + "exclusive_seconds": 3.404307, + "name": "application_health_readiness", + "outcome": "passed", + "parent": null, + "seconds": 4.523981, + "started_utc": "2026-11-26T21:45:59.252+00:00" + }, + { + "completed_utc": "2026-11-26T21:46:03.839+00:00", + "exclusive_seconds": 0.055951, + "name": "postactivation_verification", + "outcome": "passed", + "parent": null, + "seconds": 0.055951, + "started_utc": "2026-11-26T21:46:03.783+00:00" + }, + { + "completed_utc": "2026-11-26T21:46:04.557+00:00", + "exclusive_seconds": 0.0351, + "name": "receipt_generation", + "outcome": "passed", + "parent": null, + "seconds": 0.0351, + "started_utc": "2026-11-26T21:46:04.522+00:00" + } + ], + "previous_release": { + "deployment": "20261125T211858Z-95eab0efa335", + "package_sha256": "19f7a0247279e92c4f7af84d83138d68540d90c90e2ca0f5e48b9c7edbb6f395", + "release": "plotdirector-production-ff6369e9-20261125-r1", + "source_commit": "ff6369e9766b37fba38b9c327c0c170076236870", + "version": "1.0.0" + }, + "protected_evidence_reference": "/srv/plotdirector/deployment-evidence/20261126T214539Z-aec6e6bd73a7.jsonl", + "recovery": "No automatic database restore or application rollback. Review protected attempt evidence on failure.", + "release": { + "application_sha256": "d85d2e6be6c5ad4c67a7f4cfaf0f17e1b9646c91765ee72d2bda6eed49f44f19", + "dll_sha256": "36ac5dbe737bf3a512a88e150d6f3a4ac91e688e583b58fb4ad3fbb7fd55c569", + "id": "plotdirector-production-f4daec7c8702-20261126T214333", + "manifest_sha256": "b71ded9d6e0390df732922d600301e78c5e1692ea8beddfb0bbf6ebe74cd2d05", + "package_sha256": "b6ff1e99ca1dc2de72498acdbf0a4701ddb205a20a5d839d0113df769754a6b2", + "source_commit": "f4daec7c87029abc0a32f89b07faa5d060a1c85a", + "version": "1.0.0" + }, + "release_history": { + "activated_utc": "2026-11-26T21:46:03.8126464Z", + "activation_kind": "Deploy", + "application_version": "1.0.0", + "deployment_identifier": "20261126T214539Z-aec6e6bd73a7", + "manifest_sha256": "b71ded9d6e0390df732922d600301e78c5e1692ea8beddfb0bbf6ebe74cd2d05", + "package_sha256": "b6ff1e99ca1dc2de72498acdbf0a4701ddb205a20a5d839d0113df769754a6b2", + "recorded": true, + "release_identifier": "plotdirector-production-f4daec7c8702-20261126T214333", + "source_commit": "f4daec7c87029abc0a32f89b07faa5d060a1c85a" + }, + "started_utc": "2026-11-26T21:45:39.128+00:00", + "status": "activated", + "timing": { + "clock": "monotonic; UTC timestamps for correlation only", + "measured_top_level_seconds": 23.357465, + "total_seconds": 25.429362, + "unattributed_seconds": 2.071897 + }, + "transfer": { + "bytes": 165800948, + "mib_per_second": 2.017398565854744, + "seconds": 78.37821857299423, + "source": "ssh-receiver-unprivileged" + }, + "transport": { + "compression_ratio": 0.298767, + "compression_seconds_atlas": 2.0752655679825693, + "method": "zstd", + "original_bytes": 554946560, + "original_sha256": "b6ff1e99ca1dc2de72498acdbf0a4701ddb205a20a5d839d0113df769754a6b2", + "settings": { + "level": 6, + "threads": 4 + }, + "transferred_bytes": 165799972, + "transferred_sha256": "a5239504697b951ae8d7012739fcc4cbdb49b262ae57494b38b684ef598cbe32" + }, + "unperformed_phases": [ + "release_preparation", + "production_validation", + "remote_activation", + "receipt_retrieval", + "scope_verification", + "build", + "packaging_signing", + "compression", + "transfer", + "public_acceptance" + ], + "warnings": [] + }, + "deployment_id": "20261126T214539Z-aec6e6bd73a7", + "release_history": { + "activated_utc": "2026-11-26T21:46:03.8126464Z", + "activation_kind": "Deploy", + "application_version": "1.0.0", + "deployment_identifier": "20261126T214539Z-aec6e6bd73a7", + "manifest_sha256": "b71ded9d6e0390df732922d600301e78c5e1692ea8beddfb0bbf6ebe74cd2d05", + "package_sha256": "b6ff1e99ca1dc2de72498acdbf0a4701ddb205a20a5d839d0113df769754a6b2", + "recorded": true, + "release_identifier": "plotdirector-production-f4daec7c8702-20261126T214333", + "source_commit": "f4daec7c87029abc0a32f89b07faa5d060a1c85a" + }, + "database_backup": { + "options": [ + "COPY_ONLY", + "CHECKSUM", + "VERIFYONLY" + ], + "path": "/srv/backups/sql/PlotLine-predeploy-20261126T214539Z-aec6e6bd73a7.bak", + "verified": true + }, + "availability": { + "confirmed_inactive_to_health_ready_seconds": 9.551538197003538, + "definition": "Monotonic intervals include stop/start commands; observed public outage measured separately on Atlas.", + "service_stop_to_start_seconds": 5.027483034005854, + "stop_request_to_health_ready_seconds": 9.709493600996211, + "stop_request_to_start_command_complete_seconds": 5.1854449000093155 + }, + "observed_public_outage": { + "seconds": 7.294759509008145, + "definition": "Measured failed HTTPS GET to next successful GET; 0.5s sampling plus request latency", + "recovery_observed": true + }, + "public_https": { + "plotdirector": { + "status": 200, + "tls_verified": true + }, + "catherine": { + "status": 200, + "tls_verified": true + } + }, + "timing": { + "total_seconds": 121.300537, + "measured_top_level_seconds": 121.177169, + "unattributed_seconds": 0.123368, + "clock": "monotonic; UTC timestamps for correlation only" + }, + "unperformed_phases": [ + "release_preparation", + "scope_verification", + "build", + "packaging_signing", + "compression" + ] +} diff --git a/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/production-policy-guard.json b/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/production-policy-guard.json new file mode 100644 index 00000000..079f275b --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/production-policy-guard.json @@ -0,0 +1 @@ +{"database":"PlotDirector_ProductionGuard_20261126T214251","noInferredCharacterClassification":true,"operationsDisabled":true,"productionBranchExcludesDevelopmentDefaults":true,"providerRequests":0,"resulting_schema_sha256":"23add4f059234d8c8b31793c94ec8dc288e2ec25c46e60cc2ca9b50d8f9fe75f","status":"passed","tierAllowancesZero":true} diff --git a/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/public-assets.json b/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/public-assets.json new file mode 100644 index 00000000..0bbc8c5f --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/public-assets.json @@ -0,0 +1,15 @@ +{ + "status": "passed", + "tlsVerified": true, + "source_commit": "f4daec7c87029abc0a32f89b07faa5d060a1c85a", + "files": { + "js/workspace-surface.js": "ccb3f244c2a890869968174a3c56adf314f1ca1fc6d02a78628973f030dfcb37", + "css/workspace-surface.css": "dee50bc147320aa8e03b6e990df55012d1ab74b19b3dad8ba989d7816a13869e", + "js/character-attributes.js": "dc3ab1ecbe5e58c291d626d3f7e71cc545acf2a4f8a8a5f28a64b049c83541b2", + "css/character-attributes.css": "c379a850b2d8ee5c8e5e4d11c31e195b05fa384ff4e8bae58e19f569e655f944", + "js/names-workspace.js": "914e6c01fda182ec3e8b0333a364dd879c9bbed8cfffb02a5ad6cab8b8a9bcfc", + "css/names-workspace.css": "b827dad47e69c9cb83088671d3cae19767ccae9204cdc8ff131bcd1885930058", + "js/character-workspace.js": "58ac97af4f6816e281d389e1cf086d3c0581d7d2af7d390cdde8fdabc3275f72", + "js/character-enrichment-detail.js": "59240dc9c12df4605e4f6dfcf22270c556f341315cb412caeade3fffd37c4e17" + } +} \ No newline at end of file diff --git a/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/qualification-cleanup.json b/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/qualification-cleanup.json new file mode 100644 index 00000000..42a411f4 --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/qualification-cleanup.json @@ -0,0 +1,12 @@ +{ + "status": "passed", + "removedOnlyTaskAtlasClones": [ + "PlotDirector_Qualification_ProdRelease_20261126T214024", + "PlotDirector_ProductionGuard_20261126T214251", + "PlotDirector_Qualification_ProdRelease_20261126T214114", + "PlotDirector_Qualification_ProdRelease_20261126T213851" + ], + "originalBackupsRetained": true, + "productionRestoredOrReset": false, + "privateConnectionsDeleted": true +} \ No newline at end of file diff --git a/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/qualification-summary.json b/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/qualification-summary.json new file mode 100644 index 00000000..af07ebf3 --- /dev/null +++ b/Docs/Deployment/Evidence/ProductionCharactersNames-20261126/qualification-summary.json @@ -0,0 +1,15 @@ +{ + "status": "passed", + "source_commit": "f4daec7c87029abc0a32f89b07faa5d060a1c85a", + "fullRegressionPasses": 889, + "logs": { + "build.log": "9e3fc80a48c18b9c4a54259e7e26d911db2ae4382c9a39191c4758a32be98be3", + "regression.log": "e85f2d93ba80529b25529b131bc12e6893d683478035b38150b6864da208d5be", + "worker-build.log": "16e78f7ccd1480acf76c826291a4710839032a6d6deae89d4b5663a3e13aab9a", + "publish.log": "9e81b788686c261276a3130f4d6a06c0c4ac4aaf78a1a19202b3528ccec80cdf" + }, + "productionAuthenticatedFeatureSmoke": "not performed; no owner credentials used", + "acceptedDevelopmentBrowserAndInstalledPwa": "see WorkspaceDividers-20261126 and CharacterNamesAi-20261126 evidence", + "qualifierPolicyBranch": "separate non-Development DB-name rehearsal passed", + "providerCallsInitiatedByDeployment": 0 +} diff --git a/Docs/Deployment/Production.md b/Docs/Deployment/Production.md index 191caf57..9cb6c16d 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 routine release: `ff6369e9`, version `1.0.0`; see the [measured deployment receipt](Evidence/Routine-20261125-ff6369e9/pipeline-receipt.json) and [acceptance](Evidence/Routine-20261125-ff6369e9/acceptance.json). Manuscript import theme corrections only; no SQL or Production infrastructure changes. Previous release: [9b1770d9](Routine-20261125-9b1770d9.md). +Latest application release: **`f4daec7c87029abc0a32f89b07faa5d060a1c85a`**, version `1.0.0`, promoted with explicit owner authorisation on 26 November 2026. See [Characters/Names Production promotion](ProductionCharactersNames-20261126.md) and its [measured receipt](Evidence/ProductionCharactersNames-20261126/pipeline-receipt.json). Migrations 323–334 are recorded; Production history has 332 entries and retains the Development reset-procedure omission. Subsequent releases must use this Production-specific qualified plan, not the old 320-entry or Development ledger. Previous release: `ff6369e9`. **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/ProductionCharactersNames-20261126.md b/Docs/Deployment/ProductionCharactersNames-20261126.md new file mode 100644 index 00000000..1c2a7dce --- /dev/null +++ b/Docs/Deployment/ProductionCharactersNames-20261126.md @@ -0,0 +1,32 @@ +# Characters and Names — Production promotion, 26 November 2026 + +The owner explicitly authorised promotion after accepting Development. Application source **`f4daec7c87029abc0a32f89b07faa5d060a1c85a`** includes all committed Characters/Names work: full-width directories, shared attributes and assignment, Character Type/species, Names/Context workspace, central AI entitlements and bounded verification, the latest ribbon ordering/dividers and recorded Male/Female display correction. Existing author records are not automatically classified or reassigned. + +Previous Production: `ff6369e9766b37fba38b9c327c0c170076236870`, schema `b17db2bbdc583cb7bd3c856fb4db5cf6fc470e87fbaee5dc1dbbe99b6878beb7`, complete 320-entry history. This starting state was independently confirmed through the restricted validator before preparation. + +The Production-specific complete plan preserves its historical omissions, including **286 Development reset procedures** and superseded migrations. It adds **323–334** in dependency order. Development's ledger/configuration was not substituted for Production's. Target schema: `23add4f059234d8c8b31793c94ec8dc288e2ec25c46e60cc2ca9b50d8f9fe75f`. + +Qualification: + +- Clean committed source: solution build passed; **889 executable regression checks passed**. +- Two independent restores of the checksum-verified recovered Production backup were bootstrapped through the existing qualified Production baseline, then upgraded with all 12 new migrations through the source-bound database worker. Fingerprints for **163 original tables / 139,554 rows** remained identical in each run; integrity, constraints and runtime permission contracts passed. +- An additional isolated database whose name follows the **non-Development branch** verified that migration 332 does not enable test policies: operations disabled, tier allowances zero, provider requests zero, and no inferred character types. This supplements the two normal qualification copies, whose names deliberately permit Development-only test defaults. +- Existing accepted normal Chromium/actual installed-PWA tests cover seven themes, responsive widths, 10/100/500-character casts, native drag/bulk/Undo, Names navigation, ribbon controls and divider persistence through PWA restart. [Latest UI acceptance](WorkspaceDividers-20261126.md); [feature acceptance](CharacterNamesAi-20261126.md). + +[Database qualification](Evidence/ProductionCharactersNames-20261126/database-qualification.json) · [Production policy-branch qualification](Evidence/ProductionCharactersNames-20261126/production-policy-guard.json). + +The original recovered backup and new pre-activation Production backup are retained. No Production restore/reset or automatic database rollback is authorised or performed. Application activation uses only the established signed Zstandard package, restricted SSH deployment identity and protected helper. Existing background-worker/egress restrictions, subscription prices and commercial configuration remain unchanged. Development's provisional 100-credit allowances are **not** copied to Production; discretionary AI policies start disabled with zero tier allowances until an authorised administrator configures commercial values. + +## Activation outcome + +**Activated successfully**: `plotdirector-production-f4daec7c8702-20261126T214333`, receipt **`20261126T214539Z-aec6e6bd73a7`**, completed **2026-11-26T21:46:04.557+00:00** (GMT/UTC). The fixed helper verified a fresh COPY_ONLY/CHECKSUM backup with RESTORE VERIFYONLY, confirmed idle state, executed **12** migrations, atomically activated the immutable release and recorded the new successful application release. The complete Production ledger now has **332 entries**. No historical script was edited or replayed. + +Verified running identity: **Production / PlotLine / `f4daec7c87029abc0a32f89b07faa5d060a1c85a`**. Binary identity, local root/login HTTP and database health passed. Public PlotDirector and Catherine HTTPS both returned **200** with valid TLS. Eight changed public JavaScript/CSS files independently match the signed publication. Sampled public unavailability was **7.29 seconds**, with recovery observed. Pipeline warnings: none. + +[Measured pipeline/activation receipt](Evidence/ProductionCharactersNames-20261126/pipeline-receipt.json) · [Public asset checks](Evidence/ProductionCharactersNames-20261126/public-assets.json) · [Qualification summary](Evidence/ProductionCharactersNames-20261126/qualification-summary.json). + +All four session-free task qualification databases and their private connection files were removed from Atlas; original/rehearsal/Production predeploy backups are retained. No author account or character was used as a deployment demonstration. [Qualification cleanup](Evidence/ProductionCharactersNames-20261126/qualification-cleanup.json). + +Authenticated Production feature acceptance was not repeated using an owner's credentials; the owner already accepted the matching Development functionality and the same committed implementation passed browser/PWA regression. Production verification covers binary/source/database identity, migration history, health, public sites and served asset hashes. No held background workers, external processing, SMTP, subscription prices or network configuration were enabled/changed as part of this release. + +The signed complete plan and recovery artifacts are retained privately at `/home/nick/.local/share/plotdirector-production/releases/characters-names-20261126/`. Use that **Production-specific 332-entry plan**, with its historical omissions and resulting schema, for subsequent code-only release preparation; do not reuse the earlier 320-entry plan or Development's reset-procedure history.