Skip to content

Commit f27413a

Browse files
author
TNFR AI Agent
committed
Merge audited foundation reassessment for 0.0.3.7
2 parents a8f49c0 + 415aa4d commit f27413a

312 files changed

Lines changed: 19793 additions & 55042 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.

‎.github/WORKFLOWS.md‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ not establish current GitHub run health, branch protection or enabled secrets.
1010
| Workflow | Trigger and configured scope |
1111
| --- | --- |
1212
| [ci.yml](workflows/ci.yml) | Push and PR to main/master. Blocking formatting hooks, flake8 and default pytest selection on Python 3.10–3.13 with two pytest-xdist workers; combined coverage report on 3.11. Pydocstyle, mypy, pyright and vulture report advisories. |
13-
| [tests.yml](workflows/tests.yml) | Push and PR to main. Focused SDK tests on Python 3.11; overlaps the broader CI selection. |
1413
| [docs.yml](workflows/docs.yml) | Filtered push/PR to main and manual invocation. References, documentation integrity, staging and strict MkDocs build; publishes Pages only on pushes to main. |
1514
| [verify-references.yml](workflows/verify-references.yml) | Filtered Markdown/notebook changes on PRs and pushes to main/develop. Independent local Markdown target and fragment check. |
1615
| [pip-audit.yml](workflows/pip-audit.yml) | Push/PR to main/master, Monday 05:00 UTC and manual invocation. Audits the installed core, test-all and serialization environment; captures available reports and fails when the JSON audit fails. |
@@ -19,8 +18,10 @@ not establish current GitHub run health, branch protection or enabled secrets.
1918
| [code-review.yml](workflows/code-review.yml) | PR opened, synchronized or reopened on main. Advisory Black/mypy checks and an automated PR comment; no external code-review service is implemented. |
2019
| [copilot-setup-steps.yml](workflows/copilot-setup-steps.yml) | Manual invocation or edits to its own workflow. Installs a Python 3.11 development/test environment and verifies importability. |
2120

22-
The default pytest selection excludes slow tests as configured in
23-
[pyproject.toml](../pyproject.toml). CI does not declare a universal coverage
21+
The default pytest selection is the routine engine/API gate and excludes slow
22+
tests as configured in [pyproject.toml](../pyproject.toml). The full retained
23+
research inventory is explicitly selected with `pytest tests`; it is not
24+
replayed by every CI job. CI does not declare a universal coverage
2425
percentage, prove physical theorems or certify every optional backend. Audit
2526
coverage excludes optional compute, documentation and deployment environments
2627
unless their dependencies happen to be installed through the declared groups.
@@ -64,7 +65,7 @@ invocation builds/checks only; its existing force-publish input enables publishi
6465

6566
Publishing a GitHub release therefore also requests PyPI publication. Before
6667
that trigger, review validation runs for the exact commit being released:
67-
blocking CI formatting/static checks and its test matrix, focused SDK tests,
68+
blocking CI formatting/static checks and its test matrix (including SDK tests),
6869
the dependency audit, and the documentation/reference checks selected by that
6970
commit's paths. Check the workflow-invocation lint result when it is triggered.
7071
A skipped, cancelled or absent run is not a passing result, and success on an
@@ -77,6 +78,10 @@ verify a DOI. No GitHub/PyPI/Zenodo settings are inferred from this file.
7778

7879
## Retired automation
7980

81+
The test consolidation removed `tests.yml`, which repeated the complete SDK
82+
suite on Python 3.11 already included in `ci.yml`. The main matrix retains the
83+
SDK assertions, environment checks and JUnit/coverage reporting.
84+
8085
The second documentation cleanup removed stale workflows after preserving their
8186
original files under
8287
`artifacts/research/documentation_second_cleanup_originals_2026_09_19/`.

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

Lines changed: 54 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TNFR: Resonant Fractal Nature Theory
22

