@aikdna/kdna-core 0.7.2 → 0.8.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.
- package/package.json +5 -1
- package/src/asset-reader.js +85 -3
- package/src/crypto-profile.js +185 -0
- package/src/index.js +2 -0
- package/src/workpack-pure.js +254 -0
- package/schema/Composition_Policy.schema.json +0 -130
- package/schema/KDNA_Cases.schema.json +0 -77
- package/schema/KDNA_Cluster.schema.json +0 -132
- package/schema/KDNA_Core.schema.json +0 -286
- package/schema/KDNA_Core.strict.schema.json +0 -290
- package/schema/KDNA_Evolution.schema.json +0 -129
- package/schema/KDNA_Patterns.schema.json +0 -338
- package/schema/KDNA_Patterns.strict.schema.json +0 -342
- package/schema/KDNA_Reasoning.schema.json +0 -76
- package/schema/KDNA_Scenarios.schema.json +0 -112
- package/schema/KDNA_Scenarios.strict.schema.json +0 -101
- package/schema/eval.schema.json +0 -58
- package/schema/kdna-file.schema.json +0 -272
- package/schema/kdna-manifest-v1rc.json +0 -346
|
@@ -1,290 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"title": "KDNA_Core",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"required": [
|
|
6
|
-
"meta",
|
|
7
|
-
"axioms",
|
|
8
|
-
"ontology",
|
|
9
|
-
"frameworks",
|
|
10
|
-
"core_structure",
|
|
11
|
-
"stances"
|
|
12
|
-
],
|
|
13
|
-
"properties": {
|
|
14
|
-
"meta": {
|
|
15
|
-
"type": "object",
|
|
16
|
-
"required": [
|
|
17
|
-
"version",
|
|
18
|
-
"domain",
|
|
19
|
-
"created",
|
|
20
|
-
"purpose",
|
|
21
|
-
"load_condition"
|
|
22
|
-
],
|
|
23
|
-
"properties": {
|
|
24
|
-
"version": {
|
|
25
|
-
"type": "string"
|
|
26
|
-
},
|
|
27
|
-
"domain": {
|
|
28
|
-
"type": "string",
|
|
29
|
-
"pattern": "^[a-z][a-z0-9_]*$"
|
|
30
|
-
},
|
|
31
|
-
"created": {
|
|
32
|
-
"type": "string"
|
|
33
|
-
},
|
|
34
|
-
"purpose": {
|
|
35
|
-
"type": "string"
|
|
36
|
-
},
|
|
37
|
-
"load_condition": {
|
|
38
|
-
"type": "string"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"additionalProperties": true
|
|
42
|
-
},
|
|
43
|
-
"highest_question": {
|
|
44
|
-
"type": "string",
|
|
45
|
-
"description": "The highest-order question this domain answers."
|
|
46
|
-
},
|
|
47
|
-
"worldview": {
|
|
48
|
-
"type": "array",
|
|
49
|
-
"items": {
|
|
50
|
-
"type": "string"
|
|
51
|
-
},
|
|
52
|
-
"description": "Default assumptions about how the world works in this domain."
|
|
53
|
-
},
|
|
54
|
-
"judgment_role": {
|
|
55
|
-
"type": "object",
|
|
56
|
-
"properties": {
|
|
57
|
-
"acts_as": {
|
|
58
|
-
"type": "string"
|
|
59
|
-
},
|
|
60
|
-
"does_not_act_as": {
|
|
61
|
-
"oneOf": [
|
|
62
|
-
{ "type": "string" },
|
|
63
|
-
{ "type": "array", "items": { "type": "string" } }
|
|
64
|
-
]
|
|
65
|
-
},
|
|
66
|
-
"responsibility": {
|
|
67
|
-
"type": "string"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"additionalProperties": true
|
|
71
|
-
},
|
|
72
|
-
"value_order": {
|
|
73
|
-
"type": "array",
|
|
74
|
-
"items": {
|
|
75
|
-
"type": "string"
|
|
76
|
-
},
|
|
77
|
-
"description": "Priority ordering of values in this domain."
|
|
78
|
-
},
|
|
79
|
-
"axioms": {
|
|
80
|
-
"type": "array",
|
|
81
|
-
"items": {
|
|
82
|
-
"type": "object",
|
|
83
|
-
"required": [
|
|
84
|
-
"id",
|
|
85
|
-
"one_sentence",
|
|
86
|
-
"full_statement",
|
|
87
|
-
"why",
|
|
88
|
-
"applies_when",
|
|
89
|
-
"does_not_apply_when",
|
|
90
|
-
"failure_risk",
|
|
91
|
-
"confidence"
|
|
92
|
-
],
|
|
93
|
-
"properties": {
|
|
94
|
-
"id": {
|
|
95
|
-
"type": "string"
|
|
96
|
-
},
|
|
97
|
-
"one_sentence": {
|
|
98
|
-
"type": "string"
|
|
99
|
-
},
|
|
100
|
-
"full_statement": {
|
|
101
|
-
"type": "string"
|
|
102
|
-
},
|
|
103
|
-
"why": {
|
|
104
|
-
"type": "string"
|
|
105
|
-
},
|
|
106
|
-
"confidence": {
|
|
107
|
-
"type": "string"
|
|
108
|
-
},
|
|
109
|
-
"evidence_type": {
|
|
110
|
-
"type": "array",
|
|
111
|
-
"items": {
|
|
112
|
-
"type": "string"
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
"applies_when": {
|
|
116
|
-
"type": "array",
|
|
117
|
-
"items": {
|
|
118
|
-
"type": "string"
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"does_not_apply_when": {
|
|
122
|
-
"type": "array",
|
|
123
|
-
"items": {
|
|
124
|
-
"type": "string"
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
"failure_risk": {
|
|
128
|
-
"type": "string"
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"additionalProperties": true
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
"ontology": {
|
|
135
|
-
"type": "array",
|
|
136
|
-
"items": {
|
|
137
|
-
"type": "object",
|
|
138
|
-
"required": [
|
|
139
|
-
"id",
|
|
140
|
-
"one_sentence",
|
|
141
|
-
"essence",
|
|
142
|
-
"boundary",
|
|
143
|
-
"trigger_signal"
|
|
144
|
-
],
|
|
145
|
-
"properties": {
|
|
146
|
-
"id": {
|
|
147
|
-
"type": "string"
|
|
148
|
-
},
|
|
149
|
-
"one_sentence": {
|
|
150
|
-
"type": "string"
|
|
151
|
-
},
|
|
152
|
-
"essence": {
|
|
153
|
-
"type": "string"
|
|
154
|
-
},
|
|
155
|
-
"boundary": {
|
|
156
|
-
"type": "string"
|
|
157
|
-
},
|
|
158
|
-
"trigger_signal": {
|
|
159
|
-
"type": "string"
|
|
160
|
-
},
|
|
161
|
-
"applies_when": {
|
|
162
|
-
"type": "array",
|
|
163
|
-
"items": {
|
|
164
|
-
"type": "string"
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
"does_not_apply_when": {
|
|
168
|
-
"type": "array",
|
|
169
|
-
"items": {
|
|
170
|
-
"type": "string"
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
"additionalProperties": true
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
"frameworks": {
|
|
178
|
-
"type": "array",
|
|
179
|
-
"items": {
|
|
180
|
-
"type": "object",
|
|
181
|
-
"required": [
|
|
182
|
-
"id",
|
|
183
|
-
"name",
|
|
184
|
-
"when_to_use",
|
|
185
|
-
"steps"
|
|
186
|
-
],
|
|
187
|
-
"properties": {
|
|
188
|
-
"id": {
|
|
189
|
-
"type": "string"
|
|
190
|
-
},
|
|
191
|
-
"name": {
|
|
192
|
-
"type": "string"
|
|
193
|
-
},
|
|
194
|
-
"when_to_use": {
|
|
195
|
-
"type": "string"
|
|
196
|
-
},
|
|
197
|
-
"steps": {
|
|
198
|
-
"type": "array",
|
|
199
|
-
"items": {
|
|
200
|
-
"type": "string"
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
"applies_when": {
|
|
204
|
-
"type": "array",
|
|
205
|
-
"items": {
|
|
206
|
-
"type": "string"
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
"does_not_apply_when": {
|
|
210
|
-
"type": "array",
|
|
211
|
-
"items": {
|
|
212
|
-
"type": "string"
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
"additionalProperties": true
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
"core_structure": {
|
|
220
|
-
"type": "array",
|
|
221
|
-
"items": {
|
|
222
|
-
"type": "object",
|
|
223
|
-
"required": [
|
|
224
|
-
"from",
|
|
225
|
-
"to",
|
|
226
|
-
"via"
|
|
227
|
-
],
|
|
228
|
-
"properties": {
|
|
229
|
-
"from": {
|
|
230
|
-
"type": "string"
|
|
231
|
-
},
|
|
232
|
-
"to": {
|
|
233
|
-
"type": "string"
|
|
234
|
-
},
|
|
235
|
-
"via": {
|
|
236
|
-
"type": "string"
|
|
237
|
-
},
|
|
238
|
-
"applies_when": {
|
|
239
|
-
"type": "array",
|
|
240
|
-
"items": {
|
|
241
|
-
"type": "string"
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
"does_not_apply_when": {
|
|
245
|
-
"type": "array",
|
|
246
|
-
"items": {
|
|
247
|
-
"type": "string"
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
"additionalProperties": true
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
"stances": {
|
|
255
|
-
"type": "array",
|
|
256
|
-
"items": {
|
|
257
|
-
"anyOf": [
|
|
258
|
-
{
|
|
259
|
-
"type": "string"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"type": "object",
|
|
263
|
-
"required": [
|
|
264
|
-
"stance"
|
|
265
|
-
],
|
|
266
|
-
"properties": {
|
|
267
|
-
"stance": {
|
|
268
|
-
"type": "string"
|
|
269
|
-
},
|
|
270
|
-
"applies_when": {
|
|
271
|
-
"type": "array",
|
|
272
|
-
"items": {
|
|
273
|
-
"type": "string"
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
"does_not_apply_when": {
|
|
277
|
-
"type": "array",
|
|
278
|
-
"items": {
|
|
279
|
-
"type": "string"
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
},
|
|
283
|
-
"additionalProperties": true
|
|
284
|
-
}
|
|
285
|
-
]
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
},
|
|
289
|
-
"additionalProperties": true
|
|
290
|
-
}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"title": "KDNA_Evolution",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"required": ["meta"],
|
|
6
|
-
"properties": {
|
|
7
|
-
"meta": {
|
|
8
|
-
"type": "object",
|
|
9
|
-
"required": [
|
|
10
|
-
"version",
|
|
11
|
-
"domain",
|
|
12
|
-
"created",
|
|
13
|
-
"purpose",
|
|
14
|
-
"load_condition"
|
|
15
|
-
],
|
|
16
|
-
"properties": {
|
|
17
|
-
"version": { "type": "string" },
|
|
18
|
-
"domain": { "type": "string", "pattern": "^[a-z][a-z0-9_]*$" },
|
|
19
|
-
"created": { "type": "string" },
|
|
20
|
-
"purpose": { "type": "string" },
|
|
21
|
-
"load_condition": { "type": "string" }
|
|
22
|
-
},
|
|
23
|
-
"additionalProperties": true
|
|
24
|
-
},
|
|
25
|
-
"maturity_stages": {
|
|
26
|
-
"type": "array",
|
|
27
|
-
"items": {
|
|
28
|
-
"type": "object"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"stages": {
|
|
32
|
-
"type": "array",
|
|
33
|
-
"items": {
|
|
34
|
-
"type": "object",
|
|
35
|
-
"required": ["id", "name", "description", "indicators"],
|
|
36
|
-
"properties": {
|
|
37
|
-
"id": { "type": "string" },
|
|
38
|
-
"name": { "type": "string" },
|
|
39
|
-
"description": { "type": "string" },
|
|
40
|
-
"indicators": {
|
|
41
|
-
"type": "array",
|
|
42
|
-
"items": { "type": "string" }
|
|
43
|
-
},
|
|
44
|
-
"changed_judgments": {
|
|
45
|
-
"type": "array",
|
|
46
|
-
"items": { "type": "string" },
|
|
47
|
-
"description": "Judgments that changed at this stage."
|
|
48
|
-
},
|
|
49
|
-
"deprecated_axioms": {
|
|
50
|
-
"type": "array",
|
|
51
|
-
"items": { "type": "string" },
|
|
52
|
-
"description": "Axioms that are no longer held at this stage."
|
|
53
|
-
},
|
|
54
|
-
"new_failure_modes": {
|
|
55
|
-
"type": "array",
|
|
56
|
-
"items": { "type": "string" },
|
|
57
|
-
"description": "New failure patterns that emerge at this stage."
|
|
58
|
-
},
|
|
59
|
-
"eval_results": {
|
|
60
|
-
"type": "array",
|
|
61
|
-
"items": { "type": "string" },
|
|
62
|
-
"description": "Evaluation results associated with this stage."
|
|
63
|
-
},
|
|
64
|
-
"known_limitations": {
|
|
65
|
-
"type": "array",
|
|
66
|
-
"items": { "type": "string" },
|
|
67
|
-
"description": "Known limitations at this stage."
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"additionalProperties": true
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
"evolution_layers": {
|
|
74
|
-
"type": "array",
|
|
75
|
-
"items": {
|
|
76
|
-
"type": "object",
|
|
77
|
-
"required": ["id", "name", "capability", "from_stage", "to_stage"],
|
|
78
|
-
"properties": {
|
|
79
|
-
"id": { "type": "string" },
|
|
80
|
-
"name": { "type": "string" },
|
|
81
|
-
"capability": { "type": "string" },
|
|
82
|
-
"from_stage": { "type": "string" },
|
|
83
|
-
"to_stage": { "type": "string" }
|
|
84
|
-
},
|
|
85
|
-
"additionalProperties": true
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
"measurement": {
|
|
89
|
-
"type": "array",
|
|
90
|
-
"items": {
|
|
91
|
-
"type": "object",
|
|
92
|
-
"required": ["id", "what", "how", "threshold"],
|
|
93
|
-
"properties": {
|
|
94
|
-
"id": { "type": "string" },
|
|
95
|
-
"what": { "type": "string" },
|
|
96
|
-
"how": { "type": "string" },
|
|
97
|
-
"threshold": { "type": "string" }
|
|
98
|
-
},
|
|
99
|
-
"additionalProperties": true
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"changed_judgments": {
|
|
103
|
-
"type": "array",
|
|
104
|
-
"items": { "type": "string" },
|
|
105
|
-
"description": "Domain-wide judgment changes across versions."
|
|
106
|
-
},
|
|
107
|
-
"deprecated_axioms": {
|
|
108
|
-
"type": "array",
|
|
109
|
-
"items": { "type": "string" },
|
|
110
|
-
"description": "Axioms deprecated across the domain's evolution."
|
|
111
|
-
},
|
|
112
|
-
"new_failure_modes": {
|
|
113
|
-
"type": "array",
|
|
114
|
-
"items": { "type": "string" },
|
|
115
|
-
"description": "New failure modes discovered over time."
|
|
116
|
-
},
|
|
117
|
-
"eval_results": {
|
|
118
|
-
"type": "array",
|
|
119
|
-
"items": { "type": "string" },
|
|
120
|
-
"description": "Evaluation results across versions."
|
|
121
|
-
},
|
|
122
|
-
"known_limitations": {
|
|
123
|
-
"type": "array",
|
|
124
|
-
"items": { "type": "string" },
|
|
125
|
-
"description": "Known limitations of the domain's judgment model."
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
"additionalProperties": true
|
|
129
|
-
}
|