Files
chenlin 9fe9d27865 feat: checkpoint contact-cycle evaluation and RootXY PPO progress
Consolidate next-stage docs, archive superseded narratives, and preserve frozen document inputs. Retain invalid P2 pairs, partial RootXY training, failed attempts and nonselectable checkpoints as explicit limitations.

Include supervised evaluation/training, desktop GPU admission, bounded evidence and atomic-publication monitor repairs with CPU regressions. Ignore local dotenv configuration.

Validation: 1403 passed, 6 skipped for contact-cycle and related contracts/CLI tests. Full-suite legacy ABI and registration tests require Python 3.12/Torch 2.10/pxr; no runtime checks relaxed. No new physical run or accepted skill.
2026-10-15 14:18:17 +08:00

247 lines
8.1 KiB
JSON

{
"format": "skillfactory.contact-cycle-evaluation-protocol.v1",
"stage": "P1",
"status": "prospective_development_not_acceptance",
"execution_authorized": false,
"requires_parent_physics_approval": true,
"requires_P1_evidence_review": false,
"accepted_skill": false,
"optimizer_steps": 0,
"num_envs": 1,
"frozen_model": {
"candidate": "logs/contact_cycle/sim_residual_training_v1/prepared01/candidate_u0256.pt",
"candidate_sha256": "c088bb3aecaca751867118858626fd508f7a3983303802d7524353f80802cf99",
"features": "contact-cycle-sim-truth-residual-46-v1",
"learned_policy": "deterministic_mean_residual_plus_unchanged_analytic_reference",
"analytic_reference": "zero_residual_plus_unchanged_analytic_reference",
"verification": "unchanged_verify_bundle_plus_separate_new_evaluation_binding",
"selection_or_tuning": false
},
"controllers": [
"learned_policy",
"analytic_reference"
],
"seeds": [
93501
],
"trial_order": "condition_then_seed_then_controller",
"trial_count": 2,
"cycles_per_trial": 3,
"anchor_sequence": [
"A",
"B",
"A",
"B"
],
"conditions": [
{
"id": "nominal",
"scenario_id": 0,
"swing_displacement_m": [
0.025,
0.02,
0.0
],
"event_indices": []
}
],
"events": [],
"clock": {
"physics_dt_s": 0.002,
"control_ticks": 5,
"phase_durations_s": [
3.0,
1.0,
0.6,
1.4,
0.8,
2.2
],
"phase_ticks": [
1500,
500,
300,
700,
400,
1100
],
"cycle_ticks": 4500,
"evidence_phase_counts": [
1499,
500,
300,
700,
400,
1101
],
"evidence_intervals": "right_closed_initial_tick_separate",
"phase_boundary": "next_phase_at_exact_internal_boundary"
},
"command": {
"anchor_frame": "world_fixed_from_initial_ground_foot_target",
"root_target": "fixed_initial_commanded_mounting_port",
"measured_landing_reanchor": false,
"clearance_m": 0.05,
"swing_arch_m": 0.01,
"actor_target_coordinates": "world_axis_target_minus_commanded_port_origin",
"ik_target_coordinates": "inverse_rotate_actual_root_quaternion_target_minus_actual_root_position",
"noise_or_domain_randomization": false,
"reference_controller_reward_residual_changes": false
},
"thresholds": {
"functional_source": "configs/contact_cycle/simulation_functional_v1.json#gates",
"functional": {
"minimum_complete_cycles": 1,
"support_final_window_s": 0.5,
"reload_final_window_s": 0.2,
"contact_force_on_N": 2.0,
"support_reload_contact_fraction_min": 0.8,
"support_reload_load_fraction_min": 0.5,
"unload_final_window_s": 0.1,
"unload_remaining_support_fraction_max": 0.8,
"swing_gap_m_min": 0.01,
"swing_air_fraction_min": 0.8,
"swing_contiguous_air_s_min": 0.1,
"swing_xy_progress_fraction_min": 0.5,
"landing_position_error_m_max": 0.05,
"root_height_error_m_max": 0.1,
"normal_force_negative_tolerance_N": 0.5,
"root_tilt_rad_max": 0.6,
"ground_penetration_m_max": 0.002,
"auxiliary_vertical_N_max": 140.0,
"auxiliary_lever_arm_m_max": 0.06,
"guide_vertical_N_max": 1e-06,
"normalized_effort_velocity_max": 1.00001,
"joint_limit_excess_rad_max": 0.01
},
"functional_application": "each_complete_cycle_with_signed_requested_xy_progress",
"excluded_nominal_auditor_checks": [
"nominal_only",
"no_external_disturbance"
],
"replacement_condition_check": "exact_bound_trial_scenario_and_event_program",
"original_runtime_source": "source/SkillFactory/SkillFactory/legs/contact_cycle/task.py#phase_failures",
"original_runtime": {
"lift_progress_strictly_greater": 0.9,
"lift_gap_m_min": 0.02,
"lift_normal_N_max": 2.0,
"swing_gap_m_min": 0.01,
"reload_progress_strictly_greater": 0.8,
"reload_load_fraction_min": 0.5,
"root_height_below_nominal_m_max": 0.1,
"root_tilt_rad_max": 0.6,
"guide_vertical_N_exact": 0.0,
"nonfinite_allowed": false,
"premature_separation_allowed": false
},
"contact_source": "configs/contact_cycle/go2_fl_v1.json; contact_cycle/mechanics.py",
"contact": {
"force_on_N": 2.0,
"force_off_N": 0.5,
"dwell_ticks": 5,
"separation_on_m": 0.001,
"separation_off_m": 0.0005,
"initial_acquisition_deadline_tick": 100,
"initial_acquisition_load_fraction_min": 0.5,
"initial_acquisition_gap_m_max": 0.0005,
"initial_acquisition_rearmed_at_seam": false
},
"P1_margins_source": "parent_approved_prospective_development_v1_not_P0_pass_claim",
"P1_height_value_precedent": "configs/contact_cycle/acceptance_v1.json#gates.height_error_m_max",
"P1_margins": {
"root_horizontal_error_m_max": 0.03,
"root_absolute_z_error_m_max": 0.06,
"seam_to_initial_root_horizontal_drift_m_max": 0.02,
"reload_mean_3d_error_m_max": 0.02,
"reload_instantaneous_3d_error_m_max": 0.03,
"stance_slip_per_cycle_m_max": 0.03,
"stance_slip_per_run_m_max": 0.06,
"repeat_B_reload_mean_xy_drift_m_max": 0.015,
"unload_remaining_support_fraction_max": 0.7,
"premature_separation_allowed": false,
"lift_gap_m_min": 0.022,
"lift_normal_N_max": 2.0,
"lift_deadline_local_tick": 2260,
"lift_dwell_ticks": 5,
"lift_onset_phase": 2,
"reload_final_dwell_ticks": 50,
"reload_gap_m_max": 0.0005,
"reload_load_fraction_min": 0.8,
"reload_load_fraction_max": 1.2,
"reload_contact_required": true,
"reload_separation_allowed": false
},
"P1_margins_role": "gate",
"historical_swing_clearance_diagnostic_m": 0.02,
"event_delivery": {
"fired_and_completed_required": true,
"area": "duration_s_minus_ramp_s",
"area_tolerance_s": 0.002
},
"event_delivery_source": "source/SkillFactory/SkillFactory/legs/contact_cycle/mechanics.py#delivered_events"
},
"resources": {
"proposal_only": true,
"max_launches": 3,
"max_sim_step_ticks_including_initialization": 120000,
"max_rollout_ticks": 117000,
"max_initialization_reset_ticks": 3000,
"max_control_steps": 23400,
"aggregate_same_boot_window_s": 3600,
"max_artifact_bytes": 1073741824,
"cleanup_reserve_s": 120,
"P1_max_launches": 2,
"P1_launch_wall_cap_s": 600,
"P1_rollout_ticks_per_launch": 13500,
"P2_max_launches": 1,
"P2_launch_wall_cap_s": 2100,
"P2_rollout_ticks_per_launch": 90000,
"overlapping_jobs": false,
"retries_or_resume": false,
"count_hook_before_construction": true
},
"handoff": {
"seam_order": [
"physics_and_latches",
"safety_and_endpoint_snapshot",
"cycle_gate",
"command_metadata_only",
"single_reference_refresh",
"next_observation"
],
"carry_state": [
"physical_pose_velocity",
"previous_action_processed_target_residual",
"actuator_sensor_delay",
"IK_warm_start_action_refresh_count",
"contact_latches_timers",
"separation_onset_armed_premature",
"initial_acquisition",
"global_substeps",
"RNG",
"one_shot_event_scheduler"
],
"reset_or_pose_write_within_trial": false,
"completion": "protocol_complete_without_terminal_reset",
"seam_admission_failure": "stop_at_endpoint_no_extension_or_wait",
"initial_reset_per_trial": true,
"P1_separate_fresh_launch_per_controller": true,
"P2_reset_only_between_trials": true,
"failure_check": "after_each_scene_tick_before_another_sim_step",
"failure_reporting": "first_tick_all_causes_passed_prefix_only_remaining_gates_not_evaluated",
"P2_functional_failure": "retain_row_continue_matrix_if_safe",
"fatal_failures": [
"hardware",
"nonfinite",
"identity",
"illegal_reset_or_pose_write",
"storage_or_recording",
"process",
"budget_expired"
],
"pairing": "same_seed_initial_state_targets_trigger_rule_not_equal_wall_time_force_samples",
"P2_all_rows_required": true,
"P2_new_seeds_are": "development_repeatability_not_independent_robustness"
}
}