@disclosureos/origins 1.0.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 (55) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/LICENSE +21 -0
  3. package/README.md +95 -0
  4. package/dist/classification/index.d.ts +75 -0
  5. package/dist/classification/index.js +35 -0
  6. package/dist/classification/index.js.map +1 -0
  7. package/dist/constants/index.d.ts +41 -0
  8. package/dist/constants/index.js +1027 -0
  9. package/dist/constants/index.js.map +1 -0
  10. package/dist/factories/index.d.ts +25 -0
  11. package/dist/factories/index.js +1067 -0
  12. package/dist/factories/index.js.map +1 -0
  13. package/dist/formatters/index.d.ts +9 -0
  14. package/dist/formatters/index.js +1036 -0
  15. package/dist/formatters/index.js.map +1 -0
  16. package/dist/guards/index.d.ts +3 -0
  17. package/dist/guards/index.js +1059 -0
  18. package/dist/guards/index.js.map +1 -0
  19. package/dist/index-BUFnYJ1s.d.ts +21 -0
  20. package/dist/index.d.ts +53 -0
  21. package/dist/index.js +1231 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/labels/index.d.ts +7 -0
  24. package/dist/labels/index.js +1002 -0
  25. package/dist/labels/index.js.map +1 -0
  26. package/dist/reference/aaro/index.d.ts +26 -0
  27. package/dist/reference/aaro/index.js +47 -0
  28. package/dist/reference/aaro/index.js.map +1 -0
  29. package/dist/reference/geipan/index.d.ts +34 -0
  30. package/dist/reference/geipan/index.js +53 -0
  31. package/dist/reference/geipan/index.js.map +1 -0
  32. package/dist/reference/hynek/index.d.ts +37 -0
  33. package/dist/reference/hynek/index.js +27 -0
  34. package/dist/reference/hynek/index.js.map +1 -0
  35. package/dist/reference/index.d.ts +5 -0
  36. package/dist/reference/index.js +143 -0
  37. package/dist/reference/index.js.map +1 -0
  38. package/dist/reference/vallee/index.d.ts +40 -0
  39. package/dist/reference/vallee/index.js +37 -0
  40. package/dist/reference/vallee/index.js.map +1 -0
  41. package/dist/taxonomy/index.d.ts +20 -0
  42. package/dist/taxonomy/index.js +1071 -0
  43. package/dist/taxonomy/index.js.map +1 -0
  44. package/dist/taxonomy/metaphysical/index.d.ts +6 -0
  45. package/dist/taxonomy/metaphysical/index.js +995 -0
  46. package/dist/taxonomy/metaphysical/index.js.map +1 -0
  47. package/dist/taxonomy/physical/index.d.ts +6 -0
  48. package/dist/taxonomy/physical/index.js +995 -0
  49. package/dist/taxonomy/physical/index.js.map +1 -0
  50. package/dist/taxonomy/psychosocial/index.d.ts +6 -0
  51. package/dist/taxonomy/psychosocial/index.js +995 -0
  52. package/dist/taxonomy/psychosocial/index.js.map +1 -0
  53. package/dist/types-DhroHNFf.d.ts +62 -0
  54. package/package.json +136 -0
  55. package/schema/origins.schema.json +88 -0
