Repository navigation
feat(memory): add standalone web knowledge workspace - #163
Merged
Merged
Conversation
Serve a local read-only memory library, Markdown reader, relationship graph, entity explorer, and activity view with live WAL visibility and isolated store navigation. Embed the frontend in the existing executable and enforce bounded reads, origin checks, safe rendering, and cancellation-owned server lifecycle. Add store/API/frontend/lifecycle coverage, reproducible asset checks in CI and release validation, and workspace documentation. Validated with make test, 19 frontend tests, production asset parity, product builds, race checks, and end-to-end desktop/mobile browser flows.
mtroym
force-pushed
the
feat/mnemon-web-workspace
branch
from
October 18, 2026 09:39
c16aa22 to
de82203
Compare
Use the official Mnemon logo and graphite/silver palette throughout the memory workspace, with locally bundled Space Grotesk typography. Align library filters and adapt shared reading, graph, and navigation surfaces for light and dark modes. Add system-aware appearance selection, first-paint initialization, persistence, and cross-tab synchronization. Preserve graph layout and correction semantics while replacing theme styles. Validated with 49 frontend tests, make test, embedded-asset checks, reproducible builds, and desktop/mobile browser flows.
Keep Windows drive letters in the SQLite file URI path, matching the existing immutable reader. Use a portable path-escaping fixture while retaining question-mark coverage on platforms that allow it. Validated with focused live-reader tests, the product build, make test, and the Web server lifecycle integration test.
Grivn
approved these changes
Oct 18, 2026
Grivn
left a comment
Member
There was a problem hiding this comment.
LGTM! Thanks @mtroym for building this and for the branding and theme refinements. The latest version looks great after trying it locally, and I appreciate the read-only design within the existing Mnemon executable.
Validated frontend typechecking, all 49 frontend tests, production asset parity, the product build, make test, and the Web server lifecycle integration test. I added a small Windows path compatibility fix before merging; Linux and Windows CI now both pass. Thanks for the contribution!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add
mnemon web, a standalone local knowledge workspace for the memories accumulated by agents. The command serves an embedded React application athttp://127.0.0.1:8484with store selection, overview, searchable/filterable memory library, Markdown reader, interactive relationship graph, entity explorer, and activity history. The official logo, locally bundled Space Grotesk typography, and graphite/silver light and dark themes provide a consistent workspace; appearance can follow the system or persist an explicit choice across tabs. Store-scoped URLs preserve filters, graph selection, and browser navigation. Views support manual refresh and visible-tab polling.A dedicated SQLite live read-only connection observes committed WAL writes without changing memory content, access counters, retention scores, operation logs, or the CLI's active store. Request-owned read transactions provide consistent results within each response. APIs enforce loopback hosts, same-origin access, read-only methods, query deadlines, path confinement, and bounded pages/graphs; deleted memories remain hidden. Markdown disables raw HTML and remote image loading.
Frontend dependencies and generated production assets live under
web/; assets are embedded in the existing executable, so ordinarygo build -o mnemon .requires only Go. CI and release validation rebuild the frontend and verify generated asset parity. README and the workspace guide document launch, live-read behavior, development, and query limits.Why
Mnemon's existing
vizcommand produces a graph snapshot. Humans also need a persistent place to search, read, and understand the knowledge their agents accumulate. This adds that workspace using existing stores and relationship semantics, with library and graph interactions inspired by dsh-mnemon.The initial release supports local read-only browsing. Human editing, document storage, remote/team hosting, and automatic model-based topic classification remain separate increments.
Validation
make test(includinggo vet ./...).go test ./test/memory/web -count=1: real server startup/shutdown and visibility of external writes.go build -o mnemon .; Windows amd64 product cross-build.npm ci, frontend typecheck, and 49 frontend tests.Release-note impact
New command:
mnemon web [--port 8484] [--store <name>]. It serves a local read-only memory website from the single Mnemon executable with all runtime assets bundled locally.Checklist
make test)go test ./test/memory/web -count=1; full Agency/Docker integration suite not run)