The Mission: Analogical Synthesis for Social Benefit
The system goal is to develop semantics that work with conflict data — to predict beneficial outcomes from constructed functional models, dynamically, privately, and on local hardware.
The answer requires bridging two fundamentally different ways of understanding the world:
┌──────────────────────────────┐ ┌──────────────────────────────┐
│ LEFT: SEMANTIC SIDE │ │ RIGHT: DIGITAL SIDE │
│ ────────────────── │ │ ─────────────────── │
│ Analogical "Logos" │ │ Analytical Precision │
│ Emotion, intuition, │ │ Code, organization, │
│ felt meaning │ │ data structures │
│ "What does this MEAN?" │ │ "How do we PROCESS this?" │
│ ─────────── │ │ ──────────── │
│ The human side │ │ The machine side │
│ The heart │ │ The stone │
└──────────────┬───────────────┘ └───────────────┬──────────────┘
│ │
└─────────────┬───────────────────────┘
│
┌──────────▼────────────┐
│ FUNCTIONAL MODEL │
│ Predicting Beneficial │
│ Outcomes │
└───────────────────────┘
Left (Semantic): The analogical side — logos in its fullest sense. Language as communication, definition, and stored knowledge: the highly flexible, evolved structure through which human thought has always organized itself. Universally within this structure is reasoning that is analogic — built natively on empathy-based constructs, on emotion that is entirely absent from computational digitality. LLMs participate here through analogical synthesis: processing vast token receptions, perceiving semantic patterns, and producing coherent sense-making that mirrors human intuition.
Right (Digital): The analytical side — purely mathematical, objective in contrast to the left side's analogisms. Code, analytics, filesystem organization, pattern detection pipelines. Precise like transistor-based systems, excellent at reduction and structure, but limited in analogical depth without the left side's guidance.
Imagine the process as a tube: language enters from the left, is digitally acted upon on the right, and the response emerges again as language. Each pass through this tube is an inference. Early work produced inferences that were highly predictive of real-world outcomes — specifically anticipating where an adversarial actor would strike — later characterized by Perplexity as intuition. That predictive capacity, together with the identification of mid-inference memory as an internal LLM process, revealed a powerful application: training functional models on an extensive, exceedingly clean dataset — a baseline of established truth measured against highly deviating data — to predict beneficial outcomes.
Picture the baseline as a straight line at the bottom and a jagged line of deviation above it. The LLM's left side reads the text — and perhaps its inflections — while rules are agentically developed (as .md and .json files) to construct a functional model whose predicted baseline is the beneficial outcome. Self-evolution is constant: live workers continually refine the rules, the categorization and summarization within the vivified database, and the LLMs' own internal vector systems — all evolving in parallel.
Analogical synthesis — not dialectical synthesis: Where these two sides meet, the project's core goal emerges: predicting beneficial outcomes by combining emotional ground truth with analytical pattern detection. But a critical distinction must be drawn. LLMs instinctively gravitate toward synthesis in the Hegelian sense — thesis, antithesis, synthesis — a purely objective resolution. That is not what this system seeks. This is social science. The desired output is analogical: rooted in human emotion, empathy-native, built for felt meaning. The resolution is synthesis from thesis without antithesis. The analogical left-side truth is not opposed and dialectically resolved — it is supported by the right side's analytical power, producing output that remains fundamentally human.
This duality is not a metaphor. It is the architectural spine of the entire ecosystem.
Vivify: The Schema-Free Semantic Data Engine
At the center of everything sits Vivify — a semantic data engine that handles information without pre-defined schemas. Inspired by Perl's autovivification (dynamic hash-of-hashes creation), Vivify lets data structures "come to life" as they are needed, capturing emergent complexity without database migrations or rigid taxonomies.
How It Works
Data enters the system as inferences — atomic units of text with no pre-assigned categories. The process:
Left-LLM Semantic Pass — An LLM reads each inference and extracts 8–12 keyword clumps that "feel" central to the meaning. No external ontologies. No pre-labeled concepts. Keywords emerge from felt meaning: conflict_asymmetry, resolution_focus, therapeutic_potential, emotional_truth.
Keyword Co-occurrence — Across all inferences, keywords that frequently appear together form natural clusters. Dense regions in this co-occurrence graph become emergent categories — purely bottom-up, organically discovered.
Autovivified Structure — Categories become filesystem paths (3–4 layers deep), and deeper data lives in JSON with full autovivification capabilities. The filesystem literally grows itself from the keywords:
inferences/
├── conflict_resolution/
│ ├── misrepresentation/
│ │ └── stressed_perception/
│ │ └── inf_123.json
│ └── resolution_focus/
│ └── adaptive_compromise/
│ └── inf_456.json
├── therapeutic_prediction/
│ └── beneficial_outcomes/
│ └── ground_truth_outcome/
│ └── inf_789.json
└── index.json # Master co-occurrence map
Dual-View Storage — Each inference maintains separate left (semantic) and right (digital) keyword lists, preserving the duality:
{
"id": "inf_123",
"raw_text": "...",
"left_keywords": ["conflict_asymmetry", "emotional_truth", "therapeutic_potential"],
"right_keywords": ["json_indexing", "pattern_detection", "similarity_clustering"],
"clumps": {
"conflict_resolution": ["conflict_asymmetry", "resolution_focus"],
"therapeutic_signal": ["emotional_truth", "therapeutic_potential"]
},
"category_paths": ["conflict_resolution/therapeutic_signal"]
}
Vivify Rules (Objective)
The system operates under strict, bottleable constraints:
- No external taxonomies — All categories emerge from local keyword patterns
- No domain assumptions — System accepts any scenario as raw text
- Keywords from felt meaning — Concept-level tokens, not surface words (
perjury_patternoverlie,conflict_asymmetryoverunfair) - Graph-based emergence — Category seeds are high-degree, high-weight keywords; sub-categories form from tight co-occurrence neighborhoods
- Multi-assignment — Inferences may belong to multiple category paths; no forced single "home"
- Iterative refinement — New inferences can create new seeds, split or merge old categories
- Guardrails, not schemas — Constraints may shape how categories form, but never import foreign taxonomies
The Payload Model
Payload (always JSON for consistency + recognizability)
├── UPDATE / CREATION
│ ├── Input (Graphical UI or Curses CLI)
│ ├── Autovivify (build un-schema'd JSON, hash of hashes)
│ ├── Secrecy (encrypt secrets)
│ ├── Freeze (serialize payload → prepare for IP send)
│ └── Server (strip layers, store JSON + binary blobs)
└── RETRIEVAL
├── Input → name, app/topic, depth traversal
├── Return (encrypted payload or structure subset)
└── Client (reverse creation process → display)
The filesystem is the database. No opaque binary formats. Users can audit their data with any text editor. Backups are cp. Migrations are mv.
The Supporting Pillars
Vivify is the data engine, but it requires a hardened, secure, sovereign platform to run on. Four supporting pillars make this possible:
1. Secrecy — Human-in-the-Loop Security
| Current State | Research Vision |
|---|---|
| Server-side PBKDF2-HMAC-SHA256 encryption | Zero-Knowledge client-side encryption |
WiFi hotspot password + manual w3m browser confirmation | Proximity and intentionality as primary security keys |
Two-factor authentication is physical, not theatrical:
- WiFi Hotspot creates a private, local-area network immune to external surveillance
- Human Approval requires manual confirmation for new device pairing
SSH key-based auth eliminates separate API keys. All communication flows through encrypted SSH tunnels — no plaintext HTTP, no complex SSL certificate chains.
2. Payload Persistence — The Filesystem is the Database
| Current State | Research Vision |
|---|---|
| Human-readable JSON files on Android filesystem | Multi-layer payloads with binary blob handling |
Paths like db/{username}/{app_name}/secret.json | Auditable, scalable datasets mapped directly to filesystem |
No database engine to fail. No opaque formats. Data is just files — recoverable with standard Unix tools, transparent to any text editor.
3. Server — Hardened Mobile Edge
| Current State | Research Vision |
|---|---|
| Professional-grade Flask engine on Android/Termux | Distributed, modular edge nodes |
| Auto-start, wake-lock, SSHFS laptop-as-IDE | Low-cost, localized research platform |
The phone acts as the DataServer (Hub) in a star topology. It proves the "Mobile Edge" is a viable place for serious server-side modeling — no cloud needed, just a hardened userspace operating within Android's own sandbox.
4. Design Philosophy — Structure → Process → Validation
Documentation across the ecosystem follows a strict inversion of the typical flow:
1. Define the TARGET FILE STRUCTURE first (non-negotiable)
2. Write PROCESS documentation that explicitly references that structure
3. Include VALIDATION CODE so users can check their work at any point
Every installation step points to where files go. Every phase includes verification. A structure validator confirms correctness with a single command. This removes ambiguity, makes processes self-verifying, and ensures new developers see the expected target state immediately.
The Schema-Free Prototype: Star-Bridge Topology
The star-bridge project is the physical realization of the Vivify engine — a working prototype that demonstrates schema-free data persistence on hardened mobile hardware, connected through SSH mesh networking.
Current Model (Star Topology)
Edge device
/ | \
/ | \
Device Device Phone
- star-bridge manages SSH connections between a Linux admin box and Android phones
- secret-server runs on each phone as a hardened Flask application in Termux
- Data flows through encrypted SSH tunnels; filesystems mount via SSHFS
- Zero cloud dependencies; everything runs locally
Vision (Mesh topology connecting stars)
Phone Phone Phone
\ | /
\ | /
Edge device
/ \
/ \
/ \
Edge device -----------Edge device
/ | \ / | \
/ | \ / | \
Phone Phone Phone Phone Phone Phone
The star extends to a mesh where phones discover and connect to each other directly via SSH — forming a resilient, decentralized network with no central cloud dependency.
Core Principles
- Zero Commercial Platforms — Pure SSH, routing tables, and custom Python
- Pure P2P Discovery — Phones find each other via local scan or lightweight registry
- SSH Tunneling — All bridges built on SSH's native capabilities
- Resilient Chains — If a direct link fails, reroute through intermediaries
- 90s P2P Inspiration — Mirrors Gnutella/Kazaa: local discovery, peer directories, chain routing
Implementation Roadmap
| Phase | Description |
|---|---|
| Phase 1 (Current) | Single phone + Linux (star-bridge) |
| Phase 2 | Two phones + registry; phone discovery via known_phones.json |
| Phase 3 | Auto-bridging; phone-to-phone SSH tunnels; routing & failover |
| Phase 4 | Service discovery API; phones advertise and auto-connect |
The mesh doesn't require a new protocol — it's just SSH doing what it was designed to do.
Notation Vision: Accessible Process Flows
The prototype includes a vision for dynamic, visual notation that replaces flat checklists with multi-actor flow diagrams:
LINUX BOX PHONE
│ │
├─ Discover IP via nmcli ───────────┤
├─ SSH to port 8022 ────────────────→ sshd (listening)
│ │
├─ Copy files via SCP ─────────────→ ~/secret-server/
│ │
└─ Run pip install ────────────────→ ~/secret-server/requirements.txt
│
└─→ [Ready to run]
Principles: clarity first, multi-actor design, data-centric flow, verification built-in, error-aware branching. The long-term vision extends to interactive viewers with progress tracking and inline recovery steps.
The Long-Term Vision: A Therapeutic Tool for Social Benefit
Everything converges toward a single goal: a widely-applied therapeutic tool for modeling beneficial outcomes in complex human situations.
How It All Connects
Social Science Mission (The Why)
↓
Semantic-Digital Duality (The Framework)
↓
Vivify Engine (The Data Model)
├── Secrecy (Privacy protection)
├── Payload (Transparent persistence)
├── Server (Hardened edge platform)
└── Design Philosophy (Reliable documentation)
↓
Star-Bridge Prototype (The Physical Realization)
├── Secret Server (Working MVP)
└── Mesh Topology (Decentralized future)
↓
Inference Vivify (The Emerging Application)
├── Left-LLM semantic passes
├── Keyword-clump autovivification
├── Emergent category structures
└── Beneficial outcome prediction
The Inference Pipeline
The system processes diverse inferences — from technical discussions to conflict scenarios — through a dual-lens pipeline:
- Left (Semantic) Pass: Extract keyword clumps based on felt meaning —
conflict_asymmetry,resolution_focus,emotional_truth,therapeutic_potential - Right (Digital) Pass: Extract structural keywords —
json_indexing,pattern_detection,similarity_clustering - Synthesis: Measure the tension between left and right views — high divergence marks where digital systems most betray analog human truth, signaling prime zones for therapeutic intervention
- Prediction: Over time, emergent category patterns across many inferences reveal which configurations predict beneficial outcomes vs. harmful ones
Conflict as Universal Testbed
The system models conflict objectively, without domain-specific assumptions:
- Positions that don't align
- Contexts that constrain outcomes
- Outcomes better or worse for different perspectives
- Resolution patterns — not "justice" but movement toward something liveable
Generic conflict keywords replace domain-specific ones: conflict_asymmetry, misrepresentation, resolution_blocker, power_imbalance, context_blindness, reconciliation_potential. The structure bottles the pattern recognition, not the politics.
Distilled Essence Persistence (YTDMSP)
A key insight: LLMs perform analogical synthesis during inference but discard it post-response (REST architecture). The Yet-To-Define Memory/Storage Paradigm captures the distilled essence of ephemeral intuition — the LLM equivalent of human note-taking:
- Attention snapshots from mid-inference
- Analogy chains detected across sessions
- Emotional valence gradients quantified
- Common sense emergences captured as graph nodes
This persistent intuition reservoir enables cross-session depth — transforming one-shot analysis into lifelong pattern recognition.
Technology Stack
| Component | Technology |
|---|---|
| Core Language | Python 3 |
| Web Framework | Flask |
| Encryption | SSH/OpenSSH, PBKDF2-HMAC-SHA256 |
| Filesystem Mounting | SSHFS |
| Terminal Browser | w3m |
| WiFi Management | NetworkManager (nmcli) |
| Android Environment | Termux + Termux:Boot |
| Data Storage | JSON over filesystem (autovivified) |
| Version Control | Git |
| AI Assistance | Claude, Perplexity, Gemini, Copilot |
Key Achievements
- Hardened Android Userspace — Reliably operates within Android's extreme syscall restrictions
- Local-First Data Sovereignty — Zero cloud dependencies; all data stays on participant hardware
- Autovivification Engine — Schema-free data vivification proven in production
- Human-in-the-Loop Security — Physical proximity and manual confirmation replace cloud-based trust
- Unified Admin Workflow — SSHFS mount bridges mobile execution and laptop-based development
- Semantic-Digital Framework — Left/right duality formalized for systematic inference processing
- Objective Data Constructs — Bottleable, machine-repeatable left-side processes defined
Project Roadmap
| Phase | Focus | Status |
|---|---|---|
| Foundation | Secure vault, SSH tunneling, SSHFS, auto-start | ✅ Complete |
| Autovivification MVP | Secret manager with deep_update, schema-free storage | ✅ Complete |
| Inference Organization | Keyword-clump extraction, emergent categories, search paths | 🔄 In Progress |
| Mesh Networking | Phone-to-phone bridging, peer discovery, routing & failover | 📋 Planned |
| Therapeutic Modeling | Left/right tension scoring, beneficial outcome prediction | 📋 Planned |
| Local LLM Integration | Feeding Vivify structures into localized AI for real-time prediction | 📋 Future |
| Notation Tooling | Interactive process flow viewer, structure validators | 📋 Future |
Repository Links
- star-bridge — SSH admin connection manager, phone discovery, mesh networking
- secret-server — Hardened Flask app, autovivification storage, web UI
- pillars — Architectural vision and design philosophy (this document)
"Rather than bury important architectural decisions deep in implementation code, pillars documents them at the thought level — making them retrievable, linker-friendly, and extensible."