Repository navigation
test(qa): prove shared-channel memory recall - #119111
Conversation
054b7fb to
f8f094b
Compare
|
Codex review: needs maintainer review before merge. Reviewed August 4, 2026, 2:17 AM ET / 06:17 UTC. ClawSweeper reviewWhat this changesThe PR strengthens the QA Lab shared-channel memory scenario to correlate memory search and retrieval with exactly one settled in-room reply. Merge readinessKeep open for maintainer review. Current main still has the weaker scenario, while this protected maintainer PR adds source-consistent causal and duplicate-delivery coverage with no actionable patch finding. Priority: P3 Review scores
Verification
How this fits togetherQA Lab sends a message through the internal QA channel and a mock OpenAI provider, then records provider tool requests and room outbounds. The scenario verifies that a nested-memory result is consumed before the agent sends its visible channel reply. flowchart LR
A[QA channel message] --> B[Mock provider request log]
B --> C[Memory search]
C --> D[Memory retrieval]
D --> E[Final room reply]
E --> F[Quiet-window assertion]
Before merge
Agent review detailsSecurityNone. PR surfaceOther +62. Total +62 across 1 file. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain this focused scenario hardening and land it once the exact head has completed required checks and maintainer review. Do we have a high-confidence way to reproduce the issue? Not applicable; this PR adds regression coverage rather than reporting a standalone user-facing failure. The changed scenario is source-traceable through the mock provider, QA channel, and outbound transport contracts. Is this the best way to solve the issue? Yes. Extending the existing shared-channel scenario is the narrowest maintainable solution; it follows the sibling tool-consumption correlation pattern without changing production or harness behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 84cfc436841d. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles)
|
f8f094b to
571a990
Compare
571a990 to
54eab19
Compare
|
Merged via squash.
|
|
Maintainer landing acceptance recorded. The explicit maintainer landing mandate accepted this protected maintainer PR at exact signed head
|
* origin/main: test(qa): prove shared-channel memory recall (#119111)
* 'main' of https://github.com/openclaw/openclaw: test(qa): cover sandboxed exec behavior (#119053) test(qa): prove shared-channel memory recall (#119111) fix(telegram): keep request deadlines through response bodies test(qa): cover gateway plugin approvals (#119128) fix(ai): keep OpenAI tool call id truncation UTF-16 safe (#110471) fix: preserve live updater failure diagnostics (#119096) fix: recover new-session models through Gateway startup (#119120) test(qa): cover instruction profile artifacts (#119078) fix(telegram): record automatic delivery message ids test(qa): cover memory promotion safety (#119093) test(qa): prove overflow compaction pruning (#119033) fix(tool-search): preserve deferred MCP failures (#118363) fix(macos): keep setup activation within app checks test(setup): type provider kind fixture fix(setup): complete prepared model activation fix(protocol): regenerate Swift wizard models fix(ollama): activate the model selected during setup fix(setup): preserve the prepared model handoff
* 'main' of https://github.com/openclaw/openclaw: test(qa): cover sandboxed exec behavior (openclaw#119053) test(qa): prove shared-channel memory recall (openclaw#119111) fix(telegram): keep request deadlines through response bodies test(qa): cover gateway plugin approvals (openclaw#119128) fix(ai): keep OpenAI tool call id truncation UTF-16 safe (openclaw#110471) fix: preserve live updater failure diagnostics (openclaw#119096) fix: recover new-session models through Gateway startup (openclaw#119120) test(qa): cover instruction profile artifacts (openclaw#119078) fix(telegram): record automatic delivery message ids test(qa): cover memory promotion safety (openclaw#119093) test(qa): prove overflow compaction pruning (openclaw#119033) fix(tool-search): preserve deferred MCP failures (openclaw#118363) fix(macos): keep setup activation within app checks test(setup): type provider kind fixture fix(setup): complete prepared model activation fix(protocol): regenerate Swift wizard models fix(ollama): activate the model selected during setup fix(setup): preserve the prepared model handoff
* origin/main: test(qa): prove shared-channel memory recall (openclaw#119111)
What Problem This Solves
The existing shared-channel memory scenario only checked that some mock request planned
memory_search, seeded rootMEMORY.md, and accepted any matching outbound. It did not prove that a QA-channel group turn consumed the matched nested-memory result before one visible in-room reply.Why This Change Was Made
This strengthens the existing
memory-tools-channel-contextscenario without changing production or QA Lab runtime code. It seedsmemory/qa-shared-channel.md, captures the mock request cursor before inbound delivery, verifies that the matchedmemory_searchresult plansmemory_getwith a distinct call ID for the seeded path, binds the final request to that exact call ID and current successful output, waits through the established four-second post-final duplicate window, and then requires the complete visibleqa-memory-roomoutbound list to contain only the final reply.The scenario is the sole primary owner for:
session-memory.group-memorysession-memory.qa-channel-memoryThe previous generic memory-tools and room-session claims remain secondary.
User Impact
No production behavior changes. QA now catches regressions where shared-channel memory lookup leaks the answer into initial context, reuses a tool-call ID, loses either tool-call correlation, returns the wrong memory path, finalizes from aggregate transcript text instead of the current
memory_getresult, or emits any early/late extra visible room reply during the bounded observation window regardless of its text.AI-assisted: yes.
Evidence
54eab19cea268c26f0770e515d2aaa9307e79ef20+72/-1081/81passed.memory-tools-channel-contextpassed1/1..artifacts/qa-e2e/b3-shared-channel-memory/54eab19cea26-quiet-window-exact/qa-suite-report.md.artifacts/qa-e2e/b3-shared-channel-memory/54eab19cea26-quiet-window-exact/qa-suite-summary.json.artifacts/qa-e2e/b3-shared-channel-memory/54eab19cea26-quiet-window-exact/qa-evidence.json.artifacts/qa-e2e/b3-shared-channel-memory/54eab19cea26-quiet-window-exact/quiet-window-mutations.jsonqa-evidence.jsonrecords the exact head and exactly the two primary IDs above.255. The permitted trusted-source local fallback passed all guards, full tsgo, lint, and zero runtime import cycles.git diff --check, privacy scan, and role-aware sole-primary checks passed.0.99.