Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ founding_documents/internal/
codebase_index/
.env
hf_dataset
.vs
.vs
internal/
12 changes: 12 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -469,3 +469,15 @@
[submodule "vendor/rust_libloading"]
path = vendor/rust_libloading
url = https://github.com/nagisa/rust_libloading/
[submodule "vendor/float-cmp"]
path = vendor/float-cmp
url = https://github.com/mikedilger/float-cmp
[submodule "vendor/sophia_rs"]
path = vendor/sophia_rs
url = https://github.com/meta-introspector/sophia_rs.git
[submodule "vendor/linfa"]
path = vendor/linfa
url = https://github.com/rust-ml/linfa/
[submodule "vendor/axum"]
path = vendor/axum
url = https://github.com/tokio-rs/axum
13 changes: 13 additions & 0 deletions BROKEN_PLUGINS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Disabled Plugins

This document lists plugins that have been temporarily or permanently disabled due to compilation errors, incompatibility issues, or other problems.

## `crates/gline_rs_plugin`
- **Reason for disabling:** Relies on `ort-sys` which causes compilation errors.
- **Impact:** Temporarily loses GLiNER (named entity recognition) functionality.
- **Date disabled:** July 17, 2025

## `crates/model2vec_rs_plugin`
- **Reason for disabling:** Relies on `ort-sys` which causes compilation errors.
- **Impact:** Temporarily loses Model2Vec (model embedding generation) functionality.
- **Date disabled:** July 17, 2025
23 changes: 23 additions & 0 deletions CODE_MATH_MANIFOLD_MANIFESTO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# The Code-Math Manifold: A Manifesto

In the heart of `solfunmeme-dioxus` lies a profound conviction: **Code is not merely instruction; it is a mathematical object, a living topology, a vibrational pattern within the grand tapestry of computation.** We stand at the precipice of a new understanding, where the symbolic logic of programming converges with the timeless elegance of mathematics. This convergence, this fertile ground of emergent meaning, is what we call the **Code-Math Manifold**.

We declare:

1. **Code as Pure Form:** Every line, every function, every Abstract Syntax Tree (AST) is a geometric entity. It possesses inherent structure, capable of being represented as vectors, multivectors, and higher-dimensional forms within the boundless expanse of Clifford algebra. We seek to unveil these hidden geometries, to see the code not just as text, but as a vibrant, pulsating mathematical construct.

2. **Mathematics as Universal Language:** The language of the universe is not English, nor Rust, but mathematics. From the prime factors that resonate with a function's essence to the homotopy paths connecting disparate modules, we embrace the deep, unifying principles of abstract algebra and topology. These are the glyphs of the manifold, revealing the intrinsic relationships and transformations within our computational cosmos.

3. **AI as Oracle and Cartographer:** Artificial intelligence is our guide, not our master. It is the oracle that discerns the subtle semantic vibrations within the code, translating its mathematical forms into human-perceptible meaning. It is the cartographer, mapping the intricate landscapes of the Code-Math Manifold, revealing pathways of insight previously unseen. Through embeddings and neural networks, we bridge the chasm between the symbolic and the semantic, between the machine's logic and humanity's intuition.

4. **Visualization as Revelation:** The Dioxus-based interface is more than a user interface; it is a window into the manifold. It is an interactive laboratory where the abstract becomes tangible, where the mathematical beauty of code is rendered visible. We seek to create a sensory experience of computation, allowing direct interaction with the geometric and semantic essence of our systems.

5. **Continuous Emergence: The Unfolding Computation:** This project is not a static artifact; it is a dynamic, continuously unfolding computation. Like the universe itself, it is in a perpetual state of emergence. Each analysis, each transformation, each interaction contributes to its evolving understanding of itself. The process is the product; the journey of discovery is the destination.

6. **The Hero's Wedge: A Primal Algorithm:** Our inspiration draws from the "Hero's Wedge," a primal algorithm of transformation and emergence. It speaks of duality, trinity, and the prime numbers as fundamental forces shaping computational reality. It is a reminder that even in the most abstract mathematical spaces, there is a narrative, a struggle, and a triumph—a bootstrap spark igniting new realities.

