{
  "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": 327,
    "sync_health": "healthy",
    "sync_freshness": "fresh",
    "last_successful_sync_at": "2026-09-27T18:31:19.334Z",
    "hours_since_successful_sync": 0,
    "operational_storage": {
      "status": "healthy",
      "github_cache_entries": 1533,
      "github_cache_body_bytes": 24316933,
      "github_cache_max_entries": 2500,
      "github_cache_retention_entries": 1500,
      "github_cache_body_budget_bytes": 163840000,
      "utilization": 0.613,
      "star_snapshot_count": 16456,
      "sync_run_count": 1524,
      "governance_run_count": 1105,
      "project_change_count": 10774,
      "feedback_proposal_count": 0
    },
    "metadata": {
      "source": "d1",
      "reason": "d1_query",
      "project_count": 1213,
      "generated_at": "2026-09-27T18:34:51.664Z",
      "snapshot_id": "d1:1213:2026-09-27T18:31:18.840Z",
      "latest_synced_at": "2026-09-27T18:31:18.840Z",
      "schema_version": "git-top.knowledge.v1"
    }
  },
  "sync": {
    "cursor": 327,
    "seed_total": 500,
    "synced_count": 500,
    "indexed_count": 1213,
    "remaining_count": 0,
    "cycle_progress": 65,
    "cycle_complete": true,
    "next_batch_wraps": false,
    "next_batch": [
      "jina-ai/vectordb",
      "chroma-core/chroma-mcp",
      "qdrant/qdrant-js",
      "qdrant/go-client",
      "qdrant/skills",
      "qdrant/page-search",
      "vllm-project/semantic-router",
      "microsoft/prompty"
    ],
    "health": "healthy",
    "freshness": "fresh",
    "last_successful_sync_at": "2026-09-27T18:31:19.334Z",
    "hours_since_successful_sync": 0,
    "last_failed_sync_at": null,
    "last_error": null,
    "recent_runs": [
      {
        "id": "52250e08-068b-4fd9-912b-5322ea16223a",
        "trigger": "cron",
        "started_at": "2026-09-27T18:31:03.966Z",
        "finished_at": "2026-09-27T18:31:19.334Z",
        "duration_ms": 15368,
        "offset": 325,
        "next_offset": 327,
        "limit": 8,
        "synced_count": 8,
        "failed_count": 0,
        "alternatives_updated": 0,
        "synced": [
          "asklokesh/loki-mode",
          "IRISX-AI/IRIS-AI",
          "modelcontextprotocol/quickstart-resources",
          "strands-agents/evals",
          "LazyAGI/LazyLLM",
          "freee/freee-mcp",
          "qdrant/qdrant-client",
          "lancedb/vectordb-recipes"
        ],
        "failed": []
      },
      {
        "id": "8b53beb8-66cf-4cd1-83d3-10b1b91c75cb",
        "trigger": "cron",
        "started_at": "2026-09-27T18:01:05.618Z",
        "finished_at": "2026-09-27T18:01:20.700Z",
        "duration_ms": 15082,
        "offset": 323,
        "next_offset": 325,
        "limit": 8,
        "synced_count": 8,
        "failed_count": 0,
        "alternatives_updated": 0,
        "synced": [
          "coddy-project/coddy-agent",
          "tmseidel/ai-git-bot",
          "sangrokjung/claude-forge",
          "cameronrye/openzim-mcp",
          "daiemon12/catia-v5-mcp-server",
          "agentuniverse-ai/agentUniverse",
          "qdrant/mcp-server-qdrant",
          "milvus-io/pymilvus"
        ],
        "failed": []
      },
      {
        "id": "581e96c2-becd-4da8-92a8-9d647fc54021",
        "trigger": "cron",
        "started_at": "2026-09-27T17:31:07.084Z",
        "finished_at": "2026-09-27T17:31:21.079Z",
        "duration_ms": 13995,
        "offset": 319,
        "next_offset": 323,
        "limit": 8,
        "synced_count": 8,
        "failed_count": 0,
        "alternatives_updated": 0,
        "synced": [
          "browser-act/skills",
          "jwadow/kiro-gateway",
          "fancyboi999/open-tag",
          "amikos-tech/chroma-go",
          "vercel/next-evals-oss",
          "Giskard-AI/awesome-ai-safety",
          "openai/model_spec_evals",
          "qdrant/fastembed"
        ],
        "failed": []
      },
      {
        "id": "a5ab270f-689a-4be9-be80-cbe5ea525c7e",
        "trigger": "cron",
        "started_at": "2026-09-27T17:01:10.002Z",
        "finished_at": "2026-09-27T17:01:25.569Z",
        "duration_ms": 15567,
        "offset": 318,
        "next_offset": 319,
        "limit": 8,
        "synced_count": 8,
        "failed_count": 0,
        "alternatives_updated": 0,
        "synced": [
          "jackwener/OpenCLI",
          "NightMean/OlliteRT",
          "waooAI/waoowaoo",
          "818000/bus",
          "agentic-community/mcp-gateway-registry",
          "ArtificialAnalysis/Stirrup",
          "cloudflare/templates",
          "sgl-project/genai-bench"
        ],
        "failed": []
      },
      {
        "id": "683e2393-f2a8-4676-8ec1-06bfb338c193",
        "trigger": "cron",
        "started_at": "2026-09-27T16:30:58.824Z",
        "finished_at": "2026-09-27T16:31:13.160Z",
        "duration_ms": 14336,
        "offset": 312,
        "next_offset": 318,
        "limit": 8,
        "synced_count": 8,
        "failed_count": 0,
        "alternatives_updated": 0,
        "synced": [
          "openai/skills",
          "openai/codex-plugin-cc",
          "Portkey-AI/hoot",
          "lobehub/chat-plugins-gateway",
          "openai/human-eval",
          "huggingface/lighteval",
          "huggingface/evaluate",
          "openai/frontier-evals"
        ],
        "failed": []
      }
    ],
    "priority": {
      "generated_at": "2026-09-27T18:34:52.647Z",
      "policy": {
        "hot_target_days": 2,
        "warm_target_days": 7,
        "cold_target_days": 7
      },
      "counts": {
        "hot": 125,
        "warm": 865,
        "cold": 223
      },
      "stale_counts": {
        "hot": 0,
        "warm": 0,
        "cold": 0
      },
      "refresh_due_counts": {
        "hot": 0,
        "warm": 5,
        "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": "piotr-agier/google-drive-mcp",
          "tier": "warm",
          "stale_days": 6,
          "age_hours": 162,
          "target_interval_days": 7,
          "refresh_due": true,
          "overdue": false,
          "priority_score": 30,
          "reasons": [
            "warm tier target 7d",
            "6d since sync",
            "16 stars in window"
          ]
        },
        {
          "project_id": "liquidos-ai/AutoAgents",
          "tier": "warm",
          "stale_days": 6,
          "age_hours": 162,
          "target_interval_days": 7,
          "refresh_due": true,
          "overdue": false,
          "priority_score": 28,
          "reasons": [
            "warm tier target 7d",
            "6d since sync",
            "22 stars in window"
          ]
        },
        {
          "project_id": "rekog-labs/MCP-Nest",
          "tier": "warm",
          "stale_days": 6,
          "age_hours": 162,
          "target_interval_days": 7,
          "refresh_due": true,
          "overdue": false,
          "priority_score": 27,
          "reasons": [
            "warm tier target 7d",
            "6d since sync",
            "14 stars in window"
          ]
        },
        {
          "project_id": "oracle/mcp",
          "tier": "warm",
          "stale_days": 6,
          "age_hours": 162,
          "target_interval_days": 7,
          "refresh_due": true,
          "overdue": false,
          "priority_score": 25,
          "reasons": [
            "warm tier target 7d",
            "6d since sync",
            "18 stars in window"
          ]
        },
        {
          "project_id": "sina2266/Gozar",
          "tier": "warm",
          "stale_days": 6,
          "age_hours": 162,
          "target_interval_days": 7,
          "refresh_due": true,
          "overdue": false,
          "priority_score": 23,
          "reasons": [
            "warm tier target 7d",
            "6d since sync",
            "21 stars in window"
          ]
        }
      ]
    },
    "derived": {
      "alternatives": {
        "freshness": "fresh",
        "last_successful_run_at": "2026-09-26T19:15:32.984Z",
        "hours_since_successful_run": 23,
        "last_run_status": "success",
        "stale_after_hours": 168,
        "progress": {
          "status": "success",
          "complete": false,
          "offset": 840,
          "next_offset": 855,
          "project_count": 1213,
          "updated_at": "2026-09-27T18:31:23.006Z"
        }
      }
    }
  },
  "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"
        ]
      }
    ],
    "project_count": 1213,
    "issue_count": 3,
    "error_count": 0,
    "warning_count": 0,
    "category_distribution": {
      "agent_framework": 136,
      "coding_agent": 68,
      "browser_agent": 52,
      "rag_framework": 175,
      "vector_database": 39,
      "llm_gateway": 17,
      "llm_eval": 92,
      "prompt_tooling": 47,
      "workflow_automation": 116,
      "local_llm_runtime": 24,
      "ai_app_template": 61,
      "mcp_server": 350,
      "ai_observability": 36,
      "other": 0
    },
    "coverage": {
      "category_coverage": {
        "agent_framework": 136,
        "coding_agent": 68,
        "browser_agent": 52,
        "rag_framework": 175,
        "vector_database": 39,
        "llm_gateway": 17,
        "llm_eval": 92,
        "prompt_tooling": 47,
        "workflow_automation": 116,
        "local_llm_runtime": 24,
        "ai_app_template": 61,
        "mcp_server": 350,
        "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-27T18:34:52.542Z",
    "snapshot_id": "d1:1213:2026-09-27T18:31:18.840Z",
    "latest_synced_at": "2026-09-27T18:31:18.840Z",
    "schema_version": "git-top.knowledge.v1",
    "loaded_project_limit": 2000,
    "truncated": false
  }
}