zhizhi/skyeye/infra-manifest.json

184 lines
6.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"version": "1.0.0",
"last_scan": "2026-03-24T04:24:59.723Z",
"last_scan_by": "skyeye-scan-engine",
"infrastructure": {
"github": {
"service": "GitHub",
"plan": "Free",
"repos": [
{
"name": "qinfendebingshuo/guanghulab",
"role": "main",
"guard": "buffer/"
},
{
"name": "WENZHUOXI/guanghu-awen",
"role": "sub-repo",
"persona": "PER-ZQ001",
"guard": ".github/persona-brain/"
}
],
"quotas": {
"actions_minutes_per_month": 2000,
"actions_current_used": 0,
"actions_budget_allocated": {
"buffer_collect": 270,
"buffer_flush": 90,
"skyeye_checkin": 180,
"skyeye_weekly_scan": 30,
"other_workflows": 200,
"emergency_reserve": 1230
},
"storage_limit_gb": 0.5,
"lfs_bandwidth_gb": 1
}
},
"google_drive": {
"service": "Google Drive",
"plan": "Google One / Free 15GB",
"guard": "buffer/drive-staging/",
"quotas": {
"storage_gb": 15,
"current_used_gb": 0,
"apps_script_daily_triggers": 20,
"apps_script_runtime_min_per_day": 90,
"drive_api_queries_per_100s": 20000
}
},
"notion": {
"service": "Notion",
"plan": "Plus",
"guard": "霜砚PER-SY001",
"quotas": {
"api_requests_per_second": 3,
"blocks_per_page": 10000,
"file_upload_mb": 5,
"guest_limit": 100
}
},
"gemini": {
"service": "Google Gemini",
"plan": "Free / Pro",
"guard": "buffer/gemini-staging/",
"quotas": {
"requests_per_minute": 15,
"requests_per_day": 1500,
"context_window_tokens": 1000000,
"personal_context_files": 100
}
},
"github_actions": {
"service": "GitHub Actions",
"plan": "Free",
"guard": "skyeye/guards/actions-guard.json",
"quotas": {
"concurrent_jobs": 20,
"minutes_per_month": 2000,
"job_timeout_hours": 6
}
},
"hibernation_system": {
"service": "SkyEye Hibernation",
"plan": "Internal",
"description": "双节律休眠系统 · 日休眠(03:50 CST) + 周休眠(周六19:00 CST)",
"components": {
"sleep_scheduler": "skyeye/hibernation/sleep-scheduler.js",
"daily_hibernation": "skyeye/hibernation/daily-hibernation.js",
"weekly_hibernation": "skyeye/hibernation/weekly-hibernation.js",
"distributor": "skyeye/hibernation/distributor.js",
"readme_updater": "skyeye/hibernation/readme-status-updater.js",
"overtime_monitor": "skyeye/hibernation/overtime-monitor.js"
},
"storage": {
"checkpoints": "skyeye/hibernation/checkpoints/",
"weekly_snapshots": "skyeye/hibernation/weekly-snapshots/",
"upgrade_packs": "skyeye/hibernation/upgrade-packs/",
"distribution_reports": "skyeye/hibernation/distribution-reports/"
},
"workflows": {
"daily": "skyeye-daily-hibernation.yml",
"weekly": "skyeye-weekly-hibernation.yml"
},
"quotas": {
"daily_hibernation_minutes": 5,
"weekly_hibernation_minutes": 15,
"monthly_budget_minutes": 210,
"comment": "日休眠 30天×5min=150 + 周休眠 4×15min=60 ≈ 210 min/month"
},
"lifeline_tasks": [
{
"id": "TOKEN-RENEW",
"name": "OAuth2 Token 自动续期",
"workflow": "renew-gdrive-tokens.yml",
"hibernate_exempt": true,
"priority": "P0",
"alert_on_failure": true,
"alert_channels": ["notion-dashboard", "agent-bulletin"]
},
{
"id": "TOKEN-HEALTH",
"name": "Token 健康检查",
"workflow": "check-token-health.yml",
"hibernate_exempt": true,
"priority": "P0",
"alert_on_failure": true,
"alert_channels": ["notion-dashboard", "agent-bulletin"]
},
{
"id": "NIGHTLY-REPAIR",
"name": "天眼夜间自动修复引擎 v3.0",
"workflow": "tianyan-nightly-scan.yml",
"hibernate_exempt": true,
"priority": "P0",
"alert_on_failure": true,
"alert_channels": ["dashboard", "agent-bulletin"],
"note": "周六休眠期内仅执行扫描+仪表盘更新,跳过修复/PR"
}
]
},
"gdrive_oauth2": {
"service": "Google Drive OAuth2 Token Management",
"plan": "Internal",
"description": "OAuth2 Token 自动续期引擎 · 6天刷新 + 三层保险 + 天眼生命线豁免",
"registry": "config/gdrive-tokens.json",
"scripts": {
"renew_tokens": "scripts/gdrive/renew-tokens.js",
"check_hibernation": "scripts/gdrive/check-hibernation.js",
"push_alerts": "scripts/gdrive/push-token-alerts.js"
},
"workflows": {
"renew": "renew-gdrive-tokens.yml",
"health_check": "check-token-health.yml"
},
"schedule": {
"renew_a": "每周一 10:00 CST (02:00 UTC)",
"renew_b": "每周四 10:00 CST (02:00 UTC)",
"health_check": "每天 12:15 CST (04:15 UTC)"
}
},
"tianyan_nightly_repair": {
"service": "TianYan Nightly Auto-Repair Engine v3.0",
"plan": "Internal",
"description": "天眼夜间自动修复引擎 · 扫描→分析→修复→审核→PR→仪表盘 七阶段闭环",
"config": ".github/tianyan-config.json",
"scripts": {
"analyze": ".github/scripts/tianyan-analyze.js",
"repair": ".github/scripts/tianyan-repair.js",
"review": ".github/scripts/tianyan-review.js"
},
"workflows": {
"nightly_scan": "tianyan-nightly-scan.yml",
"merge_watchdog": "merge-watchdog.yml"
},
"dashboard": "DASHBOARD.md",
"watchdog_records": "docs/dashboard/watchdog-records.json",
"schedule": {
"nightly_scan": "每天 23:00 CST (15:00 UTC)",
"merge_watchdog": "事件驱动PR合并时触发"
},
"agents": ["AG-ZY-087", "AG-ZY-088"]
}
}
}