feat: 初始化 SCALE OS 工程框架
- 添加 SCALE Engine 配置 (.scale/) - 添加 OpenClaw Agent 配置 (.openclaw/) - 添加知识文档 (AGENTS.md, TOOLS.md) - 添加质量契约和工作流配置 - 添加 22 个工作流模板 - 添加验证脚本和门控脚本 - 添加 skills-registry 技能注册表
This commit is contained in:
67
.scale/engineering-standards.json
Normal file
67
.scale/engineering-standards.json
Normal file
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"version": 1,
|
||||
"mode": "warn",
|
||||
"sourceDirectories": [
|
||||
"src",
|
||||
"app",
|
||||
"packages",
|
||||
"services",
|
||||
"cmd",
|
||||
"internal",
|
||||
"pkg"
|
||||
],
|
||||
"ignoredDirectories": [
|
||||
".git",
|
||||
".scale",
|
||||
"node_modules",
|
||||
"dist",
|
||||
"build",
|
||||
"coverage",
|
||||
"test-results",
|
||||
"playwright-report",
|
||||
"tmp",
|
||||
"temp",
|
||||
"docs",
|
||||
"tests",
|
||||
"__tests__",
|
||||
"e2e"
|
||||
],
|
||||
"allowedConsoleDirectories": [
|
||||
"src/api",
|
||||
"src/cli",
|
||||
"scripts"
|
||||
],
|
||||
"allowedConsoleFiles": [
|
||||
"src/dashboard/DashboardServer.ts"
|
||||
],
|
||||
"maxFileLines": 500,
|
||||
"logging": {
|
||||
"approvedLoggers": [
|
||||
"pino",
|
||||
"winston",
|
||||
"zap",
|
||||
"zerolog",
|
||||
"logrus",
|
||||
"slog"
|
||||
],
|
||||
"sensitiveFields": [
|
||||
"password",
|
||||
"passwd",
|
||||
"token",
|
||||
"accessToken",
|
||||
"refreshToken",
|
||||
"secret",
|
||||
"authorization",
|
||||
"cookie",
|
||||
"apiKey",
|
||||
"credential",
|
||||
"privateKey"
|
||||
]
|
||||
},
|
||||
"architecture": {
|
||||
"enforceLayering": true
|
||||
},
|
||||
"blockingRules": [],
|
||||
"allowedFindingPatterns": [],
|
||||
"baselineFindings": []
|
||||
}
|
||||
Reference in New Issue
Block a user