Companion Memory - Personal Digital Twin - Front + Back End API + Web Monorepo
Personal Database for Companion Intelligence
Website · Documentation · Get started · Systems map
Companion Memory uses the PolyForm Noncommercial License 1.0.0. For common questions, see the License FAQ.
Required Notice: Copyright LifeScope INC, DBA Companion Intelligence (https://ci.computer)
Front + Back End API + Web Monorepo
This repository serves as the web interface to the Companion Intelligence server.
Full index: docs/README.md
docs/api/ — the three surfaces (GraphQL, REST, MCP), auth & conventions, and the bulk-ingest contract, all file:line-cited. The GraphiQL IDE + codegen workflow is documented separately.docs/architecture/architecture.md (platform, services, data flows) and docs/architecture/Database.md (schemas, idempotency design, indexing, hypertables, migration workflow).backend/apps/api/README.md — domain/module layout, common infrastructure, the event bus, config system, DB workflow.docs/import/etl-agent-guide.md (how a personal archive becomes rows in ci.*, and how to fix an import bug) and docs/cli/ci.md (the ci command line, its own workspace at backend/apps/cli). Import is a domain inside this repo — backend/apps/api/src/domains/import/ — not a separate service.docs/saved-search-sharing.md (sharing + filter capture + read-only viewer) · docs/peer-federation.md (asking questions across two Companion memories — Portal discovery, the three ask archetypes, free/busy without leaking a calendar)./asks): docs/asks-system-guide.md is the reference document — read it before changing anything on the consent path: grants, the disclosure ladder and its four ceilings, the capture-at-consent-time rule, the ask lifecycle local and federated, how to run the /asks page and the two-box federation harness, and the current gap list. Its companion docs/asks-threat-model.md states what the feature does not defend against. Neither was linked from here before 2026-08-23.docs/screenshots.md — the Power Rail, the Memory and Self hubs, every route that is now a redirect, and how the committed shots were captured and compressed.This is a Yarn workspace monorepo, with a uv-managed Python workspace alongside it
(one uv.lock at the root covering backend/apps/{hbpe,summary} and
backend/packages/*). The structure:
├── backend/apps/
│ ├── api/ # Main backend API service (NestJS)
│ ├── cli/ # The `ci` command line (bundled HTTP client — no NestJS)
│ ├── hbpe/ # HBPE behavioral-prediction sidecar (Python/FastAPI, ONNX)
│ └── summary/ # Summarization + document-parser sidecar (Python/FastAPI)
├── backend/packages/
│ ├── telemetry/ # Shared Python library: Sentry error reporting for the sidecars
│ └── tool-core/ # `@ci/tool-core` — the tool/intent vocabulary, execution policy and registry, with no NestJS in it, so MCP, the LLM dispatcher and the CLI can share one implementation of "may this caller run this intent?"
├── frontend/apps/
│ ├── web/ # Main web application (React + Vite)
│ ├── ios/ # Capacitor iOS shell around the web app (not a Yarn workspace)
│ ├── android/ # Capacitor Android shell around the web app (not a Yarn workspace)
│ ├── desktop/ # Tauri desktop app (not a Yarn workspace) — local orchestrator: runs this repo's own Compose stack, unlike ios/android which point at a remote appliance
│ └── mobile/ # Pointer README l
Imports leave out parts of an export that the import screen says they bring in
https://github.com/companionintelligence/Companion-Memory/issues/3605
Labels: bug, backend
Photo and media imports lose people, albums and attachments, skip some photos and add NAS thumbnails
https://github.com/companionintelligence/Companion-Memory/issues/3600
Labels: bug, backend
iOS and mac not listed in FTUE
https://github.com/companionintelligence/Companion-Memory/issues/3572
Labels: 없음
Lift the Tailwind and PowerSync holds from #3365
https://github.com/companionintelligence/Companion-Memory/issues/3371
Labels: 없음
Sorting the explorer by name stops at the newest 500 of each kind
https://github.com/companionintelligence/Companion-Memory/issues/3298
Labels: enhancement, backend
Two races: a peer link edit can undo a lowered trust tier and an inbox discard can delete an unpacked export
https://github.com/companionintelligence/Companion-Memory/issues/3297
Labels: bug, backend
Chat: Thinking never shows on Ollama's /v1, keys typed after a reply are lost and Today reads imported AI chats as mail
https://github.com/companionintelligence/Companion-Memory/issues/3296
Labels: bug, backend, frontend
Memory stores wrong data for outgoing calls, contact fields, receipt batches and position edits
https://github.com/companionintelligence/Companion-Memory/issues/3295
Labels: bug, backend
No CONTRIBUTING document was found. Please check the README and open issues.