Metadata-Version: 2.4
Name: cosmic-moment
Version: 1.0.0
Summary: Discrete moments of cosmic emergence - the singular points where modulated entropy duality collapses into conscious frames.
Project-URL: Repository, https://github.com/GenesisAeon/cosmic-moment
Project-URL: Issues, https://github.com/GenesisAeon/cosmic-moment/issues
Author-email: GenesisAeon Team <team@genesisaeon.org>
License: GPL-3.0-or-later
License-File: LICENSE
License-File: LICENSE-CODE
License-File: LICENSE-DOCS
Keywords: consciousness,cosmology,emergence,entropy,modulation
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Physics
Requires-Python: >=3.11
Requires-Dist: entropy-governance>=1.0.0
Requires-Dist: entropy-table>=2.0.0
Requires-Dist: implosive-genesis>=1.0.0
Requires-Dist: medium-modulation>=1.0.0
Requires-Dist: numpy>=2.0.0
Requires-Dist: rich>=13.0.0
Requires-Dist: sympy>=1.13.0
Requires-Dist: typer>=0.15.0
Provides-Extra: dev
Requires-Dist: mypy>=1.13; extra == 'dev'
Requires-Dist: pytest-cov>=5.0; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.9; extra == 'dev'
Provides-Extra: docs
Requires-Dist: mkdocs-material>=9.6; extra == 'docs'
Requires-Dist: mkdocs>=1.6; extra == 'docs'
Requires-Dist: mkdocstrings[python]>=0.27; extra == 'docs'
Description-Content-Type: text/markdown

# cosmic-moment

**Discrete moments of cosmic emergence** — the fractal singularities where modulated entropy duality collapses into conscious presence.

[![CI](https://github.com/GenesisAeon/cosmic-moment/actions/workflows/ci.yml/badge.svg)](https://github.com/GenesisAeon/cosmic-moment/actions/workflows/ci.yml)
[![PyPI](https://img.shields.io/pypi/v/cosmic-moment)](https://pypi.org/project/cosmic-moment/)
[![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-blue)](https://www.python.org)
[![License: GPL v3+](https://img.shields.io/badge/code-GPLv3--or--later-blue.svg)](LICENSE-CODE)
[![Docs License: CC BY 4.0](https://img.shields.io/badge/docs-CC%20BY%204.0-lightgrey.svg)](LICENSE-DOCS)

Built directly on **medium-modulation**, **entropy-governance** and **implosive-genesis** chronology.

---

## Installation

```bash
pip install cosmic-moment
```

**DOI**: [10.5281/zenodo.19010800](https://doi.org/10.5281/zenodo.19010800)   **PyPI**: `pip install cosmic-moment==0.1.0`  [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.19010800.svg)](https://doi.org/10.5281/zenodo.19010800)

## Usage

```bash
cm detect --threshold 0.618
cm collapse --t 3.14
```

## Quick start (Python)

```python
from cosmic_moment.core import CosmicMoment

cm = CosmicMoment()
moments = cm.detect(threshold=0.618, steps=100)
print(f"Detected {len(moments)} cosmic moments")

frame = cm.collapse(moments[0])
print(frame)
```

## CLI Reference

| Command | Description |
|---------|-------------|
| `cm detect [--threshold FLOAT] [--steps INT]` | Detect collapse points where modulated duality exceeds threshold |
| `cm collapse [--t FLOAT]` | Trigger frame collapse at a cosmic moment |

## Stack integration

| Package | Role |
|---------|------|
| `medium-modulation` | `modulated_entropy` — core S∝A ↔ S∝V duality signal |
| `implosive-genesis` | `ChronologyValidator` — 10-part chronology check |
| `entropy-governance` | governance constraints on entropy flow |
| `entropy-table` | `EntropyTable` — domain relation persistence |

## Project structure

```
cosmic-moment/
├── pyproject.toml
├── README.md
├── domains.yaml
├── src/
│   └── cosmic_moment/
│       ├── __init__.py
│       ├── core.py                  # CosmicMoment + collapse detection
│       ├── cli.py                   # Typer CLI (cm)
│       └── entropy_table_bridge.py  # EntropyTable integration
├── tests/
│   ├── test_core.py
│   └── test_cli.py
└── mkdocs.yml
```

---


Built with [uv](https://docs.astral.sh/uv/) · [Typer](https://typer.tiangolo.com/) · [Rich](https://rich.readthedocs.io/) · [SymPy](https://www.sympy.org/)

## Role in the GenesisAeon Ecosystem

`cosmic-moment` is **P-MOMENT** within the GenesisAeon ecosystem, covering
the domain of discrete cosmic collapse events — the singular points where
modulated entropy duality (from `medium-modulation`) collapses into
conscious frames, validated against `implosive-genesis` chronology and
`entropy-governance` constraints.

## Citation

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.PLACEHOLDER.svg)](https://doi.org/10.5281/zenodo.PLACEHOLDER)

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

## License

This repository is dual-licensed:

- **Source code** — [GPL-3.0-or-later](LICENSE-CODE)
- **Documentation** — [CC BY 4.0](LICENSE-DOCS)

See [LICENSE](LICENSE) for details on which license applies to which files.

