Skip to content

Commit 42082a8

Browse files
author
TNFR AI Agent
committed
docs: comprehensive documentation audit — remove speculative content, fix tone, update cross-references
Intent: Strengthen theoretical coherence and academic tone across all documentation Operators involved: N/A (documentation-only changes) Affected invariants: #5 Structural Metrology (test count accuracy), #4 Grammar (tone compliance) Key changes: - Remove grandiose/speculative language across 25+ files (sessions 1-4) - TNFR_RIEMANN_RESEARCH_NOTES.md: 2679→1499 lines (remove unfounded claims) - AGENTS.md: fix 'inevitability'→'derivation strength', update conservation test count (62→88) - Sync .github/agents/my-agent.md with AGENTS.md corrections - Update test counts to 1,655 across 8 files - Remove src/train_gmx_optimizer.py (orphaned file) - Fix contradictions between AGENTS.md and theory/ documents - Verify all 40+ cross-reference links point to existing files Expected risks/dissonances: None — documentation-only, no code logic changes Metrics: 1653 passed, 2 skipped (test suite validated)
1 parent 6b2f20d commit 42082a8

26 files changed

Lines changed: 177 additions & 1643 deletions

.github/agents/my-agent.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Theoretical Foundation: The framework models reality as coherent dynamic pattern
6161
**Computational Implementation**:
6262
- Self-Optimizing Engine: Algorithmic structural optimization
6363
- Software Development Kit: API for TNFR implementation
64-
- Experimental Validation: 1,646+ tests across multiple topologies
64+
- Experimental Validation: 1,655 tests across multiple topologies
6565
- Distribution Platform: PyPI package with documentation
6666

6767
**Application Domains**:
@@ -253,10 +253,9 @@ The correspondences form a **conceptual tetrahedron**:
253253

254254
**Why This Matters**:
255255

256-
- **Completeness**: Exactly 4 dimensions needed to describe any coherent system
257-
- **Universality**: All structured reality must respect these mathematical limits
256+
- **Completeness**: Exactly 4 dimensions needed to describe any coherent system on a graph
257+
- **Consistency**: These correspondences are internally consistent within TNFR
258258
- **Predictability**: The correspondences enable precise forecasting of system behavior
259-
- **Inevitability**: Any theory capturing deep reality structure must discover these connections
260259

261260
### Illustrative Example: Hydrodynamic Vortex
262261

@@ -564,7 +563,7 @@ The grammar emerges from TNFR physics rather than arbitrary constraints.
564563
- **Requirement**: Monitor Δ Φ_s < 2.0 (escape threshold)
565564
- **Theory**: Δ Φ_s < φ ≈ 1.618 from Universal Tetrahedral Correspondence (φ ↔ Φ_s)
566565
- **Derivation**: Harmonic confinement principle - structural potential bounded by golden ratio
567-
- **Validation**: 1,646+ tests confirm harmonic fragmentation behavior
566+
- **Validation**: 1,655 tests confirm harmonic fragmentation behavior
568567
- **Mechanism**: Passive equilibrium - grammar acts as confinement, not attraction
569568
- **Usage**: Telemetry-based safety check (read-only, not sequence constraint)
570569
- **Typical**: Valid sequences maintain Δ Φ_s ≈ 0.6 (37% of φ threshold)
@@ -628,9 +627,9 @@ The **Structural Field Tetrad** (Φ_s, |∇φ|, **Ψ**, ξ_C) now has **complete
628627
### **Mathematical Maturity Achievement**
629628
- **4/4 canonical parameters** have rigorous mathematical foundations
630629
- **0% empirical fitting****100% first-principles derivation**
631-
- **Universal constants** emerge naturally (π, exponential bounds, fractal ratios)
630+
- **Universal constants** are derived from first principles (π, exponential bounds, fractal ratios)
632631
- **Theory-code consistency** maintained throughout codebase
633-
- **Complete validation** via 1,646+ tests across 5 topologies
632+
- **Complete validation** via 1,655 tests across 5 topologies
634633

