@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.
Files changed (86) hide show
  1. package/README.md +3 -0
  2. package/dist/artifact-content-registry.d.ts +165 -0
  3. package/dist/artifact-content-registry.js +11 -0
  4. package/dist/artifact-content-registry.js.map +1 -0
  5. package/dist/base/command-evidence.d.ts +30 -0
  6. package/dist/base/command-evidence.js +21 -0
  7. package/dist/base/command-evidence.js.map +1 -0
  8. package/dist/base.d.ts +150 -0
  9. package/dist/base.js +41 -0
  10. package/dist/base.js.map +1 -0
  11. package/dist/catalog/agent-roles.d.ts +1 -0
  12. package/dist/catalog/agent-roles.js +18 -0
  13. package/dist/catalog/agent-roles.js.map +1 -0
  14. package/dist/catalog/artifact-types.d.ts +1 -0
  15. package/dist/catalog/artifact-types.js +27 -0
  16. package/dist/catalog/artifact-types.js.map +1 -0
  17. package/dist/catalog/workflow-stages.d.ts +1 -0
  18. package/dist/catalog/workflow-stages.js +21 -0
  19. package/dist/catalog/workflow-stages.js.map +1 -0
  20. package/dist/catalog.d.ts +9 -0
  21. package/dist/catalog.js +4 -0
  22. package/dist/catalog.js.map +1 -0
  23. package/dist/content/browser-validation.d.ts +54 -0
  24. package/dist/content/browser-validation.js +23 -0
  25. package/dist/content/browser-validation.js.map +1 -0
  26. package/dist/content/build-reports.d.ts +34 -0
  27. package/dist/content/build-reports.js +19 -0
  28. package/dist/content/build-reports.js.map +1 -0
  29. package/dist/content/conflict-report.d.ts +20 -0
  30. package/dist/content/conflict-report.js +12 -0
  31. package/dist/content/conflict-report.js.map +1 -0
  32. package/dist/content/delivery.d.ts +27 -0
  33. package/dist/content/delivery.js +19 -0
  34. package/dist/content/delivery.js.map +1 -0
  35. package/dist/content/failure-report.d.ts +48 -0
  36. package/dist/content/failure-report.js +26 -0
  37. package/dist/content/failure-report.js.map +1 -0
  38. package/dist/content/memory.d.ts +16 -0
  39. package/dist/content/memory.js +15 -0
  40. package/dist/content/memory.js.map +1 -0
  41. package/dist/content/planning.d.ts +113 -0
  42. package/dist/content/planning.js +31 -0
  43. package/dist/content/planning.js.map +1 -0
  44. package/dist/content/registry.d.ts +325 -0
  45. package/dist/content/registry.js +33 -0
  46. package/dist/content/registry.js.map +1 -0
  47. package/dist/content/review.d.ts +40 -0
  48. package/dist/content/review.js +24 -0
  49. package/dist/content/review.js.map +1 -0
  50. package/dist/content/system-verification.d.ts +58 -0
  51. package/dist/content/system-verification.js +33 -0
  52. package/dist/content/system-verification.js.map +1 -0
  53. package/dist/content.d.ts +9 -0
  54. package/dist/content.js +10 -0
  55. package/dist/content.js.map +1 -0
  56. package/dist/dispatch.d.ts +17 -0
  57. package/dist/dispatch.js +24 -0
  58. package/dist/dispatch.js.map +1 -0
  59. package/dist/index.d.ts +7 -0
  60. package/dist/index.js +6 -0
  61. package/dist/index.js.map +1 -0
  62. package/package.json +27 -0
  63. package/schemas/accessibility-review.schema.json +175 -0
  64. package/schemas/adr-record.schema.json +175 -0
  65. package/schemas/browser-validation-report.schema.json +273 -0
  66. package/schemas/client-brief.schema.json +175 -0
  67. package/schemas/client-summary.schema.json +175 -0
  68. package/schemas/conflict-report.schema.json +211 -0
  69. package/schemas/delivery-plan.schema.json +175 -0
  70. package/schemas/deployment-checklist.schema.json +175 -0
  71. package/schemas/discovery-report.schema.json +175 -0
  72. package/schemas/engineering-review.schema.json +175 -0
  73. package/schemas/failure-report.schema.json +252 -0
  74. package/schemas/implementation-report.schema.json +175 -0
  75. package/schemas/memory-candidate-report.schema.json +175 -0
  76. package/schemas/memory-promotion-report.schema.json +175 -0
  77. package/schemas/performance-review.schema.json +175 -0
  78. package/schemas/product-spec.schema.json +175 -0
  79. package/schemas/pull-request-package.schema.json +175 -0
  80. package/schemas/release-package.schema.json +175 -0
  81. package/schemas/security-review.schema.json +175 -0
  82. package/schemas/system-verification-report.schema.json +351 -0
  83. package/schemas/task-breakdown.schema.json +175 -0
  84. package/schemas/technical-design.schema.json +175 -0
  85. package/schemas/test-plan.schema.json +175 -0
  86. package/schemas/test-report.schema.json +175 -0
@@ -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": "client-brief"
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": "client-summary"
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,211 @@
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": "conflict-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
+ "conflictType": {
155
+ "type": "string",
156
+ "enum": ["adr_violation", "missing_decision", "supersession_required"]
157
+ },
158
+ "relatedAdrIds": {
159
+ "type": "array",
160
+ "items": {
161
+ "type": "string"
162
+ }
163
+ },
164
+ "impact": {
165
+ "type": "string",
166
+ "enum": ["low", "medium", "high", "critical"]
167
+ },
168
+ "options": {
169
+ "type": "array",
170
+ "items": {
171
+ "type": "object",
172
+ "properties": {
173
+ "option": {
174
+ "type": "string"
175
+ },
176
+ "tradeoffs": {
177
+ "type": "array",
178
+ "items": {
179
+ "type": "string"
180
+ }
181
+ },
182
+ "requiresApproval": {
183
+ "type": "boolean"
184
+ }
185
+ },
186
+ "required": ["option", "tradeoffs", "requiresApproval"],
187
+ "additionalProperties": false
188
+ }
189
+ }
190
+ },
191
+ "required": ["conflictType", "relatedAdrIds", "impact", "options"],
192
+ "additionalProperties": false
193
+ }
194
+ },
195
+ "required": [
196
+ "schemaVersion",
197
+ "artifactType",
198
+ "artifactId",
199
+ "projectId",
200
+ "requestId",
201
+ "createdAt",
202
+ "createdBy",
203
+ "status",
204
+ "provenance",
205
+ "assumptions",
206
+ "risks",
207
+ "openQuestions",
208
+ "content"
209
+ ],
210
+ "additionalProperties": false
211
+ }