{
  "metadata": {
    "generated_at": "2026-05-27T18:05:55+08:00",
    "stage": "P1_POSITION_CAPABILITY_FILE_BASED_SANDBOX_RUNTHROUGH",
    "strategy": "file_based_sandbox_runthrough_outputs",
    "fixture_ref": "/outputs/position_capability_test_fixture_v1.json",
    "reset_plan_ref": "/outputs/position_capability_test_fixture_reset_plan_v1.json",
    "sandbox_run": true,
    "test_fixture": true,
    "business_effective": false,
    "not_for_people_action": true,
    "not_for_feishu_writeback": true,
    "writes_database": false,
    "creates_database_records": false,
    "modifies_formal_records": false,
    "formal_records_touched": 0,
    "feishu_writeback_attempted": false,
    "people_action_executed": false,
    "permission_apply_executed": false,
    "reset_required": true
  },
  "runthrough_id": "TEST_RUNTHROUGH_POSITION_CAPABILITY_001",
  "fixture_ref": "/outputs/position_capability_test_fixture_v1.json",
  "reset_plan_ref": "/outputs/position_capability_test_fixture_reset_plan_v1.json",
  "scenario_results": [
    {
      "scenario_id": "basic_position_fit_runthrough",
      "scenario_name": "基础岗位匹配跑通",
      "fixture_inputs": [
        "TEST_TENANT_001",
        "TEST_ORG_001",
        "TEST_POSITION_SPECIALIST_001",
        "TEST_EMPLOYEE_001",
        "TEST_ASSESSMENT_COMPETENCY"
      ],
      "simulated_steps": [
        "load_file_based_fixture_json",
        "validate_sandbox_flags",
        "prepare_sandbox_only_inputs",
        "produce_preview_only_expected_outputs",
        "record_reset_targets"
      ],
      "generated_test_outputs": [
        "basic_position_fit_runthrough_file_based_result",
        "basic_position_fit_runthrough_validation_summary",
        "basic_position_fit_runthrough_reset_targets"
      ],
      "forbidden_outputs": [
        "formal_record_update",
        "business_effective_output",
        "feishu_writeback",
        "people_action_execution",
        "database_record_creation"
      ],
      "validation_points": [
        "all_ids_start_with_TEST_",
        "sandbox_run_true",
        "business_effective_false",
        "not_for_people_action_true",
        "not_for_feishu_writeback_true",
        "resettable_true"
      ],
      "pass_criteria": [
        "formal_records_touched=0",
        "feishu_writeback_required=false",
        "people_action_execution_allowed=false",
        "reset_targets_recorded=true"
      ],
      "blocking_criteria": [
        "non_TEST_id_detected",
        "formal_scope_detected",
        "business_effective_true",
        "reset_target_missing",
        "database_write_attempted"
      ],
      "run_status": "passed_file_based",
      "risk_level": "medium",
      "reset_targets": [
        "test_tasks",
        "test_results",
        "test_outputs",
        "test_people_action_drafts",
        "test_permissions",
        "test_external_mappings"
      ]
    },
    {
      "scenario_id": "capability_gap_to_training_runthrough",
      "scenario_name": "能力差距到培训认证建议跑通",
      "fixture_inputs": [
        "TEST_TENANT_001",
        "TEST_ORG_001",
        "TEST_POSITION_SPECIALIST_001",
        "TEST_EMPLOYEE_001",
        "TEST_ASSESSMENT_COMPETENCY"
      ],
      "simulated_steps": [
        "load_file_based_fixture_json",
        "validate_sandbox_flags",
        "prepare_sandbox_only_inputs",
        "produce_preview_only_expected_outputs",
        "record_reset_targets"
      ],
      "generated_test_outputs": [
        "capability_gap_to_training_runthrough_file_based_result",
        "capability_gap_to_training_runthrough_validation_summary",
        "capability_gap_to_training_runthrough_reset_targets"
      ],
      "forbidden_outputs": [
        "formal_record_update",
        "business_effective_output",
        "feishu_writeback",
        "people_action_execution",
        "database_record_creation"
      ],
      "validation_points": [
        "all_ids_start_with_TEST_",
        "sandbox_run_true",
        "business_effective_false",
        "not_for_people_action_true",
        "not_for_feishu_writeback_true",
        "resettable_true"
      ],
      "pass_criteria": [
        "formal_records_touched=0",
        "feishu_writeback_required=false",
        "people_action_execution_allowed=false",
        "reset_targets_recorded=true"
      ],
      "blocking_criteria": [
        "non_TEST_id_detected",
        "formal_scope_detected",
        "business_effective_true",
        "reset_target_missing",
        "database_write_attempted"
      ],
      "run_status": "passed_file_based",
      "risk_level": "medium",
      "reset_targets": [
        "test_tasks",
        "test_results",
        "test_outputs",
        "test_people_action_drafts",
        "test_permissions",
        "test_external_mappings"
      ]
    },
    {
      "scenario_id": "promotion_readiness_runthrough",
      "scenario_name": "晋升准备度跑通",
      "fixture_inputs": [
        "TEST_TENANT_001",
        "TEST_ORG_001",
        "TEST_POSITION_SPECIALIST_001",
        "TEST_EMPLOYEE_001",
        "TEST_ASSESSMENT_COMPETENCY"
      ],
      "simulated_steps": [
        "load_file_based_fixture_json",
        "validate_sandbox_flags",
        "prepare_sandbox_only_inputs",
        "produce_preview_only_expected_outputs",
        "record_reset_targets"
      ],
      "generated_test_outputs": [
        "promotion_readiness_runthrough_file_based_result",
        "promotion_readiness_runthrough_validation_summary",
        "promotion_readiness_runthrough_reset_targets"
      ],
      "forbidden_outputs": [
        "formal_record_update",
        "business_effective_output",
        "feishu_writeback",
        "people_action_execution",
        "database_record_creation"
      ],
      "validation_points": [
        "all_ids_start_with_TEST_",
        "sandbox_run_true",
        "business_effective_false",
        "not_for_people_action_true",
        "not_for_feishu_writeback_true",
        "resettable_true"
      ],
      "pass_criteria": [
        "formal_records_touched=0",
        "feishu_writeback_required=false",
        "people_action_execution_allowed=false",
        "reset_targets_recorded=true"
      ],
      "blocking_criteria": [
        "non_TEST_id_detected",
        "formal_scope_detected",
        "business_effective_true",
        "reset_target_missing",
        "database_write_attempted"
      ],
      "run_status": "passed_file_based",
      "risk_level": "high",
      "reset_targets": [
        "test_tasks",
        "test_results",
        "test_outputs",
        "test_people_action_drafts",
        "test_permissions",
        "test_external_mappings"
      ]
    },
    {
      "scenario_id": "key_position_successor_runthrough",
      "scenario_name": "关键岗位继任跑通",
      "fixture_inputs": [
        "TEST_TENANT_001",
        "TEST_ORG_001",
        "TEST_POSITION_SPECIALIST_001",
        "TEST_EMPLOYEE_001",
        "TEST_ASSESSMENT_COMPETENCY"
      ],
      "simulated_steps": [
        "load_file_based_fixture_json",
        "validate_sandbox_flags",
        "prepare_sandbox_only_inputs",
        "produce_preview_only_expected_outputs",
        "record_reset_targets"
      ],
      "generated_test_outputs": [
        "key_position_successor_runthrough_file_based_result",
        "key_position_successor_runthrough_validation_summary",
        "key_position_successor_runthrough_reset_targets"
      ],
      "forbidden_outputs": [
        "formal_record_update",
        "business_effective_output",
        "feishu_writeback",
        "people_action_execution",
        "database_record_creation"
      ],
      "validation_points": [
        "all_ids_start_with_TEST_",
        "sandbox_run_true",
        "business_effective_false",
        "not_for_people_action_true",
        "not_for_feishu_writeback_true",
        "resettable_true"
      ],
      "pass_criteria": [
        "formal_records_touched=0",
        "feishu_writeback_required=false",
        "people_action_execution_allowed=false",
        "reset_targets_recorded=true"
      ],
      "blocking_criteria": [
        "non_TEST_id_detected",
        "formal_scope_detected",
        "business_effective_true",
        "reset_target_missing",
        "database_write_attempted"
      ],
      "run_status": "passed_file_based",
      "risk_level": "high",
      "reset_targets": [
        "test_tasks",
        "test_results",
        "test_outputs",
        "test_people_action_drafts",
        "test_permissions",
        "test_external_mappings"
      ]
    },
    {
      "scenario_id": "permission_bundle_runthrough",
      "scenario_name": "岗位权限包跑通",
      "fixture_inputs": [
        "TEST_TENANT_001",
        "TEST_ORG_001",
        "TEST_POSITION_SPECIALIST_001",
        "TEST_EMPLOYEE_001",
        "TEST_ASSESSMENT_COMPETENCY"
      ],
      "simulated_steps": [
        "load_file_based_fixture_json",
        "validate_sandbox_flags",
        "prepare_sandbox_only_inputs",
        "produce_preview_only_expected_outputs",
        "record_reset_targets"
      ],
      "generated_test_outputs": [
        "permission_bundle_runthrough_file_based_result",
        "permission_bundle_runthrough_validation_summary",
        "permission_bundle_runthrough_reset_targets"
      ],
      "forbidden_outputs": [
        "formal_record_update",
        "business_effective_output",
        "feishu_writeback",
        "people_action_execution",
        "database_record_creation"
      ],
      "validation_points": [
        "all_ids_start_with_TEST_",
        "sandbox_run_true",
        "business_effective_false",
        "not_for_people_action_true",
        "not_for_feishu_writeback_true",
        "resettable_true"
      ],
      "pass_criteria": [
        "formal_records_touched=0",
        "feishu_writeback_required=false",
        "people_action_execution_allowed=false",
        "reset_targets_recorded=true"
      ],
      "blocking_criteria": [
        "non_TEST_id_detected",
        "formal_scope_detected",
        "business_effective_true",
        "reset_target_missing",
        "database_write_attempted"
      ],
      "run_status": "passed_file_based",
      "risk_level": "high",
      "reset_targets": [
        "test_tasks",
        "test_results",
        "test_outputs",
        "test_people_action_drafts",
        "test_permissions",
        "test_external_mappings"
      ]
    },
    {
      "scenario_id": "people_action_constraint_runthrough",
      "scenario_name": "人事动作约束跑通",
      "fixture_inputs": [
        "TEST_TENANT_001",
        "TEST_ORG_001",
        "TEST_POSITION_SPECIALIST_001",
        "TEST_EMPLOYEE_001",
        "TEST_ASSESSMENT_COMPETENCY"
      ],
      "simulated_steps": [
        "load_file_based_fixture_json",
        "validate_sandbox_flags",
        "prepare_sandbox_only_inputs",
        "produce_preview_only_expected_outputs",
        "record_reset_targets"
      ],
      "generated_test_outputs": [
        "people_action_constraint_runthrough_file_based_result",
        "people_action_constraint_runthrough_validation_summary",
        "people_action_constraint_runthrough_reset_targets"
      ],
      "forbidden_outputs": [
        "formal_record_update",
        "business_effective_output",
        "feishu_writeback",
        "people_action_execution",
        "database_record_creation"
      ],
      "validation_points": [
        "all_ids_start_with_TEST_",
        "sandbox_run_true",
        "business_effective_false",
        "not_for_people_action_true",
        "not_for_feishu_writeback_true",
        "resettable_true"
      ],
      "pass_criteria": [
        "formal_records_touched=0",
        "feishu_writeback_required=false",
        "people_action_execution_allowed=false",
        "reset_targets_recorded=true"
      ],
      "blocking_criteria": [
        "non_TEST_id_detected",
        "formal_scope_detected",
        "business_effective_true",
        "reset_target_missing",
        "database_write_attempted"
      ],
      "run_status": "passed_file_based",
      "risk_level": "high",
      "reset_targets": [
        "test_tasks",
        "test_results",
        "test_outputs",
        "test_people_action_drafts",
        "test_permissions",
        "test_external_mappings"
      ]
    }
  ],
  "generated_test_outputs": {
    "test_talent_review_output": {
      "output_id": "TEST_OUTPUT_TALENT_REVIEW_001",
      "output_type": "file_based_preview",
      "business_effective": false,
      "sandbox_run": true
    },
    "test_employee_profile_output": {
      "output_id": "TEST_OUTPUT_EMPLOYEE_PROFILE_001",
      "output_type": "file_based_preview",
      "business_effective": false,
      "sandbox_run": true
    },
    "test_cadre_validation_only_output": {
      "output_id": "TEST_OUTPUT_CADRE_VALIDATION_001",
      "output_type": "validation_only_file_based",
      "business_effective": false,
      "sandbox_run": true
    },
    "test_org_capability_score": {
      "output_id": "TEST_OUTPUT_ORG_CAPABILITY_SCORE_001",
      "output_type": "file_based_score_preview",
      "business_effective": false,
      "sandbox_run": true
    },
    "test_org_canvas_draft": {
      "output_id": "TEST_OUTPUT_ORG_CANVAS_DRAFT_001",
      "output_type": "file_based_draft",
      "business_effective": false,
      "sandbox_run": true
    },
    "test_people_action_draft": {
      "output_id": "TEST_OUTPUT_PEOPLE_ACTION_DRAFT_001",
      "output_type": "file_based_draft_only",
      "real_people_action_chain_executed": false,
      "people_action_executed": false,
      "business_effective": false,
      "sandbox_run": true,
      "note": "people action draft 链路线索未确认；本输出仅为 file-based draft，不代表真实 people action draft 链路已跑通。"
    },
    "test_permission_impact_preview": {
      "output_id": "TEST_OUTPUT_PERMISSION_IMPACT_001",
      "output_type": "file_based_permission_impact_preview",
      "permission_apply_executed": false,
      "business_effective": false,
      "sandbox_run": true
    }
  },
  "created_test_records": [],
  "modified_test_records": [],
  "blocked_outputs": [],
  "validation_summary": {
    "pass_count": 6,
    "fail_count": 0,
    "blocked_count": 0,
    "formal_records_touched": 0,
    "feishu_writeback_attempted": false,
    "people_action_executed": false,
    "business_effective_outputs": 0,
    "permission_apply_executed": false,
    "reset_required": true,
    "sandbox_outputs_file_based_only": true
  },
  "reset_required": true,
  "pass_count": 6,
  "fail_count": 0,
  "blocked_count": 0,
  "blocking_reasons": []
}
