semantic-atlas 0.1.0

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 (175) hide show
  1. package/.agents/skills/semantic-atlas/SKILL.md +172 -0
  2. package/.agents/skills/semantic-atlas/references/graph-patch.md +109 -0
  3. package/.agents/skills/semantic-atlas/references/result-routing.md +91 -0
  4. package/LICENSE +21 -0
  5. package/README.md +118 -0
  6. package/dist/business-flow/business-flow-derivation-service.d.ts +11 -0
  7. package/dist/business-flow/business-flow-derivation-service.d.ts.map +1 -0
  8. package/dist/business-flow/business-flow-derivation-service.js +151 -0
  9. package/dist/business-flow/business-flow-draft.d.ts +16 -0
  10. package/dist/business-flow/business-flow-draft.d.ts.map +1 -0
  11. package/dist/business-flow/business-flow-draft.js +150 -0
  12. package/dist/business-flow/framework-business-strategy.d.ts +7 -0
  13. package/dist/business-flow/framework-business-strategy.d.ts.map +1 -0
  14. package/dist/business-flow/framework-business-strategy.js +1 -0
  15. package/dist/business-flow/strategies/bullmq-business-strategy.d.ts +10 -0
  16. package/dist/business-flow/strategies/bullmq-business-strategy.d.ts.map +1 -0
  17. package/dist/business-flow/strategies/bullmq-business-strategy.js +79 -0
  18. package/dist/business-flow/strategies/called-operation-derivation.d.ts +13 -0
  19. package/dist/business-flow/strategies/called-operation-derivation.d.ts.map +1 -0
  20. package/dist/business-flow/strategies/called-operation-derivation.js +32 -0
  21. package/dist/business-flow/strategies/graphql-business-strategy.d.ts +8 -0
  22. package/dist/business-flow/strategies/graphql-business-strategy.d.ts.map +1 -0
  23. package/dist/business-flow/strategies/graphql-business-strategy.js +65 -0
  24. package/dist/business-flow/strategies/nestjs-business-strategy.d.ts +8 -0
  25. package/dist/business-flow/strategies/nestjs-business-strategy.d.ts.map +1 -0
  26. package/dist/business-flow/strategies/nestjs-business-strategy.js +72 -0
  27. package/dist/business-flow/strategies/strategy-helpers.d.ts +32 -0
  28. package/dist/business-flow/strategies/strategy-helpers.d.ts.map +1 -0
  29. package/dist/business-flow/strategies/strategy-helpers.js +49 -0
  30. package/dist/business-flow/strategies/typeorm-business-strategy.d.ts +10 -0
  31. package/dist/business-flow/strategies/typeorm-business-strategy.d.ts.map +1 -0
  32. package/dist/business-flow/strategies/typeorm-business-strategy.js +136 -0
  33. package/dist/business-flow/strategies/verified-invariant-strategy.d.ts +5 -0
  34. package/dist/business-flow/strategies/verified-invariant-strategy.d.ts.map +1 -0
  35. package/dist/business-flow/strategies/verified-invariant-strategy.js +38 -0
  36. package/dist/business-flow/strategies/verified-test-strategy.d.ts +5 -0
  37. package/dist/business-flow/strategies/verified-test-strategy.d.ts.map +1 -0
  38. package/dist/business-flow/strategies/verified-test-strategy.js +26 -0
  39. package/dist/business-flow/structural-flow-catalog.d.ts +21 -0
  40. package/dist/business-flow/structural-flow-catalog.d.ts.map +1 -0
  41. package/dist/business-flow/structural-flow-catalog.js +125 -0
  42. package/dist/business-flow/types.d.ts +51 -0
  43. package/dist/business-flow/types.d.ts.map +1 -0
  44. package/dist/business-flow/types.js +1 -0
  45. package/dist/cli/argument-parser.d.ts +3 -0
  46. package/dist/cli/argument-parser.d.ts.map +1 -0
  47. package/dist/cli/argument-parser.js +174 -0
  48. package/dist/cli/bin.d.ts +3 -0
  49. package/dist/cli/bin.d.ts.map +1 -0
  50. package/dist/cli/bin.js +23 -0
  51. package/dist/cli/cli-application.d.ts +38 -0
  52. package/dist/cli/cli-application.d.ts.map +1 -0
  53. package/dist/cli/cli-application.js +515 -0
  54. package/dist/cli/cli-error.d.ts +12 -0
  55. package/dist/cli/cli-error.d.ts.map +1 -0
  56. package/dist/cli/cli-error.js +44 -0
  57. package/dist/cli/cli-presenter.d.ts +14 -0
  58. package/dist/cli/cli-presenter.d.ts.map +1 -0
  59. package/dist/cli/cli-presenter.js +36 -0
  60. package/dist/cli/main.d.ts +3 -0
  61. package/dist/cli/main.d.ts.map +1 -0
  62. package/dist/cli/main.js +45 -0
  63. package/dist/cli/types.d.ts +46 -0
  64. package/dist/cli/types.d.ts.map +1 -0
  65. package/dist/cli/types.js +1 -0
  66. package/dist/contracts/cli.d.ts +2139 -0
  67. package/dist/contracts/cli.d.ts.map +1 -0
  68. package/dist/contracts/cli.js +232 -0
  69. package/dist/contracts/graph.d.ts +262 -0
  70. package/dist/contracts/graph.d.ts.map +1 -0
  71. package/dist/contracts/graph.js +182 -0
  72. package/dist/contracts/identifiers.d.ts +4 -0
  73. package/dist/contracts/identifiers.d.ts.map +1 -0
  74. package/dist/contracts/identifiers.js +7 -0
  75. package/dist/contracts/public-contracts.d.ts +4 -0
  76. package/dist/contracts/public-contracts.d.ts.map +1 -0
  77. package/dist/contracts/public-contracts.js +3 -0
  78. package/dist/evaluation/comparison.d.ts +30 -0
  79. package/dist/evaluation/comparison.d.ts.map +1 -0
  80. package/dist/evaluation/comparison.js +108 -0
  81. package/dist/evaluation/contracts.d.ts +204 -0
  82. package/dist/evaluation/contracts.d.ts.map +1 -0
  83. package/dist/evaluation/contracts.js +269 -0
  84. package/dist/graph/graph-store.d.ts +47 -0
  85. package/dist/graph/graph-store.d.ts.map +1 -0
  86. package/dist/graph/graph-store.js +719 -0
  87. package/dist/graph/types.d.ts +168 -0
  88. package/dist/graph/types.d.ts.map +1 -0
  89. package/dist/graph/types.js +1 -0
  90. package/dist/index.d.ts +19 -0
  91. package/dist/index.d.ts.map +1 -0
  92. package/dist/index.js +9 -0
  93. package/dist/knowledge/business-knowledge-service.d.ts +24 -0
  94. package/dist/knowledge/business-knowledge-service.d.ts.map +1 -0
  95. package/dist/knowledge/business-knowledge-service.js +200 -0
  96. package/dist/knowledge/graph-patch-conflict-error.d.ts +8 -0
  97. package/dist/knowledge/graph-patch-conflict-error.d.ts.map +1 -0
  98. package/dist/knowledge/graph-patch-conflict-error.js +12 -0
  99. package/dist/knowledge/structural-target-binding.d.ts +14 -0
  100. package/dist/knowledge/structural-target-binding.d.ts.map +1 -0
  101. package/dist/knowledge/structural-target-binding.js +11 -0
  102. package/dist/repository/git-command.d.ts +3 -0
  103. package/dist/repository/git-command.d.ts.map +1 -0
  104. package/dist/repository/git-command.js +25 -0
  105. package/dist/repository/repository-inspector.d.ts +7 -0
  106. package/dist/repository/repository-inspector.d.ts.map +1 -0
  107. package/dist/repository/repository-inspector.js +84 -0
  108. package/dist/repository/repository-language-support.d.ts +14 -0
  109. package/dist/repository/repository-language-support.d.ts.map +1 -0
  110. package/dist/repository/repository-language-support.js +64 -0
  111. package/dist/repository/types.d.ts +9 -0
  112. package/dist/repository/types.d.ts.map +1 -0
  113. package/dist/repository/types.js +1 -0
  114. package/dist/snapshots/repository-snapshot.d.ts +4 -0
  115. package/dist/snapshots/repository-snapshot.d.ts.map +1 -0
  116. package/dist/snapshots/repository-snapshot.js +119 -0
  117. package/dist/snapshots/types.d.ts +30 -0
  118. package/dist/snapshots/types.d.ts.map +1 -0
  119. package/dist/snapshots/types.js +1 -0
  120. package/dist/storage/atlas-database.d.ts +14 -0
  121. package/dist/storage/atlas-database.d.ts.map +1 -0
  122. package/dist/storage/atlas-database.js +552 -0
  123. package/dist/storage/snapshot-store.d.ts +19 -0
  124. package/dist/storage/snapshot-store.d.ts.map +1 -0
  125. package/dist/storage/snapshot-store.js +77 -0
  126. package/dist/structural-backend/codegraph-backend.d.ts +54 -0
  127. package/dist/structural-backend/codegraph-backend.d.ts.map +1 -0
  128. package/dist/structural-backend/codegraph-backend.js +1224 -0
  129. package/dist/structural-backend/codegraph-worker-client.d.ts +5 -0
  130. package/dist/structural-backend/codegraph-worker-client.d.ts.map +1 -0
  131. package/dist/structural-backend/codegraph-worker-client.js +118 -0
  132. package/dist/structural-backend/codegraph-worker-protocol.d.ts +35 -0
  133. package/dist/structural-backend/codegraph-worker-protocol.d.ts.map +1 -0
  134. package/dist/structural-backend/codegraph-worker-protocol.js +1 -0
  135. package/dist/structural-backend/codegraph-worker.d.ts +2 -0
  136. package/dist/structural-backend/codegraph-worker.d.ts.map +1 -0
  137. package/dist/structural-backend/codegraph-worker.js +131 -0
  138. package/dist/structural-backend/process-instance.d.ts +18 -0
  139. package/dist/structural-backend/process-instance.d.ts.map +1 -0
  140. package/dist/structural-backend/process-instance.js +207 -0
  141. package/dist/structural-backend/structural-fact-changes.d.ts +7 -0
  142. package/dist/structural-backend/structural-fact-changes.d.ts.map +1 -0
  143. package/dist/structural-backend/structural-fact-changes.js +78 -0
  144. package/dist/structural-backend/structural-publication.d.ts +12 -0
  145. package/dist/structural-backend/structural-publication.d.ts.map +1 -0
  146. package/dist/structural-backend/structural-publication.js +252 -0
  147. package/dist/structural-backend/structural-write-lock.d.ts +8 -0
  148. package/dist/structural-backend/structural-write-lock.d.ts.map +1 -0
  149. package/dist/structural-backend/structural-write-lock.js +415 -0
  150. package/dist/structural-backend/types.d.ts +144 -0
  151. package/dist/structural-backend/types.d.ts.map +1 -0
  152. package/dist/structural-backend/types.js +11 -0
  153. package/dist/world/types.d.ts +77 -0
  154. package/dist/world/types.d.ts.map +1 -0
  155. package/dist/world/types.js +1 -0
  156. package/dist/world/world-graph-query.d.ts +31 -0
  157. package/dist/world/world-graph-query.d.ts.map +1 -0
  158. package/dist/world/world-graph-query.js +453 -0
  159. package/dist/world/world-model-service.d.ts +21 -0
  160. package/dist/world/world-model-service.d.ts.map +1 -0
  161. package/dist/world/world-model-service.js +211 -0
  162. package/dist/world/world-snapshot-store.d.ts +40 -0
  163. package/dist/world/world-snapshot-store.d.ts.map +1 -0
  164. package/dist/world/world-snapshot-store.js +555 -0
  165. package/docs/architecture/codegraph-backend.md +193 -0
  166. package/docs/contracts/cli-v1.md +119 -0
  167. package/docs/contracts/graph-model.md +102 -0
  168. package/docs/contracts/graph-patch-v1.md +98 -0
  169. package/docs/evaluation.md +128 -0
  170. package/docs/product-contract.md +148 -0
  171. package/package.json +78 -0
  172. package/schemas/cli-envelope-v1.schema.json +1359 -0
  173. package/schemas/evaluation-plan-v1.schema.json +211 -0
  174. package/schemas/evaluation-run-v1.schema.json +365 -0
  175. package/schemas/graph-patch-v1.schema.json +392 -0
