Spaces:
Running

Um44 commited on
Commit
1a2ae1a
·
verified ·
1 Parent(s): d276f23

Upload index.html

Browse files
Files changed (1) hide show
  1. index.html +275 -0
index.html ADDED
@@ -0,0 +1,275 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>ENIGMA — Executable Epistemic Contracts</title>
7
+ <meta name="description" content="Deterministic causal simulation engine: agents, world state, perception, memory, beliefs, decisions and narrative arising from their disagreement.">
8
+ <meta name="author" content="Gritsaenko, M.">
9
+ <meta name="citation_doi" content="10.5281/zenodo.22831764">
10
+ <link rel="stylesheet" href="assets/style.css">
11
+ <link rel="preconnect" href="https://fonts.googleapis.com">
12
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
13
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&display=swap" rel="stylesheet">
14
+ </head>
15
+ <body>
16
+
17
+ <header class="hero">
18
+ <div class="hero-inner">
19
+ <div class="hero-meta">
20
+ <span class="badge">v0.5.4.4.5</span>
21
+ <span class="badge badge-doi">DOI: 10.5281/zenodo.22831764</span>
22
+ <span class="badge badge-license">AGPL-3.0</span>
23
+ </div>
24
+ <h1 class="hero-title">ENIGMA</h1>
25
+ <p class="hero-subtitle">Executable Epistemic Contracts in Deterministic Agent Simulation</p>
26
+ <p class="hero-principle">
27
+ <span class="truth">WORLD TRUTH</span>
28
+ <span class="neq">≠</span>
29
+ <span class="memory">NPC MEMORY</span>
30
+ <span class="neq">≠</span>
31
+ <span class="belief">NPC BELIEF</span>
32
+ </p>
33
+ <div class="hero-links">
34
+ <a href="https://github.com/4Um4/Enigma" class="btn btn-primary">Source code</a>
35
+ <a href="https://doi.org/10.5281/zenodo.22831764" class="btn btn-secondary">Archived version</a>
36
+ <a href="https://github.com/4Um4/Enigma/blob/main/docs/ENIGMA_ROADMAP_v4_12_WPS.md" class="btn btn-ghost">Roadmap v4.12</a>
37
+ </div>
38
+ </div>
39
+ </header>
40
+
41
+ <main>
42
+
43
+ <section class="section" id="what">
44
+ <h2>What is this?</h2>
45
+ <p>
46
+ ENIGMA is a research project exploring whether a deterministic game simulation can generate meaningful emergent behavior when agents act based on their own incomplete and potentially erroneous models of the world — rather than on objective truth.
47
+ </p>
48
+ <p>
49
+ It is <strong>not a game</strong>. It is a scientific software artifact: a causal simulation engine where every layer — perception, memory, belief, decision, narration — is causally traced and never conflated with the layer above or below.
50
+ </p>
51
+ <p class="quote">
52
+ "The simulation is deep, but mute to the player: the world cannot initiate contact, and the time the player missed leaves no reachable traces. The loop is broken in both directions."
53
+ <span class="quote-source">— Loop Closure design rationale</span>
54
+ </p>
55
+ </section>
56
+
57
+ <section class="section" id="layers">
58
+ <h2>The 12-layer canonical construction order</h2>
59
+ <p class="section-intro">
60
+ Layers are built in strict order. Each upper layer must use the causal work of the layer below — never imitate it. <code>Dialogue ≠ Memory</code>, <code>Memory ≠ Causality</code>, <code>Belief ≠ Decision</code>.
61
+ </p>
62
+ <div class="layers-grid" id="layersGrid">
63
+ <!-- Generated by JS -->
64
+ </div>
65
+ </section>
66
+
67
+ <section class="section" id="laws">
68
+ <h2>Architectural Charter — enforced laws</h2>
69
+ <p class="section-intro">
70
+ 18 laws (§ENIGMA-001..018) are not guidelines — they are executable contracts. Violations raise <code>ArchitecturalViolationError</code> at runtime.
71
+ </p>
72
+ <div class="laws-list">
73
+ <article class="law">
74
+ <header>
75
+ <span class="law-id">§ENIGMA-001</span>
76
+ <h3>Causal Depth Priority</h3>
77
+ </header>
78
+ <p>Realism is not a standalone criterion. The question is: does the change increase the number of durable causal structures (memory, trust, debt, attachment, reputation, belief, norm)?</p>
79
+ </article>
80
+ <article class="law">
81
+ <header>
82
+ <span class="law-id">§ENIGMA-002</span>
83
+ <h3>The Two-Domain Rule</h3>
84
+ </header>
85
+ <p>A new fundamental primitive cannot be introduced until runtime bugs in at least two independent domains prove the same ontological problem. Hypothesis-driven generalization is forbidden.</p>
86
+ </article>
87
+ <article class="law">
88
+ <header>
89
+ <span class="law-id">§ENIGMA-003</span>
90
+ <h3>Epistemic Projection</h3>
91
+ </header>
92
+ <p>Absence of data is interpreted as absence of a valid projection in the agent's memory graph — not as a neutral or zero value of the objective world. <code>UNKNOWN ≠ NEUTRAL(0.0)</code>.</p>
93
+ </article>
94
+ <article class="law">
95
+ <header>
96
+ <span class="law-id">§ENIGMA-S72</span>
97
+ <h3>Relativistic Perception</h3>
98
+ </header>
99
+ <p>The engine produces only raw signals. Meaning arises at the interaction between personality structure (drives + trauma markers) and the raw signal. Fear does not always mean flight — a control-heavy personality redirects it to preemptive aggression.</p>
100
+ </article>
101
+ <article class="law">
102
+ <header>
103
+ <span class="law-id">§14</span>
104
+ <h3>Law of Singular Time</h3>
105
+ </header>
106
+ <p>There is one time — <code>game_time_seconds</code>. All other "times" are either deterministic projections or durations. Parallel time manifolds are forbidden; this is what makes replay possible.</p>
107
+ </article>
108
+ <article class="law">
109
+ <header>
110
+ <span class="law-id">§15</span>
111
+ <h3>Wall-Clock Isolation</h3>
112
+ </header>
113
+ <p><code>datetime.now()</code>, <code>time.time()</code>, <code>time.monotonic()</code> are forbidden in the simulation layer. Real time is allowed only in logging, persistence metadata, and UI.</p>
114
+ </article>
115
+ <article class="law">
116
+ <header>
117
+ <span class="law-id">§16</span>
118
+ <h3>Belief Non-Mutation</h3>
119
+ </header>
120
+ <p>Beliefs are lenses (weight modifiers), not genes (scalars). A <code>CrystallizedBelief</code> cannot mutate <code>drives_runtime</code> directly or indirectly. Personality drift via interpretation is forbidden.</p>
121
+ </article>
122
+ <article class="law">
123
+ <header>
124
+ <span class="law-id">§17</span>
125
+ <h3>Epistemological Orthogonality</h3>
126
+ </header>
127
+ <p>The causal axis (Reality) and the epistemic axis (Observer Knowledge) are orthogonal. Consumers (UI, DM, replay) receive only epistemic representations — never Reality directly. Five invariants hold, including "truth never increases" and "no causal return".</p>
128
+ </article>
129
+ </div>
130
+ </section>
131
+
132
+ <section class="section" id="causal-chain">
133
+ <h2>Causal trace — vertical proof</h2>
134
+ <p class="section-intro">
135
+ Every gameplay-relevant change must be traceable through this chain. If any link is missing or imitated, the upper layers are considered unproven.
136
+ </p>
137
+ <div class="chain" id="causalChain">
138
+ <!-- Generated by JS -->
139
+ </div>
140
+ <p class="chain-note">
141
+ The vertical test: human description → NPC compilation → NPC lives → perceives → remembers → forms beliefs → wants → decides → acts → changes the world → remembers consequences → changes relationships/expectations → answers the player from its own history.
142
+ </p>
143
+ </section>
144
+
145
+ <section class="section" id="goran">
146
+ <h2>"Goran? Yes..." — memory reconstruction</h2>
147
+ <p class="section-intro">
148
+ The canonical vertical scenario (track MEM, §16.5). The goal is not an NPC that stores the past — it is an NPC whose past has become part of its model of itself.
149
+ </p>
150
+ <div class="goran-scenario">
151
+ <div class="goran-step" data-step="1">
152
+ <span class="step-num">01</span>
153
+ <div class="step-content">
154
+ <h4>Acquaintance</h4>
155
+ <p>NPC meets Goran. Several positive interactions. Memory entries with importance 0.5–0.8.</p>
156
+ </div>
157
+ </div>
158
+ <div class="goran-step" data-step="3">
159
+ <span class="step-num">03</span>
160
+ <div class="step-content">
161
+ <h4>Betrayal</h4>
162
+ <p>The episode is recorded — but with perspective (victim vs witness vs actor), with betrayal-importance (not as a routine event), with emotion-at-encoding.</p>
163
+ </div>
164
+ </div>
165
+ <div class="goran-step" data-step="7">
166
+ <span class="step-num">07</span>
167
+ <div class="step-content">
168
+ <h4>20 years pass</h4>
169
+ <p>Decay is driven by Δticks, not wall-clock. Salience weights decide what survives. Episodic details fade; the structure of the betrayal persists.</p>
170
+ </div>
171
+ </div>
172
+ <div class="goran-step" data-step="10">
173
+ <span class="step-num">10</span>
174
+ <div class="step-content">
175
+ <h4>Encounter</h4>
176
+ <p>A query about Goran must trigger a reconstruction — not a lookup. Personal perspective, temporal structure, surviving and lost details, possible errors, influence on prediction.</p>
177
+ </div>
178
+ </div>
179
+ <div class="goran-step" data-step="16">
180
+ <span class="step-num">16</span>
181
+ <div class="step-content">
182
+ <h4>Prediction</h4>
183
+ <p>Per-source expectations ("Goran usually helps" — or, after betrayal, "Goran usually betrays"). Prediction error feeds back into memory importance and belief revision.</p>
184
+ </div>
185
+ </div>
186
+ </div>
187
+ <p class="goran-criterion">
188
+ Success criterion: <em>"Goran? Yes..."</em> — and then a reconstruction of the NPC's individual history, distinct from <code>WORLD TRUTH</code>, reproducible by the deterministic engine.
189
+ </p>
190
+ </section>
191
+
192
+ <section class="section" id="anti-bond">
193
+ <h2>Anti-Bond — the recurring discipline</h2>
194
+ <p>
195
+ Every layer must prove causal work that no other layer performs. A new entity named after a phenomenon is forbidden until it demonstrates work that existing mechanisms cannot do.
196
+ </p>
197
+ <ul class="anti-bond-list">
198
+ <li><code>Dialogue ≠ Memory</code> — speech is a read-only projection of memory stores</li>
199
+ <li><code>Memory ≠ Causality</code> — storage is not a mechanism</li>
200
+ <li><code>Belief ≠ Decision</code> — belief modulates weights, does not author actions</li>
201
+ <li><code>Relationship scalar ≠ History</code> — a number is not a sequence of events</li>
202
+ <li><code>Self-interpretation ≠ Motivation</code> — explanation is not the cause</li>
203
+ <li><code>LLM ≠ Canonical Truth</code> — language model is a renderer, never an authority</li>
204
+ </ul>
205
+ </section>
206
+
207
+ <section class="section section-citation" id="citation">
208
+ <h2>Citation</h2>
209
+ <p>If you use ENIGMA in your research, please cite it as below.</p>
210
+ <div class="citation-blocks">
211
+ <div class="citation-block">
212
+ <h4>BibTeX</h4>
213
+ <pre><code>@software{gritsaenko_2026_enigma,
214
+ author = {Gritsaenko, M.},
215
+ title = {ENIGMA: Executable Epistemic Contracts in Deterministic Agent Simulation},
216
+ version = {0.5.4.4.5},
217
+ year = {2026},
218
+ url = {https://github.com/4Um4/Enigma},
219
+ doi = {10.5281/zenodo.22831764},
220
+ license = {AGPL-3.0}
221
+ }</code></pre>
222
+ </div>
223
+ <div class="citation-block">
224
+ <h4>APA</h4>
225
+ <pre><code>Gritsaenko, M. (2026). ENIGMA: Executable Epistemic Contracts in Deterministic Agent Simulation (Version 0.5.4.4.5) [Computer software]. https://doi.org/10.5281/zenodo.22831764</code></pre>
226
+ </div>
227
+ <div class="citation-block">
228
+ <h4>Chicago</h4>
229
+ <pre><code>Gritsaenko, M. 2026. "ENIGMA: Executable Epistemic Contracts in Deterministic Agent Simulation." Version 0.5.4.4.5. https://doi.org/10.5281/zenodo.22831764.</code></pre>
230
+ </div>
231
+ </div>
232
+ </section>
233
+
234
+ <section class="section section-links" id="links">
235
+ <h2>Links</h2>
236
+ <div class="links-grid">
237
+ <a href="https://github.com/4Um4/Enigma" class="link-card">
238
+ <h4>GitHub</h4>
239
+ <p>Source code, issue tracker, discussions</p>
240
+ <span class="link-arrow">→</span>
241
+ </a>
242
+ <a href="https://doi.org/10.5281/zenodo.22831764" class="link-card">
243
+ <h4>Zenodo</h4>
244
+ <p>Archived version with persistent DOI</p>
245
+ <span class="link-arrow">→</span>
246
+ </a>
247
+ <a href="https://github.com/4Um4/Enigma/blob/main/docs/ENIGMA_ROADMAP_v4_12_WPS.md" class="link-card">
248
+ <h4>Roadmap v4.12</h4>
249
+ <p>Operational map of all tracks (RE-01, AG1, NL-01, CCH, MEM, COV, EPI, MOT)</p>
250
+ <span class="link-arrow">→</span>
251
+ </a>
252
+ <a href="https://github.com/4Um4/Enigma/blob/main/docs/%D0%90%D0%A0%D0%A5%D0%98%D0%A2%D0%95%D0%9A%D0%A2%D0%A3%D0%A0%D0%9D%D0%AB%D0%99_%D0%A3%D0%A1%D0%A2%D0%90%D0%92_ENIGMA.md" class="link-card">
253
+ <h4>Architectural Charter</h4>
254
+ <p>18 enforced laws (§ENIGMA-001..018)</p>
255
+ <span class="link-arrow">→</span>
256
+ </a>
257
+ </div>
258
+ </section>
259
+
260
+ </main>
261
+
262
+ <footer>
263
+ <div class="footer-inner">
264
+ <p class="footer-meta">
265
+ ENIGMA v0.5.4.4.5 · <a href="https://doi.org/10.5281/zenodo.22831764">10.5281/zenodo.22831764</a> · AGPL-3.0
266
+ </p>
267
+ <p class="footer-note">
268
+ A solo-maintained research project. Not a product. Not a game. Not a tutorial.
269
+ </p>
270
+ </div>
271
+ </footer>
272
+
273
+ <script src="assets/script.js"></script>
274
+ </body>
275
+ </html>