Skip to content

Commit c15b596

Browse files
author
TNFR AI Agent
committed
Release 0.0.3.8: consolidate relational patterns, engine contracts and documentation
1 parent 07db027 commit c15b596

270 files changed

Lines changed: 15155 additions & 11519 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.env.example‎

Lines changed: 25 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,25 @@
1-
# TNFR Engine Environment Configuration
2-
# Copy this file to .env and fill in your actual values
3-
# NEVER commit .env files with real credentials to version control
4-
5-
# ============================================================================
6-
# Development Configuration
7-
# ============================================================================
8-
9-
# PyPI Publishing Configuration (for release scripts)
10-
# Use API tokens for enhanced security: https://pypi.org/help/#apitoken
11-
PYPI_USERNAME=__token__
12-
PYPI_PASSWORD=pypi-XXXXXXXXXXXXXXXXXXXXXXXX # Your PyPI API token
13-
PYPI_API_TOKEN=pypi-XXXXXXXXXXXXXXXXXXXXXXXX # Alternative name
14-
TWINE_USERNAME=__token__
15-
TWINE_PASSWORD=pypi-XXXXXXXXXXXXXXXXXXXXXXXX # Your PyPI API token
16-
PYPI_REPOSITORY=pypi # or 'testpypi' for testing
17-
18-
# GitHub Configuration (for security dashboard and CI scripts)
19-
GITHUB_TOKEN=ghp_XXXXXXXXXXXXXXXXXXXXXXXX # GitHub Personal Access Token
20-
GITHUB_REPOSITORY=fermga/TNFR-Python-Engine # Format: owner/repo
21-
22-
# Redis Configuration (for RedisCacheLayer with authentication)
23-
REDIS_HOST=localhost
24-
REDIS_PORT=6379
25-
REDIS_PASSWORD=your-redis-password-here
26-
REDIS_DB=0
27-
REDIS_USE_TLS=false
28-
29-
# Cache Signing Configuration (for hardened cache security)
30-
# Generate a strong random secret: python -c "import secrets; print(secrets.token_hex(32))"
31-
TNFR_CACHE_SECRET= # 64-character hex string recommended
32-
33-
# ============================================================================
34-
# TNFR Engine Configuration
35-
# ============================================================================
36-
37-
# Logging Configuration
38-
TNFR_LOG_LEVEL=INFO # DEBUG, INFO, WARNING, ERROR, CRITICAL
39-
40-
# Reproducibility Configuration
41-
TNFR_RANDOM_SEED=42 # For deterministic simulations
42-
43-
# Performance Configuration
44-
TNFR_BACKEND=numpy # numpy, jax, or torch
45-
TNFR_CACHE_ENABLED=true
46-
47-
# ============================================================================
48-
# Security Best Practices
49-
# ============================================================================
50-
#
51-
# 1. NEVER commit this file with real credentials
52-
# 2. Use API tokens instead of passwords where possible
53-
# 3. Rotate credentials regularly
54-
# 4. Use different credentials for development, staging, and production
55-
# 5. Store production secrets in secure secret management systems
56-
# 6. Grant minimal necessary permissions to all tokens
57-
# 7. Revoke tokens immediately if compromised
58-
#
59-
# For more information, see SECURITY.md
1+
# Optional environment inputs; this file is not loaded by the engine.
2+
# Export values through your shell/application, or explicitly use an external
3+
# environment-file loader. Keep actual credentials out of version control.
4+
5+
# Backend factory default when no explicit backend is supplied.
6+
# Optional backends need their corresponding installed dependency extra.
7+
TNFR_BACKEND=numpy
8+
9+
# Optional signed persistence helpers read this hexadecimal secret.
10+
# Generate a value with: python -c "import secrets; print(secrets.token_hex(32))"
11+
# TNFR_CACHE_SECRET=
12+
13+
# Optional tnfr.config.security.load_redis_config() inputs. The caller must
14+
# explicitly use the returned configuration; setting these does not enable Redis.
15+
# REDIS_HOST=localhost
16+
# REDIS_PORT=6379
17+
# REDIS_PASSWORD=
18+
# REDIS_DB=0
19+
# REDIS_USE_TLS=false
20+
21+
# Specify study seeds through StudySpec/CLI or the relevant graph configuration.
22+
# TNFR_RANDOM_SEED, TNFR_CACHE_ENABLED and TNFR_LOG_LEVEL are not automatic
23+
# engine controls. Logging uses Python logging configuration.
24+
# Release publishing uses the GitHub workflow's trusted publisher; it does not
25+
# read this file. See .github/WORKFLOWS.md and SECURITY.md for their actual scopes.

