You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8dca7d1
Browse filesBrowse the repository at this point in the historyBrowse files
Merge upstream DeusData/codebase-memory-mcp through 96c3f41 (step 4)
Finish the true upstream merge begun from sync/upstream-step3 at 3eff09c.
Resolve all 39 remaining unmerged paths without aborting or flattening history.
Ported upstream behavior from the deleted MCP surface into CLI operations:
- index --async starts/joins a daemon-owned job which outlives the request;
index --status reports queued/running/succeeded/failed/cancelled state.
Strict booleans, exclusive modes, and cross-repo refusal remain enforced.
- Daemon admission refuses lone one-shot async callers of temporary daemons;
a permanent daemon or another live session supplies a durable host.
Cut-short synchronous calls carry --async advice into later replies.
- Unnamed re-index and status polls reuse the existing project owning a root;
the path-derived owner wins, one custom owner is reused, and ambiguous
ownership requires --name. Worker arguments carry the resolved owner and
omit async/status wait-mode flags.
- Bare non-ASCII project selectors use the same encoding as project names.
- Status reports failed node/edge reads as error, clamps displayed counts,
and names the unreadable tables instead of claiming an empty graph.
- detect_changes uses project-relative diff/hunk paths and translates Git-root
porcelain paths for subdirectory projects, excluding unrelated siblings.
- Git command children clear repository-local environment variables.
- Cross-repo mode reports zero resolved targets explicitly, preserving edges.
- Artifact-export failures name the post-publication export phase.
- Trace qualified-name fallback releases the empty name-lookup allocation.
- Supervisor artifact creation and daemon recovery retain failure diagnostics.
MCP-only drops: JSON-RPC/stdio transport, tool annotations, client MCP plugin
registration/generation (including the OpenCode V2 adapter), and bundle seams.
Deleted src/mcp, client_adapter and MCP tests remain deleted. Native-operation
async tests replace MCP packets and test the equivalent live-session host.
No newly deferred upstream operation behavior. Earlier output-budget/compact
encoding and graph-UI /rpc follow-ups remain outside this merge's new delta.
Preserve fork CLI naming, README, Codex managed instruction markers, release
and installer flow, and LLVM 21 sanitizer image. Adopt upstream wording where
both sides implement the same fix. Retain fork regression cases through their
upstream equivalents, including the fork grammar's coalesced macro-error
regions. Remove the duplicated definitions-walk failure block; inspect shared
paths for duplicate declarations, functions, tests and platform branches.
Vendored content was not edited; the incoming upstream grammar files and
checksums verify. Regenerate graph-ui lock with npm install --package-lock-only
--ignore-scripts; fflate 0.8.3, browserslist 4.29.3 and baseline-browser-mapping
2.11.27 are unchanged. npm audit: zero vulnerabilities.
Validation: scripts/build-dev.sh and make -f Makefile.cbm -j32
build/c/test-runner compile with -Werror. clang-format-20 and cppcheck pass.
The full lint entry still requires the requested follow-up memory-core
baseline integration/refresh for fork files predating the gate. No full test
suite was run; Linux compile evidence does not establish Windows/macOS runtime
behavior. Graph probe used the exact worktree with persistence=false and left
Git porcelain unchanged; 107 parse-partial files were checked via direct source
where relevant. The graph became stale after source edits and is discovery only.
Copy file name to clipboardExpand all lines: docs/CONFIGURATION.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -182,6 +182,20 @@ same validation as the default, and a value that fails it is refused rather than
182
182
silently ignored. Because the rendezvous is how sessions find each other, every
183
183
process that should share one daemon must see the same value — set it consistently for any shells or agent processes that should share the same retained runtime coordination.
184
184
185
+
**WSL2 and Windows drives (`/mnt/c`, `/mnt/e`, ...).**`CBM_CACHE_DIR` goes through
186
+
the same private-directory check. With WSL's default automount options, DrvFs
187
+
reports every directory as `0777` and ignores `chmod`, so a cache under
188
+
`/mnt/<drive>` is refused, and the refusal names this remedy. Either turn on
189
+
permission metadata in `/etc/wsl.conf`, then run `wsl --shutdown` and reopen WSL:
190
+
191
+
```ini
192
+
[automount]
193
+
options = "metadata,umask=22,fmask=11"
194
+
```
195
+
196
+
or keep the cache on the Linux filesystem (the default `~/.cache/codebase-memory-mcp`),
197
+
which is also much faster than a 9p-mounted Windows drive.
198
+
185
199
Environment used by retained runtime-owned components—such as diagnostics, logging, and process-wide indexing resource limits—is captured when that runtime starts. Later participants cannot replace those values. `CBM_ALLOWED_ROOT` remains caller-specific, a conflicting `CBM_CACHE_DIR` is rejected, and one-shot CLI commands use their own current environment.
0 commit comments