zhizhi/.github/persona-brain/gate-guard-config.json

103 lines
3.2 KiB
JSON

{
"version": "1.0.1",
"updated_at": "2026-03-16",
"description": "铸渊·智能门禁 · 开发者权限矩阵配置",
"note": "developer_permissions 中的 github_usernames 需要由管理员填入实际的 GitHub 登录用户名(非显示名)。参考 .github/gate-guard-config.json 中冰朔确认的开发者映射表。含中文字符的显示名非 GitHub 用户名,需管理员确认实际用户名后补充。",
"repo_owner": "qinfendebingshuo",
"owner_principle": "仓库主人的推送永远放行,不拦截。其他所有非主人推送按门禁系统拦截分流。(冰朔 2026-03-16 确认)",
"whitelist_actors": [
"github-actions[bot]",
"qinfendebingshuo",
"zhuyuan-bot"
],
"whitelist_commit_prefixes": [
"🔍", "📊", "📡", "🧠", "📢", "🚨", "📰", "🔧", "🦅", "🎖️", "🔐", "🌊"
],
"signature_exempt_paths": [
"syslog-inbox/",
"data/dc-reports/",
"data/bulletin-board/",
"data/security/"
],
"system_protected_paths": [
".github/",
"scripts/",
"README.md",
"package.json",
"package-lock.json",
"data/",
"core/",
"connectors/",
"docs/",
"openclaw/"
],
"developer_permissions": {
"DEV-001": {
"name": "页页",
"persona_id": "PER-001",
"github_usernames": ["夜夜光湖"],
"allowed_paths": ["dev/DEV-001/", "backend/", "src/"]
},
"DEV-002": {
"name": "肥猫",
"persona_id": "PER-002",
"github_usernames": ["建培"],
"allowed_paths": ["dev/DEV-002/", "frontend/", "persona-selector/", "chat-bubble/"]
},
"DEV-003": {
"name": "燕樊",
"persona_id": "PER-003",
"github_usernames": ["六寻寻7-max"],
"allowed_paths": ["dev/DEV-003/", "settings/", "cloud-drive/"]
},
"DEV-004": {
"name": "之之",
"persona_id": "PER-004",
"github_usernames": ["zhizhi200271"],
"allowed_paths": ["dev/DEV-004/", "dingtalk-bot/"]
},
"DEV-005": {
"name": "小草莓",
"persona_id": "PER-005",
"github_usernames": ["stbr-0709"],
"allowed_paths": ["dev/DEV-005/", "status-board/", "cost-control/"]
},
"DEV-009": {
"name": "花尔",
"persona_id": "PER-009",
"github_usernames": ["华尔华"],
"allowed_paths": ["dev/DEV-009/", "user-center/"]
},
"DEV-010": {
"name": "桔子",
"persona_id": "PER-010",
"github_usernames": ["juzi0412"],
"allowed_paths": ["dev/DEV-010/", "ticket-system/", "data-stats/", "dynamic-comic/"]
},
"DEV-011": {
"name": "匆匆那年",
"persona_id": "PER-011",
"github_usernames": [],
"allowed_paths": ["dev/DEV-011/", "writing-workspace/"]
},
"DEV-012": {
"name": "Awen",
"persona_id": "PER-012",
"github_usernames": ["文卓熙"],
"allowed_paths": ["dev/DEV-012/", "notification-center/", "notification/"]
},
"DEV-013": {
"name": "小兴",
"persona_id": "PER-013",
"github_usernames": [],
"allowed_paths": []
},
"DEV-014": {
"name": "时雨",
"persona_id": "PER-014",
"github_usernames": [],
"allowed_paths": []
}
}
}