ENIGMA / README.md
Um44's picture
Upload README.md
bf29dfa verified
|
Raw History Blame Contribute Delete
4.15 kB
---
title: ENIGMA
emoji: 🌐
colorFrom: gray
colorTo: indigo
sdk: static
app_file: index.html
pinned: true
license: agpl-3.0
thumbnail: >-
https://huggingface.co/spaces/Um44/ENIGMA/resolve/main/thumbnail.png
tags:
- simulation
- agent-based-modeling
- narrative-ai
- deterministic-simulation
- epistemic-logic
- llm-engineering
- npc-ai
- causal-simulation
models: []
datasets: []
---
# ENIGMA β€” Executable Epistemic Contracts in Deterministic Agent Simulation
> A deterministic causal simulation engine exploring whether agents can exhibit meaningful emergent behavior when acting on their own incomplete and potentially erroneous models of the world.
>
> **`WORLD TRUTH β‰  NPC MEMORY β‰  NPC BELIEF`**
This Space is a static architectural overview. Source code, full documentation, and reproducible build live at:
- **Code:** https://github.com/4Um4/Enigma
- **Archived version (DOI):** https://doi.org/10.5281/zenodo.22831764
- **License:** GNU AGPL v3.0
## What this is β€” and what it isn't
**Not a game.** A scientific software artifact in active development.
**Not a tutorial.** Architectural documentation for researchers and engineers working on agent systems, epistemic logic, deterministic simulation, or LLM-assisted engineering.
**Not a product.** Solo-maintained research project, no support SLAs, no roadmap commitments to external stakeholders.
What it is: a 12-layer canonical construction (Authoring β†’ Identity β†’ Body β†’ Desire β†’ Decision β†’ Perception β†’ Consolidation β†’ Relationships β†’ Belief β†’ Interface β†’ Self-interpretation β†’ Deception) enforced by 18 architectural laws that raise `ArchitecturalViolationError` at runtime when violated.
## Key architectural principles
- **Epistemic grounding** β€” LLM is never a source of canonical truth; Python = causal authority
- **Deterministic replay** β€” KernelRNG-protocol, no `random.*` or wall-clock in simulation layer (Β§15)
- **Causal layering** β€” 12-layer canonical construction order; upper layers must use the causal work of lower layers, never imitate it
- **Anti-Bond** β€” no parallel truth-stores, no decorative state β€” every entity must prove causal work no other entity performs
- **Belief non-mutation** β€” beliefs are lenses (weight modifiers), not genes (scalars); personality drift via interpretation is forbidden (Β§16)
- **Epistemological orthogonality** β€” `Reality` and `Observer Knowledge` are orthogonal axes; consumers receive only epistemic representations (Β§17)
## Documentation
- **[Architectural Roadmap v4.12](https://github.com/4Um4/Enigma/blob/main/docs/ENIGMA_ROADMAP_v4_12_WPS.md)** β€” operational map of all tracks (RE-01, AG1, NL-01, CCH, MEM, COV, EPI, MOT)
- **[Architectural Charter](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)** β€” 18 enforced laws (Β§ENIGMA-001..018)
- **[Working Mode](https://github.com/4Um4/Enigma/blob/main/%D0%A0%D0%95%D0%96%D0%98%D0%9C%20%D0%A0%D0%90%D0%91%D0%9E%D0%A2%D0%AB.md)** β€” meta code architect protocol for LLM-assisted development
- **[Citation file](https://github.com/4Um4/Enigma/blob/main/CITATION.cff)** β€” BibTeX / APA / Chicago formats
## Status
**Closed tracks:** RE-01 M2/D + G/H Β· AG1 BC-1 Β· CCH-0..5 Β· COV-0..2 Β· LC-IMPL-1..2
**Active fronts:** BC-2 (Conclusion β†’ Expectation) Β· MOT (Motive & Decision Trace) Β· MEM (Memory Architecture) Β· NL-01 Ρ„Π°Π·Π° 1 (Narrative Grounding)
**Planned:** NL-12 (active deception) Β· EPI (information lifecycle) Β· WPS (world process simulation) Β· MAG (somatico-resonance magic, deferred)
## Citation
```bibtex
@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}
}
```
## License
GNU AGPL v3.0 β€” use it, modify it, but if you serve it over network, share the source.