Skip to content

test(qa): restore memory tools primary ownership - #119142

Merged
vincentkoc merged 1 commit into
mainfrom
qa-b3-restore-memory-tools-primary
Aug 4, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
qa-b3-restore-memory-tools-primary

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 4, 2026 •

Copy link
Copy Markdown
Member

Related: #119111

What Problem This Solves

Fixes an issue where QA maturity profiles selecting session-memory.memory-tools had no primary scenario owner after #119111 moved that coverage ID to secondary evidence.

Why This Change Was Made

Restores session-memory.memory-tools as primary coverage in the existing memory-tools-channel-context scenario while preserving the new shared-channel primary claims. This is an ownership-only metadata correction with no scenario behavior or production-code change.

User Impact

QA profile selection and scorecard validation can again treat the existing memory search/get flow as executable primary proof for the generic memory-tools boundary. Runtime behavior is unchanged.

Evidence

  • Structured inventory scan: exactly one primary owner and zero secondary owners for session-memory.memory-tools.
  • Focused QA tests: 42/42 passed across coverage-report.test.ts, ci-smoke-plan.test.ts, and scenario-catalog-channels.test.ts.
  • Exact current-base mock QA: memory-tools-channel-context passed 1/1 on AWS Crabbox run run_743e1de8e436.
  • Full changed gate: AWS Crabbox run run_e5a3da87ff77 passed full tsgo, lint, and zero runtime import cycles on the patch-equivalent pre-rebase tree. The later rebase had zero upstream drift in the touched scenario.
  • Fresh Sol/high autoreview: clean, confidence 0.99; TruffleHog clean.
  • oxfmt --check, git diff --check, and added-line privacy scan passed.
  • Scope: one YAML file, +1/-1; production LOC delta 0.

@vincentkoc vincentkoc self-assigned this Aug 4, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Aug 4, 2026
@clawsweeper

clawsweeper Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 4, 2026, 3:29 AM ET / 07:29 UTC.

ClawSweeper review

What this changes

This PR promotes session-memory.memory-tools from secondary to primary coverage in the existing QA-channel memory-search scenario.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 1 item remains

Keep open: current main still leaves the exact taxonomy coverage ID secondary-only, while this draft correctly restores its sole primary owner. No blocking patch finding; the protected maintainer label and draft state require normal maintainer handling.

Priority: P3
Reviewed head: 5ea6323a86673ead39080b24a2c23c9f39f42509

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-supported QA ownership repair with no correctness finding.
Proof confidence 🌊 off-meta tidepool Not applicable: This MEMBER-authored internal QA metadata correction is outside the external-contributor real-behavior-proof gate; its body reports mock-QA evidence, but artifact retrieval was not independently repeated.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This MEMBER-authored internal QA metadata correction is outside the external-contributor real-behavior-proof gate; its body reports mock-QA evidence, but artifact retrieval was not independently repeated.
Evidence reviewed 6 items Current ownership gap: Current main lists session-memory.memory-tools only under secondary coverage, so it has no primary scenario owner.
Primary-owner contract: Profile selection searches only primary claims and throws when a selected coverage ID has no primary owner.
Scenario proves the boundary: The existing flow requires memory search, a correlated memory get, and exactly one visible QA-room reply, matching the generic memory-tools taxonomy boundary.
Findings None None.
Security None None.

How this fits together

QA Lab scenarios map executable checks to maturity coverage IDs. Profile selection and scorecard evidence use primary claims to select authoritative scenario proof and calculate fulfilled coverage.

flowchart LR
A[Memory QA scenario] --> B[Primary and secondary coverage claims]
B --> C[Profile selection]
C --> D[Scenario execution]
D --> E[Scorecard evidence]
Loading

Before merge

  • Resolve merge risk (P1) - GitHub reports the draft branch is behind current main; refresh it against the current base before merge and request exact-head review if that changes the head.
Agent review details

Security

None.

PR surface

Other 0. Total 0 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 1 1 0
Total 1 1 1 0

Review metrics

Metric Value Why it matters
Production versus QA metadata delta production +0/-0; QA metadata +1/-1 The patch changes only evidence ownership and cannot alter runtime behavior.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep the existing scenario as the single primary proof for this generic memory-tools boundary, then merge the refreshed metadata correction when it is ready for review.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep the existing scenario as the single primary proof for this generic memory-tools boundary, then merge the refreshed metadata correction when it is ready for review.

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

Yes, from source: current main has the ID only in secondary coverage, while profile selection accepts only primary owners for the selected taxonomy boundary.

Is this the best way to solve the issue?

Yes. The existing scenario already executes the required memory-tool chain, so promoting its existing exact coverage ID is narrower and more maintainable than adding another scenario.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 32c5f0205075.

Labels

