Memory infrastructure for the Hero stack — collections, conversion, Q&A, ontology extraction, embeddings, retrieval
  • Rust 73.3%
  • HTML 15.9%
  • Shell 9.6%
  • JavaScript 1%
  • CSS 0.2%
Find a file
mik-tf 7413da68c3
Some checks failed
Test / test (push) Failing after 3s
lab publish / publish (push) Successful in 9m50s
lab publish (gnu) / publish-gnu (push) Successful in 16m51s
ci(gnu): bundle libonnxruntime.so to release/latest after lab --upload
After `lab build ... --upload` publishes the 4 gnu daemons to the
`latest` release, fetch ONNX Runtime 1.25.0 from microsoft/onnxruntime
and upload three soname variants of the runtime as additional release
assets:
  - libonnxruntime.so.1.25.0  (real file content)
  - libonnxruntime.so.1       (likely DT_NEEDED — same content)
  - libonnxruntime.so         (link target — same content)

Forgejo release assets are flat, so each variant carries the full ~10MB
real-file payload. lab consumer-side (--download --install) drops each
into ~/hero/lib/ verbatim and writes ~/hero/cfg/env/lib.sh so a
bootstrap that sources both env.sh and lib.sh can launch hero_memory
daemons against the bundled runtime without apt installing onnxruntime
system-wide.

ORT_VERSION matches the comment in crates/*/Cargo.toml pinning
ort = "=2.0.0-rc.12" (paired with ONNX 1.25.x). Bump both if either
moves.

DELETE-then-POST gives upload idempotency on workflow_dispatch reruns.
2026-05-20 14:55:41 -04:00
.forgejo/workflows ci(gnu): bundle libonnxruntime.so to release/latest after lab --upload 2026-05-20 14:55:41 -04:00
crates fix(hero_memory_ui): use axum 0.8 wildcard route syntax 2026-05-18 17:29:40 +02:00
docs feat(hero_memory): Phase 7 — three deploy modes via CLI flags 2026-05-05 15:14:50 +02:00
scripts feat: sessions 17-18 — native dioxus islands, new URL routing, OSIS auth fix, build safety 2026-04-12 09:58:06 -04:00
.gitignore chore(deps): commit Cargo.lock and bump herolib to dev tip with logger 2026-05-03 15:04:09 +02:00
build.sh chore: scaffold hero_memory workspace and documentation 2026-05-05 13:39:03 +02:00
Cargo.lock refactor: migrate socket path resolution to herolib_core::base helpers 2026-05-17 09:17:40 +02:00
Cargo.toml chore(deps): align Cargo.toml with canonical rust_versions policy 2026-05-16 13:51:08 +02:00
Cargo.toml.hero_builder_backup chore(deps): upgrade gloo-net to 0.7.0 and gloo-timers to 0.4.0 in hero_memory_app; add hero_builder backup Cargo.toml files 2026-05-16 15:43:36 +02:00
download_models.sh Update README: quality is per-namespace, fix data storage structure 2026-01-22 15:49:56 +01:00
favicon.svg fix: update favicon.svg to match navbar search-heart icon 2026-02-10 16:17:28 -05:00
install.sh chore: scaffold hero_memory workspace and documentation 2026-05-05 13:39:03 +02:00
MACOS_ONNX_FIX.md chore: scaffold hero_memory workspace and documentation 2026-05-05 13:39:03 +02:00
MAKEFILE_ROBUSTNESS.md docs: Add Makefile robustness and validation documentation 2026-02-08 13:46:59 +04:00
OAUTH_DEBUG.md chore: scaffold hero_memory workspace and documentation 2026-05-05 13:39:03 +02:00
openrpc.json fix: absolute binary paths, graceful shutdown, rename client to SDK 2026-02-28 18:42:47 +03:00
PURPOSE.md feat(service): add service.toml, herolib_core wiring, and SDK 0.6.0 upgrade 2026-05-16 13:47:08 +02:00
README.md chore: scaffold hero_memory workspace and documentation 2026-05-05 13:39:03 +02:00

Hero Memory

Hero Memory is the memory infrastructure for the Hero stack. A single service that ingests documents and code, organises them into collections, extracts Q&A pairs and ontological graph structure, generates embeddings, and serves retrieval to agents.

It owns the pipeline from raw bytes to retrievable memory. It is not a database (hero_db stores graph rows it produces) and it is not a model server (hero_aibroker answers LLM calls; hero_memory_inference runs the embedding models). It is the layer in between.

Documentation

  • PRD — product requirements: what hero_memory does and the interfaces it exposes.
  • ADRs — architecture decisions, with rationale.

Status

Specification phase. Implementation tracked via Forgejo issues against this repository.