Skip to content

Latest commit

 

History

History
100 lines (85 loc) · 6.65 KB

File metadata and controls

100 lines (85 loc) · 6.65 KB

NeuroPhone — Project Topology

System Architecture

                    ┌─────────────────────────────────────────┐
                    │              ANDROID USER               │
                    │      (gossamer WebView / Oppo Reno 13)  │
                    └───────────────────┬─────────────────────┘
                                        │ JNI (Java shims ↔ Rust)
                                        ▼
                    ┌─────────────────────────────────────────┐
                    │           NEUROPHONE CORE (RUST)        │
                    │    (Orchestration, Bridge, Routing)     │
                    └──────────┬───────────────────┬──────────┘
                               │                   │
                               ▼                   ▼
                    ┌───────────────────────┐  ┌────────────────────────────────┐
                    │ NEURAL ENGINE (ON-DEV)│  │ INFERENCE LAYER                │
                    │ - LSM (Spiking Resvr) │  │ - Local Llama 3.2 (llama.cpp)  │
                    │ - ESN (Echo Resvr)    │  │ - Claude API (Fallback)        │
                    │ - Sensor Fusion       │  │ - Bridge (State Encoding)      │
                    └──────────┬────────────┘  └──────────┬─────────────────────┘
                               │                          │
                               └────────────┬─────────────┘
                                            ▼
                    ┌─────────────────────────────────────────┐
                    │           PHONE HARDWARE                │
                    │  ┌───────────┐  ┌───────────┐  ┌───────┐│
                    │  │ Accel/Gyro│  │ NPU Accel │  │ Light/││
                    │  │ (50Hz)    │  │ (Dim8350) │  │ Prox  ││
                    │  └───────────┘  └───────────┘  └───────┘│
                    └─────────────────────────────────────────┘

                    ┌─────────────────────────────────────────┐
                    │          REPO INFRASTRUCTURE            │
                    │  Justfile Automation  .machine_readable/  │
                    │  Rust / JNI / gossamer  RSR (in progress) │
                    └─────────────────────────────────────────┘

Completion Dashboard

Note

This dashboard is a rough human/agent-maintained progress map, not a ground-truthed metric. For the authoritative test posture see the crate test suites and proofs/README.adoc (the proof-obligation ledger). The Android shell moved from Kotlin/Compose to the gossamer WebView + Java JNI shims under issue #83 (merged).

COMPONENT                          STATUS              NOTES
─────────────────────────────────  ──────────────────  ─────────────────────────────────
NEURAL ENGINE (RUST)
  LSM (Liquid State Machine)        ██████████ 100%    512 LIF neurons active
  ESN (Echo State Network)          ██████████ 100%    300-neuron reservoir stable
  Sensor Fusion (Accel/Gyro)        ██████████ 100%    50Hz loop verified
  Bridge (Neural ↔ Symbolic)        ██████████ 100%    Context generation verified

INFERENCE & UI
  Local LLM (Llama 3.2)             ████████░░  80%    Q4 quantization optimized
  Claude Client (Fallback)          ██████████ 100%    Retry logic stable
  Android App (gossamer/AffineScript)████████░░ 80%    WebView UI + Java shims (#83)
  JNI / Native Bridge               ██████████ 100%    Java ↔ Rust verified (#110)

REPO INFRASTRUCTURE
  Justfile Automation               ██████████ 100%    Standard build/JNI tasks
  .machine_readable/                ██████████ 100%    STATE tracking active
  Performance Benchmarks            ██████████ 100%    Neural steps < 3ms

─────────────────────────────────────────────────────────────────────────────
OVERALL:                            █████████░  ~90%   On-device AI stable

Key Dependencies

Sensors ────────► LSM Reservoir ──────► Bridge Context ──────► Local LLM
     │                 │                   │                      │
     ▼                 ▼                   ▼                      ▼
Accel/Gyro ─────► ESN Predict ──────► Query Routing ──────► Claude API

Update Protocol

This file is maintained by both humans and AI agents. When updating:

  1. After completing a component: Change its bar and percentage

  2. After adding a component: Add a new row in the appropriate section

  3. After architectural changes: Update the ASCII diagram

  4. Date: Update the Last updated comment at the top of this file

Progress bars use: (filled) and (empty), 10 characters wide. Percentages: 0%, 10%, 20%, …​ 100% (in 10% increments).