HRMS 正式启用前归零校准总控

系统已跑通一条 formal validation 链路,但测试期数据不能进入正式口径。

当前 Gate

GO_LIVE_ZERO_BASELINE_CALIBRATION_APPROVAL_GATE

等待归零校准审批。

当前动作

prep only

不归零、不写库。

飞书

不反写

只做同步校准清单。

已跑通能力

链路完成

formal result → algorithm output → profile refresh → cadre conclusion validation。

当前风险

需归零

pre-go-live 数据不能作为正式结论。

当前动作

no write

只生成方案,不执行归零。

下一步

需审批

审批归档/归零 Apply。

下一步批准语句

确认执行 HRMS-GO-LIVE-ZERO-BASELINE-CALIBRATION-APPLY-1:仅按审批清单归档/归零 pre-go-live validation 数据;不删除系统资产;不反写飞书;执行前完成全量备份。

技术明细
{
  "ok": true,
  "current_gate": "GO_LIVE_ZERO_BASELINE_CALIBRATION_APPROVAL_GATE",
  "why": "HRMS 已完成一条 formal validation 链路,但其中结果、算法、画像和干部结论均属于 pre-go-live validation,正式启用前必须归档或归零。",
  "validated_chain": [
    "formal assessment_result",
    "formal algorithm output",
    "formal profile refresh",
    "cadre conclusion validation"
  ],
  "validation_chain": {
    "formal_assessment_result": {
      "result_id": "ASR_FORMAL_FD0BB4C10_PENDING_APPROVAL",
      "assignment_id": "ASMT_8EF9FA0E0C685BC0902E",
      "employee_id": "FD0BB4C10",
      "employee_name": "钟小兰",
      "subject_id": "SUBJ_EMP_FD0BB4C10",
      "template_id": "TPL_360_V1",
      "demo_result_id": "ASR_DEMO_FD0BB4C10",
      "new_assignment_id": "ASMT_PREVIEW_FD0BB4C10_TPL360_2026",
      "generated_at": "2026-05-18T07:30:25.593383+00:00",
      "backup_dir": "/var/www/talent-review/outputs/backups/formal_assessment_result_write_20260518T073024Z",
      "current_gate": "FORMAL_ALGORITHM_RUN_GATE",
      "formal_algorithm_run": false,
      "formal_profile_refresh": false,
      "formal_cadre_conclusion_generated": false,
      "feishu_writeback": false,
      "assessment_results_count_before": 66,
      "assessment_results_count_after": 67,
      "db_transaction": "committed",
      "new_formal_result": {
        "id": "a251bf1f-ae1a-40cd-9a8c-be61228a8aa1",
        "result_id": "ASR_FORMAL_FD0BB4C10_PENDING_APPROVAL",
        "risk_flags": [],
        "template_id": "TPL_360_V1",
        "total_score": 73.4,
        "generated_at": "2026-05-18T15:30:25.194043+08:00",
        "assignment_id": "ASMT_8EF9FA0E0C685BC0902E",
        "result_status": "formal_pending_algorithm",
        "evaluator_role": "ROLE_EMPLOYEE",
        "assessment_type": "360",
        "review_cycle_id": "RC_2026_Q2_EMPLOYEE_SELF_PREVIEW",
        "dimension_scores": [
          {
            "weight": 0.25,
            "dimension_id": "execution",
            "average_score": 3.67,
            "dimension_name": "结果导向与执行力",
            "question_count": 3,
            "weighted_score": 18.35
          },
          {
            "weight": 0.25,
            "dimension_id": "professional",
            "average_score": 3.67,
            "dimension_name": "岗位专业能力",
            "question_count": 3,
            "weighted_score": 18.35
          },
          {
            "weight": 0.2,
            "dimension_id": "collaboration",
            "average_score": 3.67,
            "dimension_name": "协作沟通",
            "question_count": 3,
            "weighted_score": 14.68
          },
          {
            "weight": 0.15,
            "dimension_id": "potential",
            "average_score": 3.67,
            "dimension_name": "学习成长与潜力",
            "question_count": 3,
            "weighted_score": 11.01
          },
          {
            "weight": 0.15,
            "dimension_id": "values",
            "average_score": 3.67,
            "dimension_name": "价值观与责任心",
            "question_count": 3,
            "weighted_score": 11.01
          }
        ],
        "target_employee_id": "FD0BB4C10",
        "evaluator_employee_id": "FD0BB4C10",
        "algorithm_input_mapping": "{\"subject_id\": \"SUBJ_EMP_FD0BB4C10\", \"employee_id\": \"FD0BB4C10\", \"data_purpose\": \"formal_algorithm_input_pending\", \"rollback_ref\": \"RB_ASR_FORMAL_FD0BB4C10_PENDING_APPROVAL\", \"formal_result\": true, \"feishu_writeback\": false, \"formal_algorithm_run\": false, \"answer_payload_source\": \"formal_assessment_result_write_plan_FD0BB4C10.json\", \"source_demo_result_id\": \"ASR_DEMO_FD0BB4C10\", \"formal_profile_refresh\": false, \"answer_payload_column_note\": \"assessment_results schema has no answer_payload column; retained in this mapping payload\"}"
      },
      "prechecks": {
        "assignment_exists_unique": true,
        "employee_exists": true,
        "subject_exists": true,
        "template_exists": true,
        "demo_result_exists": true,
        "target_formal_result_absent": true,
        "formal_result_for_assignment_absent": true,
        "formal_write_plan_exists": true,
        "audit_event_absent": true,
        "no_formal_algorithm_run": true,
        "no_profile_refresh": true,
        "no_feishu_writeback": true
      },
      "postchecks": {
        "assessment_results_count_increased_by_1": true,
        "new_formal_result_exists_unique": true,
        "assignment_id_correct": true,
        "employee_id_correct": true,
        "subject_id_retained_in_algorithm_input_mapping": true,
        "template_id_correct": true,
        "result_status_formal_pending_algorithm": true,
        "demo_result_unchanged": true,
        "target_assignment_unchanged": true,
        "new_assignment_unchanged": true,
        "audit_event_exists_once": true,
        "formal_algorithm_run": false,
        "formal_profile_refresh": false,
        "feishu_writeback": false
      },
      "schema_notes": [
        "assessment_results has target_employee_id rather than employee_id",
        "assessment_results has no subject_id / answer_payload / formal_result / data_purpose columns; those business attributes are retained inside algorithm_input_mapping JSON text"
      ]
    },
    "formal_algorithm_output": {
      "algorithm_result_id": "ALG_FORMAL_FD0BB4C10_2026_PREGO",
      "algorithm_run_id": "ALG_FORMAL_FD0BB4C10_2026_PREGO",
      "source_assessment_result_id": "ASR_FORMAL_FD0BB4C10_PENDING_APPROVAL",
      "assignment_id": "ASMT_8EF9FA0E0C685BC0902E",
      "employee_id": "FD0BB4C10",
      "employee_name": "钟小兰",
      "subject_id": "SUBJ_EMP_FD0BB4C10",
      "template_id": "TPL_360_V1",
      "generated_at": "2026-05-18T07:53:49.393107+00:00",
      "backup_dir": "/var/www/talent-review/outputs/backups/formal_algorithm_run_apply_20260518T075347Z",
      "current_gate": "FORMAL_PROFILE_REFRESH_GATE",
      "formal_profile_refresh": false,
      "formal_cadre_conclusion_generated": false,
      "feishu_writeback": false,
      "storage_table": "talent_algorithm_outputs",
      "audit_table": "audit_logs",
      "db_transaction": "committed",
      "prechecks": {
        "formal_result_exists_unique": true,
        "result_status_pending_algorithm": true,
        "employee_exists": true,
        "subject_exists": true,
        "assignment_exists": true,
        "template_exists": true,
        "input_fields_readable": true,
        "algorithm_rule_configs_readable": true,
        "algorithm_weight_configs_readable": true,
        "target_algorithm_result_absent": true,
        "audit_event_absent": true,
        "no_profile_refresh": true,
        "no_cadre_conclusion": true,
        "no_feishu_writeback": true
      },
      "postchecks": {
        "algorithm_result_count_increased_by_1": true,
        "new_algorithm_result_exists_unique": true,
        "employee_id_correct": true,
        "source_assessment_result_bound": true,
        "status_pre_go_live_pending_profile_refresh": true,
        "assessment_results_count_unchanged": true,
        "formal_assessment_result_unchanged": true,
        "demo_result_unchanged": true,
        "assignment_unchanged": true,
        "audit_event_exists_once": true,
        "algorithm_run_logs_unchanged": true,
        "profile_not_refreshed": true,
        "cadre_conclusion_not_generated": true,
        "feishu_not_written": true
      },
      "algorithm_output": {
        "id": "80725c1b-10f4-4ce3-9192-5778c5fecbdd",
        "created_at": "2026-05-18T15:53:48.835025+08:00",
        "employee_id": "FD0BB4C10",
        "values_score": 73.4,
        "one_vote_veto": false,
        "potential_score": 73.4,
        "review_cycle_id": "RC_2026_Q2_EMPLOYEE_SELF_PREVIEW",
        "algorithm_run_id": "ALG_FORMAL_FD0BB4C10_2026_PREGO",
        "capability_score": 73.4,
        "decision_payload": {
          "status": "formal_algorithm_pending_profile_refresh",
          "input_gaps": [
            "performance_score input unavailable; left null, not fabricated"
          ],
          "risk_flags": [],
          "subject_id": "SUBJ_EMP_FD0BB4C10",
          "talent_tags": [
            "pre_go_live_validation",
            "formal_algorithm_chain_verified"
          ],
          "template_id": "TPL_360_V1",
          "rollback_ref": "RB_ALG_FORMAL_FD0BB4C10_2026_PREGO",
          "assignment_id": "ASMT_8EF9FA0E0C685BC0902E",
          "feishu_writeback": false,
          "nine_box_position": "calibration_pending",
          "business_effective": false,
          "formal_profile_refresh": false,
          "pre_go_live_validation": true,
          "not_for_cadre_conclusion": true,
          "recommended_actions_preview": [
            "仅用于链路验证,不作为正式人事动作"
          ],
          "source_assessment_result_id": "ASR_FORMAL_FD0BB4C10_PENDING_APPROVAL",
          "formal_cadre_conclusion_generated": false
        },
        "base_talent_score": 73.4,
        "performance_score": null,
        "final_talent_score": 73.4,
        "recommended_action": "recommended_action_preview_only",
        "algorithm_output_id": "ALG_FORMAL_FD0BB4C10_2026_PREGO",
        "algorithm_explanation": "Formal algorithm validation output generated from exactly one formal assessment result. Not a cadre conclusion, not a personnel action.",
        "final_talent_decision": "pre_go_live_validation_only",
        "key_person_calibration_adjustment": 0
      },
      "algorithm_output_summary": {
        "capability_score": 73.4,
        "potential_score": 73.4,
        "values_score": 73.4,
        "performance_score": null,
        "final_talent_score": 73.4,
        "nine_box_position": "calibration_pending",
        "risk_flags": [],
        "talent_tags": [
          "pre_go_live_validation",
          "formal_algorithm_chain_verified"
        ],
        "recommended_actions_preview": [
          "仅用于链路验证,不作为正式人事动作"
        ]
      },
      "input_gaps": [
        "performance_score input unavailable; left null, not fabricated"
      ]
    },
    "formal_profile_refresh": {
      "ok": true,
      "refresh_id": "PROF_REFRESH_FD0BB4C10_2026_PREGO",
      "employee_id": "FD0BB4C10",
      "employee_name": "钟小兰",
      "subject_id": "SUBJ_EMP_FD0BB4C10",
      "source_assessment_result_id": "ASR_FORMAL_FD0BB4C10_PENDING_APPROVAL",
      "source_algorithm_result_id": "ALG_FORMAL_FD0BB4C10_2026_PREGO",
      "current_gate": "FORMAL_CADRE_CONCLUSION_GATE",
      "storage_table": "employee_assessment_profiles",
      "db_transaction": "committed",
      "prechecks": {
        "employee_exists_unique": true,
        "subject_exists_bound": true,
        "formal_assessment_result_exists": true,
        "formal_algorithm_output_exists": true,
        "source_binding_consistent": true,
        "scores_readable": true,
        "performance_score_null_input_gap": true,
        "nine_box_calibration_pending": true,
        "recommended_actions_preview_only": true,
        "no_formal_cadre_conclusion": true,
        "no_feishu_writeback": true,
        "no_permission_rule_change": true,
        "target_refresh_not_duplicate": true,
        "audit_event_absent": true,
        "safe_profile_storage_exists": true
      },
      "postchecks": {
        "profile_refresh_record_exists_unique": true,
        "employee_id_correct": true,
        "source_assessment_result_bound": true,
        "source_algorithm_result_bound": true,
        "scores_in_profile_payload": true,
        "performance_score_input_gap": true,
        "formal_cadre_conclusion_not_generated": true,
        "people_actions_not_generated": true,
        "assessment_results_unchanged": true,
        "talent_algorithm_outputs_unchanged": true,
        "employees_departments_positions_unchanged": true,
        "permission_rule_counts_unchanged": true,
        "feishu_not_written": true,
        "audit_event_exists_once": true
      },
      "refreshed_fields": {
        "refresh_id": "PROF_REFRESH_FD0BB4C10_2026_PREGO",
        "employee_id": "FD0BB4C10",
        "employee_name": "钟小兰",
        "subject_id": "SUBJ_EMP_FD0BB4C10",
        "source_assessment_result_id": "ASR_FORMAL_FD0BB4C10_PENDING_APPROVAL",
        "source_algorithm_result_id": "ALG_FORMAL_FD0BB4C10_2026_PREGO",
        "assignment_id": "ASMT_8EF9FA0E0C685BC0902E",
        "template_id": "TPL_360_V1",
        "profile_refresh_status": "profile_refresh_pending_cadre_conclusion",
        "pre_go_live_validation": true,
        "business_effective": false,
        "formal_cadre_conclusion_generated": false,
        "not_for_people_action": true,
        "capability_score": 73.4,
        "potential_score": 73.4,
        "values_score": 73.4,
        "performance_score": null,
        "performance_score_status": "input_gap",
        "final_talent_score": 73.4,
        "nine_box_position": "calibration_pending",
        "risk_flags": [],
        "talent_tags": [
          "pre_go_live_validation",
          "formal_algorithm_chain_verified"
        ],
        "recommended_actions_preview": [
          "仅用于链路验证,不作为正式人事动作"
        ],
        "forbidden_outputs": [
          "formal_cadre_conclusion",
          "people_action",
          "performance_conclusion",
          "compensation_action",
          "feishu_action_basis"
        ],
        "generated_at": "2026-05-18T08:15:22.590900+00:00",
        "audit_id": "AUD_PROF_REFRESH_FD0BB4C10_2026_PREGO_CREATE_001",
        "rollback_ref": "RB_PROF_REFRESH_FD0BB4C10_2026_PREGO"
      },
      "input_gaps": [
        "performance_score input unavailable; left null, not fabricated"
      ],
      "profile_refresh": true,
      "formal_cadre_conclusion_generated": false,
      "feishu_writeback": false,
      "business_effective": false,
      "pre_go_live_validation": true,
      "audit_id": "AUD_PROF_REFRESH_FD0BB4C10_2026_PREGO_CREATE_001",
      "rollback_ref": "RB_PROF_REFRESH_FD0BB4C10_2026_PREGO",
      "generated_at": "2026-05-18T08:15:22.590900+00:00"
    },
    "cadre_conclusion_validation": {
      "ok": true,
      "conclusion_id": "CADRE_CONCLUSION_PREGO_FD0BB4C10_2026",
      "employee_id": "FD0BB4C10",
      "employee_name": "钟小兰",
      "subject_id": "SUBJ_EMP_FD0BB4C10",
      "source_assessment_result_id": "ASR_FORMAL_FD0BB4C10_PENDING_APPROVAL",
      "source_algorithm_result_id": "ALG_FORMAL_FD0BB4C10_2026_PREGO",
      "source_profile_refresh_id": "PROF_REFRESH_FD0BB4C10_2026_PREGO",
      "current_gate": "GO_LIVE_ZERO_BASELINE_CALIBRATION_GATE",
      "db_transaction": "committed",
      "prechecks": {
        "table_exists": true,
        "employee_exists_unique": true,
        "subject_exists_bound": true,
        "formal_assessment_result_exists": true,
        "formal_algorithm_output_exists": true,
        "profile_refresh_record_exists": true,
        "source_chain_consistent": true,
        "performance_score_null_input_gap": true,
        "nine_box_calibration_pending": true,
        "recommended_actions_preview_only": true,
        "target_conclusion_not_duplicate": true,
        "audit_event_absent": true,
        "no_feishu_writeback": true,
        "no_people_action": true,
        "no_business_effective_formal_conclusion": true
      },
      "postchecks": {
        "conclusion_validation_record_exists_unique": true,
        "employee_id_correct": true,
        "source_assessment_result_bound": true,
        "source_algorithm_result_bound": true,
        "source_profile_refresh_bound": true,
        "conclusion_status_pre_go_live": true,
        "business_effective_false": true,
        "not_for_people_action_true": true,
        "not_for_feishu_writeback_true": true,
        "data_reset_required_before_go_live_true": true,
        "no_people_actions_generated": true,
        "no_feishu_writeback": true,
        "assessment_results_unchanged": true,
        "talent_algorithm_outputs_unchanged": true,
        "profile_refresh_source_unchanged": true,
        "employees_departments_positions_unchanged": true,
        "permission_rule_counts_unchanged": true,
        "audit_event_exists_once": true
      },
      "conclusion_payload": {
        "conclusion_id": "CADRE_CONCLUSION_PREGO_FD0BB4C10_2026",
        "employee_id": "FD0BB4C10",
        "employee_name": "钟小兰",
        "subject_id": "SUBJ_EMP_FD0BB4C10",
        "source_assessment_result_id": "ASR_FORMAL_FD0BB4C10_PENDING_APPROVAL",
        "source_algorithm_result_id": "ALG_FORMAL_FD0BB4C10_2026_PREGO",
        "source_profile_refresh_id": "PROF_REFRESH_FD0BB4C10_2026_PREGO",
        "conclusion_status": "pre_go_live_validation",
        "business_effective": false,
        "not_for_people_action": true,
        "not_for_feishu_writeback": true,
        "conclusion_summary_preview": "干部结论验证记录已生成;仅用于 HRMS 完整链路 pre-go-live validation,不作为正式干部结论。",
        "talent_review_level_preview": "calibration_pending",
        "nine_box_position": "calibration_pending",
        "capability_score": 73.4,
        "potential_score": 73.4,
        "values_score": 73.4,
        "performance_score": null,
        "final_talent_score": 73.4,
        "talent_tags": [
          "pre_go_live_validation",
          "formal_algorithm_chain_verified"
        ],
        "risk_flags": [],
        "recommended_actions_preview": [
          "仅用于链路验证,不作为正式人事动作"
        ],
        "input_gaps": [
          "performance_score input unavailable; left null, not fabricated"
        ],
        "pre_go_live_validation": true,
        "data_reset_required_before_go_live": true,
        "forbidden_outputs": [
          "business-effective cadre conclusion",
          "appointment recommendation",
          "promotion/demotion action",
          "compensation action",
          "Feishu writeback basis"
        ],
        "audit_id": "AUD_CADRE_CONCLUSION_PREGO_FD0BB4C10_2026_CREATE_001",
        "rollback_ref": "RB_CADRE_CONCLUSION_PREGO_FD0BB4C10_2026",
        "generated_at": "2026-05-18T08:38:54.623678+00:00"
      },
      "input_gaps": [
        "performance_score input unavailable; left null, not fabricated"
      ],
      "business_effective": false,
      "not_for_people_action": true,
      "not_for_feishu_writeback": true,
      "feishu_writeback": false,
      "audit_id": "AUD_CADRE_CONCLUSION_PREGO_FD0BB4C10_2026_CREATE_001",
      "rollback_ref": "RB_CADRE_CONCLUSION_PREGO_FD0BB4C10_2026",
      "generated_at": "2026-05-18T08:38:54.623678+00:00"
    }
  },
  "database_write": false,
  "reset_executed": false,
  "feishu_writeback": false,
  "next_approval_statement_template": "确认执行 HRMS-GO-LIVE-ZERO-BASELINE-CALIBRATION-APPLY-1:仅按审批清单归档/归零 pre-go-live validation 数据;不删除系统资产;不反写飞书;执行前完成全量备份。",
  "generated_at": "2026-05-18T08:43:47.322134+00:00"
}