universal-dev-standards 6.3.7 → 6.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/ai/standards/design-document-standards.ai.yaml +129 -1
- package/bundled/ai/standards/estimation-standards.ai.yaml +123 -1
- package/bundled/ai/standards/privacy-standards.ai.yaml +148 -2
- package/bundled/ai/standards/supply-chain-security-standards.ai.yaml +157 -9
- package/bundled/locales/zh-CN/CHANGELOG.md +12 -3
- package/bundled/locales/zh-CN/README.md +1 -1
- package/bundled/locales/zh-TW/CHANGELOG.md +12 -3
- package/bundled/locales/zh-TW/README.md +1 -1
- package/package.json +1 -4
- package/src/commands/check.js +18 -3
- package/src/commands/config.js +5 -1
- package/src/commands/deps.js +31 -1
- package/src/commands/update.js +16 -3
- package/src/utils/dependency-resolution.js +34 -2
- package/src/utils/integration-generator.js +103 -27
- package/src/utils/registry.js +45 -0
- package/standards-registry.json +7 -7
- package/src/schemas/standard.schema.json +0 -117
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "UDS Standard Definition (v2)",
|
|
4
|
-
"description": "Schema for Universal Development Standards .ai.yaml files, supporting Dual-Layer Architecture.",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"required": ["standard"],
|
|
7
|
-
"properties": {
|
|
8
|
-
"standard": {
|
|
9
|
-
"type": "object",
|
|
10
|
-
"description": "The Imagination Layer: Human-readable and AI-promptable guidelines.",
|
|
11
|
-
"required": ["id", "name", "description", "guidelines"],
|
|
12
|
-
"properties": {
|
|
13
|
-
"id": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"description": "Unique identifier for the standard (e.g., STR-001)."
|
|
16
|
-
},
|
|
17
|
-
"name": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"description": "Display name of the standard."
|
|
20
|
-
},
|
|
21
|
-
"description": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"description": "Brief description for AI context."
|
|
24
|
-
},
|
|
25
|
-
"guidelines": {
|
|
26
|
-
"type": "array",
|
|
27
|
-
"items": {
|
|
28
|
-
"type": "string"
|
|
29
|
-
},
|
|
30
|
-
"description": "List of semantic guidelines."
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"physical_spec": {
|
|
35
|
-
"type": "object",
|
|
36
|
-
"description": "The Physical Layer: Machine-readable constraints and validators.",
|
|
37
|
-
"required": ["type"],
|
|
38
|
-
"properties": {
|
|
39
|
-
"type": {
|
|
40
|
-
"type": "string",
|
|
41
|
-
"enum": ["filesystem_schema", "json_schema", "regex_validator", "custom_script", "script_file"],
|
|
42
|
-
"description": "Type of the physical constraint."
|
|
43
|
-
},
|
|
44
|
-
"schema": {
|
|
45
|
-
"type": "object",
|
|
46
|
-
"description": "The actual schema definition (e.g., directory structure, JSON schema)."
|
|
47
|
-
},
|
|
48
|
-
"validator": {
|
|
49
|
-
"type": "object",
|
|
50
|
-
"description": "Configuration for the validation command.",
|
|
51
|
-
"properties": {
|
|
52
|
-
"command": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"description": "Shell command to run validation (use placeholders like {target})."
|
|
55
|
-
},
|
|
56
|
-
"script_path": {
|
|
57
|
-
"type": "string",
|
|
58
|
-
"description": "Path to a JS/TS script file that performs validation."
|
|
59
|
-
},
|
|
60
|
-
"rule": {
|
|
61
|
-
"type": "string",
|
|
62
|
-
"description": "Validation rule identifier."
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"simulator": {
|
|
67
|
-
"type": "object",
|
|
68
|
-
"description": "Configuration for the simulation command (predictive validation).",
|
|
69
|
-
"properties": {
|
|
70
|
-
"command": {
|
|
71
|
-
"type": "string",
|
|
72
|
-
"description": "Command to run simulation. Use {input} placeholder."
|
|
73
|
-
},
|
|
74
|
-
"script_path": {
|
|
75
|
-
"type": "string",
|
|
76
|
-
"description": "Path to a JS/TS script file that performs simulation."
|
|
77
|
-
},
|
|
78
|
-
"type": {
|
|
79
|
-
"type": "string",
|
|
80
|
-
"enum": ["command", "script", "script_file"],
|
|
81
|
-
"default": "command"
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"required": ["command"]
|
|
85
|
-
},
|
|
86
|
-
"fixer": {
|
|
87
|
-
"type": "object",
|
|
88
|
-
"description": "Configuration for auto-fixing violations.",
|
|
89
|
-
"properties": {
|
|
90
|
-
"type": {
|
|
91
|
-
"type": "string",
|
|
92
|
-
"enum": ["command", "copy_template", "script_file"],
|
|
93
|
-
"description": "Type of fix action"
|
|
94
|
-
},
|
|
95
|
-
"command": {
|
|
96
|
-
"type": "string",
|
|
97
|
-
"description": "Command to run for fixing (for type=command)"
|
|
98
|
-
},
|
|
99
|
-
"script_path": {
|
|
100
|
-
"type": "string",
|
|
101
|
-
"description": "Path to a JS/TS script file that performs fixing (for type=script_file)."
|
|
102
|
-
},
|
|
103
|
-
"template_file": {
|
|
104
|
-
"type": "string",
|
|
105
|
-
"description": "Path to template file (relative to .standards/templates or absolute)"
|
|
106
|
-
},
|
|
107
|
-
"destination": {
|
|
108
|
-
"type": "string",
|
|
109
|
-
"description": "Destination path (relative to project root)"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
"required": ["type"]
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|