{
  "schema_version": 1,
  "contract_version": 1,
  "contract_id": "glm-5.2-max-alpha/v1",
  "locked_at": "2026-07-13",
  "locked_by": "DGR-017",
  "locked_before_target_execution": true,
  "target": {
    "source_repo_id": "zai-org/GLM-5.2",
    "source_revision": "b4734de4facf877f85769a911abafc5283eab3d9",
    "gguf_repo_id": "unsloth/GLM-5.2-GGUF",
    "gguf_revision": "abc55e72527792c6e77069c99b4cb7de16fa9f23",
    "quantization": "UD-IQ1_S",
    "shard_count": 6,
    "total_bytes": 216715360960,
    "target_manifest_sha256": "0b6aed04479d204902bb64c0203f1a46cab26a47b378ecccf85237b63f6c1962",
    "architecture_snapshot_sha256": "253fbd94b06b42acc4724ec2c7f33914e2d4cc43f54a36dff6af19a80ae6ceb1",
    "reasoning_effort": "max"
  },
  "identity_and_fit": {
    "require_exact_revisions": true,
    "require_all_shard_sha256": true,
    "require_per_node_owned_tensor_report": true,
    "require_owned_tensor_union_equals_inventory": true,
    "max_unintended_tensor_overlap": 0,
    "require_no_single_node_can_admit_complete_recipe": true,
    "min_node_reserve_fraction": 0.2,
    "min_node_reserve_gib": 8.0,
    "require_measured_peak_scratch_inside_reserve": true,
    "forbid_swap": true,
    "forbid_overcommit": true,
    "forbid_mmap_only_fit_claim": true,
    "forbid_double_counted_unified_memory": true,
    "aggregate_hard_fit_floor_gib": 224.0,
    "aggregate_floor_class": "experimental_hard_fit_floor",
    "recommended_topologies": [
      "5x64GiB",
      "3x96GiB",
      "3x128GiB"
    ],
    "arithmetic_minimum_requires_measured_placement_evidence": true
  },
  "semantic_correctness": {
    "require_active_moe_routing": true,
    "require_active_shared_expert": true,
    "require_active_dsa_lightning_indexer": true,
    "require_active_sparse_attention": true,
    "require_active_indexshare_full_and_shared": true,
    "dense_attention_fallback_satisfies_alpha": false,
    "require_rendered_reasoning_effort_marker": "<|system|>Reasoning Effort: Max",
    "f32_seam_fixture_exact_match_tokens": 32,
    "f32_seam_fixture_requires_exact_match": true,
    "min_greedy_token_agreement": 0.9,
    "min_mean_state_cosine_similarity": 0.999,
    "forbid_nonfinite_tensors": true,
    "require_fail_closed_on_fingerprint_mismatch": true
  },
  "target_run": {
    "context_tokens": 16384,
    "kv_dtype": "Q8_0",
    "concurrency": 1,
    "prompt_lane_tokens": 4096,
    "min_output_tokens": 512,
    "min_output_tokens_with_natural_eos": 128,
    "require_same_switch_wired_network": true,
    "min_link_rate_gbps": 2.5,
    "recommended_link_rate_gbps": 10.0,
    "require_sentinels": [
      "coding",
      "structured_tool_call_json",
      "multi_step_reasoning"
    ],
    "require_openai_compatible_response_fields": [
      "model",
      "finish_reason",
      "usage"
    ]
  },
  "performance": {
    "min_median_decode_tokens_per_second": 0.5,
    "max_ttft_seconds_at_4096_prompt": 600,
    "max_unexplained_stall_seconds": 60,
    "warmups": 1,
    "require_per_stage_telemetry": [
      "compute",
      "queue",
      "kv",
      "seam_bytes",
      "seam_latency",
      "rss",
      "vram",
      "backend_timing"
    ],
    "quality_pass_with_speed_fail_verdict": "stop",
    "forbid_generalising_results_to_other_hardware": true
  },
  "reliability": {
    "consecutive_clean_cold_starts": 2,
    "require_cancellation_releases_buffers_and_kv": true,
    "require_worker_loss_aborts_route": true,
    "retry_policy": "from_token_zero_on_new_compatible_route",
    "forbid_silent_kv_migration": true,
    "require_reject_stale_epoch": true,
    "require_reject_duplicate_step_id": true,
    "synthetic_workers_satisfy_alpha": false,
    "layer_reduced_fixtures_satisfy_alpha": false
  },
  "storage": {
    "mounted_storage_only": true,
    "forbidden_path_prefixes": [
      "/home"
    ],
    "forbid_secrets_in_logs": true,
    "forbid_unrestricted_prompt_payloads_in_logs": true
  },
  "verdicts": [
    "alpha",
    "stop"
  ],
  "amendment_policy": "Thresholds are locked before target execution. They may not be weakened, moved, or reinterpreted after results are known. A change requires a new contract_id and contract_version under human review, and the superseded contract is retained.",
  "contract_sha256": "aab23220280c053a3c14ff559df3cb5c9e1bf7f0f7188c6519e2e9d9ad036ed9"
}
