Skip to content

fix(release): repair .35 validation backports - #120982

Merged
RomneyDa merged 3 commits into
extended-stable/2026.6.33from
codex/extended-stable-2026.6.35-release-ci-repairs
Aug 10, 2026
Merged

RomneyDa merged 3 commits into
extended-stable/2026.6.33from
codex/extended-stable-2026.6.35-release-ci-repairs

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Aug 9, 2026

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes release validation blockers for the unpublished 2026.6.35 extended-stable candidate: a production NanoID advisory, a missing memory corpus=all wiki fallback, and QMD test mocks that no longer implement the real child-stream contract.

Why This Change Was Made

This ports the smallest verified upstream repairs onto the frozen extended-stable candidate. The memory fallback restores the production branch already covered by the candidate regression test; the QMD change updates only its test double; the lockfile update replaces the vulnerable resolved NanoID 3.x package and keeps the package-manager release-age exception explicit.

User Impact

The candidate avoids two high-severity NanoID infinite-loop advisories and correctly returns a wiki supplement when a non-throwing all-corpus memory read misses. It also lets the release plugin validation test the real QMD stream behavior.

Evidence

@RomneyDa
RomneyDa requested a review from a team as a code owner August 9, 2026 07:40
@clawsweeper

clawsweeper Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added extensions: memory-core Extension: memory-core size: XS maintainer Maintainer-authored PR labels Aug 9, 2026
@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Aug 9, 2026
@github-actions

github-actions Bot commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Dependency Guard

This PR changes dependency-related files. Maintainers should confirm these changes are intentional.

Changed files:

  • extensions/llama-cpp/npm-shrinkwrap.json
  • pnpm-lock.yaml
  • pnpm-workspace.yaml

Maintainer follow-up:

  • Review whether the dependency changes are intentional.
  • Inspect resolved package deltas when lockfile, shrinkwrap, or workspace dependency policy changes are present.
  • Treat package-lock.json and npm-shrinkwrap.json diffs as security-review surfaces.
  • Run pnpm deps:changes:report -- --base-ref origin/main --markdown /tmp/dependency-changes.md --json /tmp/dependency-changes.json locally for detailed release-style evidence.

@github-actions

github-actions Bot commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Dependency graph changes are blocked

OpenClaw does not accept dependency graph changes through PRs unless a repository admin or security explicitly authorizes the current head SHA. Dependency updates are generated internally by maintainers so external PRs cannot change the resolved graph.

Detected dependency graph changes:

  • extensions/llama-cpp/npm-shrinkwrap.json changed.
  • pnpm-lock.yaml changed.

Auto-scrub was not attempted because this PR also changes dependency-related files that are not package lockfiles:

  • pnpm-workspace.yaml

Please remove lockfile changes manually if they are not needed.

To remove lockfile changes, restore them from the target branch:

git fetch origin
git checkout 'origin/extended-stable/2026.6.33' -- 'extensions/llama-cpp/npm-shrinkwrap.json' 'pnpm-lock.yaml'
git commit -m 'chore: remove dependency lockfile change'
git push

If this PR intentionally needs a dependency graph change, ask a repository admin or member of @openclaw/openclaw-secops to comment:

/allow-dependencies-change

The action will approve the current head SHA (8fbf3a27ac8eb2a57baab48fb2e3a205e2bf35c1) when it reruns. A later push requires a fresh approval.

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. labels Aug 9, 2026
@clawsweeper

clawsweeper Bot commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 9, 2026, 6:43 AM ET / 10:43 UTC.

ClawSweeper review

What this changes

This PR backports the Memory Core all-corpus wiki fallback, aligns a QMD test double with its child-stream contract, and updates resolved NanoID versions for an extended-stable candidate.

Regression provenance

Possible regression — probable (reviewed change; known regression link). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

Keep open for release/security review: the backports match current-main upstream repairs, but the exact NanoID dependency graph and release-age exclusion require explicit authorized approval before merge.

