- 添加 SCALE Engine 配置 (.scale/) - 添加 OpenClaw Agent 配置 (.openclaw/) - 添加知识文档 (AGENTS.md, TOOLS.md) - 添加质量契约和工作流配置 - 添加 22 个工作流模板 - 添加验证脚本和门控脚本 - 添加 skills-registry 技能注册表
35 lines
893 B
JSON
35 lines
893 B
JSON
{
|
|
"hooks": {
|
|
"pre-exec": [
|
|
{
|
|
"matcher": "",
|
|
"command": "scale gate pre-tool Bash --args-json \"$ARGS\" --session-id \"$SESSION_ID\""
|
|
},
|
|
{
|
|
"matcher": "edit|write",
|
|
"command": "scale gate pre-tool Edit --args-json \"$ARGS\" --session-id \"$SESSION_ID\""
|
|
}
|
|
],
|
|
"post-exec": [
|
|
{
|
|
"matcher": "edit|write",
|
|
"command": "scale gate post-tool Edit --args-json \"$ARGS\" --exit-code \"$EXIT_CODE\" --session-id \"$SESSION_ID\""
|
|
},
|
|
{
|
|
"matcher": "",
|
|
"command": "scale gate post-tool Bash --args-json \"$ARGS\" --exit-code \"$EXIT_CODE\" --session-id \"$SESSION_ID\""
|
|
}
|
|
],
|
|
"before-stop": [
|
|
{
|
|
"matcher": "",
|
|
"command": "scale gate before-stop --session-id \"$SESSION_ID\""
|
|
}
|
|
]
|
|
},
|
|
"permissions": {
|
|
"allow": [
|
|
"scale:*"
|
|
]
|
|
}
|
|
} |