{
  "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": 118,
      "within_target": 118,
      "freshness_rate": 1,
      "target_rate": 0.95,
      "meets_target": true
    },
    "whole_corpus": {
      "target_basis": "tier_policy",
      "total": 1226,
      "within_target": 1226,
      "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": "118/118 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": 1226,
    "raw_project_count": 1226,
    "knowledge_ready_project_count": 1226,
    "sync_cursor": 433,
    "sync_health": "healthy",
    "sync_freshness": "fresh",
    "last_successful_sync_at": "2026-11-11T00:00:28.384Z",
    "hours_since_successful_sync": 0,
    "operational_storage": {
      "status": "healthy",
      "github_cache_entries": 1535,
      "github_cache_body_bytes": 21757669,
      "github_cache_max_entries": 2500,
      "github_cache_retention_entries": 1500,
      "github_cache_body_budget_bytes": 163840000,
      "utilization": 0.614,
      "star_snapshot_count": 17657,
      "sync_run_count": 1544,
      "governance_run_count": 1359,
      "project_change_count": 10804,
      "feedback_proposal_count": 0
    },
    "metadata": {
      "source": "d1",
      "reason": "d1_query",
      "project_count": 1226,
      "generated_at": "2026-11-11T00:12:41.966Z",
      "snapshot_id": "d1:1226:2026-11-11T00:00:28.077Z",
      "latest_synced_at": "2026-11-11T00:00:28.077Z",
      "schema_version": "git-top.knowledge.v1"
    }
  },
  "sync": {
    "cursor": 433,
    "seed_total": 500,
    "synced_count": 500,
    "indexed_count": 1226,
    "remaining_count": 0,
    "cycle_progress": 87,
    "cycle_complete": true,
    "next_batch_wraps": false,
    "next_batch": [
      "Portkey-AI/portkey-node-sdk",
      "supermemoryai/opencode-supermemory",
      "supermemoryai/codex-supermemory",
      "firecrawl/opencode-firecrawl",
      "openai/completions-responses-migration-pack",
      "open-webui/oikb",
      "Portkey-AI/models",
      "Portkey-AI/cli"
    ],
    "health": "healthy",
    "freshness": "fresh",
    "last_successful_sync_at": "2026-11-11T00:00:28.384Z",
    "hours_since_successful_sync": 0,
    "last_failed_sync_at": null,
    "last_error": null,
    "recent_runs": [
      {
        "id": "35f7b521-7d23-41d3-b265-70e76f3d6d4d",
        "trigger": "cron",
        "started_at": "2026-11-11T00:00:14.546Z",
        "finished_at": "2026-11-11T00:00:28.384Z",
        "duration_ms": 13838,
        "offset": 427,
        "next_offset": 433,
        "limit": 8,
        "synced_count": 8,
        "failed_count": 0,
        "alternatives_updated": 0,
        "synced": [
          "pipecat-ai/pipecat",
          "dagucloud/dagu",
          "dagster-io/skills",
          "cloudflare/dynamic-workflows",
          "langfuse/langfuse-java",
          "SigNoz/signoz-otel-collector",
          "Arize-ai/client_python",
          "Portkey-AI/portkey-python-sdk"
        ],
        "failed": []
      },
      {
        "id": "9af3f07d-10d9-44a1-a612-ada8489af926",
        "trigger": "cron",
        "started_at": "2026-11-10T23:30:14.074Z",
        "finished_at": "2026-11-10T23:30:24.481Z",
        "duration_ms": 10407,
        "offset": 419,
        "next_offset": 427,
        "limit": 8,
        "synced_count": 8,
        "failed_count": 0,
        "alternatives_updated": 0,
        "synced": [
          "deepset-ai/haystack-tutorials",
          "supermemoryai/memorybench",
          "supermemoryai/code-chunk",
          "weaviate/structured-rag",
          "weaviate/retrieve-dspy",
          "qdrant/qdrant-rag-eval",
          "run-llama/awesome-rag",
          "n8n-io/n8n-hosting"
        ],
        "failed": []
      },
      {
        "id": "9b4a048d-c0ba-43cd-be2d-9688dce878f5",
        "trigger": "cron",
        "started_at": "2026-11-10T23:00:17.632Z",
        "finished_at": "2026-11-10T23:00:37.717Z",
        "duration_ms": 20085,
        "offset": 415,
        "next_offset": 419,
        "limit": 8,
        "synced_count": 8,
        "failed_count": 0,
        "alternatives_updated": 0,
        "synced": [
          "vercel-labs/agent-browser",
          "bytedance/deer-flow",
          "microsoft/ai-agents-for-beginners",
          "skalesapp/skales",
          "qdrant/vector-db-benchmark",
          "weaviate/weaviate-python-client",
          "weaviate/typescript-client",
          "supermemoryai/smfs"
        ],
        "failed": []
      },
      {
        "id": "cedb2ed2-291a-48e5-835c-3a77c036db2a",
        "trigger": "cron",
        "started_at": "2026-11-10T22:30:15.233Z",
        "finished_at": "2026-11-10T22:30:28.296Z",
        "duration_ms": 13063,
        "offset": 408,
        "next_offset": 415,
        "limit": 8,
        "synced_count": 8,
        "failed_count": 0,
        "alternatives_updated": 0,
        "synced": [
          "earendil-works/pi",
          "microsoft/superbenchmark",
          "huggingface/optimum-benchmark",
          "Giskard-AI/prompt-injections",
          "milvus-io/bootcamp",
          "weaviate/recipes",
          "milvus-io/milvus-sdk-java",
          "qdrant/rust-client"
        ],
        "failed": []
      },
      {
        "id": "4b8ea19f-900f-4761-bd84-8fb5d0064a10",
        "trigger": "cron",
        "started_at": "2026-11-10T22:00:15.124Z",
        "finished_at": "2026-11-10T22:00:31.893Z",
        "duration_ms": 16769,
        "offset": 400,
        "next_offset": 408,
        "limit": 8,
        "synced_count": 8,
        "failed_count": 0,
        "alternatives_updated": 0,
        "synced": [
          "CopilotKit/open-research-ANA",
          "CopilotKit/generative-ui-playground",
          "google-gemini/nano-banana-hackathon-kit",
          "lobehub/lobe-chat-plugins",
          "HumanSignal/label-studio-ml-backend",
          "huggingface/inference-benchmarker",
          "openai/monitorability-evals",
          "GoogleCloudPlatform/evalbench"
        ],
        "failed": []
      }
    ],
    "priority": {
      "generated_at": "2026-11-11T00:12:42.561Z",
      "policy": {
        "hot_target_days": 2,
        "warm_target_days": 7,
        "cold_target_days": 7
      },
      "counts": {
        "hot": 118,
        "warm": 865,
        "cold": 243
      },
      "stale_counts": {
        "hot": 0,
        "warm": 0,
        "cold": 0
      },
      "refresh_due_counts": {
        "hot": 2,
        "warm": 2,
        "cold": 0
      },
      "stale_rates": {
        "hot": 0,
        "warm": 0,
        "cold": 0
      },
      "freshness_slo": {
        "hot_projects": {
          "target_hours": 48,
          "total": 118,
          "within_target": 118,
          "freshness_rate": 1,
          "target_rate": 0.95,
          "meets_target": true
        },
        "whole_corpus": {
          "target_basis": "tier_policy",
          "total": 1226,
          "within_target": 1226,
          "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": "1jehuang/jcode",
          "tier": "hot",
          "stale_days": 1,
          "age_hours": 42,
          "target_interval_days": 2,
          "refresh_due": true,
          "overdue": false,
          "priority_score": 136,
          "reasons": [
            "hot tier target 2d",
            "1d since sync",
            "1279 stars in window",
            "git score 73"
          ]
        },
        {
          "project_id": "citrolabs/ego-lite",
          "tier": "hot",
          "stale_days": 1,
          "age_hours": 42,
          "target_interval_days": 2,
          "refresh_due": true,
          "overdue": false,
          "priority_score": 135,
          "reasons": [
            "hot tier target 2d",
            "1d since sync",
            "5244 stars in window",
            "git score 71"
          ]
        },
        {
          "project_id": "open-mercato/open-mercato",
          "tier": "warm",
          "stale_days": 6,
          "age_hours": 162,
          "target_interval_days": 7,
          "refresh_due": true,
          "overdue": false,
          "priority_score": 122,
          "reasons": [
            "warm tier target 7d",
            "6d since sync",
            "112 stars in window"
          ]
        },
        {
          "project_id": "google/adk-go",
          "tier": "warm",
          "stale_days": 6,
          "age_hours": 162,
          "target_interval_days": 7,
          "refresh_due": true,
          "overdue": false,
          "priority_score": 115,
          "reasons": [
            "warm tier target 7d",
            "6d since sync",
            "92 stars in window"
          ]
        }
      ]
    },
    "derived": {
      "alternatives": {
        "freshness": "fresh",
        "last_successful_run_at": "2026-11-10T06:00:30.834Z",
        "hours_since_successful_run": 18,
        "last_run_status": "success",
        "stale_after_hours": 168,
        "progress": {
          "status": "success",
          "complete": false,
          "offset": 605,
          "next_offset": 620,
          "project_count": 1226,
          "updated_at": "2026-11-11T00:00:29.739Z"
        }
      }
    }
  },
  "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.002,
      "collection_review_rate": 0.002,
      "stale_project_rate": 0,
      "stale_collection_rate": 0.115
    },
    "improvement_plan": [
      {
        "priority": "P1",
        "title": "Burn down low-confidence classifications",
        "reason": "2 projects include low-confidence classification signals; rate is 0.2%.",
        "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": "2 collections need curation, scope, item-count, or freshness review; collection review rate is 0.2%.",
        "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": 1226,
    "issue_count": 10,
    "error_count": 0,
    "warning_count": 0,
    "category_distribution": {
      "agent_framework": 142,
      "coding_agent": 67,
      "browser_agent": 50,
      "rag_framework": 171,
      "vector_database": 40,
      "llm_gateway": 18,
      "llm_eval": 92,
      "prompt_tooling": 45,
      "workflow_automation": 112,
      "local_llm_runtime": 25,
      "ai_app_template": 59,
      "mcp_server": 368,
      "ai_observability": 37,
      "other": 0
    },
    "coverage": {
      "category_coverage": {
        "agent_framework": 142,
        "coding_agent": 67,
        "browser_agent": 50,
        "rag_framework": 171,
        "vector_database": 40,
        "llm_gateway": 18,
        "llm_eval": 92,
        "prompt_tooling": 45,
        "workflow_automation": 112,
        "local_llm_runtime": 25,
        "ai_app_template": 59,
        "mcp_server": 368,
        "ai_observability": 37,
        "other": 0
      },
      "covered_categories": 13,
      "total_categories": 13,
      "missing_categories": [],
      "low_confidence_classification_count": 2,
      "low_confidence_classification_rate": 0.002,
      "stale_project_count": 0,
      "stale_project_rate": 0,
      "cloudflare_ready_count": 8,
      "average_git_score": 24,
      "average_maintenance_score": 36,
      "collection_count": 61,
      "collection_rate": 0.05,
      "collection_scope_counts": {
        "awesome_list": 29,
        "cookbook": 12,
        "starter_collection": 9,
        "integration_collection": 9,
        "resource_hub": 2
      },
      "collection_freshness_counts": {
        "active": 49,
        "stale": 7,
        "unknown": 5
      },
      "stale_collection_count": 7,
      "collection_review_count": 2
    }
  },
  "metadata": {
    "source": "d1",
    "reason": "d1_query",
    "project_count": 1226,
    "generated_at": "2026-11-11T00:12:42.457Z",
    "snapshot_id": "d1:1226:2026-11-11T00:00:28.077Z",
    "latest_synced_at": "2026-11-11T00:00:28.077Z",
    "schema_version": "git-top.knowledge.v1",
    "loaded_project_limit": 2000,
    "truncated": false
  }
}