..

Manifest deployment tooling

For routine Atlas Development releases, use development_release.py and the independent deploy-plotdirector-development profile; see Development operations. Never repoint the Production entry point.

Production Phase 1 implementation and qualification live here. Do not install on a production host until the qualification report says READY and Phase 2 has been authorised. See Docs/Deployment/Production.md for the trust model and operational procedure.

The release package is data, never a privileged executable. Atlas prepares it from a clean Git commit. An administrator installs the helper, database worker, target configuration and independent release-verification public key. The transfer account can submit signed packages but cannot change the helper, trust anchor or target.

qualify.py restores two fresh copies in the existing Atlas SQL container, executes the reviewed plan, verifies COPY_ONLY/CHECKSUM backups and compares every original business column. It refuses existing databases/output/media and never uses REPLACE. Use --backup, --backup-sha256, --source (clean worktree), --package (private draft manifest/SQL), --worker (built from that SHA), --output (new private path) and --database-prefix PlotDirector_Qualification_UNIQUE. Input/resulting schema fingerprints must have been established through reviewed exploratory qualification; unknown results are never accepted by the production package validator.

For the isolated QualificationHost, publish on Atlas, copy the qualified PlotLine.staticwebassets.endpoints.json beside the host DLL and verify that its loaded PlotLine DLL hash exactly matches the qualified payload. Its private JSON contains the isolated connection, owner-ID allowlist, random request token, loopback URL, content root, key/upload paths and expected DLL hash. It removes all application background services and blocks external HttpClient requests. Browser qualification must also block outbound requests; a locally cached SignalR script can substitute for its public CDN dependency. Never put this configuration or recovered files in Git.

QualificationHost --restore-contract exercises the real application export, encoding and SQL restore under the restricted runtime role, always rolling back its clone-only outer transaction. It refuses an owner/DDL-capable runtime identity. This test tool and its authentication scheme are never installed on Production.

DatabaseWorker protocol is JSON lines over stdin/stdout, with a private connection configuration path as its sole argument. Operations: inspect, begin, idle, backup, migrate, health and activated. The session lock spans begin through process exit. fingerprint/integrity operations accept only qualification database names. Errors return a safe type/SQL number, script identity and batch number, never SQL text or connection diagnostics. Root activation evidence preserves the failure stage.

Recovered accounts may correctly fail the restore contract's subscription guard. On a disposable isolated clone only, a separately recorded short-lived entitlement fixture may enable that test. Remove it in finally, never change original entitlement rows, and compare all original business-column fingerprints afterwards. Do not disable the subscription trigger or use a Production database as the fixture.

Compressed transport and machine receipts are implemented in transport.py, receipt.py and deploy.py. See Docs/Deployment/Transport-20261125.md for measured qualification and installation status, and Production.md for the operational protocol. deploy.py defaults to validate-only; --activate is an explicit separately authorised action. Existing raw signed releases remain supported. New compression and receipt operations require the matching qualified server tooling; do not send a compressed bundle to an old dispatcher. No routine bespoke Markdown report is required: report the JSON/text receipt summary and any exceptional failures.