JustInCase is the App/Agent layer component of the Companion Intelligence platform — a private, local-first digital memory system.
Full architecture: CI-Engineering/architecture/architecture.md
Offline emergency knowledge assistant. C++ server with llama.cpp backend, MuPDF document parsing, and a SQLite hybrid search index (sqlite-vec + FTS5). Runs via Docker Compose; content lives in named volumes, not the image.
- C++ / llama.cpp (server + ingestion)
- MuPDF (document parsing)
- Docker Compose (jic + ingestion services, content-fetch profile)
- GGUF model files (in gguf_models/)
# download GGUF models: ./helper-scripts/fetch-models.sh # install
docker compose up --build # dev
./helper-scripts/test-config.sh && ./helper-scripts/test-server.sh # test
docker compose build # build- Install Docker + Docker Compose.
- Download GGUF files into
./gguf_models/viahelper-scripts/fetch-models.sh. - Run
docker compose up --build.
Keep licensing and provenance clear for all content added to public/sources/. Prefer public-domain or explicitly redistributable materials.
- Never
git reset --hardorgit clean -fwithout user confirmation. - Commit messages: imperative mood, ≤ 72 chars.
- Reference CI-Engineering issues in PRs (e.g.
Closes companionintelligence/CI-Engineering#32).
Private & Confidential — Property of Lifescope Inc. Do not distribute.