{
  "task": "HRMS_FEISHU_READONLY_TOKEN_PROVIDER_AND_REFRESH_ENDPOINT_BLOCKER_REVIEW_PACK_Z5A",
  "generated_at": "2026-06-03T16:41:11+08:00",
  "readiness_drift_summary": {
    "z4_ready_source": "prior readiness JSON + code/file evidence + schema validation",
    "z5_apply_source": "live readiness/contract endpoint hard checks",
    "root_cause": "token cache expired/unusable and missing safe refresh-dry-run route",
    "confidence": "high",
    "reasons": [
      "Z4 prep relied partly on prior static readiness JSON and code/file evidence; Z5 used the live readiness endpoint as hard gate.",
      "Live readiness shows token_cache_expired/ttl_seconds<=0, so provider_usable is false at apply time.",
      "Refresh service code exists, but router does not expose a safe callable refresh-dry-run endpoint.",
      "Live readiness next_gate=FEISHU_READONLY_TOKEN_CACHE_REMEDIATION_PREVIEW_GATE."
    ]
  },
  "current_readiness_metadata": {
    "ok": true,
    "provider_installed": true,
    "safety_scanner_installed": true,
    "token_cache_status": "token_cache_expired",
    "token_metadata_status": "token_cache_expired",
    "cache_exists": true,
    "cache_source": "feishu_tenant_token_cache",
    "token_type": "",
    "expires_at": "2026-05-12T15:49:49.701271+08:00",
    "ttl_seconds": -1903882,
    "readonly_scope_declared": true,
    "write_scope_detected": false,
    "last_refresh_at": "2026-05-12 14:16:38.701305+08:00",
    "provider_usable": false,
    "snapshot_schema_ready": true,
    "next_gate": "FEISHU_READONLY_TOKEN_CACHE_REMEDIATION_PREVIEW_GATE",
    "hard_blocks": [
      "token_cache_expired"
    ],
    "warnings": [
      "write endpoint risk is classified as non-executable or legacy isolated"
    ]
  },
  "current_contract_metadata": {
    "ok": true,
    "provider_installed": true,
    "safety_scanner_installed": true,
    "token_cache_status": "token_cache_expired",
    "token_metadata_status": "token_cache_expired",
    "cache_exists": true,
    "cache_source": "feishu_tenant_token_cache",
    "token_type": "",
    "expires_at": "2026-05-12T15:49:49.701271+08:00",
    "ttl_seconds": -1903882,
    "readonly_scope_declared": true,
    "write_scope_detected": false,
    "last_refresh_at": "2026-05-12 14:16:38.701305+08:00",
    "provider_usable": false,
    "snapshot_schema_ready": true,
    "next_gate": "FEISHU_READONLY_TOKEN_CACHE_REMEDIATION_PREVIEW_GATE",
    "hard_blocks": [
      "token_cache_expired"
    ],
    "warnings": [
      "write endpoint risk is classified as non-executable or legacy isolated"
    ]
  }
}
