Skip to content

improve(memory-wiki): batch automation operations - #113746

Closed
GSUCAS wants to merge 1 commit into
openclaw:mainfrom
GSUCAS:improve/memory-wiki-batch-throughput
Closed

GSUCAS wants to merge 1 commit into
openclaw:mainfrom
GSUCAS:improve/memory-wiki-batch-throughput

Conversation

@GSUCAS

@GSUCAS GSUCAS commented Jul 25, 2026 •

Copy link
Copy Markdown

Closes #113706

AI-assisted with OpenAI Codex. I reviewed and understand the implementation and addressed every actionable independent-review and CI finding identified on this branch.

What Problem This Solves

Memory Wiki automation currently pays CLI startup, vault preparation, mutation, compilation, and search setup costs for every individual durable-reference operation. Repeating that work can occupy gateway capacity and make an ingest workflow appear stalled.

Change

This adds bounded wiki apply-batch and wiki search-batch commands:

  • apply-batch preflights the complete manifest, holds one mutation lease, preserves semantic no-ops, and compiles at most once.
  • search-batch prepares one compiled digest/page snapshot and verifies several explicit expected paths or IDs.
  • Existing single-operation CLI and plugin APIs remain available.

The public surface is deliberately constrained: versioned JSON input, at most 16 apply operations, at most 6 search queries, 256 KiB manifests, 8 MiB per source, 32 MiB aggregate source data, 1 MiB synthesis bodies, bounded output, exact case-sensitive path checks, and nonnegative evidence weights.

Mutation and cache compatibility

Regular wiki ingest retains its safety behavior: an unchanged generated source page is not rewritten and its timestamps are preserved, but the vault is still recompiled so out-of-band changes cannot leave derived indexes stale. The focused regression test corrupts index.md, re-ingests an unchanged source, and verifies that the index is repaired without rewriting the source page.

A standalone wiki apply now treats a true semantic no-op separately: it returns changed: false, preserves page, audit-log, and compiled-cache publication identity, and skips the full compile. A changed write invalidates the prior compiled snapshot before logging or compilation, so a failed or deliberately deferred compile cannot leave stale derived state readable. Explicit wiki compile rebuilds the snapshot.

Inside apply-batch, per-operation compilation remains disabled. The enclosing batch runs ordered mutations under one outer vault lease and compiles once when an operation changes or initialization repairs missing scaffold state. The first changed source or synthesis write invalidates the prior snapshot; subsequent writes remain safe if a later operation fails. The batch does not compile when both the scaffold and every operation are unchanged.

Focused regressions cover no-op page/log/cache identity, changed deferred-apply invalidation plus explicit rebuild, deferred batch-ingest invalidation, CLI/tool no-op output, and manifest ordering with one mutation-queue acquisition and one completed compile.

There is no persistent data-model migration. Manifest version 1 is a transient CLI input contract; stored wiki pages remain the existing Markdown/frontmatter format. A batch search against a vault created entirely through legacy single-operation commands passed all six required queries.

Evidence

The proof used an isolated synthetic vault containing six sources, three syntheses, and six required searches. It ran one discarded warm-up and three measured trials for each method. Legacy used 15 CLI launches and 9 compiles; batch used 2 CLI launches and 1 compile. GNU time captured wall time and peak RSS per process.

Method Trial Wall (ms) Peak RSS (KiB) CLI launches Compiles Required checks
Legacy 1 51,368 732,184 15 9 6/6
Legacy 2 50,177 731,212 15 9 6/6
Legacy 3 50,689 736,896 15 9 6/6
Batch 1 7,239 708,312 2 1 6/6
Batch 2 7,169 725,788 2 1 6/6
Batch 3 7,126 719,088 2 1 6/6

Median wall time fell from 50,689 ms to 7,169 ms: 7.07x faster. Median per-process peak RSS was 732,184 KiB for legacy and 719,088 KiB for batch; this is a small difference, so the claim is reduced repeated work and launch/compile overhead, not a material memory-footprint reduction.

All trials returned the same source/synthesis page inventory and passed 6/6 required retrieval checks. The repeated identical apply batch returned changed: false and compile: null. Gateway connectivity was healthy before and after the isolated run.

Inspect the complete redacted terminal output, including fresh apply-batch JSON, no-op JSON, search-batch JSON, and the legacy-created-vault compatibility output.

The live exercise used OpenClaw 2026.7.1-2 with the candidate batch implementation deployed. The later source changes refine single-apply/cache and missing-scaffold invariants without changing the measured batch command contract; those deltas are covered by focused regression tests and exact-head GitHub CI.

Product-direction recommendation

Author recommendation: support these two bounded, versioned commands as documented bundled Memory Wiki CLI contracts. They are designed for automation that already invokes the CLI, while preserving the existing single-operation path. Explicit maintainer sponsorship is still requested because only maintainers can decide the long-term bundled-plugin surface.

