@mytechtoday/augment-extensions 1.3.0 → 1.3.1
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/LICENSE +22 -22
- package/augment-extensions/domain-rules/software-architecture/README.md +143 -143
- package/augment-extensions/domain-rules/software-architecture/examples/banking-layered.md +961 -961
- package/augment-extensions/domain-rules/software-architecture/examples/ecommerce-microservices.md +990 -990
- package/augment-extensions/domain-rules/software-architecture/examples/iot-eventdriven.md +882 -882
- package/augment-extensions/domain-rules/software-architecture/examples/monolith-to-microservices-migration.md +703 -703
- package/augment-extensions/domain-rules/software-architecture/examples/serverless-imageprocessing.md +957 -957
- package/augment-extensions/domain-rules/software-architecture/examples/trading-eventdriven.md +747 -747
- package/augment-extensions/domain-rules/software-architecture/module.json +119 -119
- package/augment-extensions/domain-rules/software-architecture/rules/challenges-solutions.md +763 -763
- package/augment-extensions/domain-rules/software-architecture/rules/definitions-terminology.md +409 -409
- package/augment-extensions/domain-rules/software-architecture/rules/design-principles.md +684 -684
- package/augment-extensions/domain-rules/software-architecture/rules/evaluation-testing.md +1381 -1381
- package/augment-extensions/domain-rules/software-architecture/rules/event-driven-architecture.md +616 -616
- package/augment-extensions/domain-rules/software-architecture/rules/fundamentals.md +306 -306
- package/augment-extensions/domain-rules/software-architecture/rules/industry-architectures.md +554 -554
- package/augment-extensions/domain-rules/software-architecture/rules/layered-architecture.md +776 -776
- package/augment-extensions/domain-rules/software-architecture/rules/microservices-architecture.md +503 -503
- package/augment-extensions/domain-rules/software-architecture/rules/modeling-documentation.md +1199 -1199
- package/augment-extensions/domain-rules/software-architecture/rules/monolithic-architecture.md +351 -351
- package/augment-extensions/domain-rules/software-architecture/rules/principles.md +556 -556
- package/augment-extensions/domain-rules/software-architecture/rules/quality-attributes.md +797 -797
- package/augment-extensions/domain-rules/software-architecture/rules/scalability-performance.md +1345 -1345
- package/augment-extensions/domain-rules/software-architecture/rules/security-architecture.md +1039 -1039
- package/augment-extensions/domain-rules/software-architecture/rules/serverless-architecture.md +711 -711
- package/augment-extensions/domain-rules/software-architecture/rules/skills-development.md +568 -568
- package/augment-extensions/domain-rules/software-architecture/rules/tools-methodologies.md +961 -961
- package/augment-extensions/visual-design/CHANGELOG.md +132 -132
- package/augment-extensions/visual-design/README.md +255 -255
- package/augment-extensions/visual-design/__tests__/README.md +119 -119
- package/augment-extensions/visual-design/__tests__/style-selector.test.ts +172 -172
- package/augment-extensions/visual-design/__tests__/vendor-styles.test.ts +214 -214
- package/augment-extensions/visual-design/domains/other/ai-prompt-helper.ts +157 -157
- package/augment-extensions/visual-design/domains/other/dotnet-application.ts +156 -156
- package/augment-extensions/visual-design/domains/other/linux-platform.ts +156 -156
- package/augment-extensions/visual-design/domains/other/mobile-application.ts +157 -157
- package/augment-extensions/visual-design/domains/other/motion-picture.ts +156 -156
- package/augment-extensions/visual-design/domains/other/os-application.ts +156 -156
- package/augment-extensions/visual-design/domains/other/print-campaigns.ts +158 -158
- package/augment-extensions/visual-design/domains/other/web-app.ts +157 -157
- package/augment-extensions/visual-design/domains/other/website.ts +161 -161
- package/augment-extensions/visual-design/domains/other/windows-platform.ts +156 -156
- package/augment-extensions/visual-design/domains/web-page-styles/amazon-cloudscape.ts +506 -506
- package/augment-extensions/visual-design/domains/web-page-styles/google-modern.ts +615 -615
- package/augment-extensions/visual-design/domains/web-page-styles/microsoft-fluent.ts +531 -531
- package/augment-extensions/visual-design/examples/README.md +97 -97
- package/augment-extensions/visual-design/examples/ai-prompt-generation.md +233 -233
- package/augment-extensions/visual-design/examples/basic-usage.md +216 -216
- package/augment-extensions/visual-design/examples/domain-workflows.md +257 -257
- package/augment-extensions/visual-design/examples/vendor-comparison.md +247 -247
- package/augment-extensions/visual-design/module.json +78 -78
- package/augment-extensions/visual-design/style-selector.ts +177 -177
- package/augment-extensions/visual-design/types.ts +302 -302
- package/augment-extensions/visual-design/visual-design-core.ts +469 -469
- package/augment-extensions/workflows/adr-support/README.md +227 -227
- package/augment-extensions/workflows/adr-support/__tests__/adr-validator.test.ts +203 -203
- package/augment-extensions/workflows/adr-support/adr-validator.ts +162 -162
- package/augment-extensions/workflows/adr-support/examples/complete-lifecycle-example.md +449 -449
- package/augment-extensions/workflows/adr-support/examples/integration-example.md +580 -580
- package/augment-extensions/workflows/adr-support/examples/superseding-example.md +436 -436
- package/augment-extensions/workflows/adr-support/module.json +112 -112
- package/augment-extensions/workflows/adr-support/rules/adr-creation.md +372 -372
- package/augment-extensions/workflows/adr-support/rules/beads-integration.md +443 -443
- package/augment-extensions/workflows/adr-support/rules/conflict-detection.md +486 -486
- package/augment-extensions/workflows/adr-support/rules/decision-detection.md +362 -362
- package/augment-extensions/workflows/adr-support/rules/lifecycle-management.md +427 -427
- package/augment-extensions/workflows/adr-support/rules/openspec-integration.md +465 -465
- package/augment-extensions/workflows/adr-support/rules/template-selection.md +405 -405
- package/augment-extensions/workflows/adr-support/rules/validation-rules.md +543 -543
- package/augment-extensions/workflows/adr-support/schemas/adr-config.json +191 -191
- package/augment-extensions/workflows/adr-support/schemas/adr-metadata.json +172 -172
- package/augment-extensions/workflows/adr-support/templates/business-case.md +235 -235
- package/augment-extensions/workflows/adr-support/templates/madr-elaborate.md +197 -197
- package/augment-extensions/workflows/adr-support/templates/madr-simple.md +68 -68
- package/augment-extensions/workflows/adr-support/templates/nygard.md +84 -84
- package/augment-extensions/writing-standards/screenplay/rules/file-organization.md +213 -213
- package/augment-extensions/writing-standards/screenplay/utils/__tests__/file-organization.test.ts +169 -169
- package/augment-extensions/writing-standards/screenplay/utils/file-organization.ts +165 -165
- package/cli/dist/utils/auto-sync.js +19 -19
- package/package.json +5 -3
- package/augment-extensions/workflows/openspec/README.md +0 -96
- package/augment-extensions/workflows/openspec/examples/complete-change-example.md +0 -244
- package/augment-extensions/workflows/openspec/module.json +0 -54
- package/augment-extensions/workflows/openspec/rules/best-practices.md +0 -272
- package/augment-extensions/workflows/openspec/rules/manual-setup.md +0 -231
- package/augment-extensions/workflows/openspec/rules/spec-format.md +0 -236
- package/augment-extensions/workflows/openspec/rules/workflow.md +0 -214
- package/cli/dist/utils/__tests__/adr-validator.example.d.ts +0 -6
- package/cli/dist/utils/__tests__/adr-validator.example.d.ts.map +0 -1
- package/cli/dist/utils/__tests__/adr-validator.example.js +0 -148
- package/cli/dist/utils/__tests__/adr-validator.example.js.map +0 -1
- package/cli/dist/utils/adr-validator.d.ts +0 -65
- package/cli/dist/utils/adr-validator.d.ts.map +0 -1
- package/cli/dist/utils/adr-validator.js +0 -203
- package/cli/dist/utils/adr-validator.js.map +0 -1
|
@@ -1,172 +1,172 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://augment-extensions.dev/schemas/adr-metadata.json",
|
|
4
|
-
"title": "ADR Metadata Schema",
|
|
5
|
-
"description": "JSON schema for ADR frontmatter metadata validation",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"title": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"description": "Title of the ADR",
|
|
11
|
-
"minLength": 10,
|
|
12
|
-
"maxLength": 100
|
|
13
|
-
},
|
|
14
|
-
"status": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"description": "Current status of the ADR",
|
|
17
|
-
"enum": ["draft", "proposed", "approved", "implemented", "maintained", "superseded", "sunset"]
|
|
18
|
-
},
|
|
19
|
-
"date": {
|
|
20
|
-
"type": "string",
|
|
21
|
-
"description": "Date of the ADR (ISO 8601 format)",
|
|
22
|
-
"format": "date",
|
|
23
|
-
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
24
|
-
},
|
|
25
|
-
"deciders": {
|
|
26
|
-
"type": "array",
|
|
27
|
-
"description": "List of people who made the decision",
|
|
28
|
-
"items": {
|
|
29
|
-
"type": "string",
|
|
30
|
-
"minLength": 1
|
|
31
|
-
},
|
|
32
|
-
"minItems": 1,
|
|
33
|
-
"uniqueItems": true
|
|
34
|
-
},
|
|
35
|
-
"consulted": {
|
|
36
|
-
"type": "array",
|
|
37
|
-
"description": "List of people consulted for the decision",
|
|
38
|
-
"items": {
|
|
39
|
-
"type": "string",
|
|
40
|
-
"minLength": 1
|
|
41
|
-
},
|
|
42
|
-
"uniqueItems": true
|
|
43
|
-
},
|
|
44
|
-
"informed": {
|
|
45
|
-
"type": "array",
|
|
46
|
-
"description": "List of people informed about the decision",
|
|
47
|
-
"items": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"minLength": 1
|
|
50
|
-
},
|
|
51
|
-
"uniqueItems": true
|
|
52
|
-
},
|
|
53
|
-
"tags": {
|
|
54
|
-
"type": "array",
|
|
55
|
-
"description": "Tags for categorizing the ADR",
|
|
56
|
-
"items": {
|
|
57
|
-
"type": "string",
|
|
58
|
-
"pattern": "^[a-z0-9-]+$"
|
|
59
|
-
},
|
|
60
|
-
"uniqueItems": true
|
|
61
|
-
},
|
|
62
|
-
"supersedes": {
|
|
63
|
-
"type": "array",
|
|
64
|
-
"description": "List of ADR numbers this ADR supersedes",
|
|
65
|
-
"items": {
|
|
66
|
-
"type": "string",
|
|
67
|
-
"pattern": "^(\\d{4}|\\d{4}-\\d{2}-\\d{2})$"
|
|
68
|
-
},
|
|
69
|
-
"uniqueItems": true
|
|
70
|
-
},
|
|
71
|
-
"supersededBy": {
|
|
72
|
-
"type": "string",
|
|
73
|
-
"description": "ADR number that supersedes this ADR",
|
|
74
|
-
"pattern": "^(\\d{4}|\\d{4}-\\d{2}-\\d{2})$"
|
|
75
|
-
},
|
|
76
|
-
"relatedTo": {
|
|
77
|
-
"type": "array",
|
|
78
|
-
"description": "List of related ADR numbers",
|
|
79
|
-
"items": {
|
|
80
|
-
"type": "string",
|
|
81
|
-
"pattern": "^(\\d{4}|\\d{4}-\\d{2}-\\d{2})$"
|
|
82
|
-
},
|
|
83
|
-
"uniqueItems": true
|
|
84
|
-
},
|
|
85
|
-
"openspecSpecs": {
|
|
86
|
-
"type": "array",
|
|
87
|
-
"description": "Related OpenSpec specification files",
|
|
88
|
-
"items": {
|
|
89
|
-
"type": "string",
|
|
90
|
-
"pattern": "^openspec/specs/.*\\.md$"
|
|
91
|
-
},
|
|
92
|
-
"uniqueItems": true
|
|
93
|
-
},
|
|
94
|
-
"beadsIssues": {
|
|
95
|
-
"type": "array",
|
|
96
|
-
"description": "Related Beads issue IDs",
|
|
97
|
-
"items": {
|
|
98
|
-
"type": "string",
|
|
99
|
-
"pattern": "^bd-[a-z0-9]+(\\.\\d+)?$"
|
|
100
|
-
},
|
|
101
|
-
"uniqueItems": true
|
|
102
|
-
},
|
|
103
|
-
"implementationStatus": {
|
|
104
|
-
"type": "string",
|
|
105
|
-
"description": "Implementation status of the decision",
|
|
106
|
-
"enum": ["not-started", "in-progress", "completed", "blocked", "deferred"]
|
|
107
|
-
},
|
|
108
|
-
"reviewDate": {
|
|
109
|
-
"type": "string",
|
|
110
|
-
"description": "Next scheduled review date (ISO 8601 format)",
|
|
111
|
-
"format": "date",
|
|
112
|
-
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
113
|
-
},
|
|
114
|
-
"lastReviewed": {
|
|
115
|
-
"type": "string",
|
|
116
|
-
"description": "Date of last review (ISO 8601 format)",
|
|
117
|
-
"format": "date",
|
|
118
|
-
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
119
|
-
},
|
|
120
|
-
"impact": {
|
|
121
|
-
"type": "string",
|
|
122
|
-
"description": "Impact level of the decision",
|
|
123
|
-
"enum": ["low", "medium", "high", "critical"]
|
|
124
|
-
},
|
|
125
|
-
"scope": {
|
|
126
|
-
"type": "array",
|
|
127
|
-
"description": "Scope of the decision (e.g., components, modules affected)",
|
|
128
|
-
"items": {
|
|
129
|
-
"type": "string",
|
|
130
|
-
"minLength": 1
|
|
131
|
-
},
|
|
132
|
-
"uniqueItems": true
|
|
133
|
-
},
|
|
134
|
-
"stakeholders": {
|
|
135
|
-
"type": "array",
|
|
136
|
-
"description": "Stakeholders affected by the decision",
|
|
137
|
-
"items": {
|
|
138
|
-
"type": "string",
|
|
139
|
-
"minLength": 1
|
|
140
|
-
},
|
|
141
|
-
"uniqueItems": true
|
|
142
|
-
},
|
|
143
|
-
"technicalDebt": {
|
|
144
|
-
"type": "object",
|
|
145
|
-
"description": "Technical debt information",
|
|
146
|
-
"properties": {
|
|
147
|
-
"exists": {
|
|
148
|
-
"type": "boolean",
|
|
149
|
-
"description": "Whether this decision introduces technical debt"
|
|
150
|
-
},
|
|
151
|
-
"description": {
|
|
152
|
-
"type": "string",
|
|
153
|
-
"description": "Description of the technical debt"
|
|
154
|
-
},
|
|
155
|
-
"mitigationPlan": {
|
|
156
|
-
"type": "string",
|
|
157
|
-
"description": "Plan to address the technical debt"
|
|
158
|
-
},
|
|
159
|
-
"targetDate": {
|
|
160
|
-
"type": "string",
|
|
161
|
-
"description": "Target date to address the debt (ISO 8601 format)",
|
|
162
|
-
"format": "date",
|
|
163
|
-
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
"required": ["exists"]
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
"required": ["title", "status", "date", "deciders"],
|
|
170
|
-
"additionalProperties": true
|
|
171
|
-
}
|
|
172
|
-
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://augment-extensions.dev/schemas/adr-metadata.json",
|
|
4
|
+
"title": "ADR Metadata Schema",
|
|
5
|
+
"description": "JSON schema for ADR frontmatter metadata validation",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"title": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Title of the ADR",
|
|
11
|
+
"minLength": 10,
|
|
12
|
+
"maxLength": 100
|
|
13
|
+
},
|
|
14
|
+
"status": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "Current status of the ADR",
|
|
17
|
+
"enum": ["draft", "proposed", "approved", "implemented", "maintained", "superseded", "sunset"]
|
|
18
|
+
},
|
|
19
|
+
"date": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "Date of the ADR (ISO 8601 format)",
|
|
22
|
+
"format": "date",
|
|
23
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
24
|
+
},
|
|
25
|
+
"deciders": {
|
|
26
|
+
"type": "array",
|
|
27
|
+
"description": "List of people who made the decision",
|
|
28
|
+
"items": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"minLength": 1
|
|
31
|
+
},
|
|
32
|
+
"minItems": 1,
|
|
33
|
+
"uniqueItems": true
|
|
34
|
+
},
|
|
35
|
+
"consulted": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"description": "List of people consulted for the decision",
|
|
38
|
+
"items": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"minLength": 1
|
|
41
|
+
},
|
|
42
|
+
"uniqueItems": true
|
|
43
|
+
},
|
|
44
|
+
"informed": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"description": "List of people informed about the decision",
|
|
47
|
+
"items": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"minLength": 1
|
|
50
|
+
},
|
|
51
|
+
"uniqueItems": true
|
|
52
|
+
},
|
|
53
|
+
"tags": {
|
|
54
|
+
"type": "array",
|
|
55
|
+
"description": "Tags for categorizing the ADR",
|
|
56
|
+
"items": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"pattern": "^[a-z0-9-]+$"
|
|
59
|
+
},
|
|
60
|
+
"uniqueItems": true
|
|
61
|
+
},
|
|
62
|
+
"supersedes": {
|
|
63
|
+
"type": "array",
|
|
64
|
+
"description": "List of ADR numbers this ADR supersedes",
|
|
65
|
+
"items": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"pattern": "^(\\d{4}|\\d{4}-\\d{2}-\\d{2})$"
|
|
68
|
+
},
|
|
69
|
+
"uniqueItems": true
|
|
70
|
+
},
|
|
71
|
+
"supersededBy": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"description": "ADR number that supersedes this ADR",
|
|
74
|
+
"pattern": "^(\\d{4}|\\d{4}-\\d{2}-\\d{2})$"
|
|
75
|
+
},
|
|
76
|
+
"relatedTo": {
|
|
77
|
+
"type": "array",
|
|
78
|
+
"description": "List of related ADR numbers",
|
|
79
|
+
"items": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"pattern": "^(\\d{4}|\\d{4}-\\d{2}-\\d{2})$"
|
|
82
|
+
},
|
|
83
|
+
"uniqueItems": true
|
|
84
|
+
},
|
|
85
|
+
"openspecSpecs": {
|
|
86
|
+
"type": "array",
|
|
87
|
+
"description": "Related OpenSpec specification files",
|
|
88
|
+
"items": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"pattern": "^openspec/specs/.*\\.md$"
|
|
91
|
+
},
|
|
92
|
+
"uniqueItems": true
|
|
93
|
+
},
|
|
94
|
+
"beadsIssues": {
|
|
95
|
+
"type": "array",
|
|
96
|
+
"description": "Related Beads issue IDs",
|
|
97
|
+
"items": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"pattern": "^bd-[a-z0-9]+(\\.\\d+)?$"
|
|
100
|
+
},
|
|
101
|
+
"uniqueItems": true
|
|
102
|
+
},
|
|
103
|
+
"implementationStatus": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"description": "Implementation status of the decision",
|
|
106
|
+
"enum": ["not-started", "in-progress", "completed", "blocked", "deferred"]
|
|
107
|
+
},
|
|
108
|
+
"reviewDate": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"description": "Next scheduled review date (ISO 8601 format)",
|
|
111
|
+
"format": "date",
|
|
112
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
113
|
+
},
|
|
114
|
+
"lastReviewed": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"description": "Date of last review (ISO 8601 format)",
|
|
117
|
+
"format": "date",
|
|
118
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
119
|
+
},
|
|
120
|
+
"impact": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"description": "Impact level of the decision",
|
|
123
|
+
"enum": ["low", "medium", "high", "critical"]
|
|
124
|
+
},
|
|
125
|
+
"scope": {
|
|
126
|
+
"type": "array",
|
|
127
|
+
"description": "Scope of the decision (e.g., components, modules affected)",
|
|
128
|
+
"items": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"minLength": 1
|
|
131
|
+
},
|
|
132
|
+
"uniqueItems": true
|
|
133
|
+
},
|
|
134
|
+
"stakeholders": {
|
|
135
|
+
"type": "array",
|
|
136
|
+
"description": "Stakeholders affected by the decision",
|
|
137
|
+
"items": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"minLength": 1
|
|
140
|
+
},
|
|
141
|
+
"uniqueItems": true
|
|
142
|
+
},
|
|
143
|
+
"technicalDebt": {
|
|
144
|
+
"type": "object",
|
|
145
|
+
"description": "Technical debt information",
|
|
146
|
+
"properties": {
|
|
147
|
+
"exists": {
|
|
148
|
+
"type": "boolean",
|
|
149
|
+
"description": "Whether this decision introduces technical debt"
|
|
150
|
+
},
|
|
151
|
+
"description": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"description": "Description of the technical debt"
|
|
154
|
+
},
|
|
155
|
+
"mitigationPlan": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"description": "Plan to address the technical debt"
|
|
158
|
+
},
|
|
159
|
+
"targetDate": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"description": "Target date to address the debt (ISO 8601 format)",
|
|
162
|
+
"format": "date",
|
|
163
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"required": ["exists"]
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"required": ["title", "status", "date", "deciders"],
|
|
170
|
+
"additionalProperties": true
|
|
171
|
+
}
|
|
172
|
+
|