P2_WP00_BASELINE_MANIFEST.json 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "schema_version": "1.0",
  3. "work_package": "P2-WP00",
  4. "captured_at": "2026-07-30T10:36:04+08:00",
  5. "baseline_type": "PHASE2_ENGINEERING_ENTRY",
  6. "source_control": {
  7. "phase1_release": {
  8. "commit": "1b926255374191b25716a947c44f121a0e327dd5",
  9. "tag": "v0.2.0-phase1",
  10. "remote_branch": "codex/dataops-phase1-release",
  11. "remote_verified": true
  12. },
  13. "phase2_start": {
  14. "commit": "ff42feec7dda1b8bd80d0ba0f17ea31f9ffb4d2d",
  15. "branch": "codex/dataops-phase2-platformization"
  16. }
  17. },
  18. "api_contract": {
  19. "path": "docs/architecture/OPENAPI.yaml",
  20. "operation_count": 219,
  21. "sha256": "3c578c0db381ea5a47da9e4aa46d0fbd3a721a686fef2d425a288afa9c486ab7",
  22. "git_blob": "64eb10a873e4428ffe18afb71a2a087a2f4cc3c6",
  23. "generator": "scripts/generate_openapi.py",
  24. "generated_matches_committed": true
  25. },
  26. "migration_contract": {
  27. "path": "migrations/versions",
  28. "head": "20260730_360",
  29. "file_count": 42,
  30. "git_tree": "f35859369847787a720fc7dd0f3334eec0833b94"
  31. },
  32. "release_copy_contract": {
  33. "source_path": "app",
  34. "release_copy_path": "deployment/app",
  35. "app_git_tree": "f859b4fd882f311a245ebeec5312e234d20f6658",
  36. "deployment_app_git_tree": "f859b4fd882f311a245ebeec5312e234d20f6658",
  37. "matches": true
  38. },
  39. "data_snapshot": {
  40. "scope": "LOCAL_ENGINEERING_BASELINE",
  41. "database": "PostgreSQL dataops",
  42. "enterprise_uat": false,
  43. "read_only_capture": true,
  44. "alembic_version": "20260730_360",
  45. "public_table_count": 116,
  46. "record_counts": {
  47. "users": 4,
  48. "device_assets": 4,
  49. "device_asset_source_mappings": 4,
  50. "device_quality_runs": 2,
  51. "device_quality_issues": 1,
  52. "device_operational_events": 4,
  53. "governance_audit_seals": 2
  54. },
  55. "user_status_counts": {
  56. "active": 2,
  57. "disabled": 2
  58. }
  59. },
  60. "runtime_snapshot": {
  61. "compose_project": "dataops-test",
  62. "required_healthy_services": [
  63. "backend",
  64. "frontend",
  65. "postgres",
  66. "neo4j",
  67. "minio",
  68. "kestra",
  69. "runner"
  70. ],
  71. "backend_health_http": 200,
  72. "frontend_http": 200
  73. },
  74. "verification_commands": [
  75. "PYTHONPATH=. .venv/bin/python scripts/generate_openapi.py --output /private/tmp/p2-wp00-openapi.yaml",
  76. "shasum -a 256 docs/architecture/OPENAPI.yaml /private/tmp/p2-wp00-openapi.yaml",
  77. "docker exec dataops-test-postgres-1 psql -U dataops -d dataops -At -c <read-only baseline queries>",
  78. "git ls-remote origin refs/heads/codex/dataops-phase1-release refs/tags/v0.2.0-phase1 refs/tags/v0.2.0-phase1^{}"
  79. ],
  80. "limitations": [
  81. "本清单记录本地工程环境和远端 Git 版本,不代表企业生产环境状态。",
  82. "数据计数来自第一阶段本地演示与验收数据,不能替代企业真实数据验收。",
  83. "企业业务域负责人、数据责任人、验收用户和真实数据源仍需在正式复制验收前绑定。",
  84. "配置文件和日志中的密钥、密码及令牌不进入本清单。"
  85. ]
  86. }