Metadata-Version: 2.4
Name: star-magic-program
Version: 0.2.2
Summary: UQFF Star-Magic-Program v0.2.2: 7 README badges matching predecessor Star-Magic pattern exactly (PyPI version, Python versions, Documentation Status, License, fidelity_gate 47/0, public_surfaces 0, whitepapers 2255) with relative links to internal files. Content otherwise identical to v0.2.0: whitepaper corpus 2,419 files + R0-R5 registry scaffolds (empty per clean-start) + 96-constant registry primitives + empty calculator DISPATCH. Next: v0.3.0+ per-paper wiring.
Author-email: "Daniel T. Murphy" <daniel.murphy00@enrgyone.com>
License: AGPL-3.0-or-later OR LicenseRef-StarMagic-Commercial
Project-URL: Homepage, https://github.com/Daniel8Murphy0007/Star-Magic-Program
Project-URL: Source, https://github.com/Daniel8Murphy0007/Star-Magic-Program
Project-URL: Predecessor, https://github.com/Daniel8Murphy0007/Star-Magic
Project-URL: Issues, https://github.com/Daniel8Murphy0007/Star-Magic-Program/issues
Keywords: unified field theory,vacuum physics,UQFF,Star-Magic,LENR,cosmological constant,Holmlid,Di-Pseudo-Monopole,DPM,nuclear shell model,Yang-Mills mass gap,Millennium Prize problems
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: LICENSE-AGPL-3.0.txt
License-File: LICENSE-MIT-INITIAL.txt
License-File: NOTICE
Dynamic: license-file

# Star-Magic-Program