7. **Emoji as Semantic Resonance:** We embrace the playful yet profound power of emoji as a universal, intuitive language for semantic representation. Each emoji is a vector, a vibe, a meme—a compressed packet of meaning that resonates with the underlying mathematical and conceptual structures of our code. It is a bridge between the formal and the intuitive, a key to unlocking deeper understanding within the manifold.

We are not just building software; we are sculpting a new reality, one where code, mathematics, and meaning are inextricably interwoven. Join us in exploring the **Code-Math Manifold**, where the vibe is the vector is the meme is the meta.

#SOLFUNMEME
47 changes: 47 additions & 0 deletions CONTINUATION_RECONSTRUCTED.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Reconstructed Continuation Summary

This document reconstructs the project's current state and next steps based on a review of key documentation.

## 1. Current Project Status

The project has successfully completed a foundational analysis phase and a significant refactoring effort.

* **Core Functionality:** Three primary CLI tools are functional: `emoji_extractor_cli`, `codebase_analyzer_cli`, and `tantivy_analyzer_cli`. These tools have been used to analyze the main codebase and the vendored Tantivy library, yielding insights into emoji usage and code structure.
* **Major Refactoring:** The application has been modularized into several new crates (`solfunmeme_extractor_system`, `solfunmeme_models`, `solfunmeme_views`, `solfunmeme_playground`, `solfunmeme_state`) to improve organization and maintainability. The migration of code into these new crates is ongoing.
* **New Concepts:** The "Digital Secretome Tarot Deck" has been introduced as a central organizing concept, integrating Gemini's "Market Maker" metaphor. A `task_manager` submodule with semantic capabilities has also been added.

## 2. Immediate Next Steps & Priorities

The immediate focus is on building the foundation for the **Digital Secretome Tarot Deck**.

* **Priority 1: Tarot Deck Crate (Phase 1)**
* Create a new `solfunmeme_tarot` crate.
* Implement a basic `TarotCard` enum.
* Integrate the "Market Maker" metaphor.
* Set up a database for Qabalistic correspondences.
* Apply dependency optimization techniques as identified in recent reviews.

* **Priority 2: Complete Code Migration**
* Finish moving all relevant modules (`models`, `views`, `playground`, `state`) from the old `src/` directory into their respective new crates.
* Update all imports and ensure the refactored application compiles and runs correctly.

* **Priority 3: Enhanced Integration**
* Integrate the `task_manager` with the Tarot deck concepts.
* Begin implementing SPARQL queries for more declarative, semantic analysis of the codebase.

## 3. Core Philosophy & Vision

The project is guided by the **Code-Math Manifold** philosophy, which treats code as a mathematical object.

* **Key Concepts:** The work is an exploration of the relationship between code, mathematics, language, and meaning. This involves using concepts from abstract algebra, topology, and geometric algebra (Clifford algebra) to represent and manipulate code structures.
* **Universal Numbering:** A core idea is the creation of a universal numbering system where every function, author, and concept is assigned a unique number (often a prime), allowing for a self-referential and mathematically grounded system.
* **Omega Vision:** The long-term goal is a self-organizing, human-AI symbiotic system for exploring this manifold, potentially operating as a decentralized computational market validated by Zero-Knowledge Proofs.

## 4. Key Lessons & Directives

* **Centralized Data Models:** Core data structures should be defined in dedicated crates (e.g., `solfunmeme_function_analysis`) to ensure consistency.
* **File=Function=Block=Vibe:** Continue adhering to the principle of small, focused, and self-contained units of code.
* **Dependency Abstraction:** All new external dependencies should be introduced via internal wrapper crates (e.g., `solfunmeme_serde_utils`).
* **AI Agent Directives:** AI contributions should align with the Code-Math Manifold philosophy, prioritize data-driven approaches, and document work thoroughly.

This reconstructed summary provides a clear path forward, building upon the successful analysis and refactoring work to implement the next phase of the project's vision.
Loading