‎.gitattributes‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ theory/research/archive/AGENT_SYNTHESIS_PRE_DOCUMENTATION_CLEANUP_2026-09-19.txt
3838
theory/research/archive/NUCLEUS_B_PROPOSAL_PRE_DOCUMENTATION_CLEANUP_2026-09-19.txt -text -whitespace
3939
theory/research/archive/README_PRE_DOCUMENTATION_CLEANUP_2026-09-19.txt -text -whitespace
4040
theory/research/archive/APPLIED_ANALYSIS_PRE_DOCUMENTATION_CLEANUP_2026-09-19.txt -text -whitespace
41-
factorization-lab/notebooks/archive/spectral_history_legacy_2026_09_19.ipynb -text -whitespace
41+
applications/factorization-lab/notebooks/archive/spectral_history_legacy_2026_09_19.ipynb -text -whitespace
4242
theory/research/archive/DEVELOPMENT_LOG_PRE_0.0.3.6_2026-09-19.txt -text -whitespace

‎.github/agents/my-agent.md‎

Lines changed: 256 additions & 689 deletions
Large diffs are not rendered by default.

‎.github/workflows/docs.yml‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,17 @@ on:
77
- '**.md'
88
- 'TNFR_lineas_de_investigacion.txt'
99
- 'docs/assets/**'
10-
- 'factorization-lab/notebooks/**'
10+
- 'applications/factorization-lab/notebooks/**'
1111
- 'src/tnfr/operators/operator_contracts.py'
1212
- 'tests/scripts/test_documentation.py'
13+
- 'tests/scripts/test_glossary.py'
1314
- 'mkdocs.yml'
1415
- 'pyproject.toml'
1516
- '.zenodo.json'
1617
- 'CITATION.cff'
1718
- 'src/tnfr/_version.py'
1819
- 'scripts/check_documentation.py'
20+
- 'scripts/check_glossary.py'
1921
- 'scripts/prepare_docs.py'
2022
- 'scripts/clean_repository.py'
2123
- 'scripts/verify_internal_references.py'
@@ -26,15 +28,17 @@ on:
2628
- '**.md'
2729
- 'TNFR_lineas_de_investigacion.txt'
2830
- 'docs/assets/**'
29-
- 'factorization-lab/notebooks/**'
31+
- 'applications/factorization-lab/notebooks/**'
3032
- 'src/tnfr/operators/operator_contracts.py'
3133
- 'tests/scripts/test_documentation.py'
34+
- 'tests/scripts/test_glossary.py'
3235
- 'mkdocs.yml'
3336
- 'pyproject.toml'
3437
- '.zenodo.json'
3538
- 'CITATION.cff'
3639
- 'src/tnfr/_version.py'
3740
- 'scripts/check_documentation.py'
41+
- 'scripts/check_glossary.py'
3842
- 'scripts/prepare_docs.py'
3943
- 'scripts/clean_repository.py'
4044
- 'scripts/verify_internal_references.py'

