文件
hyb-oa/.trellis/tasks/08-08-production-deployment-validation/task.json
T

37 行
1.7 KiB
JSON

{
"id": "production-deployment-validation",
"name": "production-deployment-validation",
"title": "生产部署验证与迁移门禁",
"description": "以迁移状态为第一道生产部署门禁,验证预期生产目标、合同 terminated 三列迁移、运行版本、只读权限边界与首条 terminated 记录后的回滚窗口;不执行真实终止或其他业务写入。",
"status": "in_progress",
"dev_type": null,
"scope": "deployment-production-migration-gate-and-readonly-verification",
"package": null,
"priority": "P2",
"creator": "shunli",
"assignee": "shunli",
"createdAt": "2026-08-08",
"completedAt": null,
"branch": null,
"base_branch": "main",
"worktree_path": null,
"commit": null,
"pr_url": null,
"subtasks": [],
"children": [],
"parent": null,
"relatedFiles": [
"deploy/trialrun/deploy-existing.sh",
"deploy/trialrun/deploy.sh",
"deploy/trialrun/check-existing-deployment.sh",
"deploy/trialrun/deployment-contract-lib.sh",
"deploy/trialrun/validate-env-contract.js",
"deploy/trialrun/production-preflight.mjs",
"deploy/trialrun/production-preflight-remote.sh",
".trellis/spec/hyb-oa/deployment-trialrun.md",
"server/prisma/migrations/20260807193000_contract_registry_termination_workspace"
],
"notes": "部署前必须先确认预期生产目标与运行时 DATABASE_URL 身份,并在受控现场读取 migration status 原始输出;任务证据只保存脱敏副本。首条已提交 terminated 记录产生时关闭回滚窗口。生产部署、真实终止写入和企业微信/付款/审批写入均需分别受控;本 wrapper 不接受未发布提交 override。",
"meta": {}
}