betterwithage Claude Opus 4.7 commited on
Commit
c99486a
·
verified ·
1 Parent(s): 5f86b19

deploy(hf): sync szl-holdings/a11oy@8b8530b6a8db84ad881caf998f531d4283946bfd derived COPY set

Browse files

Reusable Dockerfile-COPY-derived deploy from szl-holdings/a11oy 8b8530b6a8db84ad881caf998f531d4283946bfd.
Files: 1207 Pruned: 0
Derived from Dockerfile COPY sources (NO hand-maintained allowlist).

Signed-off-by: SZL Holdings <noreply@szlholdings.ai>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

Files changed (1) hide show
  1. a11oy_model_intel.py +6 -1
a11oy_model_intel.py CHANGED
@@ -792,7 +792,12 @@ def _series_a_bind_card(spec: dict[str, Any], live: Optional[dict[str, Any]],
792
  freshness: dict[str, Any]) -> dict[str, Any]:
793
  """Honest Hub bind for one pinned Series A card. Never stamps OPERATIONAL."""
794
  hub_id = spec.get("hub_id")
795
- fetch_status = (freshness or {}).get("status")
 
 
 
 
 
796
  fetch_error = (freshness or {}).get("error")
797
  live_present = bool(live and live.get("repository_id") == hub_id)
798
 
 
792
  freshness: dict[str, Any]) -> dict[str, Any]:
793
  """Honest Hub bind for one pinned Series A card. Never stamps OPERATIONAL."""
794
  hub_id = spec.get("hub_id")
795
+ raw_fetch_status = (freshness or {}).get("status")
796
+ fetch_status = (
797
+ raw_fetch_status
798
+ if raw_fetch_status in {"live", "cached", "stale", "unavailable"}
799
+ else "unavailable"
800
+ )
801
  fetch_error = (freshness or {}).get("error")
802
  live_present = bool(live and live.get("repository_id") == hub_id)
803