‎.zenodo.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"title": "TNFR-Python-Engine: Resonant Fractal Nature Theory Implementation",
3-
"description": "<p>TNFR-Python-Engine is a Python framework for coherent-pattern analysis on graph-coupled networks. The nodal relation dEPI/dt = nu_f DeltaNFR organizes a declared evolution model; pressure, phase, capacity, support and any additional forcing require their own specifications.</p><p>Version 0.0.3.7 consolidates shared numerical admission, operator contracts, cache invalidation and runtime execution provenance. Runtime step ordinals are independent of retained metrics and physical time. REMESH uses explicit cooldown bases and bounded histories. SDK and CLI reports retain unavailable diagnostic results and provenance instead of substituting evidence. The 13 registered operators, grammar U1-U6, shared integration and structural-field tetrad remain scoped engine interfaces.</p><p>The release revises foundational documentation and centralizes the active research plan. A fixed finite P3 experiment compares two declared phase-pressure laws against independent form-response predictions, with pressure, integration and rounding defects separated. It distinguishes their implemented responses without selecting a physical law or proving autonomous pattern formation. Exact identities, conditional theorems, numerical observations and auxiliary models retain separate scopes.</p><p>Unsupported particle and chemistry mappings, Navier-Stokes and Yang-Mills wrappers, redundant type probes and obsolete demonstrations are removed. These are intentional API removals; migration boundaries and recoverable historical sources are documented in the archive index. Routine engine/API checks are separated from retained research suites, which remain explicitly executable.</p><p>See the <a href=\"https://github.com/fermga/TNFR-Python-Engine/releases/tag/v0.0.3.7\">0.0.3.7 release</a>, <a href=\"https://github.com/fermga/TNFR-Python-Engine/tree/v0.0.3.7\">versioned source</a>, <a href=\"https://pypi.org/project/tnfr/0.0.3.7/\">Python package</a>, <a href=\"https://github.com/fermga/TNFR-Python-Engine/blob/v0.0.3.7/theory/research/archive/README.md\">compatibility boundaries</a> and <a href=\"https://fermga.github.io/TNFR-Python-Engine/\">current documentation</a>.</p>",
4-
"version": "0.0.3.7",
5-
"publication_date": "2026-09-20",
3+
"description": "<p>TNFR-Python-Engine is a Python framework for graph-coupled nodal dynamics and coherent-pattern research. The relation dEPI/dt = nu_f DeltaNFR connects form change, reorganization capacity and pressure. Pressure, phase, capacity, support, clock and forcing laws require explicit specifications.</p><p>Version 0.0.3.8 integrates an explicitly selected relational form-phase model with held capacity, shared SDK execution and detached reports. Conditional results address recovery, formation on supplied support, composition, transmission and reduced descriptions with memory. A proved example permits one passive bridge relocation between two prepared five-node rings while retaining their pattern recovery. Its open recovery region does not establish stability under arbitrary repeated switching.</p><p>Read-only attachment and relocation observers report changes in represented storage and rates, support cuts, transport reset and explicitly supplied work. They neither mutate live support nor select events. Numerical admission, JSON serialization, diagnostic availability and cache ownership are consolidated across the engine, CLI and SDK. Documentation is organized by theory, contracts and usage; optional arithmetic applications are separated under applications/.</p><p>Exact identities, conditional mathematical results, finite observations and auxiliary constructions retain distinct scopes. A support budget does not select an event or its clock; these remain the next research question. Physical identification, particles and autonomous substrate creation are not established.</p><p>See the <a href=\"https://github.com/fermga/TNFR-Python-Engine/releases/tag/v0.0.3.8\">0.0.3.8 release</a>, <a href=\"https://github.com/fermga/TNFR-Python-Engine/tree/v0.0.3.8\">versioned source</a>, <a href=\"https://pypi.org/project/tnfr/0.0.3.8/\">Python package</a>, <a href=\"https://github.com/fermga/TNFR-Python-Engine/blob/v0.0.3.8/theory/README.md\">theory catalog</a> and <a href=\"https://fermga.github.io/TNFR-Python-Engine/\">current documentation</a>.</p>",
4+
"version": "0.0.3.8",
5+
"publication_date": "2026-09-27",
66
"creators": [
77
{
88
"name": "Martinez Gamo, F. F.",
@@ -33,7 +33,7 @@
3333
"resource_type": "software"
3434
},
3535
{
36-
"identifier": "https://pypi.org/project/tnfr/0.0.3.7/",
36+
"identifier": "https://pypi.org/project/tnfr/0.0.3.8/",
3737
"relation": "isSupplementTo",
3838
"resource_type": "software"
3939
}

0 commit comments

Comments
 (0)