feat: 初始化 SCALE OS 工程框架
- 添加 SCALE Engine 配置 (.scale/) - 添加 OpenClaw Agent 配置 (.openclaw/) - 添加知识文档 (AGENTS.md, TOOLS.md) - 添加质量契约和工作流配置 - 添加 22 个工作流模板 - 添加验证脚本和门控脚本 - 添加 skills-registry 技能注册表
This commit is contained in:
33
.scale/product-smoke.json
Normal file
33
.scale/product-smoke.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"version": 1,
|
||||
"gate": "warn",
|
||||
"requiredForLevels": [
|
||||
"M",
|
||||
"L",
|
||||
"CRITICAL"
|
||||
],
|
||||
"emptyProbeBehavior": "block",
|
||||
"setupGuide": [
|
||||
"Set probes[].enabled=true only after replacing the example command with a real product path.",
|
||||
"Use a command that crosses the real boundary: client/UI -> gateway/router -> service -> persistence or observable result.",
|
||||
"Run: scale preflight --profile productSmoke --json",
|
||||
"Run: scale runtime final-check --level M --json"
|
||||
],
|
||||
"runtimeEvidence": {
|
||||
"requiredKind": "command",
|
||||
"requiredStatus": "passed",
|
||||
"requireArtifacts": true
|
||||
},
|
||||
"probes": [
|
||||
{
|
||||
"id": "example-business-flow",
|
||||
"enabled": false,
|
||||
"description": "Replace with a real user/product path such as UI -> gateway -> service -> database/storage.",
|
||||
"command": "curl -fsS http://127.0.0.1:3000/health",
|
||||
"expected": {
|
||||
"exitCode": 0,
|
||||
"evidenceArtifact": ".agent/logs/product-smoke.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user