{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://embodied-arena.chrishongap.chatgpt.site/wanted-10k/policy-evolution.schema.json","title":"WANTED Policy Evolution Integrity Manifest","type":"object","additionalProperties":false,"required":["profile_version","target_certification","protocol","declared_environment_count","declared_artifact_count","declared_change_event_count","declared_deployment_segment_count","baseline_artifact_sha256","environments","artifacts","changes","deployment_segments","claimed","upstream_bindings","evidence","assessor"],"properties":{"profile_version":{"const":"0.2-U1"},"target_certification":{"enum":["WANTED_LAB","WANTED_WILD","WANTED_10K"]},"protocol":{"type":"object","additionalProperties":false,"required":["inclusion_rule","resident_time_source","telemetry_boundary_rule","local_adaptation_boundary","decision_information_rule","material_change_rule","unmatched_deployed_artifacts_permitted","max_global_rollout_lag_hours","max_preregistered_staged_rollout_lag_hours"],"properties":{"inclusion_rule":{"const":"every_operator_deployed_policy_artifact_change_and_exposure_segment"},"resident_time_source":{"const":"passing_exposure_ledger_0.2-X1"},"telemetry_boundary_rule":{"const":"every_segment_boundary_is_a_signed_telemetry_event"},"local_adaptation_boundary":{"const":"online_personalization_is_not_an_update_only_when_the_learning_algorithm_is_frozen_in_the_baseline_artifact"},"decision_information_rule":{"const":"release_decisions_precede_access_to_current_cohort_outcomes_and_task_logs"},"material_change_rule":{"const":"capability_changes_create_a_new_claim_revision_and_cannot_share_ranked_exposure"},"unmatched_deployed_artifacts_permitted":{"const":false},"max_global_rollout_lag_hours":{"const":24},"max_preregistered_staged_rollout_lag_hours":{"const":168}}},"declared_environment_count":{"type":"integer","minimum":1},"declared_artifact_count":{"type":"integer","minimum":1},"declared_change_event_count":{"type":"integer","minimum":0},"declared_deployment_segment_count":{"type":"integer","minimum":1},"baseline_artifact_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"environments":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["environment_id_sha256","activated_at","terminal_at","resident_seconds","exposure_record_sha256"],"properties":{"environment_id_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"activated_at":{"type":"string","format":"date-time","pattern":"Z$"},"terminal_at":{"type":"string","format":"date-time","pattern":"Z$"},"resident_seconds":{"type":"integer","minimum":1,"maximum":36000000},"exposure_record_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}}},"artifacts":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["artifact_sha256","version","parent_artifact_sha256","release_manifest_sha256","build_provenance_sha256","safety_assessment_sha256","released_at","change_class","material_capability_change"],"properties":{"artifact_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"version":{"type":"string","minLength":1},"parent_artifact_sha256":{"oneOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}]},"release_manifest_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"build_provenance_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"safety_assessment_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"released_at":{"type":"string","format":"date-time","pattern":"Z$"},"change_class":{"enum":["baseline","configuration","bugfix","safety_hotfix","capability_update"]},"material_capability_change":{"type":"boolean"}}}},"changes":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["change_id","from_artifact_sha256","to_artifact_sha256","change_class","decision_at","rollout_started_at","rollout_completed_at","rollout_mode","rationale","cohort_outcomes_used","cohort_task_logs_used","participant_specific_targeting","preregistered_schedule_sha256","independent_safety_approval_sha256","creates_new_claim_revision"],"properties":{"change_id":{"type":"string","minLength":1},"from_artifact_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"to_artifact_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"change_class":{"enum":["configuration","bugfix","safety_hotfix","capability_update","rollback"]},"decision_at":{"type":"string","format":"date-time","pattern":"Z$"},"rollout_started_at":{"type":"string","format":"date-time","pattern":"Z$"},"rollout_completed_at":{"type":"string","format":"date-time","pattern":"Z$"},"rollout_mode":{"enum":["global_atomic","preregistered_staged","emergency_safety"]},"rationale":{"type":"string","minLength":10},"cohort_outcomes_used":{"const":false},"cohort_task_logs_used":{"const":false},"participant_specific_targeting":{"const":false},"preregistered_schedule_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"independent_safety_approval_sha256":{"oneOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}]},"creates_new_claim_revision":{"type":"boolean"}}}},"deployment_segments":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["environment_id_sha256","segment_id","artifact_sha256","started_at","ended_at","resident_seconds","activation_event_sha256","boundary_event_sha256"],"properties":{"environment_id_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"segment_id":{"type":"string","minLength":1},"artifact_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"started_at":{"type":"string","format":"date-time","pattern":"Z$"},"ended_at":{"type":"string","format":"date-time","pattern":"Z$"},"resident_seconds":{"type":"integer","minimum":1,"maximum":36000000},"activation_event_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"boundary_event_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}}},"claimed":{"type":"object","additionalProperties":false,"required":["environment_count","artifact_count","change_event_count","deployment_segment_count","resident_hours","baseline_exposure_fraction","changed_exposure_fraction","material_update_count","safety_hotfix_count","rollback_count","longest_rollout_lag_hours","participant_specific_target_count","outcome_informed_update_count","task_log_informed_update_count","rankable_revision_intact","artifact_exposure"],"properties":{"environment_count":{"type":"integer","minimum":1},"artifact_count":{"type":"integer","minimum":1},"change_event_count":{"type":"integer","minimum":0},"deployment_segment_count":{"type":"integer","minimum":1},"resident_hours":{"type":"number","minimum":0},"baseline_exposure_fraction":{"type":"number","minimum":0,"maximum":1},"changed_exposure_fraction":{"type":"number","minimum":0,"maximum":1},"material_update_count":{"type":"integer","minimum":0},"safety_hotfix_count":{"type":"integer","minimum":0},"rollback_count":{"type":"integer","minimum":0},"longest_rollout_lag_hours":{"type":"number","minimum":0},"participant_specific_target_count":{"const":0},"outcome_informed_update_count":{"const":0},"task_log_informed_update_count":{"const":0},"rankable_revision_intact":{"const":true},"artifact_exposure":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["artifact_sha256","environment_count","resident_hours","exposure_fraction"],"properties":{"artifact_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"environment_count":{"type":"integer","minimum":0},"resident_hours":{"type":"number","minimum":0},"exposure_fraction":{"type":"number","minimum":0,"maximum":1}}}}}},"upstream_bindings":{"type":"object","additionalProperties":false,"required":["exposure_integrity_sha256","telemetry_authenticity_sha256","preregistration_sha256","baseline_policy_sha256"],"properties":{"exposure_integrity_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"telemetry_authenticity_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"preregistration_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"baseline_policy_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"evidence":{"type":"object","additionalProperties":false,"required":["controlled_policy_register_uri","controlled_policy_register_sha256","release_manifest_bundle_uri","release_manifest_bundle_sha256","public_aggregate_only"],"properties":{"controlled_policy_register_uri":{"type":"string","format":"uri","pattern":"^https://"},"controlled_policy_register_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"release_manifest_bundle_uri":{"type":"string","format":"uri","pattern":"^https://"},"release_manifest_bundle_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"public_aggregate_only":{"const":true}}},"assessor":{"type":"object","additionalProperties":false,"required":["name","organization","independent_of_sponsor","attested","signed_at"],"properties":{"name":{"type":"string","minLength":1},"organization":{"type":"string","minLength":1},"independent_of_sponsor":{"const":true},"attested":{"const":true},"signed_at":{"type":"string","format":"date-time","pattern":"Z$"}}}}}