3-
**Working reference for the TNFR Python Engine, version 0.0.3.6.**
3+
**Working reference for the TNFR Python Engine, version 0.0.3.7.**
44
This synthesis states current definitions, contracts and mathematical boundaries.
55
Guide responsibilities belong to the [documentation map](https://github.com/fermga/TNFR-Python-Engine/blob/main/docs/README.md).
66
Detailed derivations belong to the [theory index](https://github.com/fermga/TNFR-Python-Engine/blob/main/theory/README.md);
@@ -29,6 +29,11 @@ that the hypothesis is physically established.
2929
A contradiction is resolved by examining the mathematics and actual execution;
3030
neither a historical label of "canonical" nor a passing test makes an unsupported
3131
theorem true. Update this file as a coherent reference, not a session log.
32+
Foundational definitions and constitutive premises are revisable hypotheses.
33+
State an old/new model boundary when revising them, retain valid conditional
34+
results, and prefer a discriminating prediction over extending a branch whose
35+
premises already impose its obstruction. A useful model family need not be the
36+
unique possible completion of the nodal identity.
3237

3338
### Communication policy
3439

@@ -79,10 +84,24 @@ Named transformations use their operator contracts. Declared numerical solvers
7984
advance EPI through the shared nodal integrator with explicit capacity, pressure,
8085
clock and provenance or residual. Initialization is distinct from evolution.
8186
Full closure also needs justified phase, capacity, support and input laws.
87+
Validated nodal arithmetic and diagnostic scalar admission share the
88+
represented-real boundary: invalid types or nonzero inputs lost during
89+
materialization cannot certify equilibrium or a valid trajectory. Capacity
90+
admits zero; finite inputs still require representable output arithmetic.
91+
Pressure preparation and phase/capacity execution enforce that boundary before
92+
coercion. Temporal observers reject nonzero unrepresentable rates and retain
93+
detached evidence; an energy tolerance alert is not endpoint nonincrease.
94+
Solver clocks and retained rates use the same raw scalar admission; Boolean
95+
durations are not clocks. Consumed phases remain validated before caching and
96+
array conversion. A coordinate not consumed by a declared model need not be
97+
invented or coerced to execute that model.
8298
The optional Gamma registry supplies an additional rate in the extended row
8399
`dx/dt=nu_f*p+Gamma`; nonzero Gamma can move EPI at zero capacity. It is declared
84100
forcing, not a derivation from the nodal product. Unforced certificates require
85101
Gamma to be absent/zero; see [integrators](https://github.com/fermga/TNFR-Python-Engine/blob/main/src/tnfr/dynamics/integrators.py).
102+
The additive integrator evaluates sources strictly through the live registry;
103+
invalid declarations or an array fast path cannot silently remove a source.
104+
The opt-in extended coupled model has a separate unforced scope.
86105

87106
### The fractal-resonant node (NFR)
88107

@@ -101,12 +120,16 @@ test does not exclude every NFR; a snapshot match or low global phase order
101120
does not decide the presence or absence of coherent geometric identity. See
102121
[research scope](https://github.com/fermga/TNFR-Python-Engine/blob/main/theory/NODAL_RESEARCH_STRATEGY.md#closure-audit-equations-events-and-identity).
103122

104-
The radial/annular/multinodal classifier is a calibrated read-out of potential
105-
geometry. It does not derive a universal geometry or select Platonic solids.
106-
`Network.nfr()` exposes this read-out. `structural_coherence` and
123+
The radial/annular/multinodal classifier reads the unit-source potential
124+
centrality profile under a calibrated policy. Unsupported geometry is explicitly
125+
unavailable; a uniform profile does not prove rotational graph symmetry.
126+
It does not derive a universal geometry or select Platonic solids.
127+
`Network.nfr()` exposes this scope and the shared coherence-length estimator's
128+
fit/fallback provenance; it does not certify formation or fractality.
129+
`structural_coherence` and
107130
`is_structural_equilibrium` in `metrics/common.py` are shared diagnostic kernels;
108-
reusing them across arithmetic, graph and chemical models does not identify
109-
those models' dynamics. See [foundations](https://github.com/fermga/TNFR-Python-Engine/blob/main/theory/NODAL_PARAMETER_FOUNDATIONS.md).
131+
reusing them across graph and arithmetic models does not identify those
132+
models' dynamics. See [foundations](https://github.com/fermga/TNFR-Python-Engine/blob/main/theory/NODAL_PARAMETER_FOUNDATIONS.md).
110133

111134
### Accumulated evolution and the convergence policy
112135

@@ -218,6 +241,12 @@ field energy is a Lyapunov candidate until monotonicity is proved for a stated
218241
law or observed on a specified trace. Read the precise hypotheses in
219242
[conservation](https://github.com/fermga/TNFR-Python-Engine/blob/main/theory/STRUCTURAL_CONSERVATION_THEOREM.md).
220243

244+
Temporal balance requires nonempty matching node support and a finite positive
245+
interval. Each sector uses its captured graph divergence; current magnitudes
246+
cannot reconstruct that decomposition. Missing intervals are unavailable, not
247+
successful conservation. A numerical-tolerance energy alert is distinct from
248+
the sign of the observed energy change.
249+
221250
Single-snapshot tensor telemetry reports conservation quality as unavailable;
222251
node-label ordering cannot supply a time derivative or graph divergence.
223252
Composite read-outs reuse one base-field collection and retain its node order.
@@ -334,6 +363,18 @@ that dependency is not an emergent selection law. The auxiliary affinity
334363
availability, stored versus refreshed pressure and xi fit/fallback provenance.
335364
Do not treat undefined or unsupported observations as successful zero values.
336365

366+
Automatic candidates use admitted stored metrics, current normalization and an
367+
explicit batch lifetime; operator admission remains independent. Configured
368+
phase labels depend on sample size and cannot establish autonomous formation.
369+
An incomplete tetrad cannot certify even the configured overall safety advisory.
370+
371+
Thresholds must retain their units and actual consumer: normalized selector
372+
pressure is distinct from absolute adaptation pressure. Shared default
373+
resolution must agree across selection, adaptation and diagnostics. A pi-based
374+
formula or a legacy `CANONICAL` name does not derive a policy; numerical
375+
tolerances and inactive compatibility exports supply no physical theorem.
376+
See the [threshold ledger](https://github.com/fermga/TNFR-Python-Engine/blob/main/theory/NODAL_PARAMETER_FOUNDATIONS.md#11-thresholds-constants-and-numerical-settings-have-different-duties).
377+
337378
## 8. Canonical invariants
338379

339380
1. Preserve continuous nodal flow and declared hybrid jumps with their provenance.
@@ -420,6 +461,9 @@ for the tests that retain the behavior of retired introductory illustrations.
420461
Default test selection, dependencies and parallel scheduling have their owners
421462
in test configuration and the workflow guide; do not duplicate those settings
422463
here or regenerate historical research artifacts for an unrelated change.
464+
The default run is the routine engine/API gate, not the full research inventory.
465+
Select the affected research owner explicitly when changing its model or claim;
466+
report that scope rather than presenting a routine pass as complete coverage.
423467
See [TESTING.md](https://github.com/fermga/TNFR-Python-Engine/blob/main/TESTING.md).
424468

425469
## 11. Troubleshooting
@@ -438,8 +482,10 @@ classifies primary, supporting and parked work. The
438482
is the sole task queue; the
439483
[strategy](https://github.com/fermga/TNFR-Python-Engine/blob/main/theory/NODAL_RESEARCH_STRATEGY.md)
440484
explains its rationale. Conditional core results, finite C6 evidence, arithmetic
441-
models and Millennium notes retain their own scope and do not constitute
442-
additional active campaigns. Historical instructions are preserved in the
485+
models and scoped auxiliary algebra retain their own hypotheses and do not
486+
constitute additional active campaigns. Unsupported physical-programme
487+
wrappers and circular type probes are retired; their boundaries and intentional
488+
API removals are recorded in the
443489
[archive](https://github.com/fermga/TNFR-Python-Engine/blob/main/theory/research/archive/README.md).
444490

445491
The primary objective is a predictive generative account of coherence patterns.

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
continue-on-error: true
9090

9191
tests:
92-
name: Python ${{ matrix.python-version }} tests
92+
name: Python ${{ matrix.python-version }} engine tests
9393
runs-on: ubuntu-latest
9494
strategy:
9595
fail-fast: false
@@ -117,11 +117,11 @@ jobs:
117117
continue-on-error: true
118118
run: python -m pydocstyle src/tnfr
119119

120-
- name: Run unit tests
120+
- name: Run routine engine and API tests
121121
if: matrix.python-version != '3.11'
122122
run: python -m pytest -n 2 --dist loadfile --junitxml=test-results/pytest.xml
123123

124-
- name: Run unit tests with coverage
124+
- name: Run routine engine and API tests with coverage
125125
if: matrix.python-version == '3.11'
126126
run: >-
127127
python -m pytest -n 2 --dist loadfile

‎.github/workflows/tests.yml‎

Lines changed: 0 additions & 28 deletions
This file was deleted.

‎.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>The engine provides 13 registered structural operators, grammar U1-U6, shared integration and the structural-field tetrad: potential, phase-gradient magnitude, circular phase curvature and coherence length. These fields are diagnostics; they do not reconstruct every nodal state or independently select its evolution. Operator contracts distinguish primary effects, auxiliary writes, grammar admission and execution provenance.</p><p>Version 0.0.3.6 integrates scoped diffusion, memory, phase/form and quotient research with corrected documentation. Exact identities, conditional theorems, represented finite observations, auxiliary wave/Hamiltonian/arithmetic models and open hypotheses are identified separately. Passing tests is not proof of unrestricted stability, autonomous physical emergence or a Millennium conjecture. The research execution plan remains the single source of current priorities.</p><p>The shared SDK study API and CLI construct and execute declared operator-word studies through the existing engine. JSON recipes and reports retain supplied initial state, software versions, diagnostic availability and coherence-length provenance. Recipe cycles are operator-word counts, not physical seconds, and recipes are not complete checkpoints or cross-version replay guarantees.</p><p>The release consolidates technical guides and test helpers, removes the retired educational manuscript and obsolete standalone demonstrations, reuses existing numerical evaluations, and validates documentation against implemented contracts. Scoped regression checks and historical research evidence remain distinct from retired toy tests and heuristic campaigns. See the <a href=\"https://github.com/fermga/TNFR-Python-Engine/releases/tag/v0.0.3.6\">0.0.3.6 release</a>, <a href=\"https://github.com/fermga/TNFR-Python-Engine/tree/v0.0.3.6\">versioned source</a>, <a href=\"https://pypi.org/project/tnfr/0.0.3.6/\">Python package</a> and <a href=\"https://fermga.github.io/TNFR-Python-Engine/\">current documentation</a>.</p>",
4-
"version": "0.0.3.6",
5-
"publication_date": "2026-09-19",
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",
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.6/",
36+
"identifier": "https://pypi.org/project/tnfr/0.0.3.7/",
3737
"relation": "isSupplementTo",
3838
"resource_type": "software"
3939
}

0 commit comments

Comments
 (0)