SRE · HAMProject breakdown

For on-call engineers looking for the right passage in operational notes. Use the sample 502 incident in the browser to inspect matches and their similarity scores.

How it was checked Public version 468571d Discuss a similar project Back to the project
Concept illustration: SRE · HAM
An example from the source
Holographic memory with dense semantic search
Browser check
Search notes about a 502 error

How we checked SRE · HAM

Search notes about a 502 error

Checked in Chrome 468571d

What to do
Keep the sample 502 question and select ASK.
What to look for
Matching snippets highlight. The JSON export includes their text and similarity scores.

Scope of this check This browser walkthrough uses local notes and hash vectors. The RESP-style monitor is illustrative; the server and research engine do not run here.

Checks from the source

  • Python checkpoints retain deletion markers and SQL metadata

    On 2026-11-14, four CPU scenarios reproduced the lost state and passed after the fix. They used real PyTorch 2.2.2 tensors and serialization, Rust WAL and garbage collection; the embedding model was replaced by a small deterministic encoder.

    Source sre/store/persistence.py, tests/domain_04_persistence/test_043_checkpoint_tombstones.py

  • Search is linear, not constant-time

    The package description promises O(1) semantic search, yet every query runs one torch.matmul across the whole db_waves matrix plus topk.

    Source pyproject.toml

  • The compute stays in Python

    The docs claim all compute is offloaded to C++ and Rust, but wave.py imports sre_ext with a torch fallback and the matmul runs in Python.

    Source sre/wave.py

  • Latencies were really measured and saved

    docs/SCIENTIFIC_QA_REPORT.md holds a table from 0.270 ms (100) to 182.379 ms (100k), which also refutes the claim that 10M documents match 100k on latency.

    Source docs/SCIENTIFIC_QA_REPORT.md

  • The showcase is not connected to the kernel

    No sre_studio component reaches the search engine: metrics generate client-side and the visuals are decorative.

    Source sre_studio/src/components/Telemetry.tsx

Implementation progress

Project purposeSRE · HAM explores retrieval through record similarity. Add a note in the standalone browser walkthrough, ask a question and inspect the scores of the passages it finds.

  1. implemented

    Holographic memory with dense semantic search

    Local CLIP embeddings, wave encoding and a full-matrix torch.matmul with topk return correct results, and latency grows with corpus size.

    Source sre/memory.py

  2. implemented

    A service node with auth, RBAC, metrics and a cluster

    REST /api/v1 and the OpenAI-style routes are implemented and wired: JWT, roles, slowapi, Prometheus, broadcast search and WAL sync.

    Source sre/server/main.py

  3. implemented

    .holo persistence with a Rust-backed WAL

    A torch.save snapshot, an optional numpy memmap for large tensors and an append-only JSONL WAL fsynced through sre-storage.

    Source sre/store/persistence.py

  4. partial

    Optional native acceleration in C++

    sre_ext holds real kernels, but Python imports it inside a try/except with a torch fallback, so native speed stays optional.

    Source sre/wave.py

  5. partial

    The RESP TCP server is a subset

    sre/redis implements part of the protocol over asyncio on port 6379; despite the naming this is not full Redis compatibility.

    Source sre/redis/__init__.py

  6. illustrative

    The sre_studio showcase

    Telemetry values come from Math.random under a Simulate live data label, and HologramCanvas is a decorative animation with no link to the engine.

    Source sre_studio/src/components/Telemetry.tsx

  7. not implemented

    Rust spatial and tensor kernels, and multimodal ingestion

    sre-tensor is a stub and sre-spatial insert() is empty, so its interference returns zero. Only text and images embed, and only Markdown parses.

    Source sre-core-rs/sre-spatial/src/lib.rs

  8. on roadmap

    The edge engine: WASM and WebGPU

    docs/RUST_WASM_PORT.md is an explicit phased plan; only the sre-wasm glue and the sre-wave module exist, and edge ONNX embeddings are unimplemented.

    Source docs/RUST_WASM_PORT.md

Capabilities & limits

  • This check covers checkpoints in the Python library. Verify separately that search and rebuild exclude deleted rows. Deletion markers lost from an old snapshot cannot be recovered. The public JavaScript walkthrough runs separately from the Python engine.
  • Retrieval scans all dense vectors in O(N). The source has no ANN index for large collections.
  • The engine accepts text and images. Audio, video and source-code ingestion remain unimplemented.
  • The advertised algorithms in sre-spatial and sre-tensor return zeros or stubs.
  • Prebuilt native binaries are platform-specific and untracked. Build the extensions on each machine.
  • Version labels differ across pyproject (17.0.0), Cargo (15.0.0), TS SDK (11.0.0) and the FastAPI title (V5).
  • The code uses additive offsets derived from a local key. The documentation’s claims of quantum resistance and homomorphic encryption require separate verification.
  • The math-wave repository distributes the sre-ham package. It contains no standalone math-wave web app.

Public version

Public versionOpen the search explainer sre-ham.moonsugar.space

Public build
468571d
Build directory
web

A local browser walkthrough: runbook notes become chunks, deterministic hash vectors are ranked by cosine similarity, and the page keeps question history. The RESP-style monitor illustrates operations; it does not establish protocol conformance. The server and PyTorch do not run here.

Demo availability is checked at publication. This page does not provide continuous monitoring.

Discuss a similar project

Name the source of your runbook notes and give one question for testing the search.

What is in the source

View files and components
  • HAM expands to Holographic Associative Memory: the SRHAM1 file magic and the FastAPI description confirm it, and the core class is HolographicMemory

    Source sre/store/persistence.py

  • Embeddings run locally through sentence-transformers clip-ViT-B-32 (about 512 dimensions, text and image); no external embedding API is called

    Source sre/memory.py

  • Search encodes the query as a complex one-dimensional wave, then runs a single dense torch.matmul over all stored waves plus topk: a brute-force O(N) scan per query

    Source sre/memory.py

  • There is no ANN index (HNSW, IVF, LSH) and no BM25 or full-text path: exact dense scan only

    Source sre/store/search.py

  • The C++ extension sre_ext (about 558 lines) covers 3-D interference, Barnes-Hut, defragmentation, a sharding plan and Matryoshka truncation; CI builds it

    Source sre_csrc/grid_interference.cpp

  • The Rust workspace is version 15.0.0 with six crates, but Python imports only sre_storage.RustWal; the key sre-tensor and sre-spatial functions are stubs

    Source sre-core-rs/Cargo.toml

  • The FastAPI node exposes REST /api/v1 with JWT, RBAC roles, rate limiting and Prometheus metrics, plus OpenAI-shaped /v1 routes

    Source sre/server/main.py

  • A measured latency table is committed in the repository: 0.270 ms at 100 records up to 182.379 ms at 100,000

    Source docs/SCIENTIFIC_QA_REPORT.md

MOONSUGAR / AI

AI consultant

Services, budgets and the next step

MOONSUGAR / AI / UAE · English · USD

Ask about services and budgets

The AI assistant can explain services and starting budgets, and help you prepare questions for the founder.

This is AI, not the founder. Answers use the website and may contain mistakes. A person confirms scope, price and timing.

Talk to the founder

The model is DeepSeek V4.1 Flash. OpenRouter and DeepInfra process the text for replies. Questions and replies are stored on the Moonsugar server for up to 30 days and may be read by the site owner. We do not sell conversations. Do not send passwords, credentials, documents, personal data or NDA material. Clear conversation deletes your history on this site. No enquiry is sent automatically.