@@ -0,0 +1,1059 @@
1
+ import { ConfidenceSchema, ClaimSchema, createEnumGuard } from '@disclosureos/records/shared';
2
+ import { z } from 'zod';
3
+
4
+ // src/guards/index.ts
5
+ var OriginDomainSchema = z.enum(["physical", "psychosocial", "metaphysical"]).describe("Top-level OCS origin domain.");
6
+ var PhysicalSubdomainSchema = z.enum(["intradimensional", "extradimensional", "interdimensional"]).describe("Subdomain of the physical origin domain.");
7
+ var PsychosocialSubdomainSchema = z.enum(["sociological", "psychological", "neurological"]).describe("Subdomain of the psychosocial origin domain.");
8
+ var MetaphysicalSubdomainSchema = z.enum(["paranormal", "occult", "transcendental"]).describe("Subdomain of the metaphysical origin domain.");
9
+ z.union([PhysicalSubdomainSchema, PsychosocialSubdomainSchema, MetaphysicalSubdomainSchema]).describe("Any OCS subdomain across the three origin domains.");
10
+ z.object({
11
+ id: z.string().min(1).describe('Numeric dot-path identifier (e.g., "1.1.2.1").'),
12
+ label: z.string().min(1).describe("Human-readable name for this OCS hypothesis node."),
13
+ description: z.string().describe("Plain-language explanation of what this hypothesis node covers."),
14
+ domain: OriginDomainSchema.describe("Top-level domain this node belongs to."),
15
+ depth: z.number().int().min(0).describe("Tree depth: 0=domain, 1=subdomain, 2=category, 3=subcategory, 4=leaf."),
16
+ parentId: z.string().nullable().describe("Parent node id, or null for a domain root."),
17
+ children: z.array(z.string()).describe("Child node ids, referenced by id rather than nested inline."),
18
+ scientificallyTestable: z.boolean().describe("Whether this hypothesis can be empirically falsified."),
19
+ aliases: z.array(z.string()).optional().describe('Alternative names (e.g., "ETH", "CTH").')
20
+ }).meta({ id: "OCSNode" }).describe("A node in the OCS origin-hypothesis taxonomy.");
21
+ var HypothesisWeightSchema = z.object({
22
+ nodeId: z.string().min(1).describe('OCS node id (e.g., "1.1.3").'),
23
+ confidence: ConfidenceSchema,
24
+ label: z.string().optional()
25
+ }).meta({ id: "HypothesisWeight" }).describe("A weighted origin hypothesis (OCS node + confidence).");
26
+ var OriginClaimSchema = ClaimSchema.extend({
27
+ primaryHypothesis: z.string().min(1).describe("OCS node id of the primary hypothesis."),
28
+ confidence: ConfidenceSchema.describe("Confidence in the primary hypothesis, in [0,1]."),
29
+ alternativeHypotheses: z.array(HypothesisWeightSchema).optional().describe(
30
+ "Other OCS hypotheses this same evaluator weighs as possible, each with its own confidence \u2014 the intra-claim uncertainty axis."
31
+ )
32
+ }).meta({ id: "OriginClaim" }).describe("An attributed origin-hypothesis classification for an observation.");
33
+ var ConfidenceDistributionSchema = z.object({
34
+ hypotheses: z.array(HypothesisWeightSchema),
35
+ unresolved: ConfidenceSchema.describe("Remaining confidence not assigned to any hypothesis."),
36
+ evaluatedAt: z.iso.datetime()
37
+ }).meta({ id: "ConfidenceDistribution" }).describe("Confidence distribution across origin hypotheses.");
38
+ z.object({
39
+ conventional: ConfidenceSchema,
40
+ cryptoterrestrial: ConfidenceSchema,
41
+ extraterrestrial: ConfidenceSchema,
42
+ extradimensional: ConfidenceSchema,
43
+ interdimensional: ConfidenceSchema,
44
+ psychosocial: ConfidenceSchema,
45
+ metaphysical: ConfidenceSchema,
46
+ insufficientData: ConfidenceSchema
47
+ }).meta({ id: "CategoryConfidence" }).describe("Quick category-level confidence distribution across broad OCS categories.");
48
+
49
+ // src/taxonomy/tree.ts
50
+ var OCS_TAXONOMY = [
51
+ // ============================================================
52
+ // DOMAIN 1.0 — PHYSICAL
53
+ // ============================================================
54
+ {
55
+ id: "1",
56
+ label: "Physical",
57
+ description: "Theories attributing UAP to tangible, material objects or phenomena.",
58
+ domain: "physical",
59
+ depth: 0,
60
+ parentId: null,
61
+ children: ["1.1", "1.2", "1.3"],
62
+ scientificallyTestable: true
63
+ },
64
+ // --- 1.1 Intradimensional ---
65
+ {
66
+ id: "1.1",
67
+ label: "Intradimensional",
68
+ description: "Manifestations from dimensions/realms within our own physical reality.",
69
+ domain: "physical",
70
+ depth: 1,
71
+ parentId: "1",
72
+ children: ["1.1.1", "1.1.2", "1.1.3"],
73
+ scientificallyTestable: true
74
+ },
75
+ // 1.1.1 Prosaic
76
+ {
77
+ id: "1.1.1",
78
+ label: "Prosaic",
79
+ description: "Ordinary or conventional explanations for observed phenomena.",
80
+ domain: "physical",
81
+ depth: 2,
82
+ parentId: "1.1",
83
+ children: ["1.1.1.1", "1.1.1.2"],
84
+ scientificallyTestable: true
85
+ },
86
+ {
87
+ id: "1.1.1.1",
88
+ label: "Natural",
89
+ description: "Atmospheric, celestial, or geological phenomena misidentified as anomalous.",
90
+ domain: "physical",
91
+ depth: 3,
92
+ parentId: "1.1.1",
93
+ children: ["1.1.1.1.1", "1.1.1.1.2", "1.1.1.1.3", "1.1.1.1.4"],
94
+ scientificallyTestable: true
95
+ },
96
+ {
97
+ id: "1.1.1.1.1",
98
+ label: "Optical Artifact / Illusion",
99
+ description: "Lens flares, reflections, mirages, temperature inversions, or other optical effects.",
100
+ domain: "physical",
101
+ depth: 4,
102
+ parentId: "1.1.1.1",
103
+ children: [],
104
+ scientificallyTestable: true
105
+ },
106
+ {
107
+ id: "1.1.1.1.2",
108
+ label: "Celestial",
109
+ description: "Stars, planets, meteors, satellites, or space debris misidentified.",
110
+ domain: "physical",
111
+ depth: 4,
112
+ parentId: "1.1.1.1",
113
+ children: [],
114
+ scientificallyTestable: true
115
+ },
116
+ {
117
+ id: "1.1.1.1.3",
118
+ label: "Meteorological",
119
+ description: "Ball lightning, lenticular clouds, sprites, or other atmospheric phenomena.",
120
+ domain: "physical",
121
+ depth: 4,
122
+ parentId: "1.1.1.1",
123
+ children: [],
124
+ scientificallyTestable: true
125
+ },
126
+ {
127
+ id: "1.1.1.1.4",
128
+ label: "Geophysical",
129
+ description: "Earthquake lights, piezoelectric effects, or volcanic phenomena.",
130
+ domain: "physical",
131
+ depth: 4,
132
+ parentId: "1.1.1.1",
133
+ children: [],
134
+ scientificallyTestable: true
135
+ },
136
+ {
137
+ id: "1.1.1.2",
138
+ label: "Human",
139
+ description: "Human activities or technologies misidentified as anomalous.",
140
+ domain: "physical",
141
+ depth: 3,
142
+ parentId: "1.1.1",
143
+ children: ["1.1.1.2.1", "1.1.1.2.2", "1.1.1.2.3", "1.1.1.2.4"],
144
+ scientificallyTestable: true
145
+ },
146
+ {
147
+ id: "1.1.1.2.1",
148
+ label: "Governmental",
149
+ description: "Military aircraft, drones, or test vehicles from known government programs.",
150
+ domain: "physical",
151
+ depth: 4,
152
+ parentId: "1.1.1.2",
153
+ children: [],
154
+ scientificallyTestable: true
155
+ },
156
+ {
157
+ id: "1.1.1.2.2",
158
+ label: "Extra-Governmental",
159
+ description: "Black budget programs, Special Access Programs (SAPs), or unacknowledged projects.",
160
+ domain: "physical",
161
+ depth: 4,
162
+ parentId: "1.1.1.2",
163
+ children: [],
164
+ scientificallyTestable: true
165
+ },
166
+ {
167
+ id: "1.1.1.2.3",
168
+ label: "Inter-governmental",
169
+ description: "Foreign adversary technology or multinational classified programs.",
170
+ domain: "physical",
171
+ depth: 4,
172
+ parentId: "1.1.1.2",
173
+ children: [],
174
+ scientificallyTestable: true
175
+ },
176
+ {
177
+ id: "1.1.1.2.4",
178
+ label: "Private / Commercial",
179
+ description: "Commercial drones, private aerospace ventures, or civilian technology.",
180
+ domain: "physical",
181
+ depth: 4,
182
+ parentId: "1.1.1.2",
183
+ children: [],
184
+ scientificallyTestable: true
185
+ },
186
+ // 1.1.2 Cryptoterrestrial
187
+ {
188
+ id: "1.1.2",
189
+ label: "Cryptoterrestrial",
190
+ description: "Hidden Earth-based civilizations or entities operating outside known history.",
191
+ domain: "physical",
192
+ depth: 2,
193
+ parentId: "1.1",
194
+ children: ["1.1.2.1", "1.1.2.2", "1.1.2.3", "1.1.2.4"],
195
+ scientificallyTestable: true,
196
+ aliases: ["CTH"]
197
+ },
198
+ {
199
+ id: "1.1.2.1",
200
+ label: "Ancient / Proto-Human Survival",
201
+ description: "Remnant populations of earlier hominid species or ancient civilizations that survived in isolation.",
202
+ domain: "physical",
203
+ depth: 3,
204
+ parentId: "1.1.2",
205
+ children: [],
206
+ scientificallyTestable: true
207
+ },
208
+ {
209
+ id: "1.1.2.2",
210
+ label: "Breakaway Civilization",
211
+ description: "Human splinter groups that developed advanced technology in secret.",
212
+ domain: "physical",
213
+ depth: 3,
214
+ parentId: "1.1.2",
215
+ children: [],
216
+ scientificallyTestable: true
217
+ },
218
+ {
219
+ id: "1.1.2.3",
220
+ label: "Cryptids / Humanoids",
221
+ description: "Non-human intelligent entities indigenous to Earth but outside the known tree of life.",
222
+ domain: "physical",
223
+ depth: 3,
224
+ parentId: "1.1.2",
225
+ children: [],
226
+ scientificallyTestable: true
227
+ },
228
+ {
229
+ id: "1.1.2.4",
230
+ label: 'Stranded "Gods"',
231
+ description: "Entities from ancient mythological accounts interpreted as literal stranded visitors.",
232
+ domain: "physical",
233
+ depth: 3,
234
+ parentId: "1.1.2",
235
+ children: [],
236
+ scientificallyTestable: true
237
+ },
238
+ // 1.1.3 Extraterrestrial
239
+ {
240
+ id: "1.1.3",
241
+ label: "Extraterrestrial",
242
+ description: "Intelligence visiting from other locations in spacetime.",
243
+ domain: "physical",
244
+ depth: 2,
245
+ parentId: "1.1",
246
+ children: ["1.1.3.1", "1.1.3.2", "1.1.3.3", "1.1.3.4"],
247
+ scientificallyTestable: true,
248
+ aliases: ["ETH"]
249
+ },
250
+ {
251
+ id: "1.1.3.1",
252
+ label: "Solar System",
253
+ description: "Intelligence originating from elsewhere in our solar system.",
254
+ domain: "physical",
255
+ depth: 3,
256
+ parentId: "1.1.3",
257
+ children: [],
258
+ scientificallyTestable: true
259
+ },
260
+ {
261
+ id: "1.1.3.2",
262
+ label: "Interstellar",
263
+ description: "Intelligence from other star systems within our galaxy.",
264
+ domain: "physical",
265
+ depth: 3,
266
+ parentId: "1.1.3",
267
+ children: [],
268
+ scientificallyTestable: true
269
+ },
270
+ {
271
+ id: "1.1.3.3",
272
+ label: "Intergalactic",
273
+ description: "Intelligence from other galaxies.",
274
+ domain: "physical",
275
+ depth: 3,
276
+ parentId: "1.1.3",
277
+ children: [],
278
+ scientificallyTestable: true
279
+ },
280
+ {
281
+ id: "1.1.3.4",
282
+ label: "Unknown Region of Space-Time",
283
+ description: "Intelligence from an uncharacterized region of our physical universe.",
284
+ domain: "physical",
285
+ depth: 3,
286
+ parentId: "1.1.3",
287
+ children: [],
288
+ scientificallyTestable: true
289
+ },
290
+ // --- 1.2 Extradimensional ---
291
+ {
292
+ id: "1.2",
293
+ label: "Extradimensional",
294
+ description: "UAPs from other dimensions, parallel universes, or realms beyond our physical reality.",
295
+ domain: "physical",
296
+ depth: 1,
297
+ parentId: "1",
298
+ children: ["1.2.1", "1.2.2"],
299
+ scientificallyTestable: true
300
+ },
301
+ {
302
+ id: "1.2.1",
303
+ label: "3-D Entity From Hyperspace",
304
+ description: "Entities projecting into our 3+1 dimensional spacetime from higher dimensions.",
305
+ domain: "physical",
306
+ depth: 2,
307
+ parentId: "1.2",
308
+ children: ["1.2.1.1", "1.2.1.2", "1.2.1.3"],
309
+ scientificallyTestable: true
310
+ },
311
+ {
312
+ id: "1.2.1.1",
313
+ label: "Compactified Dimensions",
314
+ description: "Entities from string theory / Kaluza-Klein compactified extra dimensions.",
315
+ domain: "physical",
316
+ depth: 3,
317
+ parentId: "1.2.1",
318
+ children: [],
319
+ scientificallyTestable: true
320
+ },
321
+ {
322
+ id: "1.2.1.2",
323
+ label: 'Hyperspace "Bulk"',
324
+ description: "Entities from the bulk space of Randall-Sundrum brane models.",
325
+ domain: "physical",
326
+ depth: 3,
327
+ parentId: "1.2.1",
328
+ children: [],
329
+ scientificallyTestable: true
330
+ },
331
+ {
332
+ id: "1.2.1.3",
333
+ label: "Disconnected Hyperspace",
334
+ description: "Entities from higher-dimensional spaces not connected to our brane.",
335
+ domain: "physical",
336
+ depth: 3,
337
+ parentId: "1.2.1",
338
+ children: [],
339
+ scientificallyTestable: true
340
+ },
341
+ {
342
+ id: "1.2.2",
343
+ label: 'Hyper-D "Brane"',
344
+ description: "Brane interactions from string/M-theory producing observable effects.",
345
+ domain: "physical",
346
+ depth: 2,
347
+ parentId: "1.2",
348
+ children: ["1.2.2.1", "1.2.2.2"],
349
+ scientificallyTestable: true
350
+ },
351
+ {
352
+ id: "1.2.2.1",
353
+ label: 'Projection / "Shadow"',
354
+ description: "Lower-dimensional projections of higher-dimensional objects.",
355
+ domain: "physical",
356
+ depth: 3,
357
+ parentId: "1.2.2",
358
+ children: ["1.2.2.1.1", "1.2.2.1.2", "1.2.2.1.3"],
359
+ scientificallyTestable: true
360
+ },
361
+ {
362
+ id: "1.2.2.1.1",
363
+ label: "0-to-2 Dimensional",
364
+ description: "Point or plane-like projections from higher dimensions.",
365
+ domain: "physical",
366
+ depth: 4,
367
+ parentId: "1.2.2.1",
368
+ children: [],
369
+ scientificallyTestable: true
370
+ },
371
+ {
372
+ id: "1.2.2.1.2",
373
+ label: "3-Dimensional",
374
+ description: "Full volumetric projections appearing as solid objects.",
375
+ domain: "physical",
376
+ depth: 4,
377
+ parentId: "1.2.2.1",
378
+ children: [],
379
+ scientificallyTestable: true
380
+ },
381
+ {
382
+ id: "1.2.2.1.3",
383
+ label: "Fractal Dimensional",
384
+ description: "Non-integer dimensional projections with fractal geometry.",
385
+ domain: "physical",
386
+ depth: 4,
387
+ parentId: "1.2.2.1",
388
+ children: [],
389
+ scientificallyTestable: true
390
+ },
391
+ {
392
+ id: "1.2.2.2",
393
+ label: '\u2264 3-D "Avatar"',
394
+ description: "Controlled projections or constructs operating as proxies.",
395
+ domain: "physical",
396
+ depth: 3,
397
+ parentId: "1.2.2",
398
+ children: ["1.2.2.2.1", "1.2.2.2.2", "1.2.2.2.3"],
399
+ scientificallyTestable: true
400
+ },
401
+ {
402
+ id: "1.2.2.2.1",
403
+ label: 'Hologram / "Telepresence"',
404
+ description: "Remote presence via holographic or light-based projection.",
405
+ domain: "physical",
406
+ depth: 4,
407
+ parentId: "1.2.2.2",
408
+ children: [],
409
+ scientificallyTestable: true
410
+ },
411
+ {
412
+ id: "1.2.2.2.2",
413
+ label: "Automaton",
414
+ description: "Self-operating mechanical or energetic construct.",
415
+ domain: "physical",
416
+ depth: 4,
417
+ parentId: "1.2.2.2",
418
+ children: [],
419
+ scientificallyTestable: true
420
+ },
421
+ {
422
+ id: "1.2.2.2.3",
423
+ label: "Artificial Lifeform",
424
+ description: "Engineered biological or hybrid entity operating as a proxy.",
425
+ domain: "physical",
426
+ depth: 4,
427
+ parentId: "1.2.2.2",
428
+ children: [],
429
+ scientificallyTestable: true
430
+ },
431
+ // --- 1.3 Interdimensional ---
432
+ {
433
+ id: "1.3",
434
+ label: "Interdimensional",
435
+ description: "UAPs traversing between different dimensions or realities.",
436
+ domain: "physical",
437
+ depth: 1,
438
+ parentId: "1",
439
+ children: ["1.3.1", "1.3.2", "1.3.3"],
440
+ scientificallyTestable: true
441
+ },
442
+ {
443
+ id: "1.3.1",
444
+ label: "Multiverse",
445
+ description: "Entities or phenomena crossing between parallel universes.",
446
+ domain: "physical",
447
+ depth: 2,
448
+ parentId: "1.3",
449
+ children: ["1.3.1.1", "1.3.1.2", "1.3.1.3", "1.3.1.4"],
450
+ scientificallyTestable: true
451
+ },
452
+ {
453
+ id: "1.3.1.1",
454
+ label: "Portal / Wormhole",
455
+ description: "Traversal via Einstein-Rosen bridges or manufactured gateways.",
456
+ domain: "physical",
457
+ depth: 3,
458
+ parentId: "1.3.1",
459
+ children: [],
460
+ scientificallyTestable: true
461
+ },
462
+ {
463
+ id: "1.3.1.2",
464
+ label: "Colliding Universe(s)",
465
+ description: "Phenomena from brane collision events (ekpyrotic cosmology).",
466
+ domain: "physical",
467
+ depth: 3,
468
+ parentId: "1.3.1",
469
+ children: [],
470
+ scientificallyTestable: true
471
+ },
472
+ {
473
+ id: "1.3.1.3",
474
+ label: "Parallel Universe(s)",
475
+ description: "Entities from parallel but non-interacting universe branches.",
476
+ domain: "physical",
477
+ depth: 3,
478
+ parentId: "1.3.1",
479
+ children: [],
480
+ scientificallyTestable: true
481
+ },
482
+ {
483
+ id: "1.3.1.4",
484
+ label: 'QFT "Many Worlds"',
485
+ description: "Quantum-mechanical many-worlds interpretation producing observable crossover.",
486
+ domain: "physical",
487
+ depth: 3,
488
+ parentId: "1.3.1",
489
+ children: [],
490
+ scientificallyTestable: true
491
+ },
492
+ {
493
+ id: "1.3.2",
494
+ label: "Time Travel",
495
+ description: "Entities or vehicles traversing temporal dimensions.",
496
+ domain: "physical",
497
+ depth: 2,
498
+ parentId: "1.3",
499
+ children: ["1.3.2.1", "1.3.2.2", "1.3.2.3", "1.3.2.4", "1.3.2.5"],
500
+ scientificallyTestable: true
501
+ },
502
+ {
503
+ id: "1.3.2.1",
504
+ label: "Humans From Future",
505
+ description: "Time-traveling humans from our future timeline.",
506
+ domain: "physical",
507
+ depth: 3,
508
+ parentId: "1.3.2",
509
+ children: [],
510
+ scientificallyTestable: true
511
+ },
512
+ {
513
+ id: "1.3.2.2",
514
+ label: "Humans From Past",
515
+ description: "Time-traveling humans from our past (advanced pre-history).",
516
+ domain: "physical",
517
+ depth: 3,
518
+ parentId: "1.3.2",
519
+ children: [],
520
+ scientificallyTestable: true
521
+ },
522
+ {
523
+ id: "1.3.2.3",
524
+ label: "Humans From Alternate Timeline",
525
+ description: "Humans from divergent timeline branches.",
526
+ domain: "physical",
527
+ depth: 3,
528
+ parentId: "1.3.2",
529
+ children: [],
530
+ scientificallyTestable: true
531
+ },
532
+ {
533
+ id: "1.3.2.4",
534
+ label: "Non-Human Entity",
535
+ description: "Non-human intelligence traversing time dimensions.",
536
+ domain: "physical",
537
+ depth: 3,
538
+ parentId: "1.3.2",
539
+ children: [],
540
+ scientificallyTestable: true
541
+ },
542
+ {
543
+ id: "1.3.2.5",
544
+ label: "Additional Time Dimension(s)",
545
+ description: "Traversal via hypothetical extra temporal dimensions beyond our single time axis.",
546
+ domain: "physical",
547
+ depth: 3,
548
+ parentId: "1.3.2",
549
+ children: [],
550
+ scientificallyTestable: true
551
+ },
552
+ {
553
+ id: "1.3.3",
554
+ label: "Scale Invariance",
555
+ description: "Phenomena emerging from scale-dependent physics or quantum-cosmological effects.",
556
+ domain: "physical",
557
+ depth: 2,
558
+ parentId: "1.3",
559
+ children: ["1.3.3.1", "1.3.3.2", "1.3.3.3", "1.3.3.4", "1.3.3.5"],
560
+ scientificallyTestable: true
561
+ },
562
+ {
563
+ id: "1.3.3.1",
564
+ label: "Macro Quantum Fluctuation",
565
+ description: "Macroscopic manifestation of quantum vacuum fluctuations.",
566
+ domain: "physical",
567
+ depth: 3,
568
+ parentId: "1.3.3",
569
+ children: [],
570
+ scientificallyTestable: true
571
+ },
572
+ {
573
+ id: "1.3.3.2",
574
+ label: "Distance Recursion",
575
+ description: "Self-similar structure at different scales producing observable anomalies.",
576
+ domain: "physical",
577
+ depth: 3,
578
+ parentId: "1.3.3",
579
+ children: [],
580
+ scientificallyTestable: true
581
+ },
582
+ {
583
+ id: "1.3.3.3",
584
+ label: "Pan-Galactic Entanglement",
585
+ description: "Non-local quantum entanglement effects at galactic scales.",
586
+ domain: "physical",
587
+ depth: 3,
588
+ parentId: "1.3.3",
589
+ children: [],
590
+ scientificallyTestable: true
591
+ },
592
+ {
593
+ id: "1.3.3.4",
594
+ label: 'Unobserved "Vibratory Modes"',
595
+ description: "Hidden vibrational modes of spacetime not yet detected by instruments.",
596
+ domain: "physical",
597
+ depth: 3,
598
+ parentId: "1.3.3",
599
+ children: [],
600
+ scientificallyTestable: true
601
+ },
602
+ {
603
+ id: "1.3.3.5",
604
+ label: "Conformal Cyclic Cosmology",
605
+ description: "Signals or entities from previous cosmic aeons (Penrose CCC).",
606
+ domain: "physical",
607
+ depth: 3,
608
+ parentId: "1.3.3",
609
+ children: [],
610
+ scientificallyTestable: true
611
+ },
612
+ // ============================================================
613
+ // DOMAIN 2.0 — PSYCHOSOCIAL
614
+ // ============================================================
615
+ {
616
+ id: "2",
617
+ label: "Psychosocial",
618
+ description: "Theories attributing UAP to psychological, perceptual, and sociological factors.",
619
+ domain: "psychosocial",
620
+ depth: 0,
621
+ parentId: null,
622
+ children: ["2.1", "2.2", "2.3"],
623
+ scientificallyTestable: true,
624
+ aliases: ["PSH"]
625
+ },
626
+ // --- 2.1 Sociological ---
627
+ {
628
+ id: "2.1",
629
+ label: "Sociological",
630
+ description: "Social dynamics, group phenomena, and cultural factors producing UAP reports.",
631
+ domain: "psychosocial",
632
+ depth: 1,
633
+ parentId: "2",
634
+ children: ["2.1.1", "2.1.2", "2.1.3", "2.1.4", "2.1.5"],
635
+ scientificallyTestable: true
636
+ },
637
+ {
638
+ id: "2.1.1",
639
+ label: "Hypnosis",
640
+ description: "Hypnotic suggestion producing false UAP memories or experiences.",
641
+ domain: "psychosocial",
642
+ depth: 2,
643
+ parentId: "2.1",
644
+ children: [],
645
+ scientificallyTestable: true
646
+ },
647
+ {
648
+ id: "2.1.2",
649
+ label: "Mass Hysteria",
650
+ description: "Collective delusion or social contagion producing shared UAP reports.",
651
+ domain: "psychosocial",
652
+ depth: 2,
653
+ parentId: "2.1",
654
+ children: [],
655
+ scientificallyTestable: true
656
+ },
657
+ {
658
+ id: "2.1.3",
659
+ label: "Memetic Virus",
660
+ description: "Self-propagating cultural narratives that generate UAP reports.",
661
+ domain: "psychosocial",
662
+ depth: 2,
663
+ parentId: "2.1",
664
+ children: [],
665
+ scientificallyTestable: true
666
+ },
667
+ {
668
+ id: "2.1.4",
669
+ label: "Conditioning / Disinformation",
670
+ description: "Deliberate manipulation, propaganda, or psyops creating UAP narratives.",
671
+ domain: "psychosocial",
672
+ depth: 2,
673
+ parentId: "2.1",
674
+ children: [],
675
+ scientificallyTestable: true
676
+ },
677
+ {
678
+ id: "2.1.5",
679
+ label: "Hoax",
680
+ description: "Deliberate fabrication for attention, profit, or amusement.",
681
+ domain: "psychosocial",
682
+ depth: 2,
683
+ parentId: "2.1",
684
+ children: [],
685
+ scientificallyTestable: true
686
+ },
687
+ // --- 2.2 Psychological ---
688
+ {
689
+ id: "2.2",
690
+ label: "Psychological",
691
+ description: "Individual psychological processes producing UAP perceptions.",
692
+ domain: "psychosocial",
693
+ depth: 1,
694
+ parentId: "2",
695
+ children: ["2.2.1", "2.2.2", "2.2.3", "2.2.4", "2.2.5"],
696
+ scientificallyTestable: true
697
+ },
698
+ {
699
+ id: "2.2.1",
700
+ label: "False Belief / Misinterpretation",
701
+ description: "Cognitive bias or perceptual error leading to misidentification.",
702
+ domain: "psychosocial",
703
+ depth: 2,
704
+ parentId: "2.2",
705
+ children: [],
706
+ scientificallyTestable: true
707
+ },
708
+ {
709
+ id: "2.2.2",
710
+ label: "Fallible / Screen Memory",
711
+ description: "False or constructed memories obscuring actual events.",
712
+ domain: "psychosocial",
713
+ depth: 2,
714
+ parentId: "2.2",
715
+ children: [],
716
+ scientificallyTestable: true
717
+ },
718
+ {
719
+ id: "2.2.3",
720
+ label: "Psychosomatic Disorder",
721
+ description: "Physical symptoms produced by psychological distress attributed to UAP.",
722
+ domain: "psychosocial",
723
+ depth: 2,
724
+ parentId: "2.2",
725
+ children: [],
726
+ scientificallyTestable: true
727
+ },
728
+ {
729
+ id: "2.2.4",
730
+ label: "Psychosis / Hallucination",
731
+ description: "Clinical psychiatric conditions producing UAP perceptions.",
732
+ domain: "psychosocial",
733
+ depth: 2,
734
+ parentId: "2.2",
735
+ children: [],
736
+ scientificallyTestable: true
737
+ },
738
+ {
739
+ id: "2.2.5",
740
+ label: "Collective Unconscious",
741
+ description: "Jungian archetypes manifesting as UAP experiences across cultures.",
742
+ domain: "psychosocial",
743
+ depth: 2,
744
+ parentId: "2.2",
745
+ children: [],
746
+ scientificallyTestable: true
747
+ },
748
+ // --- 2.3 Neurological ---
749
+ {
750
+ id: "2.3",
751
+ label: "Neurological",
752
+ description: "Neurobiological factors producing anomalous perceptions.",
753
+ domain: "psychosocial",
754
+ depth: 1,
755
+ parentId: "2",
756
+ children: ["2.3.1", "2.3.2", "2.3.3", "2.3.4", "2.3.5"],
757
+ scientificallyTestable: true
758
+ },
759
+ {
760
+ id: "2.3.1",
761
+ label: "Psychedelics / Pharmacology",
762
+ description: "Drug-induced altered states producing UAP-like perceptions.",
763
+ domain: "psychosocial",
764
+ depth: 2,
765
+ parentId: "2.3",
766
+ children: [],
767
+ scientificallyTestable: true
768
+ },
769
+ {
770
+ id: "2.3.2",
771
+ label: "Pathology / Trauma",
772
+ description: "Brain injury, disease, or trauma producing anomalous perceptions.",
773
+ domain: "psychosocial",
774
+ depth: 2,
775
+ parentId: "2.3",
776
+ children: [],
777
+ scientificallyTestable: true
778
+ },
779
+ {
780
+ id: "2.3.3",
781
+ label: "Neurodivergence",
782
+ description: "Atypical neural architecture producing enhanced or anomalous perception.",
783
+ domain: "psychosocial",
784
+ depth: 2,
785
+ parentId: "2.3",
786
+ children: [],
787
+ scientificallyTestable: true
788
+ },
789
+ {
790
+ id: "2.3.4",
791
+ label: "High Intuition / Functioning",
792
+ description: "Heightened perceptual sensitivity or cognitive function.",
793
+ domain: "psychosocial",
794
+ depth: 2,
795
+ parentId: "2.3",
796
+ children: [],
797
+ scientificallyTestable: true
798
+ },
799
+ {
800
+ id: "2.3.5",
801
+ label: '"Alien" Implants',
802
+ description: "Neurological effects attributed to foreign objects or stimulation.",
803
+ domain: "psychosocial",
804
+ depth: 2,
805
+ parentId: "2.3",
806
+ children: [],
807
+ scientificallyTestable: true
808
+ },
809
+ // ============================================================
810
+ // DOMAIN 3.0 — METAPHYSICAL
811
+ // ============================================================
812
+ {
813
+ id: "3",
814
+ label: "Metaphysical",
815
+ description: "Theories with origins beyond conventional scientific understanding.",
816
+ domain: "metaphysical",
817
+ depth: 0,
818
+ parentId: null,
819
+ children: ["3.1", "3.2", "3.3"],
820
+ scientificallyTestable: false,
821
+ aliases: ["MPH"]
822
+ },
823
+ // --- 3.1 Paranormal ---
824
+ {
825
+ id: "3.1",
826
+ label: "Paranormal",
827
+ description: "Phenomena involving extraordinary human potential or non-material entities.",
828
+ domain: "metaphysical",
829
+ depth: 1,
830
+ parentId: "3",
831
+ children: ["3.1.1", "3.1.2", "3.1.3", "3.1.4", "3.1.5", "3.1.6"],
832
+ scientificallyTestable: true
833
+ },
834
+ {
835
+ id: "3.1.1",
836
+ label: "Psychotronics / Extraordinary Potential",
837
+ description: "Latent human psychic abilities (telekinesis, remote viewing) producing observable effects.",
838
+ domain: "metaphysical",
839
+ depth: 2,
840
+ parentId: "3.1",
841
+ children: [],
842
+ scientificallyTestable: true
843
+ },
844
+ {
845
+ id: "3.1.2",
846
+ label: "NDE / OBE",
847
+ description: "Near-death or out-of-body experiences suggesting non-physical consciousness.",
848
+ domain: "metaphysical",
849
+ depth: 2,
850
+ parentId: "3.1",
851
+ children: [],
852
+ scientificallyTestable: true
853
+ },
854
+ {
855
+ id: "3.1.3",
856
+ label: "Disembodied Spirits / Consciousness",
857
+ description: "Non-physical conscious entities interacting with physical reality.",
858
+ domain: "metaphysical",
859
+ depth: 2,
860
+ parentId: "3.1",
861
+ children: [],
862
+ scientificallyTestable: true
863
+ },
864
+ {
865
+ id: "3.1.4",
866
+ label: "Incorporeal / Bosonic Lifeforms",
867
+ description: "Entities composed of force-carrier particles or non-baryonic matter.",
868
+ domain: "metaphysical",
869
+ depth: 2,
870
+ parentId: "3.1",
871
+ children: [],
872
+ scientificallyTestable: true
873
+ },
874
+ {
875
+ id: "3.1.5",
876
+ label: "Mediumship / Possession",
877
+ description: "External entities communicating through or controlling human hosts.",
878
+ domain: "metaphysical",
879
+ depth: 2,
880
+ parentId: "3.1",
881
+ children: [],
882
+ scientificallyTestable: true
883
+ },
884
+ {
885
+ id: "3.1.6",
886
+ label: "New Physics",
887
+ description: "Undiscovered physical laws that explain anomalous phenomena.",
888
+ domain: "metaphysical",
889
+ depth: 2,
890
+ parentId: "3.1",
891
+ children: [],
892
+ scientificallyTestable: true
893
+ },
894
+ // --- 3.2 Occult ---
895
+ {
896
+ id: "3.2",
897
+ label: "Occult",
898
+ description: "Hidden knowledge traditions and reality models outside mainstream science.",
899
+ domain: "metaphysical",
900
+ depth: 1,
901
+ parentId: "3",
902
+ children: ["3.2.1", "3.2.2", "3.2.3", "3.2.4", "3.2.5", "3.2.6"],
903
+ scientificallyTestable: false
904
+ },
905
+ {
906
+ id: "3.2.1",
907
+ label: "Hidden Powers of Nature",
908
+ description: "Esoteric natural forces not yet recognized by science.",
909
+ domain: "metaphysical",
910
+ depth: 2,
911
+ parentId: "3.2",
912
+ children: [],
913
+ scientificallyTestable: false
914
+ },
915
+ {
916
+ id: "3.2.2",
917
+ label: 'Ascended "Masters"',
918
+ description: "Spiritually evolved beings guiding humanity from higher planes.",
919
+ domain: "metaphysical",
920
+ depth: 2,
921
+ parentId: "3.2",
922
+ children: [],
923
+ scientificallyTestable: false
924
+ },
925
+ {
926
+ id: "3.2.3",
927
+ label: '"Maya" / Sensory Delusion',
928
+ description: "Physical reality as fundamental illusion (Vedantic/Buddhist ontology).",
929
+ domain: "metaphysical",
930
+ depth: 2,
931
+ parentId: "3.2",
932
+ children: [],
933
+ scientificallyTestable: false
934
+ },
935
+ {
936
+ id: "3.2.4",
937
+ label: "Artificial Reality / Matrix Simulation",
938
+ description: "Reality as a computational simulation with UAP as glitches or features.",
939
+ domain: "metaphysical",
940
+ depth: 2,
941
+ parentId: "3.2",
942
+ children: [],
943
+ scientificallyTestable: true
944
+ },
945
+ {
946
+ id: "3.2.5",
947
+ label: "Altered / Alternate Reality",
948
+ description: "Consensus reality as one of many equally valid experiential frames.",
949
+ domain: "metaphysical",
950
+ depth: 2,
951
+ parentId: "3.2",
952
+ children: [],
953
+ scientificallyTestable: false
954
+ },
955
+ {
956
+ id: "3.2.6",
957
+ label: "Absolute World of Archetypes",
958
+ description: "Platonic realm of forms manifesting in physical experience.",
959
+ domain: "metaphysical",
960
+ depth: 2,
961
+ parentId: "3.2",
962
+ children: [],
963
+ scientificallyTestable: false
964
+ },
965
+ // --- 3.3 Transcendental ---
966
+ {
967
+ id: "3.3",
968
+ label: "Transcendental",
969
+ description: "Religious, spiritual, and theological explanations for UAP.",
970
+ domain: "metaphysical",
971
+ depth: 1,
972
+ parentId: "3",
973
+ children: ["3.3.1", "3.3.2", "3.3.3", "3.3.4", "3.3.5", "3.3.6"],
974
+ scientificallyTestable: false
975
+ },
976
+ {
977
+ id: "3.3.1",
978
+ label: '"Gaia" / Nature Spirits',
979
+ description: "Animistic intelligence of the Earth or natural world.",
980
+ domain: "metaphysical",
981
+ depth: 2,
982
+ parentId: "3.3",
983
+ children: [],
984
+ scientificallyTestable: false
985
+ },
986
+ {
987
+ id: "3.3.2",
988
+ label: "Angelic Beings",
989
+ description: "Benevolent spiritual entities from monotheistic traditions.",
990
+ domain: "metaphysical",
991
+ depth: 2,
992
+ parentId: "3.3",
993
+ children: [],
994
+ scientificallyTestable: false
995
+ },
996
+ {
997
+ id: "3.3.3",
998
+ label: '"Djinn" / Neutral Powers',
999
+ description: "Morally neutral spiritual entities (Islamic jinn, fae folk, trickster spirits).",
1000
+ domain: "metaphysical",
1001
+ depth: 2,
1002
+ parentId: "3.3",
1003
+ children: [],
1004
+ scientificallyTestable: false
1005
+ },
1006
+ {
1007
+ id: "3.3.4",
1008
+ label: "Demonic Forces",
1009
+ description: "Malevolent spiritual entities from various religious traditions.",
1010
+ domain: "metaphysical",
1011
+ depth: 2,
1012
+ parentId: "3.3",
1013
+ children: [],
1014
+ scientificallyTestable: false
1015
+ },
1016
+ {
1017
+ id: "3.3.5",
1018
+ label: "Hierarchy of Being",
1019
+ description: "Neo-Platonic great chain of being with UAP as higher-order entities.",
1020
+ domain: "metaphysical",
1021
+ depth: 2,
1022
+ parentId: "3.3",
1023
+ children: [],
1024
+ scientificallyTestable: false
1025
+ },
1026
+ {
1027
+ id: "3.3.6",
1028
+ label: "Emanations of Godhead",
1029
+ description: "Direct manifestations of divine creative force or cosmic consciousness.",
1030
+ domain: "metaphysical",
1031
+ depth: 2,
1032
+ parentId: "3.3",
1033
+ children: [],
1034
+ scientificallyTestable: false
1035
+ }
1036
+ ];
1037
+
1038
+ // src/constants/index.ts
1039
+ OriginDomainSchema.options;
1040
+ var ALL_OCS_IDS = OCS_TAXONOMY.map((n) => n.id);
1041
+ OCS_TAXONOMY.filter((n) => n.scientificallyTestable).map((n) => n.id);
1042
+ OCS_TAXONOMY.filter((n) => n.children.length === 0).map((n) => n.id);
1043
+ OCS_TAXONOMY.filter((n) => n.domain === "physical").map((n) => n.id);
1044
+ OCS_TAXONOMY.filter((n) => n.domain === "psychosocial").map((n) => n.id);
1045
+ OCS_TAXONOMY.filter((n) => n.domain === "metaphysical").map((n) => n.id);
1046
+
1047
+ // src/guards/index.ts
1048
+ var isOriginDomain = createEnumGuard(OriginDomainSchema.options);
1049
+ var isOCSNodeId = createEnumGuard(ALL_OCS_IDS);
1050
+ function isOriginClaim(value) {
1051
+ return OriginClaimSchema.safeParse(value).success;
1052
+ }
1053
+ function isConfidenceDistribution(value) {
1054
+ return ConfidenceDistributionSchema.safeParse(value).success;
1055
+ }
1056
+
1057
+ export { isConfidenceDistribution, isOCSNodeId, isOriginClaim, isOriginDomain };
1058
+ //# sourceMappingURL=index.js.map
1059
+ //# sourceMappingURL=index.js.map