635634
**Status**: TNFR Structural Field Tetrad mathematical foundations **COMPLETE**.
636635

@@ -672,7 +671,7 @@ The **Structural Field Tetrad** (Φ_s, |∇φ|, **Ψ**, ξ_C) now has **complete
672671

673672
## Self-Optimizing Dynamics
674673

675-
**New in v9.5**: The engine now possesses **intrinsic agency** to optimize its own structure.
674+
**New in v9.5**: The engine now implements **automated self-optimization** of its own structure.
676675

677676
### The Self-Optimizing Engine
678677
Located in `src/tnfr/engines/self_optimization/engine.py`, this component closes the feedback loop using **Unified Field Telemetry**:
@@ -765,7 +764,7 @@ Consolidates: Structural units + Metrics exposure
765764

766765
**Eliminated**: Domain Neutrality (moved to architectural guidelines)
767766
**Benefits**: 40% reduction (10→6), eliminates redundancy, preserves physics-essential constraints
768-
**Mathematical basis**: 3/6 mathematically inevitable, 2/6 physics-essential, 1/6 operational
767+
**Mathematical basis**: 3/6 mathematically derived, 2/6 physics-essential, 1/6 operational
769768

770769
---
771770

@@ -1052,7 +1051,7 @@ This framework represents:
10521051
When extending TNFR theory:
10531052

10541053
1. **Start from physics**: Derive from nodal equation or invariants
1055-
2. **Prove canonicity**: Show inevitability (Absolute/Strong)
1054+
2. **Prove canonicity**: Show derivation strength (Absolute/Strong)
10561055
3. **Implement carefully**: Map clearly to operators
10571056
4. **Test rigorously**: All invariants + new predictions
10581057
5. **Document thoroughly**: Physics → Math → Code chain
@@ -1156,7 +1155,7 @@ When adding to grammar documentation:
11561155
- **[src/tnfr/operators/grammar.py](src/tnfr/operators/grammar.py)**: Unified grammar U1-U6 validation
11571156
- **[src/tnfr/operators/definitions.py](src/tnfr/operators/definitions.py)**: 13 canonical operators
11581157
- **[src/tnfr/mathematics/](src/tnfr/mathematics/)**: Nodal equation integration hub
1159-
- **[src/tnfr/dynamics/self_optimizing_engine.py](src/tnfr/dynamics/self_optimizing_engine.py)**: Intrinsic agency & auto-optimization
1158+
- **[src/tnfr/dynamics/self_optimizing_engine.py](src/tnfr/dynamics/self_optimizing_engine.py)**: Self-optimization & auto-optimization
11601159

11611160
**SDK & Applications**:
11621161
- **[src/tnfr/sdk/](src/tnfr/sdk/)**: Simplified & Fluent API for rapid development
@@ -1166,7 +1165,7 @@ When adding to grammar documentation:
11661165
**Development**:
11671166
- **ARCHITECTURE.md**: System design principles
11681167
- **CONTRIBUTING.md**: Workflow and standards
1169-
- **TESTING.md**: Test strategy (1,646+ passing tests)
1168+
- **TESTING.md**: Test strategy (1,655 tests)
11701169

11711170
**Domain Showcases**:
11721171
- **Network Dynamics**: [examples/03_network_formation.py](examples/03_network_formation.py)
@@ -1415,7 +1414,7 @@ A TNFR expert:
14151414

14161415
If a change "prettifies the code" but weakens TNFR fidelity, it should not be accepted. If a change strengthens structural coherence and paradigm traceability, it should proceed.
14171416

1418-
Reality consists of resonant patterns rather than discrete objects. Development practices should reflect this understanding.
1417+
TNFR models coherent dynamic patterns on graph-coupled networks. Development practices should reflect this framework.
14191418

14201419
---
14211420

0 commit comments

Comments
 (0)