@arcfoundry/schemas 0.1.2
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/README.md +3 -0
- package/dist/artifact-content-registry.d.ts +165 -0
- package/dist/artifact-content-registry.js +11 -0
- package/dist/artifact-content-registry.js.map +1 -0
- package/dist/base/command-evidence.d.ts +30 -0
- package/dist/base/command-evidence.js +21 -0
- package/dist/base/command-evidence.js.map +1 -0
- package/dist/base.d.ts +150 -0
- package/dist/base.js +41 -0
- package/dist/base.js.map +1 -0
- package/dist/catalog/agent-roles.d.ts +1 -0
- package/dist/catalog/agent-roles.js +18 -0
- package/dist/catalog/agent-roles.js.map +1 -0
- package/dist/catalog/artifact-types.d.ts +1 -0
- package/dist/catalog/artifact-types.js +27 -0
- package/dist/catalog/artifact-types.js.map +1 -0
- package/dist/catalog/workflow-stages.d.ts +1 -0
- package/dist/catalog/workflow-stages.js +21 -0
- package/dist/catalog/workflow-stages.js.map +1 -0
- package/dist/catalog.d.ts +9 -0
- package/dist/catalog.js +4 -0
- package/dist/catalog.js.map +1 -0
- package/dist/content/browser-validation.d.ts +54 -0
- package/dist/content/browser-validation.js +23 -0
- package/dist/content/browser-validation.js.map +1 -0
- package/dist/content/build-reports.d.ts +34 -0
- package/dist/content/build-reports.js +19 -0
- package/dist/content/build-reports.js.map +1 -0
- package/dist/content/conflict-report.d.ts +20 -0
- package/dist/content/conflict-report.js +12 -0
- package/dist/content/conflict-report.js.map +1 -0
- package/dist/content/delivery.d.ts +27 -0
- package/dist/content/delivery.js +19 -0
- package/dist/content/delivery.js.map +1 -0
- package/dist/content/failure-report.d.ts +48 -0
- package/dist/content/failure-report.js +26 -0
- package/dist/content/failure-report.js.map +1 -0
- package/dist/content/memory.d.ts +16 -0
- package/dist/content/memory.js +15 -0
- package/dist/content/memory.js.map +1 -0
- package/dist/content/planning.d.ts +113 -0
- package/dist/content/planning.js +31 -0
- package/dist/content/planning.js.map +1 -0
- package/dist/content/registry.d.ts +325 -0
- package/dist/content/registry.js +33 -0
- package/dist/content/registry.js.map +1 -0
- package/dist/content/review.d.ts +40 -0
- package/dist/content/review.js +24 -0
- package/dist/content/review.js.map +1 -0
- package/dist/content/system-verification.d.ts +58 -0
- package/dist/content/system-verification.js +33 -0
- package/dist/content/system-verification.js.map +1 -0
- package/dist/content.d.ts +9 -0
- package/dist/content.js +10 -0
- package/dist/content.js.map +1 -0
- package/dist/dispatch.d.ts +17 -0
- package/dist/dispatch.js +24 -0
- package/dist/dispatch.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/package.json +27 -0
- package/schemas/accessibility-review.schema.json +175 -0
- package/schemas/adr-record.schema.json +175 -0
- package/schemas/browser-validation-report.schema.json +273 -0
- package/schemas/client-brief.schema.json +175 -0
- package/schemas/client-summary.schema.json +175 -0
- package/schemas/conflict-report.schema.json +211 -0
- package/schemas/delivery-plan.schema.json +175 -0
- package/schemas/deployment-checklist.schema.json +175 -0
- package/schemas/discovery-report.schema.json +175 -0
- package/schemas/engineering-review.schema.json +175 -0
- package/schemas/failure-report.schema.json +252 -0
- package/schemas/implementation-report.schema.json +175 -0
- package/schemas/memory-candidate-report.schema.json +175 -0
- package/schemas/memory-promotion-report.schema.json +175 -0
- package/schemas/performance-review.schema.json +175 -0
- package/schemas/product-spec.schema.json +175 -0
- package/schemas/pull-request-package.schema.json +175 -0
- package/schemas/release-package.schema.json +175 -0
- package/schemas/security-review.schema.json +175 -0
- package/schemas/system-verification-report.schema.json +351 -0
- package/schemas/task-breakdown.schema.json +175 -0
- package/schemas/technical-design.schema.json +175 -0
- package/schemas/test-plan.schema.json +175 -0
- package/schemas/test-report.schema.json +175 -0
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@arcfoundry/schemas",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "JSON artifact schemas and typed catalogs for Arc Foundry agency workflows.",
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist",
|
|
8
|
+
"schemas",
|
|
9
|
+
"README.md"
|
|
10
|
+
],
|
|
11
|
+
"type": "module",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"default": "./dist/index.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"zod": "^4.4.3"
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": "^24.11.0"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"schemaVersion": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"minLength": 1
|
|
8
|
+
},
|
|
9
|
+
"artifactType": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"const": "accessibility-review"
|
|
12
|
+
},
|
|
13
|
+
"artifactId": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"minLength": 1
|
|
16
|
+
},
|
|
17
|
+
"projectId": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1
|
|
20
|
+
},
|
|
21
|
+
"requestId": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"minLength": 1
|
|
24
|
+
},
|
|
25
|
+
"createdAt": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"format": "date-time",
|
|
28
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
|
|
29
|
+
"description": "ISO-8601 timestamp with timezone offset"
|
|
30
|
+
},
|
|
31
|
+
"createdBy": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"properties": {
|
|
34
|
+
"agent": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"minLength": 1
|
|
37
|
+
},
|
|
38
|
+
"model": {
|
|
39
|
+
"anyOf": [
|
|
40
|
+
{
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "null"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"runtime": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"enum": ["opencode", "codex", "other"]
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"required": ["agent", "model", "runtime"],
|
|
54
|
+
"additionalProperties": false
|
|
55
|
+
},
|
|
56
|
+
"status": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"enum": ["draft", "candidate", "approved", "rejected", "superseded"]
|
|
59
|
+
},
|
|
60
|
+
"provenance": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"sourceRequest": {
|
|
64
|
+
"anyOf": [
|
|
65
|
+
{
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"type": "null"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"sourceArtifacts": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"sourceMemoryIds": {
|
|
80
|
+
"type": "array",
|
|
81
|
+
"items": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"sourceAdrIds": {
|
|
86
|
+
"type": "array",
|
|
87
|
+
"items": {
|
|
88
|
+
"type": "string"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"gitSha": {
|
|
92
|
+
"anyOf": [
|
|
93
|
+
{
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"type": "null"
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
"branch": {
|
|
102
|
+
"anyOf": [
|
|
103
|
+
{
|
|
104
|
+
"type": "string"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"type": "null"
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"worktreeId": {
|
|
112
|
+
"anyOf": [
|
|
113
|
+
{
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"type": "null"
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"required": [
|
|
123
|
+
"sourceRequest",
|
|
124
|
+
"sourceArtifacts",
|
|
125
|
+
"sourceMemoryIds",
|
|
126
|
+
"sourceAdrIds",
|
|
127
|
+
"gitSha",
|
|
128
|
+
"branch",
|
|
129
|
+
"worktreeId"
|
|
130
|
+
],
|
|
131
|
+
"additionalProperties": false
|
|
132
|
+
},
|
|
133
|
+
"assumptions": {
|
|
134
|
+
"type": "array",
|
|
135
|
+
"items": {
|
|
136
|
+
"type": "string"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"risks": {
|
|
140
|
+
"type": "array",
|
|
141
|
+
"items": {
|
|
142
|
+
"type": "string"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"openQuestions": {
|
|
146
|
+
"type": "array",
|
|
147
|
+
"items": {
|
|
148
|
+
"type": "string"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"content": {
|
|
152
|
+
"type": "object",
|
|
153
|
+
"propertyNames": {
|
|
154
|
+
"type": "string"
|
|
155
|
+
},
|
|
156
|
+
"additionalProperties": {}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"required": [
|
|
160
|
+
"schemaVersion",
|
|
161
|
+
"artifactType",
|
|
162
|
+
"artifactId",
|
|
163
|
+
"projectId",
|
|
164
|
+
"requestId",
|
|
165
|
+
"createdAt",
|
|
166
|
+
"createdBy",
|
|
167
|
+
"status",
|
|
168
|
+
"provenance",
|
|
169
|
+
"assumptions",
|
|
170
|
+
"risks",
|
|
171
|
+
"openQuestions",
|
|
172
|
+
"content"
|
|
173
|
+
],
|
|
174
|
+
"additionalProperties": false
|
|
175
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"schemaVersion": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"minLength": 1
|
|
8
|
+
},
|
|
9
|
+
"artifactType": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"const": "adr-record"
|
|
12
|
+
},
|
|
13
|
+
"artifactId": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"minLength": 1
|
|
16
|
+
},
|
|
17
|
+
"projectId": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1
|
|
20
|
+
},
|
|
21
|
+
"requestId": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"minLength": 1
|
|
24
|
+
},
|
|
25
|
+
"createdAt": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"format": "date-time",
|
|
28
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
|
|
29
|
+
"description": "ISO-8601 timestamp with timezone offset"
|
|
30
|
+
},
|
|
31
|
+
"createdBy": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"properties": {
|
|
34
|
+
"agent": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"minLength": 1
|
|
37
|
+
},
|
|
38
|
+
"model": {
|
|
39
|
+
"anyOf": [
|
|
40
|
+
{
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "null"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"runtime": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"enum": ["opencode", "codex", "other"]
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"required": ["agent", "model", "runtime"],
|
|
54
|
+
"additionalProperties": false
|
|
55
|
+
},
|
|
56
|
+
"status": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"enum": ["draft", "candidate", "approved", "rejected", "superseded"]
|
|
59
|
+
},
|
|
60
|
+
"provenance": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"sourceRequest": {
|
|
64
|
+
"anyOf": [
|
|
65
|
+
{
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"type": "null"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"sourceArtifacts": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"sourceMemoryIds": {
|
|
80
|
+
"type": "array",
|
|
81
|
+
"items": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"sourceAdrIds": {
|
|
86
|
+
"type": "array",
|
|
87
|
+
"items": {
|
|
88
|
+
"type": "string"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"gitSha": {
|
|
92
|
+
"anyOf": [
|
|
93
|
+
{
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"type": "null"
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
"branch": {
|
|
102
|
+
"anyOf": [
|
|
103
|
+
{
|
|
104
|
+
"type": "string"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"type": "null"
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"worktreeId": {
|
|
112
|
+
"anyOf": [
|
|
113
|
+
{
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"type": "null"
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"required": [
|
|
123
|
+
"sourceRequest",
|
|
124
|
+
"sourceArtifacts",
|
|
125
|
+
"sourceMemoryIds",
|
|
126
|
+
"sourceAdrIds",
|
|
127
|
+
"gitSha",
|
|
128
|
+
"branch",
|
|
129
|
+
"worktreeId"
|
|
130
|
+
],
|
|
131
|
+
"additionalProperties": false
|
|
132
|
+
},
|
|
133
|
+
"assumptions": {
|
|
134
|
+
"type": "array",
|
|
135
|
+
"items": {
|
|
136
|
+
"type": "string"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"risks": {
|
|
140
|
+
"type": "array",
|
|
141
|
+
"items": {
|
|
142
|
+
"type": "string"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"openQuestions": {
|
|
146
|
+
"type": "array",
|
|
147
|
+
"items": {
|
|
148
|
+
"type": "string"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"content": {
|
|
152
|
+
"type": "object",
|
|
153
|
+
"propertyNames": {
|
|
154
|
+
"type": "string"
|
|
155
|
+
},
|
|
156
|
+
"additionalProperties": {}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"required": [
|
|
160
|
+
"schemaVersion",
|
|
161
|
+
"artifactType",
|
|
162
|
+
"artifactId",
|
|
163
|
+
"projectId",
|
|
164
|
+
"requestId",
|
|
165
|
+
"createdAt",
|
|
166
|
+
"createdBy",
|
|
167
|
+
"status",
|
|
168
|
+
"provenance",
|
|
169
|
+
"assumptions",
|
|
170
|
+
"risks",
|
|
171
|
+
"openQuestions",
|
|
172
|
+
"content"
|
|
173
|
+
],
|
|
174
|
+
"additionalProperties": false
|
|
175
|
+
}
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"schemaVersion": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"minLength": 1
|
|
8
|
+
},
|
|
9
|
+
"artifactType": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"const": "browser-validation-report"
|
|
12
|
+
},
|
|
13
|
+
"artifactId": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"minLength": 1
|
|
16
|
+
},
|
|
17
|
+
"projectId": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1
|
|
20
|
+
},
|
|
21
|
+
"requestId": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"minLength": 1
|
|
24
|
+
},
|
|
25
|
+
"createdAt": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"format": "date-time",
|
|
28
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
|
|
29
|
+
"description": "ISO-8601 timestamp with timezone offset"
|
|
30
|
+
},
|
|
31
|
+
"createdBy": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"properties": {
|
|
34
|
+
"agent": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"minLength": 1
|
|
37
|
+
},
|
|
38
|
+
"model": {
|
|
39
|
+
"anyOf": [
|
|
40
|
+
{
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "null"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"runtime": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"enum": ["opencode", "codex", "other"]
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"required": ["agent", "model", "runtime"],
|
|
54
|
+
"additionalProperties": false
|
|
55
|
+
},
|
|
56
|
+
"status": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"enum": ["draft", "candidate", "approved", "rejected", "superseded"]
|
|
59
|
+
},
|
|
60
|
+
"provenance": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"sourceRequest": {
|
|
64
|
+
"anyOf": [
|
|
65
|
+
{
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"type": "null"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"sourceArtifacts": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"sourceMemoryIds": {
|
|
80
|
+
"type": "array",
|
|
81
|
+
"items": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"sourceAdrIds": {
|
|
86
|
+
"type": "array",
|
|
87
|
+
"items": {
|
|
88
|
+
"type": "string"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"gitSha": {
|
|
92
|
+
"anyOf": [
|
|
93
|
+
{
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"type": "null"
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
"branch": {
|
|
102
|
+
"anyOf": [
|
|
103
|
+
{
|
|
104
|
+
"type": "string"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"type": "null"
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"worktreeId": {
|
|
112
|
+
"anyOf": [
|
|
113
|
+
{
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"type": "null"
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"required": [
|
|
123
|
+
"sourceRequest",
|
|
124
|
+
"sourceArtifacts",
|
|
125
|
+
"sourceMemoryIds",
|
|
126
|
+
"sourceAdrIds",
|
|
127
|
+
"gitSha",
|
|
128
|
+
"branch",
|
|
129
|
+
"worktreeId"
|
|
130
|
+
],
|
|
131
|
+
"additionalProperties": false
|
|
132
|
+
},
|
|
133
|
+
"assumptions": {
|
|
134
|
+
"type": "array",
|
|
135
|
+
"items": {
|
|
136
|
+
"type": "string"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"risks": {
|
|
140
|
+
"type": "array",
|
|
141
|
+
"items": {
|
|
142
|
+
"type": "string"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"openQuestions": {
|
|
146
|
+
"type": "array",
|
|
147
|
+
"items": {
|
|
148
|
+
"type": "string"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"content": {
|
|
152
|
+
"type": "object",
|
|
153
|
+
"properties": {
|
|
154
|
+
"environment": {
|
|
155
|
+
"type": "object",
|
|
156
|
+
"properties": {
|
|
157
|
+
"command": {
|
|
158
|
+
"type": "string"
|
|
159
|
+
},
|
|
160
|
+
"baseUrl": {
|
|
161
|
+
"type": "string"
|
|
162
|
+
},
|
|
163
|
+
"browser": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"enum": ["chromium", "firefox", "webkit", "other"]
|
|
166
|
+
},
|
|
167
|
+
"playwrightMode": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"enum": ["cli", "mcp", "test-runner"]
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"required": ["command", "baseUrl", "browser", "playwrightMode"],
|
|
173
|
+
"additionalProperties": false
|
|
174
|
+
},
|
|
175
|
+
"scenarios": {
|
|
176
|
+
"type": "array",
|
|
177
|
+
"items": {
|
|
178
|
+
"type": "object",
|
|
179
|
+
"properties": {
|
|
180
|
+
"name": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"minLength": 1
|
|
183
|
+
},
|
|
184
|
+
"status": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"enum": ["passed", "failed", "skipped"]
|
|
187
|
+
},
|
|
188
|
+
"steps": {
|
|
189
|
+
"type": "array",
|
|
190
|
+
"items": {
|
|
191
|
+
"type": "string"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"assertions": {
|
|
195
|
+
"type": "array",
|
|
196
|
+
"items": {
|
|
197
|
+
"type": "string"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"consoleErrors": {
|
|
201
|
+
"type": "array",
|
|
202
|
+
"items": {
|
|
203
|
+
"type": "string"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"networkErrors": {
|
|
207
|
+
"type": "array",
|
|
208
|
+
"items": {
|
|
209
|
+
"type": "string"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"screenshots": {
|
|
213
|
+
"type": "array",
|
|
214
|
+
"items": {
|
|
215
|
+
"type": "string"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"trace": {
|
|
219
|
+
"anyOf": [
|
|
220
|
+
{
|
|
221
|
+
"type": "string"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"type": "null"
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"required": [
|
|
230
|
+
"name",
|
|
231
|
+
"status",
|
|
232
|
+
"steps",
|
|
233
|
+
"assertions",
|
|
234
|
+
"consoleErrors",
|
|
235
|
+
"networkErrors",
|
|
236
|
+
"screenshots",
|
|
237
|
+
"trace"
|
|
238
|
+
],
|
|
239
|
+
"additionalProperties": false
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"blockingIssues": {
|
|
243
|
+
"type": "array",
|
|
244
|
+
"items": {
|
|
245
|
+
"type": "string"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"recommendation": {
|
|
249
|
+
"type": "string",
|
|
250
|
+
"enum": ["pass", "fail", "needs-human-review"]
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"required": ["environment", "scenarios", "blockingIssues", "recommendation"],
|
|
254
|
+
"additionalProperties": false
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"required": [
|
|
258
|
+
"schemaVersion",
|
|
259
|
+
"artifactType",
|
|
260
|
+
"artifactId",
|
|
261
|
+
"projectId",
|
|
262
|
+
"requestId",
|
|
263
|
+
"createdAt",
|
|
264
|
+
"createdBy",
|
|
265
|
+
"status",
|
|
266
|
+
"provenance",
|
|
267
|
+
"assumptions",
|
|
268
|
+
"risks",
|
|
269
|
+
"openQuestions",
|
|
270
|
+
"content"
|
|
271
|
+
],
|
|
272
|
+
"additionalProperties": false
|
|
273
|
+
}
|