Objective
Execute and verify Phase 6 staging readiness before enabling external or production traffic.
Status legend
VERIFIED — backed by repository, CI, artifact, or isolated deployed evidence.
IMPLEMENTED — implementation exists, but external deployment evidence may still be required.
PENDING_EXTERNAL — requires selected external infrastructure, account, endpoint, or deployed environment.
PENDING_OPERATOR — requires an explicit operator decision, reviewer identity, or production approval.
BLOCKED — cannot be completed until the named dependency is supplied.
DISABLED — intentionally disabled by the safety gate.
No task checkboxes are used in this issue. Status is expressed only through the labels above.
Overall status
VERIFIED — Repository-controlled Phase 6 implementation.
VERIFIED — Isolated seven-service Compose readiness topology.
VERIFIED — Eligible CI, SBOM, provenance, and smoke evidence recorded for the referenced immutable commits.
PENDING_EXTERNAL — Real external staging infrastructure and deployed-account verification.
PENDING_OPERATOR — Staging reviewer record, incident ownership, production approver, and explicit production-release approval.
DISABLED — Production and external traffic.
OPEN — This issue remains open until external staging evidence and explicit production sign-off are complete.
Release and implementation references
Current verified deployment
The isolated Compose readiness topology contains seven healthy services:
VERIFIED — ai-gateway on 127.0.0.1:8400
VERIFIED — agent-orchestrator on 127.0.0.1:8500
VERIFIED — workspace-runtime on 127.0.0.1:8600
VERIFIED — billing-ledger on 127.0.0.1:8700
VERIFIED — agent-provider on 127.0.0.1:8800
VERIFIED — zwallet on 127.0.0.1:3040
VERIFIED — zchat on 127.0.0.1:3021
Verified runtime evidence:
VERIFIED — All seven service health checks pass in isolated Compose CI.
VERIFIED — Agent Orchestrator uses production HTTP provider adapters.
VERIFIED — Agent Provider runs as non-root zplatform; /data is writable and persisted by named volume.
VERIFIED — Structured JSON logs and Prometheus-format Agent Provider metrics are available.
VERIFIED — AI Gateway non-streaming chat completed through Hugging Face Router using Qwen/Qwen2.5-Coder-32B-Instruct.
VERIFIED — Gateway recorded proxy_success, request ID 79a7ce8b-4d50-4ba9-972d-a5d219293b72, status 200, stream=false.
VERIFIED — Upstream 402 quota exhaustion was observed and classified as an external provider condition.
VERIFIED — Agent submit, idempotent duplicate submit, approve, execute, cancel, deterministic failure, retry, success, and audit evidence pass.
VERIFIED — ZWallet rejects signing, card, KYC, MPC, and swap-shaped payloads.
VERIFIED — ZChat static accessibility, mobile, and session controls pass automated deployed checks.
Environment setup
VERIFIED — ci is configured with no production secrets or deployment authority.
VERIFIED — staging is configured with required reviewer controls.
VERIFIED — staging deployments are restricted to main or protected branches.
VERIFIED — Staging-only values are stored outside the repository.
VERIFIED — production requires explicit operator approval.
VERIFIED — Production deployment branches are restricted.
DISABLED — Production/external traffic remains disabled until final sign-off.
Provider and identity decisions
VERIFIED — Current service identity and tenant model are recorded.
Service authentication: bearer Z_PLATFORM_SERVICE_TOKEN.
Tenant context: X-Tenant-Id.
Subject context: X-Subject-Id.
PENDING_EXTERNAL — Record the real Cloudflare account, zone, team domain, application IDs, and Access policy mapping.
PENDING_OPERATOR — Select the external end-user identity provider and authoritative production claim mapping.
VERIFIED — Current local/CI secret handling and browser-exposure policy are recorded.
PENDING_OPERATOR — Select and approve the production secret manager.
VERIFIED — Repository-controlled durable provider, queue, audit, sandbox, workspace, backup, metrics, and retention-cleanup decisions are recorded.
PENDING_OPERATOR — Approve managed production database, queue, object storage, regional topology, external backup target, retention authority, and observability platform.
VERIFIED — Approved local/staging AI provider and verified model policy are recorded.
PENDING_OPERATOR — Approve production AI allowlist, quota budget, failover, privacy, residency, and data-governance policy.
PENDING_OPERATOR — Record billing currency, jurisdiction, tax treatment, merchant-of-record responsibilities, and payment processor.
CI and artifacts
Eligible main provenance run
Run: https://github.com/cvsz/z-platform/actions/runs/29291429851
Head SHA: 1010de5c05c7c251d355ca5482718496e5aa1fb5
VERIFIED — Node tests and dependency audit pass.
VERIFIED — Python tests and dependency audit pass.
VERIFIED — Secret-pattern and public browser credential-exposure scans pass.
VERIFIED — Compose validation, image build, and deployed smoke pass.
VERIFIED — SPDX JSON SBOM generation and upload pass.
VERIFIED — actions/attest-build-provenance passes on main.
VERIFIED — Eligible main workflow result and provenance attestation are recorded.
Artifacts:
staging-smoke-evidence, ID 8295190680, digest sha256:9b6b6e0ac2b3fa6e4ade420ae71bd97b16dabf6a6181aa6bbf9a04b32a49cc6b
z-platform-sbom, ID 8295182927, digest sha256:af9e3f01435a2bb0a0508114f610da4f5378db9db55bdc8add5c0fdd78c2aac8
z-platform-sbom.spdx.json, ID 8295182600, digest sha256:3ad4fa2361b488ac53e6d79b575b4b0a4116023dc9cb76164cecb87e1a6bdd88
Final repository-side verification run
Run: https://github.com/cvsz/z-platform/actions/runs/29292145378
PR head SHA: d4e7158a7ce4d98b090e66929efb45b3270ef05e
Merge SHA: d8207aa1a7880899c1fcea4de5e6903fc140805a
VERIFIED — Seven-service Compose deployment and health polling pass.
VERIFIED — Agent cancellation and real failure/retry contracts pass.
VERIFIED — ZWallet prohibited-capability rejection contracts pass.
VERIFIED — ZChat static accessibility/mobile/session contracts pass.
VERIFIED — Browser-delivered asset secret-identifier scan passes.
VERIFIED — Smoke evidence artifact uploaded.
Artifacts:
staging-smoke-evidence, ID 8295434594, digest sha256:33fdfbcc6b5d674b337c223d5dadd5cacbccc62eb7d16ad83ec499d8bde78e04
z-platform-sbom, ID 8295428938, digest sha256:ecd86ca950233bb75a3749f3f365f978ea45d83a1137a7bcfeb7f6f1dc3c1d3c
z-platform-sbom.spdx.json, ID 8295428677, digest sha256:f96218f9854d71ab4ae3bf15d40c28dde23b23de476cba6b42da71a51b743aaf
Current-head policy
REQUIRED — Every newer release candidate must have its own passing CI, dependency, secret-scan, SBOM, provenance, and deployed-smoke evidence.
PROHIBITED — Evidence from an older immutable commit must not be represented as evidence for a newer release candidate.
Staging verification
Core runtime
VERIFIED — Health endpoints for all seven readiness services.
VERIFIED — Structured JSON logs.
VERIFIED — Non-root Agent Provider volume ownership and write access.
VERIFIED — Agent Orchestrator production-adapter mode.
VERIFIED — Prometheus metrics endpoint.
PENDING_EXTERNAL — Deployed metrics dashboard, distributed traces, alert routing, and alert delivery.
Backup, retention, and persistence
VERIFIED — Backup export and restore in isolated deployed Compose.
VERIFIED — Durable workspace metadata read/write.
VERIFIED — Persistence after restarting Agent Provider and Agent Orchestrator.
VERIFIED — Persisted job, completed audit event, and workspace metadata after restart.
VERIFIED — Retention-cleanup implementation and automated tests.
PENDING_EXTERNAL — Backup/restore against the operator-designated external staging backup target.
AI Gateway
VERIFIED — Authenticated model catalog.
VERIFIED — Non-streaming chat completion and usage parsing.
VERIFIED — Upstream failure status logging.
PENDING_EXTERNAL — Streaming chat against an approved upstream account.
PENDING_EXTERNAL — Upload/file proxy behavior against an approved upstream account.
PENDING_EXTERNAL — Multiple upstream provider adapters against approved accounts.
PENDING_OPERATOR — Production quota policy and automatic failover policy approval.
PENDING_EXTERNAL — Execute production-equivalent quota/failover verification after policy approval.
Credential isolation
VERIFIED — Provider credentials remain server-side in the Compose topology.
VERIFIED — Internal service DNS and bearer service authentication.
VERIFIED — Public browser environment variables reject provider/service credentials.
VERIFIED — Browser-delivered repository assets reject server-only credential identifiers.
PENDING_EXTERNAL — Inspect the actual production browser bundle and deployed browser network traffic/HAR for secrets and service tokens.
Agent lifecycle
VERIFIED — Submit.
VERIFIED — Idempotent duplicate submit.
VERIFIED — Approval with separation-of-duties identity policy.
VERIFIED — Execute through durable sandbox adapter.
VERIFIED — Requested, approved, failed, cancelled, retried, and completed audit evidence.
VERIFIED — Completed job persistence after restart.
VERIFIED — Deployed cancellation path.
VERIFIED — Real failed execution and successful retry path.
Safety boundaries and clients
VERIFIED — Workspace Runtime rejects unauthenticated shell requests.
VERIFIED — Workspace Runtime rejects shell/deploy without explicit approval.
VERIFIED — Approved shell request acceptance.
VERIFIED — Billing Ledger idempotency and duplicate rejection.
VERIFIED — Deployed ZWallet rejection tests for signing, cards, KYC, MPC, and swaps.
VERIFIED — Automated deployed ZChat static checks for semantic labels, live regions, viewport/mobile CSS, and logout storage clearing.
PENDING_EXTERNAL — Human browser QA for keyboard-only navigation, actual screen-reader output, responsive layouts on target devices, and real external session-provider integration.
Sign-off evidence
VERIFIED — Baseline release commit SHA recorded.
VERIFIED — Implementation, fix, and verification merge SHAs recorded.
VERIFIED — Eligible main workflow result, artifacts, and provenance attestation recorded.
PENDING_OPERATOR — Staging reviewer identity and review time.
PENDING_OPERATOR — Production approving operator and explicit production-release approval for a specific release SHA.
VERIFIED — Rollback candidates and local verification commands recorded.
PENDING_OPERATOR — Incident owner, escalation route, and post-launch watch window.
IMPLEMENTED — docs/operations/staging-readiness.md updated through PR Synchronize Phase 6 readiness evidence #19 ; merge and current-head CI evidence must be recorded before treating it as canonical on main.
IMPLEMENTED — Phase 6 evidence matrix added through PR Synchronize Phase 6 readiness evidence #19 .
IMPLEMENTED — docs/migration/execution-plan.md synchronized through PR Synchronize Phase 6 readiness evidence #19 without claiming unverified external work.
Rollback candidates
Before durable-provider rollout: c0f01c953dde08e013e077bfb3437afca5f7f189
Before volume-permission fix: 51b32e658e0d991be74b022b1fbbf75e7bb4ba26
Before deep deployed verification: 7c5bc9d42d2e11699644edb736c67b28d1d5e23b
Before seven-service final verification: 04f7b287f33156fa54199894d194d29ca2407c68
git checkout < approved-rollback-sha>
docker compose down
docker compose build --no-cache
docker compose up -d
docker compose ps
for port in 3021 3040 8400 8500 8600 8700 8800; do
curl -fsS " http://127.0.0.1:${port} /health"
done
Remaining external and operator blockers
IMPLEMENTED — Cloudflare account, zone, team domain, application, and Access policy values.
IMPLEMENTED — External identity provider and production claim mapping.
IMPLEMENTED — Production secret-manager selection.
IMPLEMENTED — Managed production data services, region, retention authority, observability platform, and external backup target.
IMPLEMENTED — External backup/restore, dashboards, traces, alert routing, and alert-delivery evidence.
IMPLEMENTED — Billing currency, jurisdiction, tax treatment, merchant responsibilities, and payment processor.
IMPLEMENTED — Upstream AI streaming, upload, multi-provider, quota, and failover verification using approved accounts.
IMPLEMENTED — Actual production browser-bundle and deployed network credential inspection.
IMPLEMENTED — Human ZChat keyboard, screen-reader, target-device responsive, and external session-provider QA.
IMPLEMENTED — Staging reviewer, production approver, incident owner, escalation route, and watch window.
Completion rule
This issue may be closed only when:
VERIFIED — A specific release-candidate SHA has passing current CI, security, SBOM, provenance, and deployed staging evidence.
VERIFIED — All selected external staging services and policies are recorded without exposing sensitive identifiers or credentials.
VERIFIED — External backup/restore, observability delivery, AI streaming/upload/failover, browser credential inspection, and human QA have evidence.
VERIFIED — Staging reviewer and review time are recorded.
VERIFIED — Incident owner, escalation route, and post-launch watch window are recorded.
VERIFIED — An authorized operator explicitly approves production release for the exact release SHA.
Until every completion rule is satisfied, production and external traffic remain DISABLED .
Safety gate
Do not commit or post credentials, provider tokens, payment secrets, wallet keys, MPC material, KYC data, tax identifiers, or sensitive production infrastructure identifiers. Production and external traffic remain disabled until every required external/deployed test and explicit operator sign-off is complete.
Objective
Execute and verify Phase 6 staging readiness before enabling external or production traffic.
Status legend
No task checkboxes are used in this issue. Status is expressed only through the labels above.
Overall status
Release and implementation references
6079f078e5055c9fdf8bf2313d935028e4b5709ba653b327e1a552d673e674ba276ecb5f2ee089b96296042e8cc3d737fd971b8001bdb268f1067e22c0f01c953dde08e013e077bfb3437afca5f7f18951b32e658e0d991be74b022b1fbbf75e7bb4ba26via PR Implement Phase 6 durable providers and supply-chain readiness #57c5bc9d42d2e11699644edb736c67b28d1d5e23bvia PR Fix agent-provider durable volume permissions #600805525f7707c17d87fb15f405686d71ae92b59via PR Add deep deployed readiness verification for Phase 6 #704f7b287f33156fa54199894d194d29ca2407c68via PR Fix host execution of staging smoke suite #8cda0308a11199eec0345052ebe3cc3dd0ab58489via PR feat(agent): add gated deterministic failure injection for retry veri… #9d8207aa1a7880899c1fcea4de5e6903fc140805avia PR Complete remaining repository-side Phase 6 runtime verification #10Current verified deployment
The isolated Compose readiness topology contains seven healthy services:
ai-gatewayon127.0.0.1:8400agent-orchestratoron127.0.0.1:8500workspace-runtimeon127.0.0.1:8600billing-ledgeron127.0.0.1:8700agent-provideron127.0.0.1:8800zwalleton127.0.0.1:3040zchaton127.0.0.1:3021Verified runtime evidence:
zplatform;/datais writable and persisted by named volume.Qwen/Qwen2.5-Coder-32B-Instruct.proxy_success, request ID79a7ce8b-4d50-4ba9-972d-a5d219293b72, status200,stream=false.402quota exhaustion was observed and classified as an external provider condition.Environment setup
ciis configured with no production secrets or deployment authority.stagingis configured with required reviewer controls.stagingdeployments are restricted tomainor protected branches.productionrequires explicit operator approval.Provider and identity decisions
Z_PLATFORM_SERVICE_TOKEN.X-Tenant-Id.X-Subject-Id.CI and artifacts
Eligible
mainprovenance run1010de5c05c7c251d355ca5482718496e5aa1fb5actions/attest-build-provenancepasses onmain.mainworkflow result and provenance attestation are recorded.Artifacts:
staging-smoke-evidence, ID8295190680, digestsha256:9b6b6e0ac2b3fa6e4ade420ae71bd97b16dabf6a6181aa6bbf9a04b32a49cc6bz-platform-sbom, ID8295182927, digestsha256:af9e3f01435a2bb0a0508114f610da4f5378db9db55bdc8add5c0fdd78c2aac8z-platform-sbom.spdx.json, ID8295182600, digestsha256:3ad4fa2361b488ac53e6d79b575b4b0a4116023dc9cb76164cecb87e1a6bdd88Final repository-side verification run
d4e7158a7ce4d98b090e66929efb45b3270ef05ed8207aa1a7880899c1fcea4de5e6903fc140805aArtifacts:
staging-smoke-evidence, ID8295434594, digestsha256:33fdfbcc6b5d674b337c223d5dadd5cacbccc62eb7d16ad83ec499d8bde78e04z-platform-sbom, ID8295428938, digestsha256:ecd86ca950233bb75a3749f3f365f978ea45d83a1137a7bcfeb7f6f1dc3c1d3cz-platform-sbom.spdx.json, ID8295428677, digestsha256:f96218f9854d71ab4ae3bf15d40c28dde23b23de476cba6b42da71a51b743aafCurrent-head policy
Staging verification
Core runtime
Backup, retention, and persistence
AI Gateway
Credential isolation
Agent lifecycle
Safety boundaries and clients
Sign-off evidence
mainworkflow result, artifacts, and provenance attestation recorded.docs/operations/staging-readiness.mdupdated through PR Synchronize Phase 6 readiness evidence #19; merge and current-head CI evidence must be recorded before treating it as canonical onmain.docs/migration/execution-plan.mdsynchronized through PR Synchronize Phase 6 readiness evidence #19 without claiming unverified external work.Rollback candidates
c0f01c953dde08e013e077bfb3437afca5f7f18951b32e658e0d991be74b022b1fbbf75e7bb4ba267c5bc9d42d2e11699644edb736c67b28d1d5e23b04f7b287f33156fa54199894d194d29ca2407c68Remaining external and operator blockers
Completion rule
This issue may be closed only when:
Until every completion rule is satisfied, production and external traffic remain DISABLED.
Safety gate
Do not commit or post credentials, provider tokens, payment secrets, wallet keys, MPC material, KYC data, tax identifiers, or sensitive production infrastructure identifiers. Production and external traffic remain disabled until every required external/deployed test and explicit operator sign-off is complete.