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 `