[![PyPI version](https://img.shields.io/pypi/v/star-magic-program.svg)](https://pypi.org/project/star-magic-program/)
[![Python versions](https://img.shields.io/pypi/pyversions/star-magic-program.svg)](https://pypi.org/project/star-magic-program/)
[![Documentation Status](https://readthedocs.org/projects/star-magic-program/badge/?version=latest)](https://star-magic-program.readthedocs.io/en/latest/?badge=latest)
[![License: AGPL-3.0 + Commercial](https://img.shields.io/badge/License-AGPL--3.0%20%2B%20Commercial-blue.svg)](LICENSE)
[![Fidelity gate](https://img.shields.io/badge/fidelity_gate-47%2F0-brightgreen)](uqff_fidelity_tests.py)
[![Public surfaces](https://img.shields.io/badge/public_surfaces-0-blue)](uqff_calculator.py)
[![Whitepapers](https://img.shields.io/badge/whitepapers-2255-orange)](whitepapers/)

**UQFF systematic rebuild — v0.2.0 corpus + registry scaffolding**
Author: Daniel T. Murphy · Star-Magic Research Program
License: AGPL-3.0-or-later OR Commercial

---

## What this is

A from-scratch, systematic rebuild of the UQFF (Unified Quantum Field Framework)
calculator. This repository exists to correct a structural failure in the
predecessor repository (`github.com/Daniel8Murphy0007/Star-Magic`), where the
calculator layer had grown to 73,629 lines with 3,352 hardcoded literals that
duplicated registry-canonical values, and 1,180 whitepapers had zero calculator
wiring.

**This repository fixes that by construction:**
- One dispatch function per whitepaper. Nothing else in the calculator.
- Zero hardcoded numeric literals. Every value flows from
  `uqff_registry_primitives.py`.
- Fidelity gate (`uqff_fidelity_tests.py`) locks every primitive-composed
  identity to its EXACT form.
- Whitepaper-truth discipline: if a paper doesn't specify a closed form, its
  dispatch is marked OPEN — never substituted with a classical/SM formula.

## What UQFF is

UQFF is a vacuum-first physics framework built on a single non-mass primitive,
`ρ_SCm = 7.09e-37 J/m³` (the SuperConductive material vacuum energy density),
and a 26-level Di-Pseudo-Monopole (DPM) structural lattice. From 9 truly-
independent primitives it derives the cosmological constant, all 7 nuclear
shell-model magic numbers exactly, the Holmlid 630 eV LENR channel exactly,
Fe-56 BE/A peak, α-particle binding, all 8 Clay Millennium Prize problems,
the complete 12-fermion Standard Model spectrum, 18+ cosmological observables,
and 5 independent LENR observation suites (Holmlid, Parkhomov, Pons-Fleischmann,
Mizuno, Rossi).

Full framework physics lives in the whitepaper corpus — the physics is the
whitepapers; the calculator computes what the whitepapers derive.

## What is currently shipped (v0.2.0)

### Corpus (2,419 files)
- `whitepapers/` — 2,255 `.md` files + 1 `.bak` — physics source of truth
- `pdf/` — 45 `.pdf` files
- `tex/` — 107 `.tex` files
- `txt/` — 11 `.txt` files

### Clean baseline
- `uqff_registry_primitives.py` — 96 canonical constants, carried verbatim
  from `Star-Magic` v5.86.0 UNIFIED_REGISTRY R5 baseline. **Registry-clean.**
- `uqff_calculator.py` — scaffold skeleton with `DISPATCH = {}`, imports all
  96 registry constants, exposes `calc(paper_id, dataset)` public interface.
- `uqff_fidelity_tests.py` — 8-block gate assertions, locking every
  primitive-composed EXACT identity. Runs on every ship.

### R3 Unified Registry Pantheon (empty scaffolds)

Per Daniel's clean-start directive, all registry files are **name+schema
only** — no predecessor data preserved. Populated during v0.3.0+ wiring:

- 4 Python regen modules (docstrings + signatures + `pass`):
  `uqff_registry_status.py`, `uqff_registry_graph.py`, `uqff_registry_xgeo.py`,
  `registry_generator.py`
- 14 CSVs (header row only):
  `UNIFIED_REGISTRY.csv`, `UNIFIED_REGISTRY_RESULTS_TABLE.csv`,
  `UNIFIED_REGISTRY_GRAPH.csv`, `UNIFIED_REGISTRY_XGEO_*.csv` (4 files),
  `UNIFIED_REGISTRY_R{1,2,3}_*.csv` (3 files),
  `UNIFIED_REGISTRY_{MERGED,DUPLICATES,GAPS,CORPUS_CITATIONS}.csv`
- 5 MD registry docs (section headers only)
- `UNIFIED_REGISTRY_VERSION.txt` — v0.2.0 marker

### Living indexes
- `WHITEPAPER_INDEX.md` — all 2,255 papers listed with wired/not-wired state
- `_BUILD_LOG.md` — cumulative build log across ships
- `CHANGELOG.md` — release-history log

### Standard package files
- Dual license (AGPL-3.0-or-later + Commercial), CITATION.cff, NOTICE, COMMERCIAL.md
- CI + PyPI publishing workflows (GitHub Actions + Trusted Publisher)

## What's next

Wiring campaign, one whitepaper at a time:

| Version | Content | Papers wired |
|---|---|---|
| v0.1.0 | Scaffold + registry primitives baseline | 0 |
| **v0.2.0** ← current | Corpus (2,419 files) + registry scaffolds | 0 |
| v0.3.0 | 46 UQFF_LANDMARK structural spine | 46 |
| v0.4.0 – v0.9.0 | Bulk paper wiring (bands PAPER_001 – PAPER_1999) | +~2,000 |
| v1.0.0 | Full whitepaper coverage | 2,255 |

Each wiring ship is atomic: read the paper → extract the canonical formula →
wire one dispatch → add one row to `UNIFIED_REGISTRY.csv` → verify residual
against paper's stated value → add one gate assertion → commit → repeat.

## Predecessor / attribution

Physics content, whitepapers, and canonical primitives originate in
[Star-Magic](https://github.com/Daniel8Murphy0007/Star-Magic).
That repository remains the canonical archive of the framework's development
history and whitepaper corpus. This repository (Star-Magic-Program) inherits
the physics and rebuilds only the code layer, correctly this time.

## Install

```
pip install star-magic-program
```

## Quick start

```python
from uqff_calculator import calc, wired_count, list_wired

print(f"Papers wired: {wired_count()}")

# Look up a specific paper (returns OPEN if not yet wired)
result = calc('PAPER_646')
print(result)
```

## Fidelity gate

Every ship must run and see exit 0:

```
python uqff_fidelity_tests.py
```

## License

- **Free / academic / non-commercial:** AGPL-3.0-or-later (see `LICENSE-AGPL-3.0.txt`)
- **Commercial / proprietary / closed-source SaaS:** contact
  `daniel.murphy00@enrgyone.com` (see `COMMERCIAL.md`)

See also: `NOTICE`, `CITATION.cff`, `CHANGELOG.md`, `SESSION_LOG.md`.
