{ "id": "production-authenticated-readiness", "name": "production-authenticated-readiness", "title": "生产登录态只读验收", "description": "诊断生产管理员与员工验收凭据 401 的原因,在不修改账号、权限或业务数据的前提下恢复最小登录态只读验收;登录前先查锁定/失败计数和 identifier 登录语义,合同终止只验证到初始禁用按钮,并在验收前后复核回滚窗口。", "status": "in_progress", "dev_type": null, "scope": "production-auth-diagnosis-and-authenticated-readonly-acceptance", "package": null, "priority": "P1", "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": [ "server/src/routes/auth.js", "server/src/scripts/repair-oa-only-smoke-accounts.js", "server/prisma/schema.prisma", "server/src/routes/contractsRegistry.js", "client/src/pages/ContractRegistryWorkspacePage.tsx", "client/tests/e2e/live-smoke.spec.ts", "scripts/qa/run-live-smoke-readiness.sh", "deploy/trialrun/production-preflight-remote.sh", ".trellis/spec/hyb-oa/deployment-trialrun.md" ], "notes": "生产只读基线通过:公网产品 SHA 匹配已部署候选,65 条 migration applied、pending=none,三次窗口均 rollbackWindow=OPEN、terminatedRows=0。旧 admin/employee identifier 均不匹配 email/phone/employee_no;远端只读离线比对显示唯一活跃管理员 email 可解析、未锁定、failureCount=0,但现有密码不匹配;员工有 5 个活跃非管理员候选,现有验收密码对候选匹配数为 0,目标账号仍未唯一确定。登录 attempts=0、terminate POST=0、生产写入=0;扩展诊断只读 reviewer 最终 PASS。登录态 UI 验收保持 PAUSED;密码重置或员工账号选择需单独批准。", "meta": {} }