Skip to main content

Phase-transition detection and self-referential state mirroring framework for the GenesisAeon stack: consciousness phase transitions and Mirror Principle simulation.

Project description

mirror-machine

Theoretical Mirror Framework – self-referential loops, consciousness phase transitions and Mirror Principle simulation for the GenesisAeon stack.

CI Python 3.11+ License: MIT PyPI


Install

pip install mirror-machine
# with full GenesisAeon stack integration
pip install mirror-machine[stack]

CLI Usage

# Reflect a sigil YAML through the Mirror Principle
mirror reflect --sigil codex-prime.yaml

# Simulate a consciousness phase transition
mirror phase-transition --beta 0.0625 --steps 100

Python API

from mirror_machine import MirrorMachine

mm = MirrorMachine("codex-prime.yaml")

# Self-referential state with reflection key
print(mm.state["reflection"])

# Consciousness phase transition curve
curve = mm.phase_transition(beta=0.0625, steps=200)
print(f"Peak emergence: {curve.max():.4f}")

What It Does

Concept Implementation
Mirror Principle reflect() — loads YAML sigil, creates state["reflection"] self-reference
Phase Transition phase_transition() — sigmoid × golden-ratio oscillation (φ = 0.618)
Entropy Bridge MirrorMachineBridge — optional link to entropy-table (requires [stack])

Structure

mirror-machine/
├── src/mirror_machine/
│   ├── core.py                 # MirrorMachine – reflect + phase_transition
│   ├── cli.py                  # Typer CLI: mirror reflect / mirror phase-transition
│   └── entropy_table_bridge.py # Optional entropy-table integration
├── domains.yaml                # Mirror-machine domain configuration
└── tests/

Role in the GenesisAeon Ecosystem

mirror-machine is P-MIRROR in the GenesisAeon ecosystem registry, covering the phase-transition detection / state mirroring domain: it detects critical phase transitions and mirrors self-referential state across the GenesisAeon stack via the Mirror Principle.

Citation

DOI

DOI will be assigned automatically on first GitHub Release once Zenodo–GitHub integration is enabled for this repo.

PyPI: https://pypi.org/project/mirror-machine/


Part of the GenesisAeon stack — the self-reflective core.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mirror_machine-1.0.0.tar.gz (139.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mirror_machine-1.0.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file mirror_machine-1.0.0.tar.gz.

File metadata

  • Download URL: mirror_machine-1.0.0.tar.gz
  • Upload date:
  • Size: 139.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mirror_machine-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c9df9980fb42f99f087d9ba3075731896c6e4fd8505244855b55bb8c145367bc
MD5 c1e515ad2984f5ae8adf41596d9416b6
BLAKE2b-256 56a9abba3372093733212defe32177aa4e42dee2318952b8b680ec166d1fe440

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirror_machine-1.0.0.tar.gz:

Publisher: release.yml on GenesisAeon/mirror-machine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirror_machine-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: mirror_machine-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mirror_machine-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5fc4469343dfe247267d823dec29726afb1f6f1da4fbae9e04d5ea1f38e91f4e
MD5 d8d9eb478979f783100b7c16494676d9
BLAKE2b-256 d4ad1399f698dad28fb3f369030159695f0107d89049992b49f1042453c7f0aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirror_machine-1.0.0-py3-none-any.whl:

Publisher: release.yml on GenesisAeon/mirror-machine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page