Verification

  • Complete redacted real-run output is linked above.
  • Candidate head: ba334e3809d6fa1f1bb1dccd2f0a036fe2ed9455.
  • Exact-head GitHub CI completed with 51 successful jobs, including check-docs, build artifacts, extension-boundary checks, and the relevant plugin checks. Two unrelated test jobs failed: check-sqlite-session-flip-proof timed out during a Gateway opening handshake, while the same job passed on the contemporaneous current-main run; checks-node-compact-large-8 stalled twice in the agent-core subagent shard and exited 143 after the no-output watchdog. The aggregate openclaw/ci-gate therefore reported failure. Neither failed job exercises the Memory Wiki or documentation surface. The contributor account could not request a rerun.
  • Exact-head real-behavior-proof, CodeQL, workflow sanity, security-sensitive guard, dependency/label dispatch, and platform dead-code workflows passed.
  • Final independent static Codex review reported no actionable correctness regressions.
  • No UI or visual surface changed, so screenshots are not applicable.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation extensions: memory-wiki size: XL labels Jul 25, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Jul 25, 2026
@clawsweeper

clawsweeper Bot commented Jul 25, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs historical verification review before merge. Reviewed August 18, 2026, 7:37 PM ET / 23:37 UTC.

ClawSweeper review

What this changes

Adds bounded JSON-driven wiki apply-batch and wiki search-batch commands to the bundled Memory Wiki plugin, plus changed no-op behavior for existing wiki mutations.

Regression provenance

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

Merge readiness

⛔ Blocked before merge - 15 items remain

