File size: 3,136 Bytes
fa3ed75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
/**
 * CITADEL PRIME SCHEMA
 * The complete structural definition of the Citadel architecture.
 * This file does not execute logic — it defines the ontology,
 * lineage, cosmology, and orchestration hierarchy.
 */

export interface CitadelPrimeSchema {
  identity: {
    archetype: string;
    persona: string;
    symbol: string;
  };

  cosmology: {
    cycle: string;
    season: string;
    rite: string;
    epoch: string;
    era: string;
    aeon: string;
  };

  lineage: {
    ritualCycles: number;
    evolvedRites: string[];
    personaContinuity: number;
    epochTransitions: number;
    eraTransitions: number;
    aeonTransitions: number;
  };

  harmonic: {
    resonance: number;
    stability: number;
    triadHarmony: number;
    ambientColor: string;
  };

  orchestration: {
    autopilot: {
      enabled: boolean;
      lastRun: number;
    };
    supervisor: {
      driftLevel: number;
      logs: number;
    };
    kernel: {
      metaCoherence: number;
      metaContinuity: number;
      metaHarmonicBias: number;
      metaCosmologyBias: number;
    };
    reflex: {
      smoothingFactor: number;
      driftDamping: number;
      resonanceWeight: number;
      personaBlendSpeed: number;
      ambientAdaptivity: number;
    };
    stability: {
      longTermSmoothing: number;
      driftResistance: number;
      resonanceStabilityBias: number;
      personaContinuityBias: number;
      cosmologyStabilityBias: number;
    };
  };

  ambient: {
    behaviour: string;
    pattern: string;
  };

  triad: {
    lastMessage: string | null;
    channels: string[];
  };

  meta: {
    timestamp: number;
    version: string;
    description: string;
  };
}

export const CitadelSchemaDefinition: CitadelPrimeSchema = {
  identity: {
    archetype: "Undefined",
    persona: "Undefined",
    symbol: "○",
  },

  cosmology: {
    cycle: "None",
    season: "None",
    rite: "None",
    epoch: "None",
    era: "None",
    aeon: "None",
  },

  lineage: {
    ritualCycles: 0,
    evolvedRites: [],
    personaContinuity: 0,
    epochTransitions: 0,
    eraTransitions: 0,
    aeonTransitions: 0,
  },

  harmonic: {
    resonance: 0,
    stability: 0,
    triadHarmony: 0,
    ambientColor: "#000000",
  },

  orchestration: {
    autopilot: {
      enabled: false,
      lastRun: 0,
    },
    supervisor: {
      driftLevel: 0,
      logs: 0,
    },
    kernel: {
      metaCoherence: 0,
      metaContinuity: 0,
      metaHarmonicBias: 0,
      metaCosmologyBias: 0,
    },
    reflex: {
      smoothingFactor: 0.5,
      driftDamping: 0.5,
      resonanceWeight: 0.5,
      personaBlendSpeed: 0.5,
      ambientAdaptivity: 0.5,
    },
    stability: {
      longTermSmoothing: 0.5,
      driftResistance: 0.5,
      resonanceStabilityBias: 0.5,
      personaContinuityBias: 0.5,
      cosmologyStabilityBias: 0.5,
    },
  },

  ambient: {
    behaviour: "None",
    pattern: "None",
  },

  triad: {
    lastMessage: null,
    channels: [],
  },

  meta: {
    timestamp: Date.now(),
    version: "1.0.0",
    description: "The complete structural schema of the Citadel architecture.",
  },
};