Repository navigation
fix(memory): clarify default agent scope in command help - #133560
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 30, 2026, 5:33 PM ET / 21:33 UTC. ClawSweeper reviewWhat this changesThe PR changes the memory status and index Merge readinessKeep this PR open: the two help descriptions contradict the documented and implemented all-agent behavior, and the patch corrects only those literals. It is a member-authored, maintainer-labeled PR, so it remains for normal maintainer handling. Priority: P3 Review scores
Verification
How this fits togetherMemory CLI commands register operator-facing help and then delegate work to per-agent memory owners. Status and index fan out across configured agents unless flowchart LR
Operator[Operator] --> Help[Memory CLI help]
Help --> AgentOption[Agent option]
AgentOption --> Selection[Agent selection]
Selection --> Commands[Status and index commands]
Commands --> Output[Per-agent CLI output]
Before merge
Agent review detailsSecurityNone. PR surfaceSource 0. Total 0 across 1 file. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Retain the two command-specific descriptions so CLI help, documented scope, and the existing selection owner describe the same behavior. Do we have a high-confidence way to reproduce the issue? Yes—source reproducibly identifies the mismatch: current main registers the old text while both runtime owners select all agents, and the PR body provides a parser-level before/after trace. Is this the best way to solve the issue? Yes. Updating the two registration descriptions is the narrowest maintainable fix because selection, validation, and fan-out already implement and test the documented behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 596df18a50f5. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
* origin/main: (55 commits) test: include v2026.8.1 release navigation (#133581) fix: stop cloud work before unrelated provider inspection finishes (#133476) fix(e2e): keep delete fixture target-compatible (#133526) fix(release): detect optional target E2E capability (#133525) fix(package): publish readable dist inventory (#133549) docs: add complete v2026.8.1 maintainer change index (#133585) fix(browser): preserve contextless worker and iframe sessions (#133571) fix(voice): discover configured provider candidates (#133507) refactor(ui): simplify chat rendering and lifecycle state (#133567) test: reduce maturity fixture cleanup time (#133566) improve: speed up legacy imports and transcript replacement (#133546) docs: add draft v2026.8.1 release notes (#133557) test: guard multi-project Vitest cache ownership (#133554) fix(memory): clarify default agent scope in command help (#133560) fix(clawdock): keep credentials out of diagnostic output (#133547) refactor(ui): avoid redundant presence work in avatar lists (#133548) fix(agents): recognize internal requester completion replies (#133543) fix: prevent duplicate queued user messages in chat clients (#133542) chore(ui): refresh control ui locales (#133544) fix(beam): restart delivery when the receiver changes (#133533) ...
…cked-delivery * origin/main: test: include v2026.8.1 release navigation (openclaw#133581) fix: stop cloud work before unrelated provider inspection finishes (openclaw#133476) fix(e2e): keep delete fixture target-compatible (openclaw#133526) fix(release): detect optional target E2E capability (openclaw#133525) fix(package): publish readable dist inventory (openclaw#133549) docs: add complete v2026.8.1 maintainer change index (openclaw#133585) fix(browser): preserve contextless worker and iframe sessions (openclaw#133571) fix(voice): discover configured provider candidates (openclaw#133507) refactor(ui): simplify chat rendering and lifecycle state (openclaw#133567) test: reduce maturity fixture cleanup time (openclaw#133566) improve: speed up legacy imports and transcript replacement (openclaw#133546) docs: add draft v2026.8.1 release notes (openclaw#133557) test: guard multi-project Vitest cache ownership (openclaw#133554) fix(memory): clarify default agent scope in command help (openclaw#133560)
Closes #133559
What Problem This Solves
Fixes an issue where users reading
openclaw memory status --helporopenclaw memory index --helpwere told that omitting--agentselects only the default agent, even though both commands operate on all configured agents.Why This Change Was Made
The shared Memory CLI registrar used the single-agent description for two commands whose existing runtime owners explicitly select all agents. Correct those two descriptions at registration; preserve command selection, option parsing, storage behavior and the seven single-agent sibling descriptions. Production change: +2/−2 lines, net zero.
User Impact
Status and index help now say
Agent id (default: all configured agents). Operators can use--agent <id>to narrow those commands without being misled about their default scope.Evidence
0ec1da56, candidate based on08349113, with affected-owner parity verified): before, status/index had two contradictory descriptions; after, all nine help commands returned helpDisplayed/exit 0 with the intended description. The seven default-agent controls remained unchanged.077909b4f62dfa754f431f8878d02b395e66d3e4. Canonicalnode scripts/check-changed.mjs --base 083491132ae7aa7949cf6d7e396d096a6aff9afa --head HEAD --timed -- extensions/memory-core/src/cli.ts: all 24 required checks passed, including the selected 2 test files/5 tests, in 359.990s; no skip flags or separate suite/build. Exact-head CI passed on the first attempt for077909b4f62dfa754f431f8878d02b395e66d3e4. Native prepare/merge verification remains in progress.This proof exercises the actual help parser, not full CLI/plugin startup or memory provider/storage operations. The production change does not alter those operations.
Named follow-up:
memory session-backfill --helprepeats the(default: 92)annotation for--limit-days. That independent wording defect is recorded but intentionally outside this two-description repair.Final ClawSweeper disposition: the completed review found no actionable code or security issue and confirmed the two-description fix. Its ordinary maintainer-handling item is satisfied by the source review, before/after proof, independent reviews and native landing flow; no Rank-up moves were listed.