Files
ai-contract-platform/project-docs/V2-phase3-delivery-closeout-status-2026-07-03.md
T
yuqei a3bb78e06b
Security Quality Gate / npm audit, Bandit, pip-audit, detect-secrets (pull_request) Failing after 16m35s
release: freeze V2 release candidate
2026-07-12 15:32:24 +08:00

67 lines
4.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# AI 合同平台 V2 Phase 3 交付闭环状态
日期:2026-07-11
## 结论
本次对照待收口清单复核后,功能开发项已经闭环,发布验证项也已经有最新通过记录。
仍需保留的不是开发缺口,而是上线前运维决策项:
- Trace governance:smoke 可继续开启观察,production 暂不开启。
- 24 小时 smoke 观察:列为上线前检查项,不阻塞当前开发。
- GitHub self-hosted runner:需要确认 `yuqei-smoke` label 和访问 `192.168.3.90` 的网络条件。
## 功能闭环状态
| 项目 | 状态 | 依据 |
| --- | --- | --- |
| Phase 3 Slice 3.6 发布快照表 | 已完成 | `template_published_snapshots`、`legal_asset_published_snapshots` 迁移、模型、schema-check、读路径和 smoke 验证均已完成 |
| 模板起草使用发布快照 | 已完成 | 模板起草优先读取 `template_published_snapshots`,旧 lifecycle metadata 仅作 fallback |
| 条款推荐和规则命中使用发布快照 | 已完成 | 条款推荐、规则下线边界、规则命中已在 smoke 中验证 |
| 法规变更影响扫描使用发布快照 | 已完成 | 影响扫描已验证读取模板/条款/规则发布快照 |
| 精选法律全文版本化 | 已完成 | `legal_fulltext_versions` 已迁移并在 smoke PostgreSQL 中验证 |
| 法规变更影响扫描基于法律版本 | 已完成 | 法律条文列表/详情和影响扫描已验证使用版本表 |
| AI Platform tenant/Trace 治理 | 已完成 | 知识库、AI Trace、质量动作 tenant 字段,Trace 脱敏/保留/归档字段和策略表已完成 |
| Trace governance worker | 已完成,生产暂不开启 | worker run-once、定时 loop、策略配置和管理页已完成;生产启用等待长窗口观察 |
| Provider/OCR secret ref | 已完成 | Provider/OCR key 支持 secret ref,运行时解析和 API 兼容已完成 |
| pgvector schema-check | 已完成 | schema-check 覆盖 vector 扩展、维度和 HNSW 索引 |
## 质量门状态
| 项目 | 状态 | 最新依据 |
| --- | --- | --- |
| Docker smoke | 通过 | `project-docs/qa-artifacts/v2-smoke-docker-deploy/2026-07-11T14-47-14/v2-smoke-docker-deploy-summary.json` |
| Contract API schema-check | 通过 | `status=ok`,发布质量门实时请求通过 |
| AI Platform schema-check | 通过 | `status=ok`,发布质量门实时请求通过 |
| 接口压测 | 通过 | `project-docs/qa-artifacts/v2-release-quality-gate/2026-07-11T17-02-36/interface-benchmark/interface-benchmark-summary.json` |
| 安全扫描 | 通过 | `project-docs/qa-artifacts/v2-security-scan/2026-07-11T15-46-09`,npm audit、Bandit、pip-audit 均 0 漏洞/0 findings |
| CI 质量门 | 已固化 | `.github/workflows/security-quality-gate.yml`、`.github/workflows/release-quality-gate.yml` |
| 部署文档 | 已更新 | `yuqei-infra/README.md`、`project-docs/V2-deploy-runbook-2026-06-26.md`、`project-docs/V2-release-quality-gate-ci-hardening-2026-07-03.md` |
## 最新接口压测摘要
Artifact:
`project-docs/qa-artifacts/v2-release-quality-gate/2026-07-11T17-02-36/interface-benchmark/interface-benchmark-summary.json`
| 场景 | p95 | 错误率 | 阈值 | 结果 |
| --- | ---: | ---: | ---: | --- |
| contract_list | 211.37 ms | 0% | 500 ms | 通过 |
| contract_detail | 283.48 ms | 0% | 500 ms | 通过 |
| approval_todo | 153.12 ms | 0% | 500 ms | 通过 |
| unified_search | 118.30 ms | 0% | 500 ms | 通过 |
| ai_trace | 250.03 ms | 0% | 1500 ms | 通过 |
| knowledge_documents_search | 77.55 ms | 0% | 800 ms | 通过 |
| knowledge_chunks_hybrid_search | 90.76 ms | 0% | 1500 ms | 通过 |
## 当前未完成项
没有必须继续编码的功能缺口。
上线前仍需执行的运维检查:
1. 观察 Trace governance smoke 长窗口数据,确认 worker heartbeat、execution 失败率、脱敏/归档计数稳定。
2. 确认 GitHub self-hosted runner 已注册 `yuqei-smoke` label,并能访问 `192.168.3.90`。
3. 生产替换前再跑一次强制新鲜发布质量门:`--run-benchmark` 或 `--max-smoke-summary-age-hours 24 --max-benchmark-summary-age-hours 24`。