From a034c5f007ae987a5d259a1931913a128a54e41c Mon Sep 17 00:00:00 2001 From: shunli Date: Wed, 27 May 2026 15:59:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E5=BD=95=20Day2=20=E7=9C=9F=E5=AE=9E?= =?UTF-8?q?=E8=AF=95=E8=BF=90=E8=A1=8C=E5=B7=A1=E6=A3=80=2005-26-oa-seven-?= =?UTF-8?q?day-trial-live-ops?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../spec/hyb-oa/frontend-react-vite-design.md | 5 + .../implement.md | 8 + .../authenticated-readonly-probe.json | 129 ++++++ .../authenticated-readonly-probe.log | 129 ++++++ .../authenticated-readonly-probe.step.json | 9 + .../live-feature-flags.log | 64 +++ .../live-feature-flags.step.json | 9 + .../day2-oa-real-use-daily/live-readiness.log | 45 ++ .../live-readiness.step.json | 9 + .../day2-oa-real-use-daily/live-smoke-env.log | 50 +++ .../live-smoke-env.step.json | 9 + .../live-smoke-readiness/env.json | 50 +++ .../live-smoke-readiness/live-ocr.txt | 7 + .../live-smoke-readiness/live-smoke.txt | 14 + .../live-smoke-readiness/pending-ocr.txt | 1 + .../public-bundle-copy.txt | 1 + .../live-smoke-readiness/summary.json | 11 + .../day2-oa-real-use-daily/manual-gates.md | 20 + .../mobile-entry-matrix.log | 10 + .../mobile-entry-matrix.step.json | 9 + .../oa-only-smoke-readiness.log | 392 ++++++++++++++++++ .../oa-only-smoke-readiness.step.json | 9 + .../oa-only-smoke-readiness/summary.json | 391 +++++++++++++++++ .../day2-oa-real-use-daily/public-ready.log | 1 + .../public-ready.step.json | 9 + .../report-privacy-smoke.step.json | 9 + .../day2-oa-real-use-daily/summary.json | 294 +++++++++++++ .../day2-oa-real-use-daily/summary.txt | 24 ++ .../day2-oa-real-use-daily/wecom-entry.log | 11 + .../wecom-entry.step.json | 9 + .../wecom-rendering-matrix.log | 17 + .../wecom-rendering-matrix.step.json | 9 + .../research/day2-start-summary.md | 40 ++ ...6-wecom-mobile-rendering-hardening.spec.ts | 16 + 34 files changed, 1820 insertions(+) create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/authenticated-readonly-probe.json create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/authenticated-readonly-probe.log create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/authenticated-readonly-probe.step.json create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-feature-flags.log create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-feature-flags.step.json create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-readiness.log create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-readiness.step.json create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-env.log create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-env.step.json create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/env.json create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/live-ocr.txt create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/live-smoke.txt create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/pending-ocr.txt create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/public-bundle-copy.txt create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/summary.json create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/manual-gates.md create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/mobile-entry-matrix.log create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/mobile-entry-matrix.step.json create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/oa-only-smoke-readiness.log create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/oa-only-smoke-readiness.step.json create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/oa-only-smoke-readiness/summary.json create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/public-ready.log create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/public-ready.step.json create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/report-privacy-smoke.step.json create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/summary.json create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/summary.txt create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-entry.log create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-entry.step.json create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-rendering-matrix.log create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-rendering-matrix.step.json create mode 100644 .trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-start-summary.md diff --git a/.trellis/spec/hyb-oa/frontend-react-vite-design.md b/.trellis/spec/hyb-oa/frontend-react-vite-design.md index 4bd1a81c..debc5972 100644 --- a/.trellis/spec/hyb-oa/frontend-react-vite-design.md +++ b/.trellis/spec/hyb-oa/frontend-react-vite-design.md @@ -87,6 +87,11 @@ or hidden according to the active Issue; do not silently re-enable them. - forgot-password flow calls request-code and reset endpoints; - auth-page PWA update prompt appears without clearing inputs. - UI design rules check when auth page layout changes. +- Any Playwright test that renders `/login`, `/forgot-password` or another auth + route with mocked `/api/*` responses must mock `/api/auth/capabilities` with + `emailDelivery.ready`, `emailLoginCode.enabled` and `passwordReset.enabled`. + Returning `{}` for unknown auth APIs can crash auth pages before the visual or + navigation assertion actually runs. ### 7. Wrong vs Correct diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/implement.md b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/implement.md index 1cbc64bc..f0a81093 100644 --- a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/implement.md +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/implement.md @@ -25,3 +25,11 @@ - findingCount:0 - 主报告:`research/day1-oa-real-use-daily/summary.json` - 启动摘要:`research/day1-start-summary.md` + +## Day 2 结果 + +- 运行命令:`OAOPS1_REPORT_DIR=.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily LIVE_SMOKE_BASE_URL=https://oa.hyinda.com bash scripts/qa/run-oa-real-use-daily.sh` +- 结论:`PASS_OA_REAL_USE_DAILY_READY` +- findingCount:0 +- 主报告:`research/day2-oa-real-use-daily/summary.json` +- 备注:首次运行时企业微信渲染矩阵因测试 mock 未覆盖 `/api/auth/capabilities` 报错;已补 mock 并复跑完整 Day 2 巡检通过。 diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/authenticated-readonly-probe.json b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/authenticated-readonly-probe.json new file mode 100644 index 00000000..7787f43d --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/authenticated-readonly-probe.json @@ -0,0 +1,129 @@ +{ + "mode": "oaops1-authenticated-readonly-probe", + "status": "PASS", + "baseUrl": "https://oa.hyinda.com", + "checkedAt": "2026-05-27T07:54:31.804Z", + "readOnly": true, + "duplicateRoleChecks": "employee/finance/payment/AP are covered by oa-only-smoke-readiness to avoid repeated login throttling", + "roles": { + "admin": { + "status": "PASS", + "reason": null, + "maskedIdentifier": "sm***om" + } + }, + "checks": [ + { + "id": "portal", + "role": "admin", + "path": "/api/portal/home", + "domain": "portal", + "status": "PASS", + "httpStatus": 200, + "summary": {} + }, + { + "id": "workflow-tasks", + "role": "admin", + "path": "/api/workflow/tasks?page=1&pageSize=5", + "domain": "approval", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 0, + "total": 0 + } + }, + { + "id": "reimbursements", + "role": "admin", + "path": "/api/reimbursements?page=1&pageSize=5", + "domain": "reimbursement", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 5, + "total": 33 + } + }, + { + "id": "reimbursement-summary", + "role": "admin", + "path": "/api/reimbursements/stats/summary", + "domain": "reimbursement", + "status": "PASS", + "httpStatus": 200, + "summary": { + "totalCount": 33, + "avgProcessingDays": 0 + } + }, + { + "id": "invoice-pool", + "role": "admin", + "path": "/api/invoice-pool?page=1&pageSize=5", + "domain": "invoice_ocr", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 5, + "total": 46 + } + }, + { + "id": "purchase-requests", + "role": "admin", + "path": "/api/purchase-requests?page=1&pageSize=5", + "domain": "procurement", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 0, + "total": 0 + } + }, + { + "id": "contracts-registry", + "role": "admin", + "path": "/api/contracts-registry", + "domain": "contracts", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 6, + "total": null + } + }, + { + "id": "projects", + "role": "admin", + "path": "/api/projects?page=1&pageSize=5", + "domain": "projects", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 4, + "total": null + } + }, + { + "id": "audit-logs", + "role": "admin", + "path": "/api/audit-logs?page=1&pageSize=5", + "domain": "audit", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 5, + "total": 2023 + } + } + ], + "boundaries": { + "noBusinessWrites": true, + "noExportsByDefault": true, + "noFileUploads": true, + "noWeComWrites": true, + "noRealPaymentExecution": true + } +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/authenticated-readonly-probe.log b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/authenticated-readonly-probe.log new file mode 100644 index 00000000..7787f43d --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/authenticated-readonly-probe.log @@ -0,0 +1,129 @@ +{ + "mode": "oaops1-authenticated-readonly-probe", + "status": "PASS", + "baseUrl": "https://oa.hyinda.com", + "checkedAt": "2026-05-27T07:54:31.804Z", + "readOnly": true, + "duplicateRoleChecks": "employee/finance/payment/AP are covered by oa-only-smoke-readiness to avoid repeated login throttling", + "roles": { + "admin": { + "status": "PASS", + "reason": null, + "maskedIdentifier": "sm***om" + } + }, + "checks": [ + { + "id": "portal", + "role": "admin", + "path": "/api/portal/home", + "domain": "portal", + "status": "PASS", + "httpStatus": 200, + "summary": {} + }, + { + "id": "workflow-tasks", + "role": "admin", + "path": "/api/workflow/tasks?page=1&pageSize=5", + "domain": "approval", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 0, + "total": 0 + } + }, + { + "id": "reimbursements", + "role": "admin", + "path": "/api/reimbursements?page=1&pageSize=5", + "domain": "reimbursement", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 5, + "total": 33 + } + }, + { + "id": "reimbursement-summary", + "role": "admin", + "path": "/api/reimbursements/stats/summary", + "domain": "reimbursement", + "status": "PASS", + "httpStatus": 200, + "summary": { + "totalCount": 33, + "avgProcessingDays": 0 + } + }, + { + "id": "invoice-pool", + "role": "admin", + "path": "/api/invoice-pool?page=1&pageSize=5", + "domain": "invoice_ocr", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 5, + "total": 46 + } + }, + { + "id": "purchase-requests", + "role": "admin", + "path": "/api/purchase-requests?page=1&pageSize=5", + "domain": "procurement", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 0, + "total": 0 + } + }, + { + "id": "contracts-registry", + "role": "admin", + "path": "/api/contracts-registry", + "domain": "contracts", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 6, + "total": null + } + }, + { + "id": "projects", + "role": "admin", + "path": "/api/projects?page=1&pageSize=5", + "domain": "projects", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 4, + "total": null + } + }, + { + "id": "audit-logs", + "role": "admin", + "path": "/api/audit-logs?page=1&pageSize=5", + "domain": "audit", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 5, + "total": 2023 + } + } + ], + "boundaries": { + "noBusinessWrites": true, + "noExportsByDefault": true, + "noFileUploads": true, + "noWeComWrites": true, + "noRealPaymentExecution": true + } +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/authenticated-readonly-probe.step.json b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/authenticated-readonly-probe.step.json new file mode 100644 index 00000000..faabd3c7 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/authenticated-readonly-probe.step.json @@ -0,0 +1,9 @@ +{ + "name": "authenticated-readonly-probe", + "status": "PASS", + "kind": "finding_allowed", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/authenticated-readonly-probe.log", + "checkedAt": "2026-05-27T07:54:31.990Z" +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-feature-flags.log b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-feature-flags.log new file mode 100644 index 00000000..386d5636 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-feature-flags.log @@ -0,0 +1,64 @@ +{ + "checkedAt": "2026-05-27T07:53:25.260Z", + "baseUrl": "https://oa.hyinda.com", + "status": "PASS", + "readOnly": true, + "results": [ + { + "flagKey": "payment_batch_v1", + "expectedState": "force_on", + "status": "PASS", + "item": { + "flagKey": "payment_batch_v1", + "overrideMode": "force_on", + "rolloutType": "global", + "version": 17, + "envEnabled": true, + "effectiveEnabled": true, + "effectiveReason": "flag_force_on_global" + } + }, + { + "flagKey": "erp_sync", + "expectedState": "force_off", + "status": "PASS", + "item": { + "flagKey": "erp_sync", + "overrideMode": "force_off", + "rolloutType": "global", + "version": 2, + "envEnabled": true, + "effectiveEnabled": false, + "effectiveReason": "flag_force_off" + } + }, + { + "flagKey": "attendance_v1", + "expectedState": "disabled", + "status": "PASS", + "item": { + "flagKey": "attendance_v1", + "overrideMode": "force_on", + "rolloutType": "global", + "version": 76, + "envEnabled": false, + "effectiveEnabled": false, + "effectiveReason": "env_hard_off" + } + }, + { + "flagKey": "attendance_unified_v1", + "expectedState": "enabled", + "status": "PASS", + "item": { + "flagKey": "attendance_unified_v1", + "overrideMode": "force_on", + "rolloutType": "global", + "version": 74, + "envEnabled": true, + "effectiveEnabled": true, + "effectiveReason": "flag_force_on_global" + } + } + ] +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-feature-flags.step.json b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-feature-flags.step.json new file mode 100644 index 00000000..3a68bcc0 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-feature-flags.step.json @@ -0,0 +1,9 @@ +{ + "name": "live-feature-flags", + "status": "PASS", + "kind": "finding_allowed", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-feature-flags.log", + "checkedAt": "2026-05-27T07:53:25.334Z" +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-readiness.log b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-readiness.log new file mode 100644 index 00000000..917a6475 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-readiness.log @@ -0,0 +1,45 @@ +>>> [live-readiness] 环境与公网入口检查 +[live-smoke-env] base=https://oa.hyinda.com +[live-smoke-env] publicReady=true status=200 +[live-smoke-env] wecom=ready entry=true oauth=true +[live-smoke-env] authCapabilities=true emailDelivery=true +[live-smoke-env] liveSmokeReady=true +[live-smoke-env] liveOcrReady=true +>>> [live-readiness] /ready: https://oa.hyinda.com +>>> [live-readiness] 公网资源文案扫描 +[public-bundle-copy] base=https://oa.hyinda.com scanned=92 focused=2 findings=0 +>>> [live-readiness] pending OCR 扫描 +[pending-ocr][SKIP] missing DATABASE_URL +>>> [live-readiness] 执行公网 live smoke +>>> 探活 live /ready: https://oa.hyinda.com/ready +>>> 执行 live smoke Playwright + +> client@0.1.0 test:e2e:live +> playwright test tests/e2e/live-smoke.spec.ts + + +Running 3 tests using 1 worker + +(node:276425) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. +(Use `node --trace-warnings ...` to show where the warning was created) +(node:276425) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. +(Use `node --trace-warnings ...` to show where the warning was created) + ✓ 1 tests/e2e/live-smoke.spec.ts:43:3 › live smoke › 公网基础探活与企微配置状态 (3.0s) + ✓ 2 tests/e2e/live-smoke.spec.ts:64:3 › live smoke › 管理员只读网页 smoke (9.8s) + ✓ 3 tests/e2e/live-smoke.spec.ts:106:3 › live smoke › 员工只读网页 smoke (10.0s) + + 3 passed (26.5s) +>>> [live-readiness] 执行真实 OCR 样本复核 + +Running 1 test using 1 worker + +(node:277212) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. +(Use `node --trace-warnings ...` to show where the warning was created) +(node:277212) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. +(Use `node --trace-warnings ...` to show where the warning was created) +[live-ocr] {"alias":"SAMPLE-PDF-001","status":"ocr_failed","durationMs":718,"transport":"ui","timings":{"uploadMs":718,"terminalWaitMs":0},"reasonCategory":"duplicate_or_same_invoice","fieldHits":{"invoiceId":false,"invoiceCodeOrNumber":false,"sellerName":false,"totalAmount":false,"invoiceDate":false}} + ✓ 1 tests/e2e/manual/live-invoice-ocr.spec.ts:8:1 › 手工 live 腾讯 OCR 辅助复核:真实 VAT 发票上传后进入可处理状态 (6.2s) + + 1 passed (10.0s) +[live-readiness][PASS] readiness 检查完成 +[live-readiness] report=.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-readiness.step.json b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-readiness.step.json new file mode 100644 index 00000000..1fbcfb27 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-readiness.step.json @@ -0,0 +1,9 @@ +{ + "name": "live-readiness", + "status": "PASS", + "kind": "finding_allowed", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-readiness.log", + "checkedAt": "2026-05-27T07:52:14.477Z" +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-env.log b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-env.log new file mode 100644 index 00000000..11135ed2 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-env.log @@ -0,0 +1,50 @@ +{ + "checkedAt": "2026-05-27T07:51:23.771Z", + "baseUrl": "https://oa.hyinda.com", + "liveSmokeReady": true, + "liveSmoke": { + "LIVE_SMOKE_ADMIN_IDENTIFIER": true, + "LIVE_SMOKE_ADMIN_PASSWORD": true, + "LIVE_SMOKE_EMPLOYEE_IDENTIFIER": true, + "LIVE_SMOKE_EMPLOYEE_PASSWORD": true + }, + "liveSmokeOptional": { + "LIVE_EXPECT_WECOM_STATUS": true, + "LIVE_SMOKE_MANAGER_IDENTIFIER": true, + "LIVE_SMOKE_MANAGER_PASSWORD": true, + "LIVE_SMOKE_FINANCE_IDENTIFIER": true, + "LIVE_SMOKE_FINANCE_PASSWORD": true + }, + "liveOcrReady": true, + "liveOcr": { + "userReady": true, + "invoiceSampleReady": true, + "invoiceFileProvided": true, + "invoiceFileReady": true, + "invoiceBatchDirProvided": false, + "invoiceBatchDirReady": false, + "allowDuplicate": true + }, + "missing": [], + "publicReady": { + "ok": true, + "status": 200 + }, + "wecomConfig": { + "ok": true, + "status": 200, + "statusText": "ready", + "entryEnabled": true, + "oauthEnabled": true, + "defaultReturnTo": "/mobile", + "loginUrl": "/api/auth/wecom/login?returnTo=%2Fmobile" + }, + "authCapabilities": { + "ok": true, + "status": 200, + "emailDeliveryReady": true, + "emailDeliveryReasons": [], + "emailLoginCodeEnabled": true, + "passwordResetEnabled": true + } +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-env.step.json b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-env.step.json new file mode 100644 index 00000000..66771057 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-env.step.json @@ -0,0 +1,9 @@ +{ + "name": "live-smoke-env", + "status": "PASS", + "kind": "finding_allowed", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-env.log", + "checkedAt": "2026-05-27T07:51:23.843Z" +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/env.json b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/env.json new file mode 100644 index 00000000..972d059f --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/env.json @@ -0,0 +1,50 @@ +{ + "checkedAt": "2026-05-27T07:51:24.334Z", + "baseUrl": "https://oa.hyinda.com", + "liveSmokeReady": true, + "liveSmoke": { + "LIVE_SMOKE_ADMIN_IDENTIFIER": true, + "LIVE_SMOKE_ADMIN_PASSWORD": true, + "LIVE_SMOKE_EMPLOYEE_IDENTIFIER": true, + "LIVE_SMOKE_EMPLOYEE_PASSWORD": true + }, + "liveSmokeOptional": { + "LIVE_EXPECT_WECOM_STATUS": true, + "LIVE_SMOKE_MANAGER_IDENTIFIER": true, + "LIVE_SMOKE_MANAGER_PASSWORD": true, + "LIVE_SMOKE_FINANCE_IDENTIFIER": true, + "LIVE_SMOKE_FINANCE_PASSWORD": true + }, + "liveOcrReady": true, + "liveOcr": { + "userReady": true, + "invoiceSampleReady": true, + "invoiceFileProvided": true, + "invoiceFileReady": true, + "invoiceBatchDirProvided": false, + "invoiceBatchDirReady": false, + "allowDuplicate": true + }, + "missing": [], + "publicReady": { + "ok": true, + "status": 200 + }, + "wecomConfig": { + "ok": true, + "status": 200, + "statusText": "ready", + "entryEnabled": true, + "oauthEnabled": true, + "defaultReturnTo": "/mobile", + "loginUrl": "/api/auth/wecom/login?returnTo=%2Fmobile" + }, + "authCapabilities": { + "ok": true, + "status": 200, + "emailDeliveryReady": true, + "emailDeliveryReasons": [], + "emailLoginCodeEnabled": true, + "passwordResetEnabled": true + } +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/live-ocr.txt b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/live-ocr.txt new file mode 100644 index 00000000..b2493461 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/live-ocr.txt @@ -0,0 +1,7 @@ + +Running 1 test using 1 worker + +[live-ocr] {"alias":"SAMPLE-PDF-001","status":"ocr_failed","durationMs":718,"transport":"ui","timings":{"uploadMs":718,"terminalWaitMs":0},"reasonCategory":"duplicate_or_same_invoice","fieldHits":{"invoiceId":false,"invoiceCodeOrNumber":false,"sellerName":false,"totalAmount":false,"invoiceDate":false}} + ✓ 1 tests/e2e/manual/live-invoice-ocr.spec.ts:8:1 › 手工 live 腾讯 OCR 辅助复核:真实 VAT 发票上传后进入可处理状态 (6.2s) + + 1 passed (10.0s) diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/live-smoke.txt b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/live-smoke.txt new file mode 100644 index 00000000..dcb7ee2e --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/live-smoke.txt @@ -0,0 +1,14 @@ +>>> 探活 live /ready: https://oa.hyinda.com/ready +>>> 执行 live smoke Playwright + +> client@0.1.0 test:e2e:live +> playwright test tests/e2e/live-smoke.spec.ts + + +Running 3 tests using 1 worker + + ✓ 1 tests/e2e/live-smoke.spec.ts:43:3 › live smoke › 公网基础探活与企微配置状态 (3.0s) + ✓ 2 tests/e2e/live-smoke.spec.ts:64:3 › live smoke › 管理员只读网页 smoke (9.8s) + ✓ 3 tests/e2e/live-smoke.spec.ts:106:3 › live smoke › 员工只读网页 smoke (10.0s) + + 3 passed (26.5s) diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/pending-ocr.txt b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/pending-ocr.txt new file mode 100644 index 00000000..a8739766 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/pending-ocr.txt @@ -0,0 +1 @@ +[pending-ocr][SKIP] missing DATABASE_URL diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/public-bundle-copy.txt b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/public-bundle-copy.txt new file mode 100644 index 00000000..4b7806a8 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/public-bundle-copy.txt @@ -0,0 +1 @@ +[public-bundle-copy] base=https://oa.hyinda.com scanned=92 focused=2 findings=0 diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/summary.json b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/summary.json new file mode 100644 index 00000000..53c459d1 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/summary.json @@ -0,0 +1,11 @@ +{ + "issueId": "OAOPS1", + "baseURL": "https://oa.hyinda.com", + "commit": "9d75f1c", + "checkedAt": "2026-05-27T07:52:14.413Z", + "status": "PASS", + "mode": "live-smoke-readiness", + "reportDir": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness", + "groups": null, + "notes": "公网 /ready、public bundle、pending OCR、live smoke 和真实 OCR 可用性检查;缺少凭据或样票时按脚本规则记录 SKIP。" +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/manual-gates.md b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/manual-gates.md new file mode 100644 index 00000000..772e3329 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/manual-gates.md @@ -0,0 +1,20 @@ +# OAOPS1 每日人工收口清单 + +## 员工 +- 真实报销:上传 PDF 发票,补充必要附件,提交 OA 审批。 +- 采购/费用:在 OA 创建申请,关联项目;如涉及合同,关联或补录合同台账。 +- 合同:只录入合同摘要、编号、负责人、项目、金额、线下归档位置;涉密合同正文、敏感报价和成本细节不上传公网 OA。 + +## 审批人 +- 从 OA 待办进入详情,确认报销、采购、合同或项目上下文后再审批。 +- 退回时写清需要补充的材料,避免线下口头说明替代系统记录。 + +## 出纳/财务 +- 审批通过后创建付款批次,线下银行渠道付款。 +- 上传银行回单附件后再在 OA 标记已付款。 +- 每日抽查 AP 台账、报销导出、票据状态和付款批次状态。 + +## 管理员 +- 查看本报告 summary.json 和人工问题登记。 +- 阻断项当天建修复 Issue CSV 或暂停对应流程;非阻断体验问题进入反馈池。 +- 确认 payment_batch_v1=force_on,erp_sync=force_off;图片 OCR、预算、ERP、银行流水导入、真实支付直连继续冻结。 diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/mobile-entry-matrix.log b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/mobile-entry-matrix.log new file mode 100644 index 00000000..db9a4d6b --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/mobile-entry-matrix.log @@ -0,0 +1,10 @@ + +Running 1 test using 1 worker + +(node:281919) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. +(Use `node --trace-warnings ...` to show where the warning was created) +(node:281919) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. +(Use `node --trace-warnings ...` to show where the warning was created) + ✓ 1 tests/e2e/r124-mobile-entry-matrix.spec.ts:486:3 › R124 企业微信移动入口矩阵 › 底部入口、我的二级入口、PDF 上传和草稿删除不回退到 PC 体验 (13.1s) + + 1 passed (16.8s) diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/mobile-entry-matrix.step.json b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/mobile-entry-matrix.step.json new file mode 100644 index 00000000..6cc26b06 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/mobile-entry-matrix.step.json @@ -0,0 +1,9 @@ +{ + "name": "mobile-entry-matrix", + "status": "PASS", + "kind": "finding_allowed", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/mobile-entry-matrix.log", + "checkedAt": "2026-05-27T07:54:54.815Z" +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/oa-only-smoke-readiness.log b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/oa-only-smoke-readiness.log new file mode 100644 index 00000000..38a8ff16 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/oa-only-smoke-readiness.log @@ -0,0 +1,392 @@ +{ + "issueId": "OSMOKE1", + "mode": "oa-only-smoke-readiness", + "status": "PASS_OA_ONLY_SMOKE_READY", + "conclusion": "PASS_OA_ONLY_SMOKE_READY", + "baseUrl": "https://oa.hyinda.com", + "checkedAt": "2026-05-27T07:52:19.310Z", + "businessReadOnly": true, + "readOnlyNote": "performs login/readiness probes only; no business data writes and no WeCom writes", + "privacy": "role/masked identifier/status/counts only; no password/token/secret/full email/full phone", + "targets": [ + { + "key": "admin", + "expectedRoles": [ + "admin", + "employee" + ], + "maskedIdentifier": "sm***@***.com", + "login": { + "status": "PASS", + "reason": null, + "code": null + }, + "roleMatch": "PASS", + "probes": [ + { + "id": "me", + "status": "PASS", + "httpStatus": 200, + "summary": { + "status": "active", + "notificationPushEnabled": true, + "roleCodes": [ + "admin", + "employee" + ] + } + }, + { + "id": "portal", + "status": "PASS", + "httpStatus": 200, + "summary": {} + }, + { + "id": "assets", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 7, + "total": null + } + }, + { + "id": "users", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 1, + "total": 13 + } + } + ], + "actualRoles": [ + "admin", + "employee" + ], + "missingRoles": [] + }, + { + "key": "employee", + "expectedRoles": [ + "employee" + ], + "maskedIdentifier": "sm***@***.com", + "login": { + "status": "PASS", + "reason": null, + "code": null + }, + "roleMatch": "PASS", + "probes": [ + { + "id": "me", + "status": "PASS", + "httpStatus": 200, + "summary": { + "status": "active", + "notificationPushEnabled": true, + "roleCodes": [ + "employee" + ] + } + }, + { + "id": "portal", + "status": "PASS", + "httpStatus": 200, + "summary": {} + }, + { + "id": "my-assets", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 0, + "total": null + } + } + ], + "actualRoles": [ + "employee" + ], + "missingRoles": [] + }, + { + "key": "manager", + "expectedRoles": [ + "manager", + "employee" + ], + "maskedIdentifier": "sm***@***.com", + "login": { + "status": "PASS", + "reason": null, + "code": null + }, + "roleMatch": "PASS", + "probes": [ + { + "id": "me", + "status": "PASS", + "httpStatus": 200, + "summary": { + "status": "active", + "notificationPushEnabled": true, + "roleCodes": [ + "employee", + "manager" + ] + } + }, + { + "id": "portal", + "status": "PASS", + "httpStatus": 200, + "summary": {} + }, + { + "id": "workflow", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 1, + "total": 1 + } + } + ], + "actualRoles": [ + "employee", + "manager" + ], + "missingRoles": [] + }, + { + "key": "ceo", + "expectedRoles": [ + "ceo", + "employee" + ], + "maskedIdentifier": "sm***@***.com", + "login": { + "status": "PASS", + "reason": null, + "code": null + }, + "roleMatch": "PASS", + "probes": [ + { + "id": "me", + "status": "PASS", + "httpStatus": 200, + "summary": { + "status": "active", + "notificationPushEnabled": true, + "roleCodes": [ + "ceo", + "employee" + ] + } + }, + { + "id": "portal", + "status": "PASS", + "httpStatus": 200, + "summary": {} + }, + { + "id": "dashboard", + "status": "PASS", + "httpStatus": 200, + "summary": { + "totalCount": 33, + "paidCount": 8, + "reviewingCount": 3 + } + } + ], + "actualRoles": [ + "ceo", + "employee" + ], + "missingRoles": [] + }, + { + "key": "finance", + "expectedRoles": [ + "finance", + "employee" + ], + "maskedIdentifier": "sm***@***.com", + "login": { + "status": "PASS", + "reason": null, + "code": null + }, + "roleMatch": "PASS", + "probes": [ + { + "id": "me", + "status": "PASS", + "httpStatus": 200, + "summary": { + "status": "active", + "notificationPushEnabled": true, + "roleCodes": [ + "employee", + "finance" + ] + } + }, + { + "id": "portal", + "status": "PASS", + "httpStatus": 200, + "summary": {} + }, + { + "id": "payment-batches", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 9, + "total": null + } + }, + { + "id": "ap-ledger", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 1, + "total": 33 + } + } + ], + "actualRoles": [ + "employee", + "finance" + ], + "missingRoles": [] + }, + { + "key": "finance_mgr", + "expectedRoles": [ + "finance", + "finance_mgr", + "employee" + ], + "maskedIdentifier": "sm***@***.com", + "login": { + "status": "PASS", + "reason": null, + "code": null + }, + "roleMatch": "PASS", + "probes": [ + { + "id": "me", + "status": "PASS", + "httpStatus": 200, + "summary": { + "status": "active", + "notificationPushEnabled": true, + "roleCodes": [ + "employee", + "finance", + "finance_mgr" + ] + } + }, + { + "id": "portal", + "status": "PASS", + "httpStatus": 200, + "summary": {} + }, + { + "id": "payment-batches", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 9, + "total": null + } + }, + { + "id": "ap-ledger", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 1, + "total": 33 + } + } + ], + "actualRoles": [ + "employee", + "finance", + "finance_mgr" + ], + "missingRoles": [] + }, + { + "key": "hr", + "expectedRoles": [ + "hr", + "employee" + ], + "maskedIdentifier": "sm***@***.com", + "login": { + "status": "PASS", + "reason": null, + "code": null + }, + "roleMatch": "PASS", + "probes": [ + { + "id": "me", + "status": "PASS", + "httpStatus": 200, + "summary": { + "status": "active", + "notificationPushEnabled": true, + "roleCodes": [ + "employee", + "hr" + ] + } + }, + { + "id": "portal", + "status": "PASS", + "httpStatus": 200, + "summary": {} + }, + { + "id": "wecom-archive", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 1, + "total": 9 + } + } + ], + "actualRoles": [ + "employee", + "hr" + ], + "missingRoles": [] + } + ], + "findings": [], + "boundaries": { + "noBusinessWrites": true, + "noWeComWrites": true, + "noPasswordOutput": true, + "noRealEmployeeIdentifiers": true + } +} +[oa-only-smoke-readiness] report=.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/oa-only-smoke-readiness/summary.json diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/oa-only-smoke-readiness.step.json b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/oa-only-smoke-readiness.step.json new file mode 100644 index 00000000..fabfb087 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/oa-only-smoke-readiness.step.json @@ -0,0 +1,9 @@ +{ + "name": "oa-only-smoke-readiness", + "status": "PASS", + "kind": "finding_allowed", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/oa-only-smoke-readiness.log", + "checkedAt": "2026-05-27T07:52:19.407Z" +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/oa-only-smoke-readiness/summary.json b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/oa-only-smoke-readiness/summary.json new file mode 100644 index 00000000..592fc83c --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/oa-only-smoke-readiness/summary.json @@ -0,0 +1,391 @@ +{ + "issueId": "OSMOKE1", + "mode": "oa-only-smoke-readiness", + "status": "PASS_OA_ONLY_SMOKE_READY", + "conclusion": "PASS_OA_ONLY_SMOKE_READY", + "baseUrl": "https://oa.hyinda.com", + "checkedAt": "2026-05-27T07:52:19.310Z", + "businessReadOnly": true, + "readOnlyNote": "performs login/readiness probes only; no business data writes and no WeCom writes", + "privacy": "role/masked identifier/status/counts only; no password/token/secret/full email/full phone", + "targets": [ + { + "key": "admin", + "expectedRoles": [ + "admin", + "employee" + ], + "maskedIdentifier": "sm***@***.com", + "login": { + "status": "PASS", + "reason": null, + "code": null + }, + "roleMatch": "PASS", + "probes": [ + { + "id": "me", + "status": "PASS", + "httpStatus": 200, + "summary": { + "status": "active", + "notificationPushEnabled": true, + "roleCodes": [ + "admin", + "employee" + ] + } + }, + { + "id": "portal", + "status": "PASS", + "httpStatus": 200, + "summary": {} + }, + { + "id": "assets", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 7, + "total": null + } + }, + { + "id": "users", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 1, + "total": 13 + } + } + ], + "actualRoles": [ + "admin", + "employee" + ], + "missingRoles": [] + }, + { + "key": "employee", + "expectedRoles": [ + "employee" + ], + "maskedIdentifier": "sm***@***.com", + "login": { + "status": "PASS", + "reason": null, + "code": null + }, + "roleMatch": "PASS", + "probes": [ + { + "id": "me", + "status": "PASS", + "httpStatus": 200, + "summary": { + "status": "active", + "notificationPushEnabled": true, + "roleCodes": [ + "employee" + ] + } + }, + { + "id": "portal", + "status": "PASS", + "httpStatus": 200, + "summary": {} + }, + { + "id": "my-assets", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 0, + "total": null + } + } + ], + "actualRoles": [ + "employee" + ], + "missingRoles": [] + }, + { + "key": "manager", + "expectedRoles": [ + "manager", + "employee" + ], + "maskedIdentifier": "sm***@***.com", + "login": { + "status": "PASS", + "reason": null, + "code": null + }, + "roleMatch": "PASS", + "probes": [ + { + "id": "me", + "status": "PASS", + "httpStatus": 200, + "summary": { + "status": "active", + "notificationPushEnabled": true, + "roleCodes": [ + "employee", + "manager" + ] + } + }, + { + "id": "portal", + "status": "PASS", + "httpStatus": 200, + "summary": {} + }, + { + "id": "workflow", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 1, + "total": 1 + } + } + ], + "actualRoles": [ + "employee", + "manager" + ], + "missingRoles": [] + }, + { + "key": "ceo", + "expectedRoles": [ + "ceo", + "employee" + ], + "maskedIdentifier": "sm***@***.com", + "login": { + "status": "PASS", + "reason": null, + "code": null + }, + "roleMatch": "PASS", + "probes": [ + { + "id": "me", + "status": "PASS", + "httpStatus": 200, + "summary": { + "status": "active", + "notificationPushEnabled": true, + "roleCodes": [ + "ceo", + "employee" + ] + } + }, + { + "id": "portal", + "status": "PASS", + "httpStatus": 200, + "summary": {} + }, + { + "id": "dashboard", + "status": "PASS", + "httpStatus": 200, + "summary": { + "totalCount": 33, + "paidCount": 8, + "reviewingCount": 3 + } + } + ], + "actualRoles": [ + "ceo", + "employee" + ], + "missingRoles": [] + }, + { + "key": "finance", + "expectedRoles": [ + "finance", + "employee" + ], + "maskedIdentifier": "sm***@***.com", + "login": { + "status": "PASS", + "reason": null, + "code": null + }, + "roleMatch": "PASS", + "probes": [ + { + "id": "me", + "status": "PASS", + "httpStatus": 200, + "summary": { + "status": "active", + "notificationPushEnabled": true, + "roleCodes": [ + "employee", + "finance" + ] + } + }, + { + "id": "portal", + "status": "PASS", + "httpStatus": 200, + "summary": {} + }, + { + "id": "payment-batches", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 9, + "total": null + } + }, + { + "id": "ap-ledger", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 1, + "total": 33 + } + } + ], + "actualRoles": [ + "employee", + "finance" + ], + "missingRoles": [] + }, + { + "key": "finance_mgr", + "expectedRoles": [ + "finance", + "finance_mgr", + "employee" + ], + "maskedIdentifier": "sm***@***.com", + "login": { + "status": "PASS", + "reason": null, + "code": null + }, + "roleMatch": "PASS", + "probes": [ + { + "id": "me", + "status": "PASS", + "httpStatus": 200, + "summary": { + "status": "active", + "notificationPushEnabled": true, + "roleCodes": [ + "employee", + "finance", + "finance_mgr" + ] + } + }, + { + "id": "portal", + "status": "PASS", + "httpStatus": 200, + "summary": {} + }, + { + "id": "payment-batches", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 9, + "total": null + } + }, + { + "id": "ap-ledger", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 1, + "total": 33 + } + } + ], + "actualRoles": [ + "employee", + "finance", + "finance_mgr" + ], + "missingRoles": [] + }, + { + "key": "hr", + "expectedRoles": [ + "hr", + "employee" + ], + "maskedIdentifier": "sm***@***.com", + "login": { + "status": "PASS", + "reason": null, + "code": null + }, + "roleMatch": "PASS", + "probes": [ + { + "id": "me", + "status": "PASS", + "httpStatus": 200, + "summary": { + "status": "active", + "notificationPushEnabled": true, + "roleCodes": [ + "employee", + "hr" + ] + } + }, + { + "id": "portal", + "status": "PASS", + "httpStatus": 200, + "summary": {} + }, + { + "id": "wecom-archive", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 1, + "total": 9 + } + } + ], + "actualRoles": [ + "employee", + "hr" + ], + "missingRoles": [] + } + ], + "findings": [], + "boundaries": { + "noBusinessWrites": true, + "noWeComWrites": true, + "noPasswordOutput": true, + "noRealEmployeeIdentifiers": true + } +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/public-ready.log b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/public-ready.log new file mode 100644 index 00000000..a2ab59ce --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/public-ready.log @@ -0,0 +1 @@ +{"requestId":"6ac664dc-9aa3-4232-9965-e2999b725cde","data":{"ok":true}} \ No newline at end of file diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/public-ready.step.json b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/public-ready.step.json new file mode 100644 index 00000000..d673f7ba --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/public-ready.step.json @@ -0,0 +1,9 @@ +{ + "name": "public-ready", + "status": "PASS", + "kind": "required", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/public-ready.log", + "checkedAt": "2026-05-27T07:51:23.282Z" +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/report-privacy-smoke.step.json b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/report-privacy-smoke.step.json new file mode 100644 index 00000000..a6cc087c --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/report-privacy-smoke.step.json @@ -0,0 +1,9 @@ +{ + "name": "report-privacy-smoke", + "status": "PASS", + "kind": "required", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/report-privacy-smoke.log", + "checkedAt": "2026-05-27T07:56:17.383Z" +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/summary.json b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/summary.json new file mode 100644 index 00000000..8c0d0b41 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/summary.json @@ -0,0 +1,294 @@ +{ + "issueId": "OAOPS1", + "mode": "oa-real-use-daily", + "status": "PASS_OA_REAL_USE_DAILY_READY", + "conclusion": "PASS_OA_REAL_USE_DAILY_READY", + "baseURL": "https://oa.hyinda.com", + "commit": "9d75f1c", + "checkedAt": "2026-05-27T07:56:17.292Z", + "reportRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily", + "window": { + "durationDays": 7, + "scope": "small-team-all-employees", + "realBusinessDataAllowed": true, + "fixPolicy": "blocking_same_day_issue_contract_nonblocking_feedback_pool" + }, + "oaPrimaryDomains": [ + "reimbursement_pdf_ocr", + "approval_tasks", + "procurement_expense", + "contracts_registry", + "projects", + "payment_batches", + "bank_receipt_attachments", + "ap_accounting_handoff", + "mobile_wecom_entry", + "audit" + ], + "frozenItems": [ + "image_ocr", + "complex_bpm", + "budget_control", + "erp_write", + "bank_statement_import", + "real_payment_provider", + "wecom_hr_deep_mirror", + "emergency_takeover", + "recovery_writeback", + "ruleops" + ], + "boundaries": { + "defaultReadOnlyAutomation": true, + "manualRealBusinessWritesOnly": true, + "paymentBatchExpected": "force_on", + "erpExpected": "force_off", + "actualPaymentChannel": "offline_bank_channel", + "contractSensitiveFiles": "do_not_upload_confidential_body_sensitive_quote_cost_detail_to_public_oa" + }, + "childReports": { + "liveReadiness": { + "status": "PASS", + "reportRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-readiness/summary.json", + "findingCount": 0, + "openCount": 0 + }, + "oaOnlySmokeReadiness": { + "status": "PASS_OA_ONLY_SMOKE_READY", + "reportRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/oa-only-smoke-readiness/summary.json", + "findingCount": 0, + "openCount": 0 + } + }, + "steps": { + "public-ready": { + "name": "public-ready", + "status": "PASS", + "kind": "required", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/public-ready.log", + "checkedAt": "2026-05-27T07:51:23.282Z" + }, + "live-smoke-env": { + "name": "live-smoke-env", + "status": "PASS", + "kind": "finding_allowed", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-smoke-env.log", + "checkedAt": "2026-05-27T07:51:23.843Z" + }, + "live-readiness": { + "name": "live-readiness", + "status": "PASS", + "kind": "finding_allowed", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-readiness.log", + "checkedAt": "2026-05-27T07:52:14.477Z" + }, + "oa-only-smoke-readiness": { + "name": "oa-only-smoke-readiness", + "status": "PASS", + "kind": "finding_allowed", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/oa-only-smoke-readiness.log", + "checkedAt": "2026-05-27T07:52:19.407Z" + }, + "live-feature-flags": { + "name": "live-feature-flags", + "status": "PASS", + "kind": "finding_allowed", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/live-feature-flags.log", + "checkedAt": "2026-05-27T07:53:25.334Z" + }, + "authenticated-readonly-probe": { + "name": "authenticated-readonly-probe", + "status": "PASS", + "kind": "finding_allowed", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/authenticated-readonly-probe.log", + "checkedAt": "2026-05-27T07:54:31.990Z" + }, + "mobile-entry-matrix": { + "name": "mobile-entry-matrix", + "status": "PASS", + "kind": "finding_allowed", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/mobile-entry-matrix.log", + "checkedAt": "2026-05-27T07:54:54.815Z" + }, + "wecom-rendering-matrix": { + "name": "wecom-rendering-matrix", + "status": "PASS", + "kind": "finding_allowed", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-rendering-matrix.log", + "checkedAt": "2026-05-27T07:56:03.383Z" + }, + "wecom-entry": { + "name": "wecom-entry", + "status": "PASS", + "kind": "finding_allowed", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-entry.log", + "checkedAt": "2026-05-27T07:56:17.051Z" + }, + "report-privacy-smoke": { + "name": "report-privacy-smoke", + "status": "PASS", + "kind": "required", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/report-privacy-smoke.log", + "checkedAt": "2026-05-27T07:56:17.215Z" + } + }, + "readonlyProbe": { + "mode": "oaops1-authenticated-readonly-probe", + "status": "PASS", + "baseUrl": "https://oa.hyinda.com", + "checkedAt": "2026-05-27T07:54:31.804Z", + "readOnly": true, + "duplicateRoleChecks": "employee/finance/payment/AP are covered by oa-only-smoke-readiness to avoid repeated login throttling", + "roles": { + "admin": { + "status": "PASS", + "reason": null, + "maskedIdentifier": "sm***om" + } + }, + "checks": [ + { + "id": "portal", + "role": "admin", + "path": "/api/portal/home", + "domain": "portal", + "status": "PASS", + "httpStatus": 200, + "summary": {} + }, + { + "id": "workflow-tasks", + "role": "admin", + "path": "/api/workflow/tasks?page=1&pageSize=5", + "domain": "approval", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 0, + "total": 0 + } + }, + { + "id": "reimbursements", + "role": "admin", + "path": "/api/reimbursements?page=1&pageSize=5", + "domain": "reimbursement", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 5, + "total": 33 + } + }, + { + "id": "reimbursement-summary", + "role": "admin", + "path": "/api/reimbursements/stats/summary", + "domain": "reimbursement", + "status": "PASS", + "httpStatus": 200, + "summary": { + "totalCount": 33, + "avgProcessingDays": 0 + } + }, + { + "id": "invoice-pool", + "role": "admin", + "path": "/api/invoice-pool?page=1&pageSize=5", + "domain": "invoice_ocr", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 5, + "total": 46 + } + }, + { + "id": "purchase-requests", + "role": "admin", + "path": "/api/purchase-requests?page=1&pageSize=5", + "domain": "procurement", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 0, + "total": 0 + } + }, + { + "id": "contracts-registry", + "role": "admin", + "path": "/api/contracts-registry", + "domain": "contracts", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 6, + "total": null + } + }, + { + "id": "projects", + "role": "admin", + "path": "/api/projects?page=1&pageSize=5", + "domain": "projects", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 4, + "total": null + } + }, + { + "id": "audit-logs", + "role": "admin", + "path": "/api/audit-logs?page=1&pageSize=5", + "domain": "audit", + "status": "PASS", + "httpStatus": 200, + "summary": { + "itemCount": 5, + "total": 2023 + } + } + ], + "boundaries": { + "noBusinessWrites": true, + "noExportsByDefault": true, + "noFileUploads": true, + "noWeComWrites": true, + "noRealPaymentExecution": true + } + }, + "findingCount": 0, + "findings": [], + "manualGates": { + "dailyCloseout": "管理员每日查看 summary.json 和 manual-gates.md,阻断即修,非阻断入反馈池。", + "day7Closeout": [ + "A:接受 PASS_OA_REAL_USE_READY,进入下一轮体验/效率优化。", + "B:接受 PASS_WITH_FINDINGS,但先处理指定 finding。", + "C:暂停真实使用扩展,先做整改。" + ] + }, + "privacy": "status/count/report-path summaries only; no phone/email/token/Secret/EncodingAESKey/full external ids/full invoice image/full bank receipt/full contract body/raw payload" +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/summary.txt b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/summary.txt new file mode 100644 index 00000000..bb522072 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/summary.txt @@ -0,0 +1,24 @@ +[oaops1] loaded masked live smoke env file +>>> [oaops1] public-ready +[oaops1][PASS] public-ready +>>> [oaops1] live-smoke-env +[oaops1][PASS] live-smoke-env +>>> [oaops1] live-readiness +[oaops1][PASS] live-readiness +>>> [oaops1] oa-only-smoke-readiness +[oaops1][PASS] oa-only-smoke-readiness +[oaops1] login cooldown 65s before live-feature-flags +>>> [oaops1] live-feature-flags +[oaops1][PASS] live-feature-flags +[oaops1] login cooldown 65s before authenticated-readonly-probe +>>> [oaops1] authenticated-readonly-probe +[oaops1][PASS] authenticated-readonly-probe +>>> [oaops1] mobile-entry-matrix +[oaops1][PASS] mobile-entry-matrix +>>> [oaops1] wecom-rendering-matrix +[oaops1][PASS] wecom-rendering-matrix +>>> [oaops1] wecom-entry +[oaops1][PASS] wecom-entry +[oaops1][PASS] report-privacy-smoke +[oaops1][PASS] report-privacy-smoke +[oaops1] report=.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-entry.log b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-entry.log new file mode 100644 index 00000000..ade6d918 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-entry.log @@ -0,0 +1,11 @@ + +Running 2 tests using 1 worker + +(node:284358) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. +(Use `node --trace-warnings ...` to show where the warning was created) +(node:284358) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. +(Use `node --trace-warnings ...` to show where the warning was created) + ✓ 1 tests/e2e/wecom-entry.spec.ts:56:1 › E2E 企微入口:普通浏览器下只提示企业微信工作台打开 (2.0s) + ✓ 2 tests/e2e/wecom-entry.spec.ts:66:1 › E2E 企微入口:企业微信场景优先显示企微 CTA,并展示未绑定提示 (1.9s) + + 2 passed (7.5s) diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-entry.step.json b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-entry.step.json new file mode 100644 index 00000000..d0eb9dea --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-entry.step.json @@ -0,0 +1,9 @@ +{ + "name": "wecom-entry", + "status": "PASS", + "kind": "finding_allowed", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-entry.log", + "checkedAt": "2026-05-27T07:56:17.051Z" +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-rendering-matrix.log b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-rendering-matrix.log new file mode 100644 index 00000000..83297954 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-rendering-matrix.log @@ -0,0 +1,17 @@ + +Running 8 tests using 1 worker + +(node:282622) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. +(Use `node --trace-warnings ...` to show where the warning was created) +(node:282622) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. +(Use `node --trace-warnings ...` to show where the warning was created) + ✓ 1 tests/e2e/r6-wecom-mobile-rendering-hardening.spec.ts:588:7 › WCM6 企业微信多手机移动渲染稳定化 › 320 iPhone 企业微信 › 核心移动入口使用 SVG 图标且跨视口不挤压 (7.0s) + ✓ 2 tests/e2e/r6-wecom-mobile-rendering-hardening.spec.ts:588:7 › WCM6 企业微信多手机移动渲染稳定化 › 360 Android 企业微信 › 核心移动入口使用 SVG 图标且跨视口不挤压 (7.8s) + ✓ 3 tests/e2e/r6-wecom-mobile-rendering-hardening.spec.ts:588:7 › WCM6 企业微信多手机移动渲染稳定化 › 375 iPhone 企业微信 › 核心移动入口使用 SVG 图标且跨视口不挤压 (7.0s) + ✓ 4 tests/e2e/r6-wecom-mobile-rendering-hardening.spec.ts:588:7 › WCM6 企业微信多手机移动渲染稳定化 › 390 iPhone12 企业微信 › 核心移动入口使用 SVG 图标且跨视口不挤压 (7.7s) + ✓ 5 tests/e2e/r6-wecom-mobile-rendering-hardening.spec.ts:588:7 › WCM6 企业微信多手机移动渲染稳定化 › 393 Android 企业微信 › 核心移动入口使用 SVG 图标且跨视口不挤压 (7.4s) + ✓ 6 tests/e2e/r6-wecom-mobile-rendering-hardening.spec.ts:588:7 › WCM6 企业微信多手机移动渲染稳定化 › 414 iPhone 企业微信 › 核心移动入口使用 SVG 图标且跨视口不挤压 (6.6s) + ✓ 7 tests/e2e/r6-wecom-mobile-rendering-hardening.spec.ts:588:7 › WCM6 企业微信多手机移动渲染稳定化 › 430 iPhone 企业微信 › 核心移动入口使用 SVG 图标且跨视口不挤压 (7.4s) + ✓ 8 tests/e2e/r6-wecom-mobile-rendering-hardening.spec.ts:604:5 › WCM6 企业微信多手机移动渲染稳定化 › 390 iPhone12 企业微信 字体失败 › Material Symbols 字体失败时核心移动入口仍稳定 (7.8s) + + 8 passed (1.0m) diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-rendering-matrix.step.json b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-rendering-matrix.step.json new file mode 100644 index 00000000..714fb323 --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-rendering-matrix.step.json @@ -0,0 +1,9 @@ +{ + "name": "wecom-rendering-matrix", + "status": "PASS", + "kind": "finding_allowed", + "code": 0, + "detail": "ok", + "logRef": ".trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-oa-real-use-daily/wecom-rendering-matrix.log", + "checkedAt": "2026-05-27T07:56:03.383Z" +} diff --git a/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-start-summary.md b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-start-summary.md new file mode 100644 index 00000000..c2f6e87b --- /dev/null +++ b/.trellis/tasks/05-26-oa-seven-day-trial-live-ops/research/day2-start-summary.md @@ -0,0 +1,40 @@ +# Day 2 巡检摘要 + +## 结论 + +`PASS_OA_REAL_USE_DAILY_READY` + +2026-05-27 Day 2 只读自动巡检通过,findingCount 为 0。自动化仍保持只读边界,没有创建、提交、审批、付款、导出或写入企业微信数据。 + +## 自动巡检结果 + +| 项目 | 结论 | +| --- | --- | +| `/ready` | PASS | +| live smoke 环境 | PASS | +| live readiness | PASS | +| OA-only 角色只读 smoke | PASS | +| 功能开关 | PASS | +| 认证只读探针 | PASS | +| 移动入口矩阵 | PASS | +| 企业微信多视口渲染矩阵 | PASS | +| 企业微信入口 | PASS | +| 报告隐私扫描 | PASS | + +## 关键边界 + +- `payment_batch_v1=force_on`。 +- `erp_sync=force_off`。 +- 冻结项未被误开启。 +- OCR live 样票进入重复/相同发票的可解释终态,不作为阻断。 + +## 备注 + +首次运行时企业微信渲染矩阵因测试 mock 缺少 `/api/auth/capabilities` 报错。已补充测试 mock,并将该契约沉淀到前端 spec;复跑完整 Day 2 巡检后通过。 + +## 证据 + +- 主报告:`research/day2-oa-real-use-daily/summary.json` +- 人工每日收口清单:`research/day2-oa-real-use-daily/manual-gates.md` +- live readiness 子报告:`research/day2-oa-real-use-daily/live-smoke-readiness/summary.json` +- OA-only smoke 子报告:`research/day2-oa-real-use-daily/oa-only-smoke-readiness/summary.json` diff --git a/client/tests/e2e/r6-wecom-mobile-rendering-hardening.spec.ts b/client/tests/e2e/r6-wecom-mobile-rendering-hardening.spec.ts index 6bffbddb..50681994 100644 --- a/client/tests/e2e/r6-wecom-mobile-rendering-hardening.spec.ts +++ b/client/tests/e2e/r6-wecom-mobile-rendering-hardening.spec.ts @@ -113,6 +113,22 @@ async function mockApis(page: Page) { return; } + if (pathName === "/api/auth/capabilities") { + await fulfillJson(route, { + emailDelivery: { + ready: true, + statusReasons: [], + }, + emailLoginCode: { + enabled: true, + }, + passwordReset: { + enabled: true, + }, + }); + return; + } + if (pathName === "/api/auth/wecom/config") { await fulfillJson(route, { enabled: true,