From 72e7d28ea70d8fcbae17c68573701c1ab84350a8 Mon Sep 17 00:00:00 2001 From: yakamoz221 Date: Wed, 29 Jul 2026 20:15:39 +0300 Subject: [PATCH] docs: add Memory Graph View repository analysis and design Repo-wide analysis of frontend/backend/DB/memory/ChromaDB/auth/Docker/ testing conventions, plus the accepted design (architecture, API, UI, performance, security, migration/rollback, testing strategy) for the Memory Graph View feature. Co-Authored-By: Claude Sonnet 5 --- docs/memory-graph-analysis.md | 170 ++++++++++++++++++++++++++++++ docs/memory-graph-design.md | 188 ++++++++++++++++++++++++++++++++++ 2 files changed, 358 insertions(+) create mode 100644 docs/memory-graph-analysis.md create mode 100644 docs/memory-graph-design.md diff --git a/docs/memory-graph-analysis.md b/docs/memory-graph-analysis.md new file mode 100644 index 000000000..cdb1d1db0 --- /dev/null +++ b/docs/memory-graph-analysis.md @@ -0,0 +1,170 @@ +# Memory Graph View — Repository Analysis + +Status: research only. No application code, dependencies, or database state was modified to produce this document. + +Scope: this document inventories the parts of the Odysseus codebase relevant to building an interactive, Obsidian-like Memory Graph View, and identifies the safest points to extend the system. A companion document, `docs/memory-graph-design.md`, proposes the actual design based on these findings. + +## 1. Frontend architecture + +- No bundler, no build step. `static/js/package.json` sets `{ "type": "module" }` so the browser loads native ES modules directly. There is no webpack/vite/esbuild config anywhere in the repo. The root `package.json` has no `scripts` block; its only `devDependency` is `@antithesishq/bombadil`, a browser-fuzzing spec library unrelated to bundling. +- Entry point: `static/index.html` loads `static/app.js` via `