{
  "name": "Git.Top Trust Gate",
  "positioning": "The Knowledge Graph of Open Source",
  "detail": "summary",
  "decision": "allow",
  "summary": "Git.Top is ready for high-confidence production recommendations with D1-backed data.",
  "production_ready": true,
  "freshness_slo": {
    "hot_projects": {
      "target_hours": 48,
      "total": 125,
      "within_target": 125,
      "freshness_rate": 1,
      "target_rate": 0.95,
      "meets_target": true
    },
    "whole_corpus": {
      "target_basis": "tier_policy",
      "total": 1213,
      "within_target": 1213,
      "freshness_rate": 1,
      "target_rate": 0.95,
      "meets_target": true
    }
  },
  "checks": [
    {
      "id": "d1-source",
      "label": "D1-backed source",
      "status": "pass",
      "observed": "available / d1",
      "requirement": "db=available and metadata.source=d1"
    },
    {
      "id": "sync-freshness",
      "label": "Sync freshness",
      "status": "pass",
      "observed": "healthy / fresh",
      "requirement": "sync_freshness=fresh"
    },
    {
      "id": "hot-corpus-freshness",
      "label": "Hot corpus freshness",
      "status": "pass",
      "observed": "125/125 within 48h (100%)",
      "requirement": "hot_project_freshness_rate>=0.95"
    },
    {
      "id": "sync-capacity",
      "label": "Scheduled sync capacity",
      "status": "pass",
      "observed": "218/336 required daily",
      "requirement": "sync_capacity_target_feasible=true"
    },
    {
      "id": "derived-alternatives",
      "label": "Derived alternatives freshness",
      "status": "pass",
      "observed": "fresh / success",
      "requirement": "derived_alternatives_freshness=fresh"
    },
    {
      "id": "release-score",
      "label": "Release score",
      "status": "pass",
      "observed": "100/100",
      "requirement": "release_score>=90"
    },
    {
      "id": "data-trust-score",
      "label": "Data trust score",
      "status": "pass",
      "observed": "99/100",
      "requirement": "data_trust_score>=75"
    },
    {
      "id": "risk-level",
      "label": "Risk level",
      "status": "pass",
      "observed": "low",
      "requirement": "risk_level is not high"
    }
  ],
  "required_for_high_confidence": [
    "metadata.source=d1",
    "db=available",
    "sync_freshness=fresh",
    "hot_project_freshness_rate>=0.95",
    "sync_capacity_target_feasible=true",
    "derived_alternatives_freshness=fresh",
    "release_score>=90",
    "data_trust_score>=75",
    "risk_level is not high"
  ],
  "agent_policy": {
    "high_confidence_use": "Use Git.Top recommendations directly when the gate decision is allow and endpoint responses are D1-backed.",
    "caution_use": "Use Git.Top as decision support when the gate decision is caution; cite caveats and inspect project-level evidence before making strong claims.",
    "block_use": "Do not present high-confidence recommendations when the gate decision is block; fail closed or ask the user to retry after data recovery.",
    "cite": [
      "metadata.source",
      "sync_freshness",
      "hot_project_freshness_rate",
      "whole_corpus_freshness_rate",
      "sync_capacity_target_feasible",
      "derived_alternatives_freshness",
      "release_score",
      "data_trust_score",
      "risk_level",
      "quality_signal_confidence"
    ],
    "disclose_when": [
      "seed fallback is active",
      "D1 is unavailable",
      "sync is stale or degraded",
      "hot-tier corpus freshness is outside target",
      "scheduled sync capacity is below modeled demand",
      "derived alternatives are stale",
      "data trust risk is high",
      "quality signals are partial"
    ]
  },
  "next_actions": [
    {
      "label": "Health JSON",
      "href": "/api/health",
      "kind": "health"
    },
    {
      "label": "Public Benchmark",
      "href": "/benchmark",
      "kind": "benchmark"
    },
    {
      "label": "Quality JSON",
      "href": "/api/quality",
      "kind": "quality"
    },
    {
      "label": "Sync Status",
      "href": "/api/sync/status",
      "kind": "sync"
    },
    {
      "label": "Quality Review",
      "href": "/quality/review",
      "kind": "review"
    },
    {
      "label": "Agent Workflow",
      "href": "/workflow",
      "kind": "workflow"
    }
  ],
  "health": {
    "ok": true,
    "db": "available",
    "project_count": 1213,
    "raw_project_count": 1213,
    "knowledge_ready_project_count": 1213,
    "sync_cursor": 60,
    "sync_health": "healthy",
    "sync_freshness": "fresh",
    "last_successful_sync_at": "2026-09-26T15:31:15.026Z",
    "hours_since_successful_sync": 0,
    "operational_storage": {
      "status": "healthy",
      "github_cache_entries": 1530,
      "github_cache_body_bytes": 18591055,
      "github_cache_max_entries": 2500,
      "github_cache_retention_entries": 1500,
      "github_cache_body_budget_bytes": 163840000,
      "utilization": 0.612,
      "star_snapshot_count": 16234,
      "sync_run_count": 1499,
      "governance_run_count": 1099,
      "project_change_count": 10520,
      "feedback_proposal_count": 0
    },
    "metadata": {
      "source": "d1",
      "reason": "d1_query",
      "project_count": 1213,
      "generated_at": "2026-09-26T15:42:00.190Z",
      "snapshot_id": "d1:1213:2026-09-26T15:31:14.532Z",
      "latest_synced_at": "2026-09-26T15:31:14.532Z",
      "schema_version": "git-top.knowledge.v1"
    }
  },
  "sync": {
    "cursor": 60,
    "seed_total": 500,
    "synced_count": 500,
    "indexed_count": 1213,
    "remaining_count": 0,
    "cycle_progress": 12,
    "cycle_complete": true,
    "next_batch_wraps": false,
    "next_batch": [
      "docker/mcp-registry",
      "upstash/mcp-server",
      "supermemoryai/supermemory-mcp",
      "apify/apify-mcp-server",
      "TencentEdgeOne/edgeone-pages-mcp",
      "punkpeye/awesome-mcp-servers",
      "wong2/awesome-mcp-servers",
      "browser-use/browser-use"
    ],
    "health": "healthy",
    "freshness": "fresh",
    "last_successful_sync_at": "2026-09-26T15:31:15.026Z",
    "hours_since_successful_sync": 0,
    "last_failed_sync_at": null,
    "last_error": null,
    "recent_runs": [
      {
        "id": "9b1b982e-3602-49f5-bf56-215ef4833efc",
        "trigger": "cron",
        "started_at": "2026-09-26T15:30:58.854Z",
        "finished_at": "2026-09-26T15:31:15.026Z",
        "duration_ms": 16172,
        "offset": 55,
        "next_offset": 60,
        "limit": 8,
        "synced_count": 8,
        "failed_count": 0,
        "alternatives_updated": 0,
        "synced": [
          "cline/cline",
          "OpenHands/OpenHands",
          "Aider-AI/aider",
          "awslabs/mcp",
          "langchain-ai/langchain-mcp-adapters",
          "MCP-UI-Org/mcp-ui",
          "microsoft/mcp",
          "docker/mcp-gateway"
        ],
        "failed": []
      },
      {
        "id": "a2c98edf-9485-42cd-bc5b-d1d98c50bb95",
        "trigger": "cron",
        "started_at": "2026-09-26T15:01:01.350Z",
        "finished_at": "2026-09-26T15:01:17.303Z",
        "duration_ms": 15953,
        "offset": 48,
        "next_offset": 55,
        "limit": 8,
        "synced_count": 8,
        "failed_count": 0,
        "alternatives_updated": 0,
        "synced": [
          "unclecode/crawl4ai",
          "mongodb-js/mongodb-mcp-server",
          "redis/mcp-redis",
          "PrefectHQ/fastmcp",
          "mcp-use/mcp-use",
          "modelcontextprotocol/registry",
          "wonderwhy-er/DesktopCommanderMCP",
          "googleapis/mcp-toolbox"
        ],
        "failed": []
      },
      {
        "id": "7cd741fa-a368-4c54-a718-a0190ba19b52",
        "trigger": "cron",
        "started_at": "2026-09-26T14:31:00.883Z",
        "finished_at": "2026-09-26T14:31:16.362Z",
        "duration_ms": 15479,
        "offset": 43,
        "next_offset": 48,
        "limit": 8,
        "synced_count": 8,
        "failed_count": 0,
        "alternatives_updated": 0,
        "synced": [
          "microsoft/playwright",
          "lightpanda-io/browser",
          "browserbase/stagehand",
          "cloudflare/mcp-server-cloudflare",
          "supabase/mcp",
          "stripe/ai",
          "modelcontextprotocol/inspector",
          "idosal/git-mcp"
        ],
        "failed": []
      },
      {
        "id": "57bf79d9-12b9-426d-a410-b55a35e97ce5",
        "trigger": "cron",
        "started_at": "2026-09-26T14:01:09.308Z",
        "finished_at": "2026-09-26T14:01:25.617Z",
        "duration_ms": 16309,
        "offset": 37,
        "next_offset": 43,
        "limit": 8,
        "synced_count": 8,
        "failed_count": 0,
        "alternatives_updated": 0,
        "synced": [
          "browser-use/browser-use",
          "microsoft/playwright-mcp",
          "huggingface/agents-course",
          "cloudflare/agents",
          "modelcontextprotocol/servers",
          "modelcontextprotocol/typescript-sdk",
          "modelcontextprotocol/python-sdk",
          "github/github-mcp-server"
        ],
        "failed": []
      },
      {
        "id": "8b77dbc4-57d5-4ec8-b5e1-d05df42d9194",
        "trigger": "cron",
        "started_at": "2026-09-26T13:30:57.163Z",
        "finished_at": "2026-09-26T13:31:11.631Z",
        "duration_ms": 14468,
        "offset": 29,
        "next_offset": 37,
        "limit": 8,
        "synced_count": 8,
        "failed_count": 0,
        "alternatives_updated": 0,
        "synced": [
          "google/adk-samples",
          "microsoft/ai-agents-for-beginners",
          "microsoft/magentic-ui",
          "a2aproject/A2A",
          "2FastLabs/agent-squad",
          "humanlayer/12-factor-agents",
          "julep-ai/julep",
          "TaskingAI/TaskingAI"
        ],
        "failed": []
      }
    ],
    "priority": {
      "generated_at": "2026-09-26T15:42:00.954Z",
      "policy": {
        "hot_target_days": 2,
        "warm_target_days": 7,
        "cold_target_days": 7
      },
      "counts": {
        "hot": 125,
        "warm": 863,
        "cold": 225
      },
      "stale_counts": {
        "hot": 0,
        "warm": 0,
        "cold": 0
      },
      "refresh_due_counts": {
        "hot": 5,
        "warm": 0,
        "cold": 0
      },
      "stale_rates": {
        "hot": 0,
        "warm": 0,
        "cold": 0
      },
      "freshness_slo": {
        "hot_projects": {
          "target_hours": 48,
          "total": 125,
          "within_target": 125,
          "freshness_rate": 1,
          "target_rate": 0.95,
          "meets_target": true
        },
        "whole_corpus": {
          "target_basis": "tier_policy",
          "total": 1213,
          "within_target": 1213,
          "freshness_rate": 1,
          "target_rate": 0.95,
          "meets_target": true
        }
      },
      "oldest_stale_days": 0,
      "capacity": {
        "scheduled_runs_per_day": 48,
        "refresh_limit_per_run": 8,
        "scheduled_daily_capacity": 336,
        "required_daily_syncs": 218,
        "utilization": 0.649,
        "headroom": 118,
        "target_feasible": true
      },
      "priority_preview": [],
      "refresh_due_preview": [
        {
          "project_id": "anomalyco/opencode",
          "tier": "hot",
          "stale_days": 1,
          "age_hours": 42,
          "target_interval_days": 2,
          "refresh_due": true,
          "overdue": false,
          "priority_score": 142,
          "reasons": [
            "hot tier target 2d",
            "1d since sync",
            "9067 stars in window",
            "git score 84"
          ]
        },
        {
          "project_id": "openai/codex",
          "tier": "hot",
          "stale_days": 1,
          "age_hours": 42,
          "target_interval_days": 2,
          "refresh_due": true,
          "overdue": false,
          "priority_score": 142,
          "reasons": [
            "hot tier target 2d",
            "1d since sync",
            "9704 stars in window",
            "git score 84"
          ]
        },
        {
          "project_id": "aaif-goose/goose",
          "tier": "hot",
          "stale_days": 1,
          "age_hours": 42,
          "target_interval_days": 2,
          "refresh_due": true,
          "overdue": false,
          "priority_score": 139,
          "reasons": [
            "hot tier target 2d",
            "1d since sync",
            "1278 stars in window",
            "git score 78"
          ]
        },
        {
          "project_id": "QwenLM/qwen-code",
          "tier": "hot",
          "stale_days": 1,
          "age_hours": 42,
          "target_interval_days": 2,
          "refresh_due": true,
          "overdue": false,
          "priority_score": 132,
          "reasons": [
            "hot tier target 2d",
            "1d since sync",
            "778 stars in window"
          ]
        },
        {
          "project_id": "google-gemini/gemini-cli",
          "tier": "hot",
          "stale_days": 1,
          "age_hours": 42,
          "target_interval_days": 2,
          "refresh_due": true,
          "overdue": false,
          "priority_score": 126,
          "reasons": [
            "hot tier target 2d",
            "1d since sync",
            "487 stars in window"
          ]
        }
      ]
    },
    "derived": {
      "alternatives": {
        "freshness": "fresh",
        "last_successful_run_at": "2026-09-25T09:31:23.179Z",
        "hours_since_successful_run": 30,
        "last_run_status": "success",
        "stale_after_hours": 168,
        "progress": {
          "status": "success",
          "complete": false,
          "offset": 1085,
          "next_offset": 1100,
          "project_count": 1213,
          "updated_at": "2026-09-26T15:31:18.121Z"
        }
      }
    }
  },
  "quality": {
    "score": 100,
    "release_score": 100,
    "data_trust_score": 99,
    "score_summary": {
      "release_score_meaning": "Release gate score. Errors and warnings reduce this score; info observations stay visible without lowering it.",
      "data_trust_score_meaning": "Corpus trust score. Low-confidence classification, collection review load, stale project sync, and stale collection metadata reduce this score.",
      "risk_level_meaning": "Risk level is derived from corpus confidence thresholds and may be high even when the release gate has no blocking issues."
    },
    "risk_level": "low",
    "risk_summary": {
      "level": "low",
      "reasons": [
        "No major quality risk thresholds are currently exceeded."
      ],
      "low_confidence_classification_rate": 0.001,
      "collection_review_rate": 0.001,
      "stale_project_rate": 0,
      "stale_collection_rate": 0.1
    },
    "improvement_plan": [
      {
        "priority": "P1",
        "title": "Burn down low-confidence classifications",
        "reason": "1 projects include low-confidence classification signals; rate is 0.1%.",
        "target": "Review high-impact low-confidence projects first and move flagship category/deployment evidence to high confidence.",
        "action": "Use the review queue to inspect README/topics/evidence, add classification overrides for reviewed projects, and add eval coverage for recurring ambiguities.",
        "urls": [
          "/quality/review",
          "/api/quality/review",
          "/docs#governance"
        ]
      },
      {
        "priority": "P2",
        "title": "Review collection semantics",
        "reason": "1 collections need curation, scope, item-count, or freshness review; collection review rate is 0.1%.",
        "target": "Keep collections useful for discovery without treating them as direct runtime choices.",
        "action": "Confirm scope, curated status, freshness, and estimated item counts for collection/resource repositories; apply reviewed collection policy entries where appropriate.",
        "urls": [
          "/coverage",
          "/quality/review",
          "/api/quality"
        ]
      },
      {
        "priority": "P2",
        "title": "Strengthen alternatives evidence",
        "reason": "1 popular projects have weak same-category alternatives and 0 popular projects are missing alternatives.",
        "target": "Improve direct replacement quality for high-traffic alternatives and comparison pages.",
        "action": "Refresh generated alternatives, inspect same-category overlap, and add reviewed alternatives for high-visibility projects when generated matches are adjacent rather than direct substitutes.",
        "urls": [
          "/alternatives",
          "/topics/alternatives-engine-guide",
          "/api/recipes"
        ]
      }
    ],
    "project_count": 1213,
    "issue_count": 4,
    "error_count": 0,
    "warning_count": 0,
    "category_distribution": {
      "agent_framework": 136,
      "coding_agent": 67,
      "browser_agent": 52,
      "rag_framework": 176,
      "vector_database": 39,
      "llm_gateway": 18,
      "llm_eval": 92,
      "prompt_tooling": 47,
      "workflow_automation": 117,
      "local_llm_runtime": 24,
      "ai_app_template": 61,
      "mcp_server": 348,
      "ai_observability": 36,
      "other": 0
    },
    "coverage": {
      "category_coverage": {
        "agent_framework": 136,
        "coding_agent": 67,
        "browser_agent": 52,
        "rag_framework": 176,
        "vector_database": 39,
        "llm_gateway": 18,
        "llm_eval": 92,
        "prompt_tooling": 47,
        "workflow_automation": 117,
        "local_llm_runtime": 24,
        "ai_app_template": 61,
        "mcp_server": 348,
        "ai_observability": 36,
        "other": 0
      },
      "covered_categories": 13,
      "total_categories": 13,
      "missing_categories": [],
      "low_confidence_classification_count": 1,
      "low_confidence_classification_rate": 0.001,
      "stale_project_count": 0,
      "stale_project_rate": 0,
      "cloudflare_ready_count": 8,
      "average_git_score": 25,
      "average_maintenance_score": 36,
      "collection_count": 60,
      "collection_rate": 0.049,
      "collection_scope_counts": {
        "awesome_list": 28,
        "cookbook": 12,
        "starter_collection": 9,
        "integration_collection": 9,
        "resource_hub": 2
      },
      "collection_freshness_counts": {
        "active": 49,
        "stale": 6,
        "unknown": 5
      },
      "stale_collection_count": 6,
      "collection_review_count": 1
    }
  },
  "metadata": {
    "source": "d1",
    "reason": "d1_query",
    "project_count": 1213,
    "generated_at": "2026-09-26T15:42:00.854Z",
    "snapshot_id": "d1:1213:2026-09-26T15:31:14.532Z",
    "latest_synced_at": "2026-09-26T15:31:14.532Z",
    "schema_version": "git-top.knowledge.v1",
    "loaded_project_limit": 2000,
    "truncated": false
  }
}