Label changes:

  • add P3: This is a narrow QA evidence-ownership correction with no production behavior change.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This MEMBER-authored internal QA metadata correction is outside the external-contributor real-behavior-proof gate; its body reports mock-QA evidence, but artifact retrieval was not independently repeated.

Label justifications:

  • P3: This is a narrow QA evidence-ownership correction with no production behavior change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This MEMBER-authored internal QA metadata correction is outside the external-contributor real-behavior-proof gate; its body reports mock-QA evidence, but artifact retrieval was not independently repeated.

Evidence

What I checked:

Likely related people:

  • vincentkoc: Authored the related merged QA scenario change and this focused ownership correction. (role: recent feature owner; confidence: high; commits: 52c9448cb505, 5ea6323a8667; files: qa/scenarios/memory/memory-tools-channel-context.yaml)
  • Dallin Romney: Path history credits five commits in this QA scenario area, including prior coverage-ownership work. (role: historical area contributor; confidence: medium; files: qa/scenarios/memory/memory-tools-channel-context.yaml)

Rank-up moves

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

  • Refresh the draft against current main and obtain an exact-head review if the rebase changes the commit.

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.

@vincentkoc

Copy link
Copy Markdown
Member Author

Maintainer disposition: accepted the behind-main state without rebasing.

The reviewed signed head remains 5ea6323a86673ead39080b24a2c23c9f39f42509. Current main is 11 commits ahead, but the touched scenario blob is byte-identical between the PR base and current main; no relevant path or semantic coverage-owner drift was found, and the synthetic merge is conflict-free. Rebasing would only rewrite the already-reviewed signed commit.

Proceeding with non-draft exact-head CI and a fresh exact-head ClawSweeper review. No code or scope change is accepted.

@clawsweeper re-review

@vincentkoc
vincentkoc marked this pull request as ready for review August 4, 2026 07:38
@clawsweeper

clawsweeper Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@vincentkoc
vincentkoc merged commit fd1cce2 into main Aug 4, 2026
150 of 155 checks passed
@vincentkoc
vincentkoc deleted the qa-b3-restore-memory-tools-primary branch August 4, 2026 07:57
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Aug 4, 2026
…checkpoint

* origin/main: (46 commits)
  fix(agents): recover from invalid compaction summaries (#119137)
  fix(gateway): expose OAuth-backed tools to CLI agents (#119166)
  fix(plugins): preserve metadata reloads during models status (#119183)
  fix(test): bound direct gateway server runs (#119184)
  test(tui): prove command surfaces through PTY (#119165)
  fix(testbox): restore claims across path aliases (#119170)
  fix(message): preserve sends with incidental Telegram locations
  fix(perf): give each concurrency sample a full deadline (#119164)
  fix(testbox): remove changed-gate sync residue (#119163)
  fix(telegram): preserve later chunks after rejected sends
  fix(tui): block terminal controls in system messages (#118998)
  fix(auto-reply): suppress false no-reply fallback during continuations (#119154)
  fix(scripts): prevent gateway benchmarks from stalling on probes (#119063)
  test(channels): verify built sanitizer semantics (#119151)
  fix: prevent live updater from leaving Gateway offline indefinitely (#119116)
  test(qa): restore memory tools primary ownership (#119142)
  fix(agents): settle yielded fanout at harness boundary (#118703)
  fix(codex): cap compaction override warning cache via createDedupeCache (#101745)
  fix(daemon): skip unlabeled launchd plists (#119091)
  test(qa): repair QA catalog integrity (#119140)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 5, 2026
zyw02 pushed a commit to zyw02/openclaw that referenced this pull request Aug 5, 2026
* origin/main:
  fix: prevent live updater from leaving Gateway offline indefinitely (openclaw#119116)
  test(qa): restore memory tools primary ownership (openclaw#119142)
  fix(agents): settle yielded fanout at harness boundary (openclaw#118703)
  fix(codex): cap compaction override warning cache via createDedupeCache (openclaw#101745)
  fix(daemon): skip unlabeled launchd plists (openclaw#119091)
  test(qa): repair QA catalog integrity (openclaw#119140)
  fix(test): isolate shared state between test files (openclaw#118781)
  test(xai): cover delayed OAuth connection setup
  fix(voice): start socket timeout after auth preparation
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 6, 2026
* origin/main:
  fix: prevent live updater from leaving Gateway offline indefinitely (openclaw#119116)
  test(qa): restore memory tools primary ownership (openclaw#119142)
  fix(agents): settle yielded fanout at harness boundary (openclaw#118703)
  fix(codex): cap compaction override warning cache via createDedupeCache (openclaw#101745)
  fix(daemon): skip unlabeled launchd plists (openclaw#119091)
  test(qa): repair QA catalog integrity (openclaw#119140)
  fix(test): isolate shared state between test files (openclaw#118781)
  test(xai): cover delayed OAuth connection setup
  fix(voice): start socket timeout after auth preparation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: qa-lab maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant