Download index.html from Um44/ENIGMA: direct link, hf CLI and curl.
- Browser
- Download file 14.5 kB
-
https://huggingface.co/spaces/Um44/ENIGMA/resolve/main/index.html
- Command line
-
hf download hf://spaces/Um44/ENIGMA/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Um44/ENIGMA/resolve/main/index.html
14.5 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>ENIGMA — Executable Epistemic Contracts</title> | |
| <meta name="description" content="Deterministic causal simulation engine: agents, world state, perception, memory, beliefs, decisions and narrative arising from their disagreement."> | |
| <meta name="author" content="Gritsaenko, M."> | |
| <meta name="citation_doi" content="10.5281/zenodo.22831764"> | |
| <link rel="stylesheet" href="assets/style.css"> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <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"> | |
| </head> | |
| <body> | |
| <header class="hero"> | |
| <div class="hero-inner"> | |
| <div class="hero-meta"> | |
| <span class="badge">v0.5.4.4.5</span> | |
| <span class="badge badge-doi">DOI: 10.5281/zenodo.22831764</span> | |
| <span class="badge badge-license">AGPL-3.0</span> | |
| </div> | |
| <h1 class="hero-title">ENIGMA</h1> | |
| <p class="hero-subtitle">Executable Epistemic Contracts in Deterministic Agent Simulation</p> | |
| <p class="hero-principle"> | |
| <span class="truth">WORLD TRUTH</span> | |
| <span class="neq">≠</span> | |
| <span class="memory">NPC MEMORY</span> | |
| <span class="neq">≠</span> | |
| <span class="belief">NPC BELIEF</span> | |
| </p> | |
| <div class="hero-links"> | |
| <a href="https://github.com/4Um4/Enigma" target="_blank" rel="noopener noreferrer" class="btn btn-primary">Source code</a> | |
| <a href="https://doi.org/10.5281/zenodo.22831764" target="_blank" rel="noopener noreferrer" class="btn btn-secondary">Archived version</a> | |
| <a href="https://github.com/4Um4/Enigma/blob/main/docs/ENIGMA_ROADMAP_v4_12_WPS.md" target="_blank" rel="noopener noreferrer" class="btn btn-ghost">Roadmap v4.12</a> | |
| </div> | |
| </div> | |
| </header> | |
| <main> | |
| <section class="section" id="what"> | |
| <h2>What is this?</h2> | |
| <p> | |
| 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. | |
| </p> | |
| <p> | |
| 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. | |
| </p> | |
| <p class="quote"> | |
| "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." | |
| <span class="quote-source">— Loop Closure design rationale</span> | |
| </p> | |
| </section> | |
| <section class="section" id="layers"> | |
| <h2>The 12-layer canonical construction order</h2> | |
| <p class="section-intro"> | |
| 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>. | |
| </p> | |
| <div class="layers-grid" id="layersGrid"> | |
| <!-- Generated by JS --> | |
| </div> | |
| </section> | |
| <section class="section" id="laws"> | |
| <h2>Architectural Charter — enforced laws</h2> | |
| <p class="section-intro"> | |
| 18 laws (§ENIGMA-001..018) are not guidelines — they are executable contracts. Violations raise <code>ArchitecturalViolationError</code> at runtime. | |
| </p> | |
| <div class="laws-list"> | |
| <article class="law"> | |
| <header> | |
| <span class="law-id">§ENIGMA-001</span> | |
| <h3>Causal Depth Priority</h3> | |
| </header> | |
| <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> | |
| </article> | |
| <article class="law"> | |
| <header> | |
| <span class="law-id">§ENIGMA-002</span> | |
| <h3>The Two-Domain Rule</h3> | |
| </header> | |
| <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> | |
| </article> | |
| <article class="law"> | |
| <header> | |
| <span class="law-id">§ENIGMA-003</span> | |
| <h3>Epistemic Projection</h3> | |
| </header> | |
| <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> | |
| </article> | |
| <article class="law"> | |
| <header> | |
| <span class="law-id">§ENIGMA-S72</span> | |
| <h3>Relativistic Perception</h3> | |
| </header> | |
| <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> | |
| </article> | |
| <article class="law"> | |
| <header> | |
| <span class="law-id">§14</span> | |
| <h3>Law of Singular Time</h3> | |
| </header> | |
| <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> | |
| </article> | |
| <article class="law"> | |
| <header> | |
| <span class="law-id">§15</span> | |
| <h3>Wall-Clock Isolation</h3> | |
| </header> | |
| <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> | |
| </article> | |
| <article class="law"> | |
| <header> | |
| <span class="law-id">§16</span> | |
| <h3>Belief Non-Mutation</h3> | |
| </header> | |
| <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> | |
| </article> | |
| <article class="law"> | |
| <header> | |
| <span class="law-id">§17</span> | |
| <h3>Epistemological Orthogonality</h3> | |
| </header> | |
| <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> | |
| </article> | |
| </div> | |
| </section> | |
| <section class="section" id="causal-chain"> | |
| <h2>Causal trace — vertical proof</h2> | |
| <p class="section-intro"> | |
| Every gameplay-relevant change must be traceable through this chain. If any link is missing or imitated, the upper layers are considered unproven. | |
| </p> | |
| <div class="chain" id="causalChain"> | |
| <!-- Generated by JS --> | |
| </div> | |
| <p class="chain-note"> | |
| 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. | |
| </p> | |
| </section> | |
| <section class="section" id="goran"> | |
| <h2>"Goran? Yes..." — memory reconstruction</h2> | |
| <p class="section-intro"> | |
| 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. | |
| </p> | |
| <div class="goran-scenario"> | |
| <div class="goran-step" data-step="1"> | |
| <span class="step-num">01</span> | |
| <div class="step-content"> | |
| <h4>Acquaintance</h4> | |
| <p>NPC meets Goran. Several positive interactions. Memory entries with importance 0.5–0.8.</p> | |
| </div> | |
| </div> | |
| <div class="goran-step" data-step="3"> | |
| <span class="step-num">03</span> | |
| <div class="step-content"> | |
| <h4>Betrayal</h4> | |
| <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> | |
| </div> | |
| </div> | |
| <div class="goran-step" data-step="7"> | |
| <span class="step-num">07</span> | |
| <div class="step-content"> | |
| <h4>20 years pass</h4> | |
| <p>Decay is driven by Δticks, not wall-clock. Salience weights decide what survives. Episodic details fade; the structure of the betrayal persists.</p> | |
| </div> | |
| </div> | |
| <div class="goran-step" data-step="10"> | |
| <span class="step-num">10</span> | |
| <div class="step-content"> | |
| <h4>Encounter</h4> | |
| <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> | |
| </div> | |
| </div> | |
| <div class="goran-step" data-step="16"> | |
| <span class="step-num">16</span> | |
| <div class="step-content"> | |
| <h4>Prediction</h4> | |
| <p>Per-source expectations ("Goran usually helps" — or, after betrayal, "Goran usually betrays"). Prediction error feeds back into memory importance and belief revision.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="goran-criterion"> | |
| 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. | |
| </p> | |
| </section> | |
| <section class="section" id="anti-bond"> | |
| <h2>Anti-Bond — the recurring discipline</h2> | |
| <p> | |
| 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. | |
| </p> | |
| <ul class="anti-bond-list"> | |
| <li><code>Dialogue ≠ Memory</code> — speech is a read-only projection of memory stores</li> | |
| <li><code>Memory ≠ Causality</code> — storage is not a mechanism</li> | |
| <li><code>Belief ≠ Decision</code> — belief modulates weights, does not author actions</li> | |
| <li><code>Relationship scalar ≠ History</code> — a number is not a sequence of events</li> | |
| <li><code>Self-interpretation ≠ Motivation</code> — explanation is not the cause</li> | |
| <li><code>LLM ≠ Canonical Truth</code> — language model is a renderer, never an authority</li> | |
| </ul> | |
| </section> | |
| <section class="section section-citation" id="citation"> | |
| <h2>Citation</h2> | |
| <p>If you use ENIGMA in your research, please cite it as below.</p> | |
| <div class="citation-blocks"> | |
| <div class="citation-block"> | |
| <h4>BibTeX</h4> | |
| <pre><code>@software{gritsaenko_2026_enigma, | |
| author = {Gritsaenko, M.}, | |
| title = {ENIGMA: Executable Epistemic Contracts in Deterministic Agent Simulation}, | |
| version = {0.5.4.4.5}, | |
| year = {2026}, | |
| url = {https://github.com/4Um4/Enigma}, | |
| doi = {10.5281/zenodo.22831764}, | |
| license = {AGPL-3.0} | |
| }</code></pre> | |
| </div> | |
| <div class="citation-block"> | |
| <h4>APA</h4> | |
| <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> | |
| </div> | |
| <div class="citation-block"> | |
| <h4>Chicago</h4> | |
| <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> | |
| </div> | |
| </div> | |
| </section> | |
| <section class="section section-links" id="links"> | |
| <h2>Links</h2> | |
| <div class="links-grid"> | |
| <a href="https://github.com/4Um4/Enigma" target="_blank" rel="noopener noreferrer" class="link-card"> | |
| <h4>GitHub</h4> | |
| <p>Source code, issue tracker, discussions</p> | |
| <span class="link-arrow">→</span> | |
| </a> | |
| <a href="https://doi.org/10.5281/zenodo.22831764" target="_blank" rel="noopener noreferrer" class="link-card"> | |
| <h4>Zenodo</h4> | |
| <p>Archived version with persistent DOI</p> | |
| <span class="link-arrow">→</span> | |
| </a> | |
| <a href="https://github.com/4Um4/Enigma/blob/main/docs/ENIGMA_ROADMAP_v4_12_WPS.md" target="_blank" rel="noopener noreferrer" class="link-card"> | |
| <h4>Roadmap v4.12</h4> | |
| <p>Operational map of all tracks (RE-01, AG1, NL-01, CCH, MEM, COV, EPI, MOT)</p> | |
| <span class="link-arrow">→</span> | |
| </a> | |
| <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" target="_blank" rel="noopener noreferrer" class="link-card"> | |
| <h4>Architectural Charter</h4> | |
| <p>18 enforced laws (§ENIGMA-001..018)</p> | |
| <span class="link-arrow">→</span> | |
| </a> | |
| </div> | |
| </section> | |
| </main> | |
| <footer> | |
| <div class="footer-inner"> | |
| <p class="footer-meta"> | |
| ENIGMA v0.5.4.4.5 · <a href="https://doi.org/10.5281/zenodo.22831764" target="_blank" rel="noopener noreferrer">10.5281/zenodo.22831764</a> · AGPL-3.0 | |
| </p> | |
| <p class="footer-note"> | |
| A solo-maintained research project. Not a product. Not a game. Not a tutorial. | |
| </p> | |
| </div> | |
| </footer> | |
| <script src="assets/script.js"></script> | |
| </body> | |
| </html> | |