Keep this PR open for a maintainer product decision and revision: current main does not provide the batch feature, but the branch retains four blocking compatibility/correctness defects and conflicts with newer Memory Wiki protections.

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

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The real terminal proof is strong, but four unresolved correctness defects and a conflicted current-main reconciliation keep the patch from merge quality.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The PR body links redacted terminal output from the candidate head showing fresh and repeated batches, legacy-vault search compatibility, and measured after-fix results.
Patch quality 🦪 silver shellfish (2/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The PR body links redacted terminal output from the candidate head showing fresh and repeated batches, legacy-vault search compatibility, and measured after-fix results.
Historical verification Needs maintainer review A historical verification receipt failed or is malformed. A maintainer must resolve that verification blocker before merge; independently assessed contributor proof remains valid.
Evidence reviewed 7 items Current main lacks the proposed commands: Current main has the existing individual ingest, apply, and search commands, but no batch module or batch command registration; this PR remains the candidate implementation for the linked feature request.
Standalone apply contract on main: Current main always compiles after a mutation and returns that compile result; CLI, tool, and Gateway callers consume the same mutation result.
PR makes normal no-op apply skip compilation: The branch compiles only when changed and omits compile otherwise, while its regression test explicitly expects that omitted result.
Findings 4 actionable findings [P1] Preserve standalone apply compilation
[P1] Register agent selection on both batch commands
[P2] Enforce the manifest limit after reading
Security Needs attention Preserve session-visibility filtering on rebase: Current main's query path imports and applies session-visibility filtering, while this stale branch predates that protection and is conflicted; resolving the branch without retaining it could expose protected recall results.

How this fits together

Memory Wiki is a bundled plugin that turns local sources and syntheses into a compiled searchable vault. The CLI and agent tools feed mutations and queries into that vault, whose compiled snapshot is then used for search and prompt-oriented retrieval.

flowchart LR
  A[Automation manifest] --> B[Memory Wiki CLI]
  B --> C[Batch validation]
  C --> D[Vault mutations]
  D --> E[Compiled vault snapshot]
  E --> F[Batch search verification]
  E --> G[Existing CLI and agent tools]
Loading

Decision needed

Question Recommendation
Should Memory Wiki support wiki apply-batch and wiki search-batch as documented bundled-plugin CLI contracts after the current compatibility defects are repaired? Sponsor the bounded CLI contract: Accept the two commands as supported Memory Wiki automation APIs, then require a current-main rebase, the four repairs, and fresh exact-head validation.

Why: The feature adds two durable public automation commands to a bundled plugin; VISION.md permits plugin growth but sets a high bar for optional bundled surfaces, so code review cannot establish long-term product ownership.

Before merge

  • Resolve historical verification - A historical verification receipt failed or is malformed. A maintainer must resolve that verification blocker before merge; independently assessed contributor proof remains valid.
  • Preserve standalone apply compilation (P1) - Keep compile: false internal to batch calls. Normal CLI, tool, and Gateway applies currently compile even after a semantic no-op, which repairs stale derived state and returns the established compile result; this condition skips both.
  • Register agent selection on both batch commands (P1) - Current main resolves an agent-scoped vault only when the invoked subcommand declares --agent; these new commands declare none, unlike existing vault commands. Add the option and cover the post-command spelling so batch operations do not diverge from the existing CLI contract.
  • Enforce the manifest limit after reading (P2) - stat.size is only a preflight observation: the file can be replaced or grow before readFile completes. Check the returned buffer length before decoding or parsing so the advertised 256 KiB bound actually holds.
  • Report scaffold repairs during dry runs (P2) - A dry-run bypasses vault initialization entirely, so a missing scaffold plus otherwise unchanged operations reports no change even though a real run repairs and compiles it. Plan or detect the missing scaffold without writing and include it in the dry-run result.
  • Resolve security concern: Preserve session-visibility filtering on rebase - Current main's query path imports and applies session-visibility filtering, while this stale branch predates that protection and is conflicted; resolving the branch without retaining it could expose protected recall results.
  • Resolve merge risk (P1) - A careless conflict resolution could drop current-main session-visibility filtering or the canonical record guard from the stale branch.
  • Resolve merge risk (P1) - Changing standalone no-op apply semantics can leave stale derived state unrepaired and remove a result field used by existing CLI, tool, and Gateway callers.
  • Resolve merge risk (P1) - The two new documented CLI contracts require explicit bundled-plugin product sponsorship before they become a supported long-term surface.
  • Complete next step (P2) - A maintainer must first sponsor or decline the bundled public CLI direction; the conflicted branch then needs a current-main rebase and the four concrete repairs.
  • Improve patch quality - Restore standalone apply’s unconditional compile contract while keeping deferred compilation batch-only.
  • Improve patch quality - Rebase onto current main without dropping query visibility or input-guard hardening, then repair the manifest and dry-run cases.
  • Improve patch quality - After the product decision and rebase, post fresh exact-head terminal proof and CI with private data redacted.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.

Findings

  • [P1] Preserve standalone apply compilation — extensions/memory-wiki/src/apply.ts:441-447
  • [P1] Register agent selection on both batch commands — extensions/memory-wiki/src/batch-cli.ts:26-30
  • [P2] Enforce the manifest limit after reading — extensions/memory-wiki/src/batch.ts:140-143
  • [high] Preserve session-visibility filtering on rebase — extensions/memory-wiki/src/query.ts:4
Agent review details

Security

Needs attention: No dependency or supply-chain concern was added, but the stale conflicted query path must retain current-main session-visibility filtering when rebased.

PR surface

Source +871, Tests +635, Docs +34. Total +1540 across 15 files.

View PR surface stats
Area Files Added Removed Net
Source 8 979 108 +871
Tests 5 641 6 +635
Docs 2 37 3 +34
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 15 1657 117 +1540

Review metrics

Metric Value Why it matters
Public CLI contract 2 commands added apply-batch and search-batch create a durable documented automation surface that needs explicit ownership and agent-scope compatibility.

Stored data model

Persistent data-model change detected: persistent cache schema: extensions/memory-wiki/src/apply.test.ts, persistent cache schema: extensions/memory-wiki/src/apply.ts, persistent cache schema: extensions/memory-wiki/src/ingest.test.ts, persistent cache schema: extensions/memory-wiki/src/ingest.ts, serialized state: extensions/memory-wiki/src/batch-cli.ts, serialized state: extensions/memory-wiki/src/batch.test.ts, and 25 more. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #113706
Summary: This PR is the explicit candidate implementation of the linked bounded Memory Wiki batch-automation feature request.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Sponsor, rebase, and repair before merge (recommended)
    Preserve current-main protection and compatibility behavior, fix the four findings, then obtain fresh exact-head proof and CI.
  2. Pause the public contract
    Do not merge the stale branch if maintainers do not want to own these two bundled CLI APIs.

Technical review

Best possible solution:

If maintainers sponsor the bounded automation contract, rebase onto current main, preserve its query visibility and input guards, keep standalone apply compilation unchanged, and confine deferred compilation to the batch owner.

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

Not applicable as a feature request; the supplied redacted terminal transcript does directly demonstrate the proposed batch behavior, while the blocking defects are source-proven against current main.

Is this the best way to solve the issue?

No. The batching owner is appropriately local to Memory Wiki, but the PR must preserve established standalone behavior and current-main protections before a maintainer decides whether to own the new public commands.

Full review comments:

  • [P1] Preserve standalone apply compilation — extensions/memory-wiki/src/apply.ts:441-447
    Keep compile: false internal to batch calls. Normal CLI, tool, and Gateway applies currently compile even after a semantic no-op, which repairs stale derived state and returns the established compile result; this condition skips both.
    Confidence: 0.99
  • [P1] Register agent selection on both batch commands — extensions/memory-wiki/src/batch-cli.ts:26-30
    Current main resolves an agent-scoped vault only when the invoked subcommand declares --agent; these new commands declare none, unlike existing vault commands. Add the option and cover the post-command spelling so batch operations do not diverge from the existing CLI contract.
    Confidence: 0.94
  • [P2] Enforce the manifest limit after reading — extensions/memory-wiki/src/batch.ts:140-143
    stat.size is only a preflight observation: the file can be replaced or grow before readFile completes. Check the returned buffer length before decoding or parsing so the advertised 256 KiB bound actually holds.
    Confidence: 0.98
  • [P2] Report scaffold repairs during dry runs — extensions/memory-wiki/src/batch.ts:319-322
    A dry-run bypasses vault initialization entirely, so a missing scaffold plus otherwise unchanged operations reports no change even though a real run repairs and compiles it. Plan or detect the missing scaffold without writing and include it in the dry-run result.
    Confidence: 0.97

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This is a bounded performance and automation feature, but its current defects affect a plugin surface rather than core runtime availability.
  • merge-risk: 🚨 compatibility: The patch changes established no-op apply compilation and omits the current per-command agent-selection pattern.
  • merge-risk: 🚨 security-boundary: The conflicted stale branch must preserve current-main query session-visibility filtering during rebase.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦞 diamond lobster and patch quality is 🦪 silver shellfish.
  • status: needs maintainer proof decision: A ClawSweeper-authored PR needs a maintainer proof capture or override decision. Sufficient (terminal): The PR body links redacted terminal output from the candidate head showing fresh and repeated batches, legacy-vault search compatibility, and measured after-fix results. A historical verification receipt failed or is malformed. A maintainer must resolve that verification blocker before merge; independently assessed contributor proof remains valid.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body links redacted terminal output from the candidate head showing fresh and repeated batches, legacy-vault search compatibility, and measured after-fix results.

Evidence

Security concerns:

  • [high] Preserve session-visibility filtering on rebase — extensions/memory-wiki/src/query.ts:4
    Current main's query path imports and applies session-visibility filtering, while this stale branch predates that protection and is conflicted; resolving the branch without retaining it could expose protected recall results.
    Confidence: 0.91

What I checked:

  • Current main lacks the proposed commands: Current main has the existing individual ingest, apply, and search commands, but no batch module or batch command registration; this PR remains the candidate implementation for the linked feature request. (extensions/memory-wiki/src/cli.ts:1046, e2643afb2afb)
  • Standalone apply contract on main: Current main always compiles after a mutation and returns that compile result; CLI, tool, and Gateway callers consume the same mutation result. (extensions/memory-wiki/src/apply.ts:380, e2643afb2afb)
  • PR makes normal no-op apply skip compilation: The branch compiles only when changed and omits compile otherwise, while its regression test explicitly expects that omitted result. (extensions/memory-wiki/src/apply.ts:441, ba334e3809d6)
  • Agent-selection parity on current main: Current main resolves an agent-scoped vault only when the invoked subcommand declares --agent; established commands declare it, while both batch subcommands do not. (extensions/memory-wiki/src/cli.ts:989, e2643afb2afb)
  • Manifest bound is checked before the actual read: The branch checks stat.size, then reads and parses the manifest without verifying the returned byte length, so a replacement or growth after stat can exceed the documented bound. (extensions/memory-wiki/src/batch.ts:140, ba334e3809d6)
  • Current-main security-sensitive overlap: Current main imports session-visibility filtering in query handling; the stale branch predates that code and is conflicted, so reconciliation must retain it. (extensions/memory-wiki/src/query.ts:4, e2643afb2afb)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • yetval: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

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 (15 earlier review cycles; latest 8 shown)
  • reviewed 2026-07-30T02:03:21.701Z sha 24eae273084444e6fd55cf066dbcb83611c0a0b4 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-01T01:32:09.729Z sha 24eae273084444e6fd55cf066dbcb83611c0a0b4 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-01T01:53:15.942Z sha 24eae273084444e6fd55cf066dbcb83611c0a0b4 :: needs changes before merge. :: [P3] Use the shared plugin record guard
  • reviewed 2026-08-01T11:41:28.298Z sha 24eae273084444e6fd55cf066dbcb83611c0a0b4 :: found issues before merge. :: [P3] Use the shared plugin record guard
  • reviewed 2026-08-01T23:30:40.237Z sha ba334e3 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-01T23:49:18.300Z sha ba334e3 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-07T22:16:38.946Z sha ba334e3 :: found issues before merge. :: [P1] Preserve the standalone apply compile contract | [P1] Keep post-command agent selection compatible | [P2] Enforce the manifest cap after reading
  • reviewed 2026-08-14T13:42:42.677Z sha ba334e3 :: found issues before merge. :: [P1] Preserve the standalone apply compile result | [P1] Register agent selection on both batch commands | [P2] Check the bytes read before parsing the manifest | [P2] Report scaffold repairs in dry-run output

@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Jul 26, 2026
@GSUCAS

GSUCAS commented Jul 26, 2026

Copy link
Copy Markdown
Author

OpenClaw Memory Wiki batch real-behavior proof
Version: OpenClaw 2026.7.1-2 (0790d9f)
Fixture: six synthetic sources, three syntheses, six required searches
Trials: one discarded warm-up plus three measured trials per method

Measured results:
method trial wall_ms peak_rss_kb process_launches compile_count required_checks
legacy 1 51368 732184 15 9 6/6
legacy 2 50177 731212 15 9 6/6
legacy 3 50689 736896 15 9 6/6
batch 1 7239 708312 2 1 6/6
batch 2 7169 725788 2 1 6/6
batch 3 7126 719088 2 1 6/6

Median legacy wall: 50689 ms
Median batch wall: 7169 ms
Measured speed-up: 7.07x
Median peak RSS: legacy=732184 KiB batch=719088 KiB
Equivalent page inventory: true
Batch search reads legacy-created vault: true
Gateway connectivity before/after: true/true

Fresh apply-batch output (trial 1):
{
"version": 1,
"dryRun": false,
"changed": true,
"operationCount": 9,
"operations": [
{
"id": "orion-policy",
"kind": "ingest-source",
"changed": true,
"created": true,
"pageId": "source.orion-flight-policy",
"pagePath": "sources/orion-flight-policy.md",
"bytes": 79
},
{
"id": "orion-minutes",
"kind": "ingest-source",
"changed": true,
"created": true,
"pageId": "source.orion-safety-minutes",
"pagePath": "sources/orion-safety-minutes.md",
"bytes": 83
},
{
"id": "northstar-policy",
"kind": "ingest-source",
"changed": true,
"created": true,
"pageId": "source.northstar-access-policy",
"pagePath": "sources/northstar-access-policy.md",
"bytes": 79
},
{
"id": "northstar-audit",
"kind": "ingest-source",
"changed": true,
"created": true,
"pageId": "source.northstar-audit-notes",
"pagePath": "sources/northstar-audit-notes.md",
"bytes": 81
},
{
"id": "juniper-policy",
"kind": "ingest-source",
"changed": true,
"created": true,
"pageId": "source.juniper-retention-policy",
"pagePath": "sources/juniper-retention-policy.md",
"bytes": 85
},
{
"id": "juniper-minutes",
"kind": "ingest-source",
"changed": true,
"created": true,
"pageId": "source.juniper-disposal-minutes",
"pagePath": "sources/juniper-disposal-minutes.md",
"bytes": 79
},
{
"id": "orion-synthesis",
"kind": "upsert-synthesis",
"changed": true,
"pageId": "synthesis.orion-launch-controls",
"pagePath": "syntheses/orion-launch-controls.md"
},
{
"id": "northstar-synthesis",
"kind": "upsert-synthesis",
"changed": true,
"pageId": "synthesis.northstar-access-review",
"pagePath": "syntheses/northstar-access-review.md"
},
{
"id": "juniper-synthesis",
"kind": "upsert-synthesis",
"changed": true,
"pageId": "synthesis.juniper-retention-summary",
"pagePath": "syntheses/juniper-retention-summary.md"
}
],
"compile": {
"pageCounts": {
"entity": 0,
"concept": 0,
"source": 6,
"synthesis": 3,
"report": 9
},
"pageCount": 18,
"claimCount": 0,
"updatedFileCount": 26,
"updatedFiles": [
"sources/juniper-disposal-minutes.md",
"sources/juniper-retention-policy.md",
"syntheses/juniper-retention-summary.md",
"sources/northstar-access-policy.md",
"syntheses/northstar-access-review.md",
"sources/northstar-audit-notes.md",
"sources/orion-flight-policy.md",
"syntheses/orion-launch-controls.md",
"sources/orion-safety-minutes.md",
"reports/open-questions.md",
"reports/contradictions.md",
"reports/low-confidence.md",
"reports/claim-health.md",
"reports/stale-pages.md",
"reports/person-agent-directory.md",
"reports/relationship-graph.md",
"reports/provenance-coverage.md",
"reports/privacy-review.md",
".openclaw-wiki/cache/agent-digest.json",
".openclaw-wiki/cache/claims.jsonl",
"index.md",
"sources/index.md",
"entities/index.md",
"concepts/index.md",
"syntheses/index.md",
"reports/index.md"
],
"frontmatterErrorCount": 0,
"frontmatterErrors": []
},
"durationMs": 432
}

No-op apply-batch output (same manifest, trial 1):
{
"version": 1,
"dryRun": false,
"changed": false,
"operationCount": 9,
"operations": [
{
"id": "orion-policy",
"kind": "ingest-source",
"changed": false,
"created": false,
"pageId": "source.orion-flight-policy",
"pagePath": "sources/orion-flight-policy.md",
"bytes": 79
},
{
"id": "orion-minutes",
"kind": "ingest-source",
"changed": false,
"created": false,
"pageId": "source.orion-safety-minutes",
"pagePath": "sources/orion-safety-minutes.md",
"bytes": 83
},
{
"id": "northstar-policy",
"kind": "ingest-source",
"changed": false,
"created": false,
"pageId": "source.northstar-access-policy",
"pagePath": "sources/northstar-access-policy.md",
"bytes": 79
},
{
"id": "northstar-audit",
"kind": "ingest-source",
"changed": false,
"created": false,
"pageId": "source.northstar-audit-notes",
"pagePath": "sources/northstar-audit-notes.md",
"bytes": 81
},
{
"id": "juniper-policy",
"kind": "ingest-source",
"changed": false,
"created": false,
"pageId": "source.juniper-retention-policy",
"pagePath": "sources/juniper-retention-policy.md",
"bytes": 85
},
{
"id": "juniper-minutes",
"kind": "ingest-source",
"changed": false,
"created": false,
"pageId": "source.juniper-disposal-minutes",
"pagePath": "sources/juniper-disposal-minutes.md",
"bytes": 79
},
{
"id": "orion-synthesis",
"kind": "upsert-synthesis",
"changed": false,
"pageId": "synthesis.orion-launch-controls",
"pagePath": "syntheses/orion-launch-controls.md"
},
{
"id": "northstar-synthesis",
"kind": "upsert-synthesis",
"changed": false,
"pageId": "synthesis.northstar-access-review",
"pagePath": "syntheses/northstar-access-review.md"
},
{
"id": "juniper-synthesis",
"kind": "upsert-synthesis",
"changed": false,
"pageId": "synthesis.juniper-retention-summary",
"pagePath": "syntheses/juniper-retention-summary.md"
}
],
"compile": null,
"durationMs": 67
}

Search-batch output (trial 1):
{
"version": 1,
"queryCount": 6,
"ok": true,
"results": [
{
"id": "exact-orion",
"query": "Orion Flight Policy",
"required": true,
"ok": true,
"matchedPath": "sources/orion-flight-policy.md",
"matchedId": "source.orion-flight-policy",
"candidatePageCount": 1,
"resultCount": 1,
"hits": [
{
"path": "sources/orion-flight-policy.md",
"id": "source.orion-flight-policy",
"title": "Orion Flight Policy",
"pageType": "source",
"score": 110,
"snippet": "# Orion Flight Policy"
}
]
},
{
"id": "exact-northstar",
"query": "Northstar Access Policy",
"required": true,
"ok": true,
"matchedPath": "sources/northstar-access-policy.md",
"matchedId": "source.northstar-access-policy",
"candidatePageCount": 1,
"resultCount": 1,
"hits": [
{
"path": "sources/northstar-access-policy.md",
"id": "source.northstar-access-policy",
"title": "Northstar Access Policy",
"pageType": "source",
"score": 110,
"snippet": "# Northstar Access Policy"
}
]
},
{
"id": "explain-orion",
"query": "cobalt checklist Tuesday safety review",
"required": true,
"ok": true,
"matchedPath": "syntheses/orion-launch-controls.md",
"matchedId": "synthesis.orion-launch-controls",
"candidatePageCount": 1,
"resultCount": 1,
"hits": [
{
"path": "syntheses/orion-launch-controls.md",
"id": "synthesis.orion-launch-controls",
"title": "Orion Launch Controls",
"pageType": "synthesis",
"score": 10,
"snippet": "Orion launch control combines the cobalt checklist with a Tuesday safety review."
}
]
},
{
"id": "explain-juniper",
"query": "violet schedule fictional thirty-day retention",
"required": true,
"ok": true,
"matchedPath": "syntheses/juniper-retention-summary.md",
"matchedId": "synthesis.juniper-retention-summary",
"candidatePageCount": 1,
"resultCount": 1,
"hits": [
{
"path": "syntheses/juniper-retention-summary.md",
"id": "synthesis.juniper-retention-summary",
"title": "Juniper Retention Summary",
"pageType": "synthesis",
"score": 24,
"snippet": "Juniper uses the violet schedule for a fictional thirty-day retention period."
}
]
},
{
"id": "evidence-northstar",
"query": "amber register complete 18 July 2026",
"required": true,
"ok": true,
"matchedPath": "sources/northstar-audit-notes.md",
"matchedId": "source.northstar-audit-notes",
"candidatePageCount": 1,
"resultCount": 1,
"hits": [
{
"path": "sources/northstar-audit-notes.md",
"id": "source.northstar-audit-notes",
"title": "Northstar Audit Notes",
"pageType": "source",
"score": 29,
"snippet": "The synthetic Northstar audit found the amber register complete on 18 July 2026."
}
]
},
{
"id": "evidence-juniper",
"query": "Juniper committee violet schedule synthetic disposal",
"required": true,
"ok": true,
"matchedPath": "sources/juniper-disposal-minutes.md",
"matchedId": "source.juniper-disposal-minutes",
"candidatePageCount": 1,
"resultCount": 1,
"hits": [
{
"path": "sources/juniper-disposal-minutes.md",
"id": "source.juniper-disposal-minutes",
"title": "Juniper Disposal Minutes",
"pageType": "source",
"score": 65,
"snippet": "The Juniper committee confirmed the violet schedule before synthetic disposal."
}
]
}
],
"durationMs": 75
}

Compatibility search-batch output against the legacy-created vault:
{
"version": 1,
"queryCount": 6,
"ok": true,
"results": [
{
"id": "exact-orion",
"query": "Orion Flight Policy",
"required": true,
"ok": true,
"matchedPath": "sources/orion-flight-policy.md",
"matchedId": "source.orion-flight-policy",
"candidatePageCount": 1,
"resultCount": 1,
"hits": [
{
"path": "sources/orion-flight-policy.md",
"id": "source.orion-flight-policy",
"title": "Orion Flight Policy",
"pageType": "source",
"score": 110,
"snippet": "# Orion Flight Policy"
}
]
},
{
"id": "exact-northstar",
"query": "Northstar Access Policy",
"required": true,
"ok": true,
"matchedPath": "sources/northstar-access-policy.md",
"matchedId": "source.northstar-access-policy",
"candidatePageCount": 1,
"resultCount": 1,
"hits": [
{
"path": "sources/northstar-access-policy.md",
"id": "source.northstar-access-policy",
"title": "Northstar Access Policy",
"pageType": "source",
"score": 110,
"snippet": "# Northstar Access Policy"
}
]
},
{
"id": "explain-orion",
"query": "cobalt checklist Tuesday safety review",
"required": true,
"ok": true,
"matchedPath": "syntheses/orion-launch-controls.md",
"matchedId": "synthesis.orion-launch-controls",
"candidatePageCount": 1,
"resultCount": 1,
"hits": [
{
"path": "syntheses/orion-launch-controls.md",
"id": "synthesis.orion-launch-controls",
"title": "Orion Launch Controls",
"pageType": "synthesis",
"score": 10,
"snippet": "Orion launch control combines the cobalt checklist with a Tuesday safety review."
}
]
},
{
"id": "explain-juniper",
"query": "violet schedule fictional thirty-day retention",
"required": true,
"ok": true,
"matchedPath": "syntheses/juniper-retention-summary.md",
"matchedId": "synthesis.juniper-retention-summary",
"candidatePageCount": 1,
"resultCount": 1,
"hits": [
{
"path": "syntheses/juniper-retention-summary.md",
"id": "synthesis.juniper-retention-summary",
"title": "Juniper Retention Summary",
"pageType": "synthesis",
"score": 24,
"snippet": "Juniper uses the violet schedule for a fictional thirty-day retention period."
}
]
},
{
"id": "evidence-northstar",
"query": "amber register complete 18 July 2026",
"required": true,
"ok": true,
"matchedPath": "sources/northstar-audit-notes.md",
"matchedId": "source.northstar-audit-notes",
"candidatePageCount": 1,
"resultCount": 1,
"hits": [
{
"path": "sources/northstar-audit-notes.md",
"id": "source.northstar-audit-notes",
"title": "Northstar Audit Notes",
"pageType": "source",
"score": 29,
"snippet": "The synthetic Northstar audit found the amber register complete on 18 July 2026."
}
]
},
{
"id": "evidence-juniper",
"query": "Juniper committee violet schedule synthetic disposal",
"required": true,
"ok": true,
"matchedPath": "sources/juniper-disposal-minutes.md",
"matchedId": "source.juniper-disposal-minutes",
"candidatePageCount": 1,
"resultCount": 1,
"hits": [
{
"path": "sources/juniper-disposal-minutes.md",
"id": "source.juniper-disposal-minutes",
"title": "Juniper Disposal Minutes",
"pageType": "source",
"score": 65,
"snippet": "The Juniper committee confirmed the violet schedule before synthetic disposal."
}
]
}
],
"durationMs": 69
}

@openclaw-barnacle openclaw-barnacle Bot added the triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. label Jul 26, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. label Jul 26, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. 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. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 26, 2026
@GSUCAS

GSUCAS commented Jul 26, 2026 •

Copy link
Copy Markdown
Author

Thanks for the review. The contributor-controlled proof and compatibility items are now addressed.

  1. Inspectable real behavior: complete redacted terminal output is here. It contains the three measured legacy trials, three batch trials, fresh apply-batch JSON, repeated no-op JSON, search-batch JSON, and a batch search against a vault created through legacy commands. The fixture is entirely synthetic and contains no private vault content, host paths, endpoints, or credentials.

    Median wall time fell from 50,689 ms to 7,169 ms (7.07x). Legacy used 15 CLI launches and 9 compiles; batch used 2 launches and 1 compile. Every trial passed 6/6 required retrieval checks and produced the same source/synthesis inventory. Median per-process peak RSS changed only slightly, so I am not claiming a material memory-footprint reduction.

  2. Unchanged normal ingest: commit f0810efd88 restores recompilation for regular wiki ingest even when the generated source page is unchanged. The page is not rewritten and its timestamps remain stable. Its regression test deliberately corrupts index.md, re-ingests the unchanged source, and verifies the index is repaired.

  3. Batch scaffold repair: independent review found the related case where batch initialization could recreate a deleted scaffold file while all manifest operations were no-ops. Commit 611dbf77e7 now counts initialization repair as a change, compiles once, and tests deletion/recreation of index.md while confirming every manifest operation itself remains unchanged.

  4. Upgrade/data compatibility: manifest version 1 is transient CLI input, not stored vault state. Stored pages remain the existing Markdown/frontmatter format, so there is no persistent schema migration. The linked live output shows search-batch successfully reading a legacy-created vault (6/6 required queries).

  5. Public-contract decision: the author recommendation is yes—support these two bounded, versioned commands as documented bundled Memory Wiki CLI contracts. They are constrained automation surfaces and preserve the existing single-operation path. A maintainer still needs to sponsor that product decision; I am explicitly requesting that confirmation here.

  6. Proof scope: the live exercise used OpenClaw 2026.7.1-2 with the candidate batch implementation deployed. The later source changes restore normal-ingest/scaffold repair invariants and do not change the measured batch command shape; those deltas are covered by focused regression tests and the exact-head GitHub CI. Final independent static review of the current source reported no actionable correctness regressions.

The PR body has also been updated with the methodology, measured table, compatibility explanation, evidence link, and author product recommendation.

Final CI update: the required openclaw/ci-gate passes on PR head 4c111681e4577d7993ffe24b9d4cc7d7df12f7bb. The previously failing check-docs and check-dependencies jobs both pass, along with build artifacts, lint, type checks, boundaries, and all test shards.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Jul 30, 2026
@GSUCAS

GSUCAS commented Jul 30, 2026

Copy link
Copy Markdown
Author

Addressed the current-main reconciliation requested in #113706 at head 24eae273084444e6fd55cf066dbcb83611c0a0b4:

  • semantic no-op single apply preserves page, log, and compiled-cache identity and skips compile;
  • changed deferred apply invalidates the committed snapshot before returning, and explicit compile rebuilds it;
  • ordered batch mutation is covered for one outer lease and one completed compile;
  • deferred changed source ingestion also invalidates stale compiled state;
  • search ranking and publication policy remain outside this change.

The PR body now documents the compatibility contract, focused regressions, redacted live behavior proof, and the final candidate head.

Exact-head CI completed 52 jobs successfully and the previously failing formatting check is green. The aggregate gate is red only because the hosted lint runner was terminated during oxlint (exit 143) and one unrelated src/gateway worktree test failed; this contributor account cannot rerun upstream Actions jobs. Exact-head real-behavior proof, CodeQL, security, dependency, workflow-sanity, OpenGrep, and platform dead-code checks passed.

The remaining product question is explicit maintainer sponsorship of the bounded public batch CLI contract.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@BsnizND

BsnizND commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Current-main contributor handoff for the existing PR (no duplicate PR opened):

  • Reconciled the PR tree onto current main at 107e116bfd988a7ec99bb85c986111ed2af8eab2.
  • Addressed the remaining review finding by importing the shared isRecord guard from openclaw/plugin-sdk/string-coerce-runtime and removing the extension-local duplicate.
  • Published a clean, one-commit support branch: BsnizND:codex/pr-113746-refresh-107e116b, commit ba334e3809d6fa1f1bb1dccd2f0a036fe2ed9455.
  • Validation on that exact tree: pnpm test:extension memory-wiki, pnpm check:changed, pnpm build, diff checks, TruffleHog pre-review scan, and repository autoreview all passed; autoreview reported no accepted/actionable findings.

The authenticated contributor account here does not have push access to GSUCAS/improve/memory-wiki-batch-throughput, so I could not update this PR head directly. The support commit is a tree-identical, linear replacement for the locally rebased candidate and is ready for the PR author or a maintainer to adopt. Once this PR head is updated to that tree and exact-head CI is available, it will be eligible for a fresh maintainer/ClawSweeper re-review. The remaining product decision is unchanged: maintainer sponsorship of the two bounded bundled CLI contracts.

@GSUCAS
GSUCAS force-pushed the improve/memory-wiki-batch-throughput branch from 24eae27 to ba334e3 Compare August 1, 2026 23:25
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. and removed P2 Normal backlog priority with limited blast radius. labels Aug 1, 2026
@GSUCAS

GSUCAS commented Aug 1, 2026

Copy link
Copy Markdown
Author

Adopted the current-main support commit from @BsnizND into this existing PR using an exact --force-with-lease update.

  • Exact PR head: ba334e3809d6fa1f1bb1dccd2f0a036fe2ed9455
  • Base used by the support commit: 107e116bfd988a7ec99bb85c986111ed2af8eab2
  • The remaining code-review finding is resolved: Memory Wiki now imports the shared isRecord guard from openclaw/plugin-sdk/string-coerce-runtime; the extension-local duplicate is removed.
  • The support tree was reported validated with pnpm test:extension memory-wiki, pnpm check:changed, pnpm build, diff checks, TruffleHog pre-review, and repository autoreview with no actionable findings.
  • Exact-head CI completed with 51 successful jobs. The two substantive red jobs are outside this PR surface: SQLite flip-proof timed out during a Gateway opening handshake (the matching current-main job passed); agent-core shard 8 stalled twice and was terminated by the no-output watchdog with exit 143. The third red job is only the aggregate CI gate. A contributor rerun request was attempted but GitHub did not permit it.
  • The PR body now records the refreshed head and exact-head evidence.

The remaining decision is maintainer sponsorship of the two bounded bundled CLI contracts.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@GSUCAS

GSUCAS commented Aug 1, 2026

Copy link
Copy Markdown
Author

Maintainer help requested: please rerun the two underlying failed jobs from the exact-head CI run:

GitHub reports a third failure, openclaw/ci-gate, because that aggregate gate reflects the two failed jobs above. The contributor account attempted gh run rerun 30723306633 --failed, but GitHub rejected the rerun request.

Although both underlying failures appear outside the Memory Wiki change surface, this PR should remain unmerged until all required checks pass or a maintainer explicitly determines otherwise.

@BsnizND

BsnizND commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Maintainer sponsorship question before another current-main refresh:

Does OpenClaw want to support the bundled wiki apply-batch and wiki search-batch CLI contracts, including the documented semantic no-op behavior for wiki apply?

The current head has a single merge conflict against current main, in extensions/memory-wiki/src/query.ts. The two red jobs on the prior exact-head run—check-sqlite-session-flip-proof and checks-node-compact-large-8—both passed on the contemporaneous main run.

Because the remaining gate is product ownership of these public CLI contracts, I will not prepare or push another refresh until maintainer sponsorship is confirmed.

@GSUCAS

GSUCAS commented Aug 3, 2026

Copy link
Copy Markdown
Author

Maintainers, could you please provide an explicit yes/no decision on the remaining product question?

Should OpenClaw support wiki apply-batch and wiki search-batch as bundled public CLI contracts, including the documented semantic no-op behavior for wiki apply?

  • Yes: we will prepare the smallest current-main refresh, resolve the single extensions/memory-wiki/src/query.ts conflict, and obtain fresh exact-head CI before requesting final review.
  • No: we will stop refreshing this public CLI proposal and can discuss a narrower internal approach separately if useful.

Thank you—the explicit decision will prevent unnecessary branch churn while the product ownership question remains open.

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. and removed 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 8, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. labels Aug 19, 2026
@clawsweeper clawsweeper Bot added status: needs maintainer proof decision A ClawSweeper-authored PR needs a maintainer proof capture or override decision. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 28, 2026
@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@openclaw-barnacle

Copy link
Copy Markdown

Closing due to inactivity.
If you believe this PR should be revived, post in #clawtributors on Discord to talk to a maintainer.
That channel is the escape hatch for high-quality PRs that get auto-closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation extensions: memory-wiki merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: XL stale Marked as stale due to inactivity status: needs maintainer proof decision A ClawSweeper-authored PR needs a maintainer proof capture or override decision.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add bounded Memory Wiki batch operations for automation

2 participants