Priority: P2
Reviewed head: 678b0dbab7c9c060791c539f3aaf1cd0618c7148
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The implementation is a focused upstream-aligned backport, but exact-head dependency authorization and release validation remain unresolved.
Proof confidence 🌊 off-meta tidepool Not applicable: This is a maintainer-authored release backport, so the external-contributor proof gate does not apply; after-fix release validation remains necessary before merge.
Patch quality 🐚 platinum hermit (4/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This is a maintainer-authored release backport, so the external-contributor proof gate does not apply; after-fix release validation remains necessary before merge.
Evidence reviewed 5 items Memory fallback matches upstream repair: Current main has the same exact missing-result sentinel and all-corpus wiki supplement behavior, with regression coverage for fallback and for preserving intentional empty ranges.
Upstream provenance: Commit 9042e80 is the upstream Memory Core repair, titled “fix(memory): fall back to wiki for missing all-corpus reads (#100904)”.
QMD test contract backport: The stream mock adds setEncoding to stdout and stderr, matching the child readable-stream contract; this matches upstream test repair 4a2c381.
Findings None None.
Security Needs attention Authorize the dependency graph on the current head: The lockfile, shrinkwrap, and workspace exclusion alter the shipped dependency graph and suppress the normal release-age warning, so the Dependency Guard authorization must cover this exact head.

How this fits together

Memory Core reads an agent’s memory and wiki corpora to return tool results, while the release branch’s lockfiles determine the dependency artifacts validated and shipped. This PR changes the missing-result fallback and the candidate’s resolved NanoID graph.

flowchart LR
  A[Memory read request] --> B[Memory Core tool]
  B --> C{All-corpus result missing?}
  C -->|Yes| D[Wiki supplement lookup]
  C -->|No| E[Memory result]
  D --> F[Tool response]
  E --> F
  G[Lockfiles and workspace policy] --> H[Release dependency validation]
Loading

Decision needed

Question Recommendation
Should an authorized security or release owner approve the NanoID lockfile, shrinkwrap, and release-age exclusion on head 678b0db? Authorize the exact graph: Approve this head after confirming the NanoID advisory remediation and resolved artifacts are appropriate for the frozen candidate.

Why: The repository deliberately reserves dependency-graph changes and cooling-window exceptions for an exact-head security or release authorization.

Before merge

  • Resolve security concern: Authorize the dependency graph on the current head - The lockfile, shrinkwrap, and workspace exclusion alter the shipped dependency graph and suppress the normal release-age warning, so the Dependency Guard authorization must cover this exact head.
  • Resolve merge risk (P1) - The NanoID release-age exclusion bypasses the normal 2,880-minute dependency cooling window; merge requires an authorized review of this exact head and its resolved artifacts.
  • Complete next step (P2) - A security/release owner must decide whether to authorize this exact dependency graph; no mechanical repair should bypass that gate.

Findings

  • [medium] Authorize the dependency graph on the current head — pnpm-workspace.yaml:24
Agent review details

Security

Needs attention: No supply-chain defect was found in the resolved NanoID versions, but the graph change and cooling-window exclusion require explicit authorized review before merge.

PR surface

Source +20, Tests +2, Config +1, Other 0. Total +23 across 5 files.

View PR surface stats
Area Files Added Removed Net
Source 2 27 7 +20
Tests 1 6 4 +2
Docs 0 0 0 0
Config 1 1 0 +1
Generated 0 0 0 0
Other 1 8 8 0
Total 5 42 19 +23

Review metrics

Metric Value Why it matters
Production versus test LOC production +36/-15 (net +21); tests +6/-4 (net +2) The production growth is limited to an upstream behavior backport and dependency-security resolution; the separate test delta aligns the QMD mock with its real stream contract.

Stored data model

Persistent data-model change detected: vector/embedding metadata: extensions/memory-core/src/memory/qmd-manager.slugified-paths.test.ts, vector/embedding metadata: extensions/memory-core/src/tools.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Authorize and validate the exact head (recommended)
    An authorized security or release owner should approve the current dependency graph, then require release validation and NPM-preflight evidence for that same head.
  2. Separate the dependency graph change
    Keep the source and test backports separate if the NanoID update should instead follow the internal dependency-update process.

Technical review

Best possible solution:

Approve the exact NanoID graph only after an authorized security/release review, then obtain after-fix extended-stable release validation and NPM-preflight evidence.

Do we have a high-confidence way to reproduce the issue?

Yes, at source level: current-main regression coverage exercises the non-throwing all-corpus miss and confirms that explicit empty ranges do not trigger wiki fallback; this read-only review did not execute the release branch.

Is this the best way to solve the issue?

Yes for the source and test backports: they match established upstream repairs at the owning Memory Core boundary. The dependency update remains subject to the separate authorized release-security decision.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 8b501c1c1343.

Labels

Label justifications:

  • P2: This is a bounded release-candidate validation repair with no demonstrated active user-facing outage.
  • merge-risk: 🚨 security-boundary: The PR changes resolved dependency artifacts and a release-age policy exception that require explicit exact-head authorization.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: This is a maintainer-authored release backport, so the external-contributor proof gate does not apply; after-fix release validation remains necessary before merge.

Evidence

Security concerns:

  • [medium] Authorize the dependency graph on the current head — pnpm-workspace.yaml:24
    The lockfile, shrinkwrap, and workspace exclusion alter the shipped dependency graph and suppress the normal release-age warning, so the Dependency Guard authorization must cover this exact head.
    Confidence: 0.99

What I checked:

Likely related people:

  • mushuiyu886: Authored the upstream all-corpus fallback repair now present on main. (role: introduced current Memory Core behavior; confidence: high; commits: 9042e8020f38; files: extensions/memory-core/src/tools.ts, extensions/memory-core/src/tools.citations.test.ts)
  • Peter Steinberger: Authored the upstream child-stream encoding test repair that this branch backports. (role: introduced QMD test-contract repair; confidence: high; commits: 4a2c381a3a6a; files: extensions/memory-core/src/memory/qmd-manager.slugified-paths.test.ts)
  • steipete: Listed by the Dependency Guard workflow as an authorized approver for graph changes. (role: configured dependency approver; confidence: high; files: .github/workflows/dependency-guard.yml)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Obtain authorized approval for the current NanoID dependency graph.
  • Attach redacted after-fix extended-stable validation and NPM-preflight output for the approved head.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-08-09T07:45:27.572Z sha 3a9dfb3 :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Aug 9, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@RomneyDa
RomneyDa merged commit b7a9941 into extended-stable/2026.6.33 Aug 10, 2026
89 of 90 checks passed
@RomneyDa
RomneyDa deleted the codex/extended-stable-2026.6.35-release-ci-repairs branch August 10, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies-changed PR changes dependency-related files extensions: llama-cpp extensions: memory-core Extension: memory-core maintainer Maintainer-authored PR merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: S status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant