Repository navigation
test(qa): cover memory promotion safety - #119093
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 4, 2026, 12:08 AM ET / 04:08 UTC. ClawSweeper reviewWhat this changesThe PR assigns two existing memory-safety coverage IDs to their real QA scenarios and requires the promoted memory file to contain the exact canonical marker for the promoted canary. Merge readiness✅ Ready for maintainer review Keep open for normal maintainer handling: this is a focused, correct QA coverage improvement with no actionable review findings. Priority: P3 Review scores
Verification
How this fits togetherQA Lab runs scenario files against OpenClaw and publishes coverage evidence. This change connects durable-memory promotion and redaction checks to the taxonomy entries that select them for safety reporting. flowchart LR
A[QA scenario] --> B[Dreaming cron run]
B --> C[Memory promotion]
C --> D[Memory file marker]
C --> E[Doctor memory status]
D --> F[QA assertion]
E --> F
F --> G[Coverage report]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceOther +2. Total +2 across 2 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Land the focused coverage update after the normal exact-head maintainer and CI gates, retaining the existing canonical promotion-marker contract. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds coverage ownership rather than repairing a reported user failure; the source contract and supplied QA-suite result directly support the scenarios. Is this the best way to solve the issue? Yes. Reusing the existing real promotion flow and redaction-boundary test avoids duplicate coverage while assigning the missing primary taxonomy owners. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 12beeb7b2947. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
* origin/main: 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)
* '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
* origin/main: 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)
* '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
What Problem This Solves
The B3 QA portfolio had no primary product-boundary proof for durable memory-file promotion or memory-file artifact safety.
Why This Change Was Made
This promotes two existing scenarios instead of adding duplicate coverage. The dreaming sweep now derives the complete keyed HTML promotion marker from the actual promoted entry, requires that exact marker in
promotedMemory, and exposes marker presence in evidence details. The redaction-boundary scenario becomes the primary artifact-safety owner.User Impact
No runtime behavior changes. Maintainers gain deterministic primary coverage for:
session-memory.memory-files-promotionsession-memory.memory-files-artifact-safetyEvidence
861dfc21f321aa8707a5de28778544f8723854e9origin/main:12beeb7b29476d0ac96590e51bbc14fff63fbe60+4/-2; production LOC:03files,143/143tests passed2files,68/68tests passed; both IDs have one unique primary ownernode scripts/run-node.mjs qa suite --provider-mode mock-openai --scenario memory-dreaming-sweep --scenario memory-core-redaction-boundaries --output-dir .artifacts/qa-e2e/b3-memory-filespassed
2/2; both evidence entries record the exact head, the promotion marker istrue, and both native redaction assertions passednode scripts/check-changed.mjs -- qa/scenarios/memory/memory-dreaming-sweep.yaml qa/scenarios/security/memory-core-redaction-boundaries.yamlpassed all guards, full tsgo, lint, and cycle checks in direct AWS run
run_2f055c33b0f80.99confidence; TruffleHog: clean.artifacts/qa-e2e/b3-memory-files/qa-suite-report.md,.artifacts/qa-e2e/b3-memory-files/qa-suite-summary.json,.artifacts/qa-e2e/b3-memory-files/qa-evidence.json, and.artifacts/qa-e2e/b3-memory-files/vitest/memory-core-redaction-boundaries.logLive collision searches on August 4, 2026 found no open PR matching either primary ID or either changed path.