guanghulab/skyeye/guards/quota-guard.json
Guanghu Domestic Migration d1e47f4565
Some checks are pending
自动更新代码和重启 / update-and-restart (push) Waiting to run
CI检查 + 自动部署 / check (push) Waiting to run
CI检查 + 自动部署 / deploy (push) Blocked by required conditions
重启聊天服务 / restart (push) Waiting to run
chore: import sanitized domestic snapshot for REPO-002
Source snapshot: ca48d3ddf926d79aa138306164169baf764bb829
2026-07-17 15:54:41 +08:00

56 lines
1.6 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.

{
"guard_id": "QUOTA-GUARD",
"guard_name": "天眼配额守卫",
"version": "1.0",
"instruction": "ZY-AGEOS-TOWER-2026-0326-001",
"copyright": "国作登字-2026-A-00037559",
"quota_pool": {
"description": "冰朔企业会员每日总调用配额",
"source": "GitHub Copilot Enterprise",
"daily_total": "auto-detect"
},
"priority_tiers": {
"P0": {
"name": "冰朔保留区",
"allocation_percent": 40,
"members": ["TCS-0002"],
"borrowable": false,
"description": "永不可被其他人借用,即使全团队配额耗尽"
},
"P1": {
"name": "核心开发者",
"allocation_percent": 40,
"members": ["DEV-002", "DEV-004", "DEV-010"],
"per_member_daily_cap": "equal_split",
"borrowable_to_P2": true,
"description": "闲置配额可临时借给P2"
},
"P2": {
"name": "一般成员",
"allocation_percent": 20,
"members": ["DEV-001", "DEV-003", "DEV-005", "DEV-009", "DEV-011", "DEV-012"],
"per_member_daily_cap": "equal_split",
"borrowable": false
}
},
"dynamic_adjustment": {
"enabled": true,
"trigger": "daily",
"logic": "基于前一天实际使用量动态调整P1/P2分配比例P0保留区不变"
},
"alerts": [
{
"condition": "P0保留区被尝试访问非冰朔",
"action": "拒绝 + 记录日志"
},
{
"condition": "任一成员达到当日上限80%",
"action": "预警通知"
},
{
"condition": "总配额消耗达到90%",
"action": "全员预警 + 限制P2调用"
}
]
}