repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources15d ago| #1 | # Clawd Memory Documentation Audit - Historical Report |
| #2 | |
| #3 | This is a historical audit from before the Clawd Memory rebrand. Mentions of Mnemosyne below refer to the underlying engine and prior docs site. |
| #4 | |
| #5 | **Date:** May 11, 2026 |
| #6 | **Auditor:** Hermes Agent |
| #7 | **Scope:** Cross-reference of 67 docs-site pages against mnemosyne v2.5.0 codebase |
| #8 | **Repos audited:** mnemosyne (source of truth), mnemosyne-docs, mnemosyne-website |
| #9 | |
| #10 | --- |
| #11 | |
| #12 | ## Executive Summary |
| #13 | |
| #14 | A full audit was performed comparing every claim in the Mnemosyne documentation site against the actual codebase. **10 of 67 pages contained significant discrepancies** — including one page (configuration) that was almost entirely fabricated. All issues have been fixed and pushed. |
| #15 | |
| #16 | **Bottom line:** The docs were lagging ~2 versions behind and contained fictional API signatures, config keys, and architecture components that never existed in the code. These are now corrected. |
| #17 | |
| #18 | --- |
| #19 | |
| #20 | ## Findings by Severity |
| #21 | |
| #22 | ### CRITICAL (4 issues) — Fixed |
| #23 | |
| #24 | | # | Page | Issue | Impact | |
| #25 | |---|------|-------|--------| |
| #26 | | 1 | **Configuration** | Entire page was fictional. Wrong env vars (`MNEMOSYNE_DB_PATH`, `MNEMOSYNE_API_KEY`), wrong class name (`Memory` instead of `Mnemosyne`), wrong config file (`mnemosyne.yaml` instead of `config.yaml`), wrong embedding model (`text-embedding-3-small` instead of `BAAI/bge-small-en-v1.5`). | Any user following this page would fail to configure Mnemosyne. | |
| #27 | | 2 | **Python SDK** | `recall()` default `top_k=5` should be `40`. Constructor used `data_dir` instead of `db_path`. Stream API used `subscribe()` instead of `on()`. Missing 10 methods. | Agent behavior changes dramatically with wrong defaults. | |
| #28 | | 3 | **Tool Schema** | `mnemosyne_remember` had fictional `tags` param. `mnemosyne_invalidate` required `id` instead of `memory_id`. Missing 6 tool definitions. | Agents calling these tools would get parameter errors. | |
| #29 | | 4 | **Hermes Plugin** | Hooks table listed completely wrong names: `pre_prompt`, `post_response`, `tool_call`, `shutdown` — actual hooks are `pre_llm_call`, `on_session_start`, `post_tool_call`, `on_session_end`. | Plugin integration documentation was useless. | |
| #30 | |
| #31 | ### HIGH (6 issues) — Fixed |
| #32 | |
| #33 | | # | Page | Issue | |
| #34 | |---|------|-------| |
| #35 | | 5 | **Beam Overview** | Claimed "four distinct tiers" including Semantic Memory. Actual architecture has 3 tiers + separate TripleStore. | |
| #36 | | 6 | **System Design** | Diagram showed non-existent REST API component. Core component names didn't match code. | |
| #37 | | 7 | **MCP Server** | Listed tool as `mnemosyne_get_stats` — actual name is `mnemosyne_stats`. | |
| #38 | | 8 | **Performance** | Fake "Semantic Memory" row in memory usage table. Working Memory sizing was 1000x too high (50KB vs 48 bytes). | |
| #39 | | 9 | **Streaming** | Used `stream.on_event()`, `compute_delta()` without peer_id, `sync_to(instance)` — none match actual API. | |
| #40 | | 10 | **Plugin System** | Used `register()`, `discover()`, `unregister()` — actual methods are `register_plugin()`, `discover_plugins()`, `unload_plugin()`. Plugin hook signatures were wrong. | |
| #41 | |
| #42 | ### MEDIUM (3 issues) — Fixed in previous pass |
| #43 | |
| #44 | | # | Issue | |
| #45 | |---|-------| |
| #46 | | 11 | All comparison pages referenced v2.3.0 — now v2.5.0 | |
| #47 | | 12 | Architecture pages used "v2.3 introduces" phrasing — now "(since v2.3) supports" | |
| #48 | | 13 | Website BEAM labels were "Single-Session/Multi-Session/Cross-Session" — corrected to context scale labels | |
| #49 | |
| #50 | --- |
| #51 | |
| #52 | ## Root Cause Analysis |
| #53 | |
| #54 | **Why did these discrepancies exist?** |
| #55 | |
| #56 | 1. **Docs rot from version lag.** The docs were written during v2.3 and never systematically updated to v2.5. API signatures changed, new tools were added, configuration system was refactored. The docs didn't follow. |
| #57 | |
| #58 | 2. **Fabricated pages.** Some pages (configuration, system design) appear to have been generated from assumptions rather than reading the actual code. The configuration page's env vars, YAML structure, and class names match no version of Mnemosyne that ever existed. |
| #59 | |
| #60 | 3. **No automated verification.** There is no CI check that validates docs against actual API signatures or tool definitions. Everything relies on manual review. |
| #61 | |
| #62 | 4. **Content/src-app duplication.** The docs site maintains two copies of every page (`content/` and `src/app/(docs)/`), doubling the surface area for inconsistencies. |
| #63 | |
| #64 | --- |
| #65 | |
| #66 | ## What Was Fixed |
| #67 | |
| #68 | - **20 files changed** across the docs site repository |
| #69 | - **1,030 lines added, 424 lines removed** |
| #70 | - **10 pages** with factual corrections |
| #71 | - **Commit:** `9590de6` pushed to `main` on `mnemosyne-docs` |
| #72 | |
| #73 | ### Pages Rewritten |
| #74 | - `getting-started/configuration.mdx` — complete rewrite from fictional to accurate |
| #75 | - `api/python-sdk.mdx` — corrected signatures, added 10 missing methods |
| #76 | - `api/tool-schema.mdx` — corrected parameters, added 6 missing tools |
| #77 | |
| #78 | ### Pages Patched |
| #79 | - `api/hermes-plugin.mdx` — fixed hooks, removed fictional config table |
| #80 | - `api/mcp-server.mdx` — fixed tool name |
| #81 | - `architecture/beam-overview.mdx` — fixed tier count, removed fictional tier |
| #82 | - `architecture/system-design.mdx` — removed fake REST API, fixed component names |
| #83 | - `architecture/streaming.mdx` — fixed API method names |
| #84 | - `architecture/plugin-system.mdx` — fixed API method names |
| #85 | - `operations/performance.mdx` — removed fake memory tier, fixed sizing |
| #86 | |
| #87 | --- |
| #88 | |
| #89 | ## State of the Docs (Post-Audit) |
| #90 | |
| #91 | **Now accurate:** The 10 corrected pages now reflect the actual v2.5.0 codebase. All API signatures, tool schemas, config options, and architecture descriptions have been verified against source code. |
| #92 | |
| #93 | **Remaining risk:** The docs-site maintains 67 pages. The audit focused on the 10 pages with known discrepancies + 6 comparison pages. The remaining ~51 pages (use-cases, deployment, security, retrieval, migration guides) were not audited in depth. They may contain additional discrepancies. |
| #94 | |
| #95 | **Known remaining issues (not fixed — intentional):** |
| #96 | - API docs retain `(v2.3)` feature-origin annotations on parameters — these are version markers showing when features were introduced, not current version claims. |
| #97 | - Architecture pages retain "since v2.3" phrasing — accurate historical context. |
| #98 | - `content/` and `src/app/(docs)/` pages remain as separate copies — this is a structural issue in the docs site build system, not a content error. |
| #99 | |
| #100 | --- |
| #101 | |
| #102 | ## Recommendations |
| #103 | |
| #104 | 1. **Schedule bi-weekly audits** as the user requested. This first audit found 13 issues after ~2 versions of drift. Regular checks will catch problems early. |
| #105 | |
| #106 | 2. **Consider automated verification.** A CI script could extract method signatures from the Python source and compare against documented signatures in the docs. This would catch parameter name changes and new/removed methods automatically. |
| #107 | |
| #108 | 3. **Eliminate the content/src-app duplication.** If possible, make the docs site build from a single source of truth (either `content/` or `src/app/(docs)/`), not both. |
| #109 | |
| #110 | 4. **Add a version bump checklist** to the release process. When bumping the version, systematically search the docs for old version numbers and stale claims. |
| #111 | |
| #112 | --- |
| #113 | |
| #114 | **Full audit methodology and reusable workflow: see `docs/audit-workflow.md`** |
| #115 | **Checkpoint system: `.audit-state.json` in mnemosyne-docs repo — tracks per-page audit hashes to skip unchanged pages on re-audit.** |
| #116 |