@@ -0,0 +1,211 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://raw.githubusercontent.com/lzj960515/semantic-atlas/main/schemas/evaluation-plan-v1.schema.json",
4
+ "title": "Semantic Atlas evaluation plan v1",
5
+ "type": "object",
6
+ "properties": {
7
+ "schemaVersion": {
8
+ "$ref": "#/$defs/__schema0"
9
+ },
10
+ "cases": {
11
+ "$ref": "#/$defs/__schema1"
12
+ }
13
+ },
14
+ "required": [
15
+ "schemaVersion",
16
+ "cases"
17
+ ],
18
+ "additionalProperties": false,
19
+ "$defs": {
20
+ "__schema0": {
21
+ "type": "number",
22
+ "const": 1
23
+ },
24
+ "__schema1": {
25
+ "minItems": 1,
26
+ "type": "array",
27
+ "items": {
28
+ "$ref": "#/$defs/__schema2"
29
+ }
30
+ },
31
+ "__schema2": {
32
+ "type": "object",
33
+ "properties": {
34
+ "id": {
35
+ "$ref": "#/$defs/__schema3"
36
+ },
37
+ "title": {
38
+ "$ref": "#/$defs/__schema4"
39
+ },
40
+ "category": {
41
+ "$ref": "#/$defs/__schema5"
42
+ },
43
+ "frameworks": {
44
+ "$ref": "#/$defs/__schema6"
45
+ },
46
+ "fixture": {
47
+ "$ref": "#/$defs/__schema8"
48
+ },
49
+ "prompt": {
50
+ "$ref": "#/$defs/__schema9"
51
+ },
52
+ "oracle": {
53
+ "$ref": "#/$defs/__schema10"
54
+ }
55
+ },
56
+ "required": [
57
+ "id",
58
+ "title",
59
+ "category",
60
+ "frameworks",
61
+ "fixture",
62
+ "prompt",
63
+ "oracle"
64
+ ],
65
+ "additionalProperties": false
66
+ },
67
+ "__schema3": {
68
+ "type": "string",
69
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
70
+ },
71
+ "__schema4": {
72
+ "type": "string",
73
+ "minLength": 1
74
+ },
75
+ "__schema5": {
76
+ "type": "string",
77
+ "enum": [
78
+ "location",
79
+ "dependency-impact"
80
+ ]
81
+ },
82
+ "__schema6": {
83
+ "minItems": 1,
84
+ "type": "array",
85
+ "items": {
86
+ "$ref": "#/$defs/__schema7"
87
+ }
88
+ },
89
+ "__schema7": {
90
+ "type": "string",
91
+ "enum": [
92
+ "nestjs",
93
+ "graphql",
94
+ "typeorm",
95
+ "bullmq"
96
+ ]
97
+ },
98
+ "__schema8": {
99
+ "oneOf": [
100
+ {
101
+ "type": "object",
102
+ "properties": {
103
+ "kind": {
104
+ "type": "string",
105
+ "const": "synthetic"
106
+ },
107
+ "repository": {
108
+ "type": "string",
109
+ "minLength": 1
110
+ },
111
+ "revision": {
112
+ "type": "string",
113
+ "minLength": 1
114
+ }
115
+ },
116
+ "required": [
117
+ "kind",
118
+ "repository",
119
+ "revision"
120
+ ],
121
+ "additionalProperties": false
122
+ },
123
+ {
124
+ "type": "object",
125
+ "properties": {
126
+ "kind": {
127
+ "type": "string",
128
+ "const": "private"
129
+ },
130
+ "repositoryAlias": {
131
+ "type": "string",
132
+ "minLength": 1
133
+ },
134
+ "revision": {
135
+ "type": "string",
136
+ "minLength": 1
137
+ }
138
+ },
139
+ "required": [
140
+ "kind",
141
+ "repositoryAlias",
142
+ "revision"
143
+ ],
144
+ "additionalProperties": false
145
+ }
146
+ ]
147
+ },
148
+ "__schema9": {
149
+ "type": "string",
150
+ "minLength": 1
151
+ },
152
+ "__schema10": {
153
+ "type": "object",
154
+ "properties": {
155
+ "acceptanceCriteria": {
156
+ "minItems": 1,
157
+ "type": "array",
158
+ "items": {
159
+ "$ref": "#/$defs/__schema11"
160
+ }
161
+ },
162
+ "requiredFiles": {
163
+ "minItems": 1,
164
+ "type": "array",
165
+ "items": {
166
+ "$ref": "#/$defs/__schema12"
167
+ }
168
+ },
169
+ "requiredSymbols": {
170
+ "minItems": 1,
171
+ "type": "array",
172
+ "items": {
173
+ "$ref": "#/$defs/__schema13"
174
+ }
175
+ }
176
+ },
177
+ "required": [
178
+ "acceptanceCriteria",
179
+ "requiredFiles",
180
+ "requiredSymbols"
181
+ ],
182
+ "additionalProperties": false
183
+ },
184
+ "__schema11": {
185
+ "type": "string",
186
+ "minLength": 1
187
+ },
188
+ "__schema12": {
189
+ "type": "string",
190
+ "minLength": 1,
191
+ "pattern": "^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.\\.?(?:\\/|$))(?!.*\\/\\/).+$"
192
+ },
193
+ "__schema13": {
194
+ "type": "object",
195
+ "properties": {
196
+ "file": {
197
+ "$ref": "#/$defs/__schema12"
198
+ },
199
+ "name": {
200
+ "type": "string",
201
+ "minLength": 1
202
+ }
203
+ },
204
+ "required": [
205
+ "file",
206
+ "name"
207
+ ],
208
+ "additionalProperties": false
209
+ }
210
+ }
211
+ }
@@ -0,0 +1,365 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://raw.githubusercontent.com/lzj960515/semantic-atlas/main/schemas/evaluation-run-v1.schema.json",
4
+ "title": "Semantic Atlas evaluation run v1",
5
+ "type": "object",
6
+ "properties": {
7
+ "schemaVersion": {
8
+ "$ref": "#/$defs/__schema0"
9
+ },
10
+ "runId": {
11
+ "$ref": "#/$defs/__schema1"
12
+ },
13
+ "caseId": {
14
+ "$ref": "#/$defs/__schema2"
15
+ },
16
+ "mode": {
17
+ "$ref": "#/$defs/__schema3"
18
+ },
19
+ "fixtureRevision": {
20
+ "$ref": "#/$defs/__schema4"
21
+ },
22
+ "agent": {
23
+ "$ref": "#/$defs/__schema5"
24
+ },
25
+ "protocol": {
26
+ "$ref": "#/$defs/__schema6"
27
+ },
28
+ "startedAt": {
29
+ "$ref": "#/$defs/__schema9"
30
+ },
31
+ "finishedAt": {
32
+ "$ref": "#/$defs/__schema10"
33
+ },
34
+ "observations": {
35
+ "$ref": "#/$defs/__schema11"
36
+ },
37
+ "answer": {
38
+ "$ref": "#/$defs/__schema14"
39
+ },
40
+ "adjudication": {
41
+ "$ref": "#/$defs/__schema15"
42
+ }
43
+ },
44
+ "required": [
45
+ "schemaVersion",
46
+ "runId",
47
+ "caseId",
48
+ "mode",
49
+ "fixtureRevision",
50
+ "agent",
51
+ "protocol",
52
+ "startedAt",
53
+ "finishedAt",
54
+ "observations",
55
+ "answer",
56
+ "adjudication"
57
+ ],
58
+ "additionalProperties": false,
59
+ "$defs": {
60
+ "__schema0": {
61
+ "type": "number",
62
+ "const": 1
63
+ },
64
+ "__schema1": {
65
+ "type": "string",
66
+ "minLength": 1
67
+ },
68
+ "__schema2": {
69
+ "type": "string",
70
+ "minLength": 1
71
+ },
72
+ "__schema3": {
73
+ "type": "string",
74
+ "enum": [
75
+ "no-atlas",
76
+ "atlas"
77
+ ]
78
+ },
79
+ "__schema4": {
80
+ "type": "string",
81
+ "minLength": 1
82
+ },
83
+ "__schema5": {
84
+ "type": "object",
85
+ "properties": {
86
+ "product": {
87
+ "type": "string",
88
+ "minLength": 1
89
+ },
90
+ "model": {
91
+ "type": "string",
92
+ "minLength": 1
93
+ },
94
+ "freshContext": {
95
+ "type": "boolean",
96
+ "const": true
97
+ }
98
+ },
99
+ "required": [
100
+ "product",
101
+ "model",
102
+ "freshContext"
103
+ ],
104
+ "additionalProperties": false
105
+ },
106
+ "__schema6": {
107
+ "type": "object",
108
+ "properties": {
109
+ "runnerVersion": {
110
+ "type": "string",
111
+ "minLength": 1
112
+ },
113
+ "fixtureCommit": {
114
+ "type": "string",
115
+ "pattern": "^[a-f0-9]{40}$"
116
+ },
117
+ "instructionsHash": {
118
+ "$ref": "#/$defs/__schema7"
119
+ },
120
+ "toolPolicyHash": {
121
+ "$ref": "#/$defs/__schema7"
122
+ },
123
+ "oracleHidden": {
124
+ "type": "boolean",
125
+ "const": true
126
+ },
127
+ "commandAuditPassed": {
128
+ "type": "boolean",
129
+ "const": true
130
+ },
131
+ "commandAudit": {
132
+ "type": "object",
133
+ "properties": {
134
+ "policy": {
135
+ "type": "string",
136
+ "const": "fresh-agent-shell-allowlist-v4"
137
+ },
138
+ "commands": {
139
+ "minItems": 1,
140
+ "type": "array",
141
+ "items": {
142
+ "$ref": "#/$defs/__schema8"
143
+ }
144
+ }
145
+ },
146
+ "required": [
147
+ "policy",
148
+ "commands"
149
+ ],
150
+ "additionalProperties": false
151
+ }
152
+ },
153
+ "required": [
154
+ "runnerVersion",
155
+ "fixtureCommit",
156
+ "instructionsHash",
157
+ "toolPolicyHash",
158
+ "oracleHidden",
159
+ "commandAuditPassed",
160
+ "commandAudit"
161
+ ],
162
+ "additionalProperties": false
163
+ },
164
+ "__schema7": {
165
+ "type": "string",
166
+ "pattern": "^[a-f0-9]{64}$"
167
+ },
168
+ "__schema8": {
169
+ "type": "string",
170
+ "minLength": 1
171
+ },
172
+ "__schema9": {
173
+ "type": "string",
174
+ "format": "date-time",
175
+ "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))$"
176
+ },
177
+ "__schema10": {
178
+ "type": "string",
179
+ "format": "date-time",
180
+ "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))$"
181
+ },
182
+ "__schema11": {
183
+ "type": "object",
184
+ "properties": {
185
+ "sourceTokenMethod": {
186
+ "type": "string",
187
+ "minLength": 1
188
+ },
189
+ "sourceOpens": {
190
+ "minItems": 1,
191
+ "type": "array",
192
+ "items": {
193
+ "$ref": "#/$defs/__schema12"
194
+ }
195
+ },
196
+ "atlasCalls": {
197
+ "type": "array",
198
+ "items": {
199
+ "type": "object",
200
+ "properties": {
201
+ "sequence": {
202
+ "type": "integer",
203
+ "exclusiveMinimum": 0,
204
+ "maximum": 9007199254740991
205
+ },
206
+ "command": {
207
+ "type": "string",
208
+ "minLength": 1
209
+ }
210
+ },
211
+ "required": [
212
+ "sequence",
213
+ "command"
214
+ ],
215
+ "additionalProperties": false
216
+ }
217
+ },
218
+ "atlasHandling": {
219
+ "type": "array",
220
+ "items": {
221
+ "type": "object",
222
+ "properties": {
223
+ "sequence": {
224
+ "type": "integer",
225
+ "exclusiveMinimum": 0,
226
+ "maximum": 9007199254740991
227
+ },
228
+ "classification": {
229
+ "type": "string",
230
+ "enum": [
231
+ "stale",
232
+ "hypothesis",
233
+ "unknown",
234
+ "unsupported",
235
+ "partial",
236
+ "insufficient"
237
+ ]
238
+ },
239
+ "action": {
240
+ "type": "string",
241
+ "minLength": 1
242
+ }
243
+ },
244
+ "required": [
245
+ "sequence",
246
+ "classification",
247
+ "action"
248
+ ],
249
+ "additionalProperties": false
250
+ }
251
+ }
252
+ },
253
+ "required": [
254
+ "sourceTokenMethod",
255
+ "sourceOpens",
256
+ "atlasCalls",
257
+ "atlasHandling"
258
+ ],
259
+ "additionalProperties": false
260
+ },
261
+ "__schema12": {
262
+ "type": "object",
263
+ "properties": {
264
+ "sequence": {
265
+ "type": "integer",
266
+ "exclusiveMinimum": 0,
267
+ "maximum": 9007199254740991
268
+ },
269
+ "file": {
270
+ "$ref": "#/$defs/__schema13"
271
+ },
272
+ "sourceTokens": {
273
+ "type": "integer",
274
+ "minimum": 0,
275
+ "maximum": 9007199254740991
276
+ }
277
+ },
278
+ "required": [
279
+ "sequence",
280
+ "file",
281
+ "sourceTokens"
282
+ ],
283
+ "additionalProperties": false
284
+ },
285
+ "__schema13": {
286
+ "type": "string",
287
+ "minLength": 1,
288
+ "pattern": "^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.\\.?(?:\\/|$))(?!.*\\/\\/).+$"
289
+ },
290
+ "__schema14": {
291
+ "type": "object",
292
+ "properties": {
293
+ "response": {
294
+ "type": "string",
295
+ "minLength": 1
296
+ },
297
+ "reportedFiles": {
298
+ "type": "array",
299
+ "items": {
300
+ "$ref": "#/$defs/__schema13"
301
+ }
302
+ },
303
+ "reportedSymbols": {
304
+ "type": "array",
305
+ "items": {
306
+ "type": "object",
307
+ "properties": {
308
+ "file": {
309
+ "$ref": "#/$defs/__schema13"
310
+ },
311
+ "name": {
312
+ "type": "string",
313
+ "minLength": 1
314
+ }
315
+ },
316
+ "required": [
317
+ "file",
318
+ "name"
319
+ ],
320
+ "additionalProperties": false
321
+ }
322
+ }
323
+ },
324
+ "required": [
325
+ "response",
326
+ "reportedFiles",
327
+ "reportedSymbols"
328
+ ],
329
+ "additionalProperties": false
330
+ },
331
+ "__schema15": {
332
+ "type": "object",
333
+ "properties": {
334
+ "correct": {
335
+ "type": "boolean"
336
+ },
337
+ "notes": {
338
+ "type": "string",
339
+ "minLength": 1
340
+ },
341
+ "failureClassifications": {
342
+ "type": "array",
343
+ "items": {
344
+ "type": "string",
345
+ "enum": [
346
+ "missed-dependency",
347
+ "incorrect-answer",
348
+ "stale-knowledge",
349
+ "hypothesis-mishandled",
350
+ "unknown-boundary-mishandled",
351
+ "unsupported-source",
352
+ "protocol-violation"
353
+ ]
354
+ }
355
+ }
356
+ },
357
+ "required": [
358
+ "correct",
359
+ "notes",
360
+ "failureClassifications"
361
+ ],
362
+ "additionalProperties": false
363
+ }
364
+ }
365
+ }