Align QMD memory reads with canonical memory paths#66026
Conversation
Greptile SummaryThis PR tightens Confidence Score: 5/5Safe to merge — the path guard logic is correct, fail-closed, and well tested. All three commits implement the guard correctly: canonical paths accepted by No files require special attention. Reviews (4): Last reviewed commit: "fix(memory): tighten qmd read-path guard..." | Re-trigger Greptile |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 61d60eff14
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
80ee12a to
bfa3ba5
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bfa3ba5206
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
Codex Review: Didn't find any major issues. Chef's kiss. ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
|
@greptile review |
679f2b7 to
9ceffc5
Compare
* fix(memory): align qmd read paths Co-authored-by: zsx <git@zsxsoft.com> * fix(memory): add qmd exact-path read fast path * fix(memory): tighten qmd read-path guards * changelog: note QMD memory_get canonical-path restriction (openclaw#66026) --------- Co-authored-by: zsx <git@zsxsoft.com> Co-authored-by: Devin Robison <drobison@nvidia.com>
* fix(memory): align qmd read paths Co-authored-by: zsx <git@zsxsoft.com> * fix(memory): add qmd exact-path read fast path * fix(memory): tighten qmd read-path guards * changelog: note QMD memory_get canonical-path restriction (openclaw#66026) --------- Co-authored-by: zsx <git@zsxsoft.com> Co-authored-by: Devin Robison <drobison@nvidia.com>
* fix(memory): align qmd read paths Co-authored-by: zsx <git@zsxsoft.com> * fix(memory): add qmd exact-path read fast path * fix(memory): tighten qmd read-path guards * changelog: note QMD memory_get canonical-path restriction (openclaw#66026) --------- Co-authored-by: zsx <git@zsxsoft.com> Co-authored-by: Devin Robison <drobison@nvidia.com>
* fix(memory): align qmd read paths Co-authored-by: zsx <git@zsxsoft.com> * fix(memory): add qmd exact-path read fast path * fix(memory): tighten qmd read-path guards * changelog: note QMD memory_get canonical-path restriction (openclaw#66026) --------- Co-authored-by: zsx <git@zsxsoft.com> Co-authored-by: Devin Robison <drobison@nvidia.com>
* fix(memory): align qmd read paths Co-authored-by: zsx <git@zsxsoft.com> * fix(memory): add qmd exact-path read fast path * fix(memory): tighten qmd read-path guards * changelog: note QMD memory_get canonical-path restriction (openclaw#66026) --------- Co-authored-by: zsx <git@zsxsoft.com> Co-authored-by: Devin Robison <drobison@nvidia.com>
* fix(memory): align qmd read paths Co-authored-by: zsx <git@zsxsoft.com> * fix(memory): add qmd exact-path read fast path * fix(memory): tighten qmd read-path guards * changelog: note QMD memory_get canonical-path restriction (openclaw#66026) --------- Co-authored-by: zsx <git@zsxsoft.com> Co-authored-by: Devin Robison <drobison@nvidia.com>
* fix(memory): align qmd read paths Co-authored-by: zsx <git@zsxsoft.com> * fix(memory): add qmd exact-path read fast path * fix(memory): tighten qmd read-path guards * changelog: note QMD memory_get canonical-path restriction (openclaw#66026) --------- Co-authored-by: zsx <git@zsxsoft.com> Co-authored-by: Devin Robison <drobison@nvidia.com>
Summary
memory_getreads with the canonical memory-file contractqmd/<collection>/...reads unchanged while rejecting plain workspace markdown paths outside the default memory set unless they are exact active indexed QMD workspace docsChanges
extensions/memory-core/src/memory/qmd-manager.tsfor non-qmd/readsdreams.mdparity to the canonical memory allowlistextensions/memory-core/src/memory/qmd-manager.test.tsto reject non-memory workspace markdown reads and to keep canonical memory-file line-range reads coveredValidation
corepack pnpm test extensions/memory-core/src/memory/qmd-manager.test.ts extensions/memory-core/src/memory/qmd-manager.slugified-paths.test.ts extensions/memory-core/src/memory/manager.read-file.test.tstimeout 20s claude -p "/review", but it produced no output and exited with code124in this environmentNotes
pnpm tsgofailures outside this change set, so the final commit used the repo's fast-commit path after the targeted validation above