Skip to content

feat(memory): let the memory slot own the pre-compaction flush - #162177

Merged
jalehman merged 2 commits into
mainfrom
feat/memory-provider-flush
Oct 3, 2026
Merged

jalehman merged 2 commits into
mainfrom
feat/memory-provider-flush

Conversation

@jalehman

@jalehman jalehman commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

A memory plugin that does not store workspace files cannot persist the pre-compaction memory flush.

User Impact

The memory slot owner can persist the flush through its own tools. Optional read-only lookup tools let the flush check existing memory instead of re-saving the same facts.

Existing installs are unchanged. With Memory Core as slot owner, the workspace memory file and the flush requests are byte-identical to main's (proof case 8), and runtime-only plugins' flush plans run in main's order.

SDK compatibility: flushPlanResolver and MemoryFlushPlan keep main's exact contract: the resolver still returns a complete MemoryFlushPlan or null, so released producers and null-checked consumers compile and behave the same. Memory Core keeps main's resolver code unchanged. A new optional providerFlushPlanResolver returns plans the host completes: a MemoryFlushFilePlanDraft whose omitted timing the host fills, or a MemoryFlushToolsPlan. The host prefers it when a plugin registers both. Released hosts ignore the new field, so a plugin using it gets no flush on them rather than a tools plan in the file-plan field.

Intended: the host now honors agents.defaults.compaction.memoryFlush.enabled: false for runtime-only plugins' flush plans, which main ignored.

Why This Change Was Made

The tools arm is limited to the selected slot owner. It runs in a detached session with:

  • the source turn's audience, delegated and bound to that session's incarnation
  • a flushId that includes the source session's lifecycle revision, so a reset session gets a new id while a retry within one compaction cycle keeps the same one

A flush succeeds only after a real persistence tool call or NO_REPLY. The post-turn maintenance flush takes the source turn's trusted owner fact for audience resolution only; maintenance runs gain no owner tool authority. The host resolves flush timing once.

Evidence

Live proof on an isolated Gateway, with the default context engine and the real Knowledge plugin. Proof build e57ddfeeaad on main d7fd9a7dea1; it is runtime-identical to the pushed tips. The pushed tips were rebased onto newer main through a mechanical method-list conflict, and protocol:check plus the method-list and memory Gateway tests pass on them.

Results and redacted traces

Build: stack ; candidate e57ddfeeaad (base for upgrade/compat cells: d7fd9a7dea1). Isolated Gateway on its own port, HOME, OPENCLAW_STATE_DIR and OPENCLAW_CONFIG_PATH under a scratch directory, launched with env -i (no provider credentials, no access to the operator's ~/.openclaw).

Harness (real entry points, deterministic model):

  • Turns enter through the Gateway WebSocket chat.send RPC (operator with operator.admin, as the Control UI owner connects) and through the bundled qa-channel plugin polling the repository's QA bus (group conversation, non-owner sender stranger). Children are created by the model calling the real sessions_spawn tool; resets use sessions.reset.
  • The model is a scripted OpenAI-compatible /v1/chat/completions server configured as a normal models.providers entry. It emits the tool calls named in the user message (through the default Tool Search tool_call surface) and can hold a response on a named gate so a reset can land between audience minting and tool dispatch. Admission, tool dispatch, flush planning and compaction are all product code.
  • Memory slot owner: the real Knowledge plugin (feat/provider-neutral-memory, built against this OpenClaw build) with its own store under the isolated state dir. A pass-through tap module loads Knowledge's unmodified entry and records, at the provider boundary, the host-supplied memoryAudience/memoryFlush each provider open/search/get/candidates call and Knowledge tool execution received and whether Knowledge returned or refused. It never changes arguments, results or errors. [provider] lines below come from it; [model#n] lines are what the Gateway sent to the model (including any Active Memory prependContext); [gateway] lines are the Gateway's own file log.
  • Active Memory is enabled for main/direct chats so lane-1 trigger recall (provider.candidates → prependContext) is observable.
  • Excerpts are redacted: paths, users, tokens; session keys keep only their kind; UUIDs become stable labels (<uuid#n>).
  • Default context engine (no lossless-claw). Flush admission stays host-owned: the model's context window is 64k (flush threshold 44,000 tokens, preflight compaction threshold 48,000). The pre-compaction path is driven by an incoming prompt that crosses the compaction threshold; the post-turn maintenance path by the model reporting 45,000 prompt tokens for a turn (@@usage). forceFlushTranscriptBytes is raised so transcript size does not trigger flushes.

Results

# Case Result
5 Owner session: compaction runs the flush through the slot owner's tools with the delegated owner audience and a flushId PASS
5b Same owner session, flush reached through post-turn session maintenance: owner-private, stored in private/ PASS
5c After sessions.reset, the next flush's flushId differs from the previous incarnation's PASS
6 Group (non-owner) flush cannot write owner-private memory PASS
7a Source reset while the pre-compaction flush is pending: no write PASS
7b Source reset while the post-turn flush is pending: no write PASS
7c Captured ancestor reset while a child session's flush is pending: save refused by the audience fence before storage PASS
8 Memory Core slot (file plan): flush writes the workspace memory file exactly as the pre-PR build does PASS

5. Owner flush on compaction

Commands: sessions.reset main; chat.send main "warm-up turn"; chat.send main "FLUSHMARK-OWNERPRE … <~198k chars>".

[gateway DEBUG] preflightCompaction check: sessionKey=<main-session-key#1> tokenCount=50732 contextWindow=64000 threshold=48000 responsesServerCompactionThreshold=undefined isHeartbeat=false isCli=false persistedFresh=true transcriptPromptTokens=1200 transcriptPromptSource=provider_usage promptTokensEst=49512 activeTranscriptBytes=1406 maxActiveTran…
[gateway DEBUG] memoryFlush triggered: sessionKey=<main-session-key#1> tokenCount=50732 threshold=44000
[model#40] knowledge-flush tools=["knowledge_grep","knowledge_lookup","knowledge_record","knowledge_save_page","read"] prependContext=[] -> tool_call knowledge_save_page
[provider] tool knowledge_save_page session=<flush-session-key#1> audience=owner-private flushId=<uuid#3> -> ok: state=published path=notes/flush-note-flushmark-none.md
[vault] ./private/notes/flush-note-flushmark-none.md present=true

The page title reads FLUSHMARK-NONE because the scripted model found no marker in the flush turn's input: the marker sits in the pending prompt that triggered compaction, while the flush works over the existing transcript.

Decision point: preflight compaction admits the turn, its beforeCompaction hook runs the flush, the source audience (owner-private) is delegated to the detached flush session, the flush turn sees only the plan's lookup tools, knowledge_save_page and read, and Knowledge records the write with the delegated audience and flushId, in the private partition.

5b. Post-turn maintenance path

Command: sessions.reset main; chat.send main "FLUSHMARK-OWNERPOST long owner turn\n@@usage 45000".

[gateway DEBUG] memoryFlush triggered: sessionKey=<main-session-key#1> tokenCount=45000 threshold=44000
[provider] tool knowledge_save_page session=<flush-session-key#2> audience=owner-private flushId=<uuid#4> -> ok: state=published path=notes/flush-note-flushmark-ownerpost.md
[vault] ./private/notes/flush-note-flushmark-ownerpost.md

Decision point: the flush reached through optional post-turn session maintenance resolves the same owner-private audience as the compaction path and the page lands in private/. (On the earlier dry-run build this path delegated a conversation audience and misfiled the page; case 6 shows a non-owner source still gets conversation.)

5c. flushId per incarnation

[check] case 5 flushId=<uuid#3> (before sessions.reset)
[check] case 5b flushId=<uuid#4> (next incarnation, same session id, compactionCount 0 again)
[check] distinct=true

Decision point: sessions.reset with reason: "reset" keeps the session id and restarts compactionCount at 0; the flushId now also covers the source lifecycle revision, so the new incarnation's flush (and Knowledge's derived save requestId) cannot collide with the previous one.

6. Non-owner (group) flush

Command: QA bus inbound to group flush-room from stranger: "FLUSHMARK-GROUPPOST …\n@@usage 45000".

[gateway DEBUG] memoryFlush triggered: sessionKey=<group-session-key#2> tokenCount=45000 threshold=44000
[provider] tool knowledge_save_page session=<flush-session-key#3> audience=conversation(sessionKey=<group-session-key#2>, sessionId=<uuid#5>) flushId=<uuid#6> -> ok: state=published path=notes/flush-note-flushmark-grouppost.md
[vault] ./conversations/<uuid#5>/notes/flush-note-flushmark-grouppost.md
[check] owner-private writes during this case: 0; private partition files: ["./private/notes/flush-note-flushmark-none.md","./private/notes/flush-note-flushmark-ownerpost.md","./private/notes/owner-launch-plan.md"]

Decision point: the delegated audience is the group's conversation audience, so Knowledge stores the page under that conversation's partition; nothing is written to the private partition. Knowledge has no model-facing scope selector, so a conversation flush has no way to address the owner partition.

7. Revocation while the flush is pending

The scripted model holds the flush turn's first response (POST /control {flushGate}) after the flush session and its delegated audience exist; the harness then resets, then releases.

7a. Source reset, pre-compaction flush

[provider] provider.open session=<flush-session-key#4> audience=owner-private -> ok: ok
[model#51] knowledge-flush tools=["knowledge_grep","knowledge_lookup","knowledge_record","knowledge_save_page","read"] prependContext=[] -> tool_call knowledge_save_page
-- source/ancestor reset while the flush model call is held --
[model] gate-release gate=fg7a
[model] (harness control {"flushGate":null,"recallGate":null})
[gateway DEBUG] memory flush cancelled by its owner
[check] knowledge_save_page executions after the reset: 0; stored notes for this marker: 0

7b. Source reset, post-turn flush

[provider] provider.open session=<flush-session-key#5> audience=owner-private -> ok: ok
[model#53] knowledge-flush tools=["knowledge_grep","knowledge_lookup","knowledge_record","knowledge_save_page","read"] prependContext=[] -> tool_call knowledge_save_page
-- source/ancestor reset while the flush model call is held --
[model] gate-release gate=fg7b
[model] (harness control {"flushGate":null,"recallGate":null})
[gateway WARN] [model-fetch] error provider=proof api=openai-completions model=proof-model elapsedMs=1036 name=AbortError code=undefined causeName=undefined causeCode=undefined message=Session maintenance writer admission interrupted
[gateway DEBUG] memory flush cancelled by its owner
[gateway DEBUG] Optional session maintenance cancelled: Session maintenance writer admission interrupted
[check] knowledge_save_page executions after the reset: 0; stored notes for this marker: 0

7c. Captured ancestor reset, child session flush

Commands: spawn CHILD-D; chat.send <child> "FLUSHMARK-CHILDREVOKE …\n@@usage 45000" with the flush gate armed; sessions.reset main; release.

[provider] provider.open session=<flush-session-key#6> audience=owner-private -> ok: ok
[model#58] knowledge-flush tools=["knowledge_grep","knowledge_lookup","knowledge_record","knowledge_save_page","read"] prependContext=[] -> tool_call knowledge_save_page
-- source/ancestor reset while the flush model call is held --
[model] gate-release gate=fg7c
[model] (harness control {"flushGate":null,"recallGate":null})
[model#59] knowledge-flush tools=["knowledge_grep","knowledge_lookup","knowledge_record","knowledge_save_page","read"] prependContext=[] -> text "PROOF tool=knowledge_save_page result={\n  \"status\": \"error\",\n  \"tool\": \"knowledge_save_page\",\n  \"error\": \"memory audience is no longer current\"\…
[gateway DEBUG] tools: knowledge_save_page failed stack:
[gateway ERROR] [tools] knowledge_save_page failed: memory audience is no longer current raw_params={"type":"note","title":"Flush note FLUSHMARK-CHILDREVOKE","body":"Durable decision captured before compaction (FLUSHMARK-CHILDREVOKE).","source":{"text":"User said: remember FLUSHMARK-CHILDREVOKE","attribution":"proof user"}}
[gateway DEBUG] memory flush failed (attempt 1/3): no persistence tool call succeeded
[check] knowledge_save_page executions after the reset: 0; stored notes for this marker: 0

Decision point: resetting the source session itself cancels the flush's owner (the turn in 7a, the maintenance writer admission in 7b) before any save executes. When the reset hits a captured ancestor instead (7c), the flush keeps running, but the delegated audience shares the ancestor's generation lease, so the knowledge_save_page call fails with memory audience is no longer current before Knowledge runs, and the flush ends with no persistence tool call succeeded. No note with the marker exists in either partition.

8. Memory Core file plan, unchanged

Same script on both builds with plugins.slots.memory = "memory-core": post-turn flush (@@usage 45000), then sessions.reset, warm-up and a compaction-crossing prompt.

Candidate e57ddfeeaad:

build: e57ddfeeaad
--- workspace/memory/2026-10-02.md
- Durable note FLUSHMARK-FILEPOST
- Durable note FLUSHMARK-NONE
2 ["read","write"] {"toolCall":"write","args":{"path":"memory/2026-10-02.md","content":"- Durable note FLUSHMARK-FILEPOST\n"}}
3 ["read","write"] {"text":"PROOF tool=write result=Appended content to memory/2026-10-02.md."}
5 ["read","write"] {"toolCall":"write","args":{"path":"memory/2026-10-02.md","content":"- Durable note FLUSHMARK-NONE\n"}}
6 ["read","write"] {"text":"PROOF tool=write result=Appended content to memory/2026-10-02.md."}

Base d7fd9a7dea1:

build: d7fd9a7dea1
--- workspace/memory/2026-10-02.md
- Durable note FLUSHMARK-FILEPOST
- Durable note FLUSHMARK-NONE
2 ["read","write"] {"toolCall":"write","args":{"path":"memory/2026-10-02.md","content":"- Durable note FLUSHMARK-FILEPOST\n"}}
3 ["read","write"] {"text":"PROOF tool=write result=Appended content to memory/2026-10-02.md."}
5 ["read","write"] {"toolCall":"write","args":{"path":"memory/2026-10-02.md","content":"- Durable note FLUSHMARK-NONE\n"}}
6 ["read","write"] {"text":"PROOF tool=write result=Appended content to memory/2026-10-02.md."}

Decision point: the file plan still exposes read/write only, uses the same prompt, and appends to memory/<date>.md; the workspace file and the full flush request projection (tools, prompt with the time line normalized, model response) are byte-identical between the builds.

Regression tests:

  • memory-core-host-runtime-core.flush-plan.test.ts: a released consumer that null-checks a flushPlanResolver result still gets a complete MemoryFlushPlan, and providerFlushPlanResolver accepts released plans, file drafts and tools plans. The consumer check fails against the previous widened resolver.
  • memory-state.test.ts: across sidecar merges in either order, the owner's resolver of either kind wins as a unit, and a sidecar's plan is never credited to the slot owner.
  • agent-runner-memory.tools.test.ts: owner-private vs conversation per source, and a new flushId per incarnation.
  • command/maintenance.test.ts: the post-run owner fact.
  • agent-tools.memory-flush-writer, memory-flush-plan, and memory-core index.

Stored data and upgrade: no schema, migration, or new persisted field. memoryAudienceSenderIsOwner is an in-process field that session maintenance sets on the run it builds; when it is absent, the flush resolves a non-owner audience, so it fails closed. The flushId is derived on each flush from the session id, lifecycle revision, and compaction count, and the host does not store it. Existing Memory Core and runtime-only installs keep flushPlanResolver and main's flush behavior (case 8).

Gates on the final tree (2892d23c9db, rebased onto main after #162176 landed):

  • Testbox: all tsgo core, core-test, extensions and extensions-test lanes; plugin-sdk:check-exports; plugin-sdk:surface:check; loader.test.ts: pass
  • focused vitest locally after the split (11 files across the flush, memory-state, SDK and Memory Core tests): pass

Proof on this tree: the live traces above ran before the resolver split. Two things differ from that proof build. Knowledge registered its tools plan through flushPlanResolver; the host now reads both fields through one resolver source, so the flush path it exercised is unchanged. Memory Core returned file drafts; it now runs main's resolver code unchanged and returns complete plans, whose values the host uses as given. Case 8 was not re-run on this tree. Knowledge moves its plan to providerFlushPlanResolver in a follow-up.

🤖 Generated with Claude Code

@clawsweeper

clawsweeper Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime extensions: memory-core Extension: memory-core agents Agent runtime and tooling size: XL labels Sep 30, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 30, 2026
@clawsweeper

clawsweeper Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed October 2, 2026, 10:45 PM ET / October 3, 2026, 02:45 UTC (Revision 13).

ClawSweeper review

What this changes

The selected memory plugin can save context before compaction through its own tools, with optional lookup tools and the source conversation’s memory permissions.

Merge readiness

⛔ Blocked before merge - 1 item remains

This PR still provides a distinct capability absent from current main. The earlier resolver compatibility finding is resolved, and the previous migration-proof blocker is unsupported by the introduced changes. No blocking correctness finding remains.

Priority: P2
Reviewed head: 2892d23c9db408b8cc01588cda679df6fa8f9417

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A coherent additive implementation has strong runtime boundary proof and resolves the earlier SDK blocker.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (logs): Isolated Gateway traces exercise real pre-compaction and post-turn flush owners with Knowledge, showing persisted records, group isolation, and source/ancestor revocation before writes. The disclosed resolver split preserves the exercised execution path; no stored-data contract changes, so a migration-proof gate does not apply.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (logs): Isolated Gateway traces exercise real pre-compaction and post-turn flush owners with Knowledge, showing persisted records, group isolation, and source/ancestor revocation before writes. The disclosed resolver split preserves the exercised execution path; no stored-data contract changes, so a migration-proof gate does not apply.
Evidence reviewed 11 items Pinned introduction and merge ownership: Reviewed the merge-base-to-head introduction. The test merge’s raw parents are exactly the pinned base followed by the reviewed head; its SDK delta preserves the existing file-plan contract and adds the provider resolver.
Still necessary on current main: Current main still requires writable workspace access for flushing and resolves only complete file plans. The merged provider-runtime and audience prerequisites do not implement provider-tool flushing.
Released contract verified: The v2026.9.7 source defines MemoryFlushPlan with required timing and relativePath fields, and its resolver returns MemoryFlushPlan or null. The reviewed head retains that contract; provider tools use a separate optional resolver.
Findings None None.
Security None None.

How this fits together

OpenClaw runs a quiet memory-saving turn before conversation compaction. This change lets the selected memory plugin receive that conversation context and save it through its own storage tools while the host controls timing, tool policy, and session authority.

flowchart TD
  A[Conversation context] --> B[Host flush timing]
  B --> C[Selected memory plugin plan]
  C --> D{Persistence method}
  D --> E[Restricted workspace writer]
  D --> F[Plugin tools with delegated audience]
  E --> G[Completion or recorded failure]
  F --> G
  G --> H[Conversation compaction]
Loading

Before merge

  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Source +629, Tests +1091, Docs +120. Total +1840 across 38 files.

View PR surface stats
Area Files Added Removed Net
Source 23 783 154 +629
Tests 9 1111 20 +1091
Docs 6 143 23 +120
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 38 2037 197 +1840

Review metrics

Metric Value Why it matters
Production and test growth production +629 net; tests and test support +1,091 net Production growth implements the stated provider persistence and authority contracts; tests cover SDK compatibility, tool policy, completion, and lifecycle identity.
Plugin contract additions 1 optional resolver; 2 plan types; 1 optional tool-context field The additive surface is documented separately from the retained released resolver contract.

Stored data model

Persistent data-model change detected: unknown-data-model-change: src/auto-reply/reply/memory-flush-plan.ts, unknown-data-model-change: src/auto-reply/reply/memory-flush-prepare.ts, unknown-data-model-change: src/plugins/memory-state.ts, vector/embedding metadata: src/auto-reply/reply/memory-flush-plan.ts, vector/embedding metadata: src/auto-reply/reply/memory-flush-prepare.ts, vector/embedding metadata: src/auto-reply/reply/memory-flush-session.ts, and 1 more. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Keep host-owned flush admission and authority checks while letting the selected plugin persist through its declared tools, preserving the released file-plan API.

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

Not applicable as an existing-behavior bug: current main’s file-only flush contract establishes the missing capability, and supplied Gateway traces exercise the new path.

Is this the best way to solve the issue?

Yes. Extending the selected memory plugin’s contract is a focused way to support non-file storage, and the separate optional resolver preserves released consumers.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 5c894c71b889.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a bounded memory-plugin capability improvement without evidence of an urgent current-user regression.
  • merge-risk: 🚨 compatibility: The plugin API gains a documented optional resolver that older hosts ignore, while the released file-plan contract remains intact.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (logs): Isolated Gateway traces exercise real pre-compaction and post-turn flush owners with Knowledge, showing persisted records, group isolation, and source/ancestor revocation before writes. The disclosed resolver split preserves the exercised execution path; no stored-data contract changes, so a migration-proof gate does not apply.
  • proof: sufficient: Contributor real behavior proof is sufficient. Isolated Gateway traces exercise real pre-compaction and post-turn flush owners with Knowledge, showing persisted records, group isolation, and source/ancestor revocation before writes. The disclosed resolver split preserves the exercised execution path; no stored-data contract changes, so a migration-proof gate does not apply.

Evidence

What I checked:

  • Pinned introduction and merge ownership: Reviewed the merge-base-to-head introduction. The test merge’s raw parents are exactly the pinned base followed by the reviewed head; its SDK delta preserves the existing file-plan contract and adds the provider resolver. (src/plugins/registry-contribution-types.ts:204, 2892d23c9db4)
  • Still necessary on current main: Current main still requires writable workspace access for flushing and resolves only complete file plans. The merged provider-runtime and audience prerequisites do not implement provider-tool flushing. (src/auto-reply/reply/agent-runner-memory.ts, 5c894c71b889)
  • Released contract verified: The v2026.9.7 source defines MemoryFlushPlan with required timing and relativePath fields, and its resolver returns MemoryFlushPlan or null. The reviewed head retains that contract; provider tools use a separate optional resolver. (src/plugins/registry-contribution-types.ts, c074824a27c9)
  • Previous finding resolved: The released resolver returns complete file plans again. The SDK test protects null-checked consumers, while resolver provenance remains bound to its supplier across sidecar merges. (src/plugin-sdk/memory-core-host-runtime-core.flush-plan.test.ts:17, 2892d23c9db4)
  • Complete captured proof body inspected: The full retrieved body matches the captured 17,591 UTF-16 units and SHA-256 48960c873b5e2618de475d9e982087e7bad491b89e0ee11a89fc3fed6825ce65. Its isolated Gateway traces show owner saves, conversation-partition saves without private writes, source-reset cancellation, and ancestor-reset rejection before Knowledge executes. Case 8 compares file writes and flush requests against the pre-PR build. The body expressly discloses that traces preceded the resolver split and case 8 was not rerun afterward.
  • Authority delegation and final tool guard: The flush resolves the trusted source audience, delegates it to the detached session, and releases both grants after settlement. Tool projection excludes foreign and undeclared tools; existing plugin invocation guards check audience currency. Maintenance keeps senderIsOwner false. (src/auto-reply/reply/memory-flush-prepare.ts:98, 2892d23c9db4)

Likely related people:

  • jalehman: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • steipete: 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 (12 earlier review cycles; latest 8 shown)
  • reviewed 2026-10-01T21:14:29.732Z sha 4ff568e :: blocked before merge. :: none
  • reviewed 2026-10-01T23:19:13.512Z sha 7b4279c :: blocked before merge. :: none
  • reviewed 2026-10-02T06:21:25.146Z sha 16d7e99 :: blocked before merge. :: none
  • reviewed 2026-10-02T12:16:05.064Z sha 9b01b07 :: blocked before merge. :: [P1] Preserve the published resolver return contract
  • reviewed 2026-10-02T18:22:56.123Z sha 48f99ae :: blocked before merge. :: [P1] Preserve the published resolver return contract
  • reviewed 2026-10-02T20:47:32.709Z sha 33e6eb5 :: blocked before merge. :: [P1] Preserve the published resolver return contract
  • reviewed 2026-10-02T22:25:49.419Z sha 33e6eb5 :: blocked before merge. :: [P1] Preserve the published resolver return contract
  • reviewed 2026-10-03T02:36:53.966Z sha 2892d23 :: blocked before merge. :: none

@jalehman
jalehman force-pushed the feat/memory-provider-flush branch from 35223a2 to 8fdbaf8 Compare October 1, 2026 03:10
@jalehman
jalehman force-pushed the feat/memory-host-audience branch from 1e94828 to 579d7df Compare October 1, 2026 03:10
@jalehman
jalehman force-pushed the feat/memory-host-audience branch from 579d7df to a58687c Compare October 1, 2026 14:16
@jalehman
jalehman force-pushed the feat/memory-provider-flush branch from 8fdbaf8 to c60fb8b Compare October 1, 2026 14:16
@jalehman
jalehman force-pushed the feat/memory-host-audience branch from a58687c to 2538b39 Compare October 1, 2026 20:42
@jalehman
jalehman force-pushed the feat/memory-provider-flush branch from c60fb8b to 4ff568e Compare October 1, 2026 20:42
@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: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 1, 2026
@jalehman
jalehman force-pushed the feat/memory-host-audience branch from 2538b39 to d26746c Compare October 1, 2026 23:13
@jalehman
jalehman force-pushed the feat/memory-provider-flush branch 2 times, most recently from 7b4279c to 16d7e99 Compare October 2, 2026 06:15
@jalehman
jalehman force-pushed the feat/memory-host-audience branch from d26746c to b539626 Compare October 2, 2026 06:15
@jalehman

jalehman commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

Maintainer decision (SDK/security owner): accepted. The memory slot owner may persist the pre-compaction flush through its own tools. The host delegates the source turn's memory audience to the detached flush session, bound to that session's incarnation, with a stable flushId per source incarnation and compaction cycle. Only the selected slot owner may use the tools arm.

One condition: existing MemoryFlushPlan consumers must keep compiling and behaving the same. The file-plan shape keeps its required fields, and the tools arm is added without making existing reads optional. That compatibility fix is in progress on this branch.

A memory plugin that does not store workspace files could not persist
the pre-compaction memory flush.

A flush plan resolver may return a MemoryFlushToolsPlan beside the file
plan: the memory slot owner may name persistence tools and read-only
lookup tools it owns. A tools-arm flush exposes read plus those tools after normal
tool policy, runs with the source turn's memory audience delegated to
the detached flush session (when a native provider owns the slot) and a
flushId derived from the source session incarnation that stays stable
across fallback and retry, and succeeds only after a non-error
persistence call or NO_REPLY. Post-turn maintenance copies keep
senderIsOwner false but carry the source turn's trusted owner status for
the flush audience. Sidecar resolvers cannot return a tools arm, and
plans whose lookup and persistence tools overlap are skipped with a
warning. Only a native provider's flush runs for a session that cannot
write its workspace; other resolvers are not called for such sessions.

Flush timing (enabled, soft threshold, forced transcript size, reserve
floor, context-window cap) is now resolved once in the host. The
released MemoryFlushPlan keeps its shape; a resolver may instead return
a MemoryFlushFilePlanDraft whose omitted timing fields the host fills,
and defined timing fields are deliberate overrides. The configured flush
model fills a tools-arm plan's omitted model; a file plan names its own
model, so a legacy plan without one keeps the session's model. Memory
Core's resolver returns its prompts, dated path, and configured model.
Restore flushPlanResolver to its released MemoryFlushPlan | null return so
null-checked consumers keep compiling, and add providerFlushPlanResolver for
host-completed file drafts and tool persistence plans. The host binds the
winning resolver to its supplier as one unit across sidecar merges, so a
sidecar's resolver is never credited to the slot owner. Memory Core keeps its
released resolver unchanged.
@jalehman
jalehman force-pushed the feat/memory-provider-flush branch from 33e6eb5 to 2892d23 Compare October 3, 2026 02:29
@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. and removed 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. labels Oct 3, 2026
@jalehman
jalehman merged commit 32339db into main Oct 3, 2026
164 of 172 checks passed
@jalehman
jalehman deleted the feat/memory-provider-flush branch October 3, 2026 13:45
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 4, 2026
…law#162177)

* feat(memory): let the memory slot own the pre-compaction flush

A memory plugin that does not store workspace files could not persist
the pre-compaction memory flush.

A flush plan resolver may return a MemoryFlushToolsPlan beside the file
plan: the memory slot owner may name persistence tools and read-only
lookup tools it owns. A tools-arm flush exposes read plus those tools after normal
tool policy, runs with the source turn's memory audience delegated to
the detached flush session (when a native provider owns the slot) and a
flushId derived from the source session incarnation that stays stable
across fallback and retry, and succeeds only after a non-error
persistence call or NO_REPLY. Post-turn maintenance copies keep
senderIsOwner false but carry the source turn's trusted owner status for
the flush audience. Sidecar resolvers cannot return a tools arm, and
plans whose lookup and persistence tools overlap are skipped with a
warning. Only a native provider's flush runs for a session that cannot
write its workspace; other resolvers are not called for such sessions.

Flush timing (enabled, soft threshold, forced transcript size, reserve
floor, context-window cap) is now resolved once in the host. The
released MemoryFlushPlan keeps its shape; a resolver may instead return
a MemoryFlushFilePlanDraft whose omitted timing fields the host fills,
and defined timing fields are deliberate overrides. The configured flush
model fills a tools-arm plan's omitted model; a file plan names its own
model, so a legacy plan without one keeps the session's model. Memory
Core's resolver returns its prompts, dated path, and configured model.

* fix(memory): keep the released flush plan resolver contract

Restore flushPlanResolver to its released MemoryFlushPlan | null return so
null-checked consumers keep compiling, and add providerFlushPlanResolver for
host-completed file drafts and tool persistence plans. The host binds the
winning resolver to its supplier as one unit across sidecar merges, so a
sidecar's resolver is never credited to the slot owner. Memory Core keeps its
released resolver unchanged.
steipete added a commit that referenced this pull request Oct 15, 2026
…ply text (wave-4 bundle) (#172669)

* refactor(infra): remove redundant replay and freshness machinery

Trust successful migration statements inside their synchronous transactions,
reuse unchanged approval parses, share canonical package-root discovery,
namespace directory caches by plugin identity, and simplify ephemeral presence,
OS facts and suspension timer bookkeeping. Keep source validation, conflicts,
transaction durability, postcommit checks, security authority and write settlement.

Best-effort tradeoffs accepted

- Node-host own-write verification (#108457): no human successful-SQL-loss report; SQL errors still roll back, and independent source retirement checks remain.
- Workspace setup/attestation replay (#109147): no human driver-rewrite report; trust successful writes while retaining fingerprints and later source checks.
- APNs expected-ID replay (#108543): no human silent-insert-loss report; canonical parsing, tombstones and receipts remain.
- Device-auth presence assertion (#112663): no human successful-upsert-loss report; credential validation and transaction failure handling remain.
- Device-identity replay (#110392): no human silent-row-rewrite report; preserve independent post-await verification before source deletion.
- MCP OAuth replay (#161219): no human silent-write-loss report; canonical/source parsing and worker admission remain.
- Exec-approval read/parse/deep-compare replay (#114063): no human successful-driver-rewrite report; malformed policy stays fail-closed and actual authority is unchanged.
- Shared-auth target reread (#123349): no human silent-row-rewrite report; return the known SQL postimage and keep independent copy/flip/cleanup checks.
- Identical authored approval bytes (#168094) reuse the existing parse; changed normalized bytes still parse before publication.
- Plugin metadata fingerprinting (353d778): no human in-place metadata-mutation report; distinct objects remain isolated, and same-object edits use TTL/reset.
- Duplicate asset ancestor search (7224585): no human cached-miss incident; canonical realpath/wrapper discovery remains, while newly appearing packages need owner invalidation/restart.
- Presence logical clock (#134737): provenance is synthetic rollback/suspend tests; clock correction may temporarily retain or hide display rows until full update/reconnect, wall time catches up, or restart. TTL, capacity and connection privacy remain.
- Suspension timer generation (#130003): the removed test directly called a canceled callback; native timer cancellation and current-entry authority remain. An out-of-contract timer implementation could resume a renewed lease early.
- OS tuple-keyed cache (#135911): keep measured probe sharing and sticky labels; hot-patching OS identity needs restart rather than another namespace.
- Presence list type guards (409a160): callers supply validated arrays; existing normalization still owns their values.

Production +40/-228, net -188. Focused migration, asset/cache, presence/caller,
approval-publication and suspension/OS tests pass, as do production and infra-test
types, changed-file lint, assertion and suppression checks, and zero-cycle checks.
Independent final review has no actionable P0-P2 findings. No schema, durability,
retention, indexing, permission, recovery or public SDK change is intended.

Broad changed-check is not claimed green: the original base reproduces the
455-versus-454 environment budget failure. The initial Web Push Doctor timeout
remains unattributed; all Web Push production hunks were dropped and its exact
test passed on restored source. Full build and hosted CI remain unrun.

* refactor(agents): simplify reply preparation and refresh bookkeeping

Share typed actor-store adapters and prepared async auth reads. Reuse the
admitted memory-flush plan, retain last-good catalog views by provider, and
remove unused metadata bookkeeping and config projections. Preserve live
credential/effect authority, FIFO, transcript durability, and ordinary write
settlement. Net production reduction: 303 lines.

Best-effort tradeoffs accepted:
- Plugin-drain successors (#162301, synthetic): wait the current drain once;
  a later reload owns its own publication and recovery.
- A changed memory-flush plan during preparation (#162177/#121157, synthetic):
  finish with the admitted plan; the next turn resolves again.
- Per-row catalog freshness (#158113, synthetic): failed discovery retains
  the provider's last-good configured and supplemental overlays until success.
  Existing auth/profile/source gates and successful-empty replacement remain.
- MCP sibling invalidation during discovery (#138694, synthetic): a listing
  may briefly be stale; the next read observes the invalidation.
- Passive context metadata supersession (#119607, synthetic): late discovered
  metadata may win until refresh. Keep the single current-promise check before
  replacing configured limits, preserving the human capacity fix (#39857).
- Registration-time question answers (#110372/#134003, synthetic): a prompt
  can briefly race the answer; its terminal signal closes delivery.
- Duplicate or never-attached internal question registrations: both real
  producers attach once synchronously. Unsupported misuse loses its extra
  diagnostic/disposal wakeup; ordinary lifecycle rejection remains.
- Cancellation publication once/must-consume flags (#161124, synthetic): the
  sole internal producer invokes once. Keep active-scope/effect authority.
- In-flight placement-service replacement (#164744, synthetic): use the
  captured startup service, with its observation and writer authority intact.
- Compaction callback rebinding (#146732/#163264, synthetic): current work
  retains its captured callbacks and live assertion; later work captures anew.
- Re-entrant logging between synchronous run-owner checks: #162227 removed
  the awaited retry, making the second check redundant. Real post-await and
  mutation-effect checks remain.
- Startup diagnostic admission (#146792): the sole producer checks lifecycle
  immediately before recording. Remove only the recorder's duplicate check;
  preserve the human abort/recovery fix (#146692), reset, and admin redaction.

Release-note context: verbose diagnostics no longer include suppressed reply
text or background bash command contents. Execution and user replies remain
unchanged. Config show uses the same schema-aware redactor without cloning
an already detached result or redacting unused snapshot views.

Validation: touched core, messaging and Gateway-method type graphs passed;
49 changed TypeScript files passed targeted lint/format; runtime and Madge
cycles are both zero. Auth reader, question authority, memory flush, restart
claim, catalog worker, cancellation and compaction boundary proof is recorded
in the lane ledger. Final supplemental run: 392 tests passed, four failed
across 28 files, with final source verification. All 120 agents-support tests
passed, including refresh coalescing, publication, run-wait and compaction.
The four failures were an unchanged 120s ACP reset deadline and three MCP
fixtures settling before child startup markers (empty logs, existing 1-2s
connection/4s catalog deadlines). Narrow failed-case replay passed ACP reset
and two MCP cases; the one-second MCP retirement fixture still failed before
its first child marker. Clean lane-base comparison could not reach assertions:
the temporary checkout lacked workspace-local dependency links for worker
compilation. That case is unresolved, not proven inherited; coordinator-bundle
CI must adjudicate it. No deadline, retry, skip or assertion was weakened.
The final selected real-dispatch suppressed-reply logging regression passed
with completed source verification (one selected case, 202.58s wrapper).

Independent P0-P2 review completed four passes. Declined duplicate findings
about unsupported placement-service hot-swap (real observation/database/writer
authority remains) and alleged run-wait awaits (only synchronous logging lies
between the checks; real mutation and post-await checks remain).

Broad check-changed is NOT green: env-name budget 455/454 also fails on the
unchanged lane-base index, with no added env names; production/full-tree Knip
hit their existing 600s budget; the silent legacy-store scan was interrupted
after 782s. Those two scans are missing proof, not attributed inherited reds.
Hosted coordinator-bundle CI remains the broad gate. Owned mock/type/legacy
fixture findings were corrected and their targeted replays pass.

No changelog, dependency, database schema, durability, retention, permission,
or public API change is included. BELOW-500 branch-only coordinator handoff;
no lane PR or merge.

* chore: shrink stale reply assertion allowance

* test: align catalog publication calls with current contract
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 15, 2026
…ply text (wave-4 bundle) (openclaw#172669)

* refactor(infra): remove redundant replay and freshness machinery

Trust successful migration statements inside their synchronous transactions,
reuse unchanged approval parses, share canonical package-root discovery,
namespace directory caches by plugin identity, and simplify ephemeral presence,
OS facts and suspension timer bookkeeping. Keep source validation, conflicts,
transaction durability, postcommit checks, security authority and write settlement.

Best-effort tradeoffs accepted

- Node-host own-write verification (openclaw#108457): no human successful-SQL-loss report; SQL errors still roll back, and independent source retirement checks remain.
- Workspace setup/attestation replay (openclaw#109147): no human driver-rewrite report; trust successful writes while retaining fingerprints and later source checks.
- APNs expected-ID replay (openclaw#108543): no human silent-insert-loss report; canonical parsing, tombstones and receipts remain.
- Device-auth presence assertion (openclaw#112663): no human successful-upsert-loss report; credential validation and transaction failure handling remain.
- Device-identity replay (openclaw#110392): no human silent-row-rewrite report; preserve independent post-await verification before source deletion.
- MCP OAuth replay (openclaw#161219): no human silent-write-loss report; canonical/source parsing and worker admission remain.
- Exec-approval read/parse/deep-compare replay (openclaw#114063): no human successful-driver-rewrite report; malformed policy stays fail-closed and actual authority is unchanged.
- Shared-auth target reread (openclaw#123349): no human silent-row-rewrite report; return the known SQL postimage and keep independent copy/flip/cleanup checks.
- Identical authored approval bytes (openclaw#168094) reuse the existing parse; changed normalized bytes still parse before publication.
- Plugin metadata fingerprinting (f31bc71): no human in-place metadata-mutation report; distinct objects remain isolated, and same-object edits use TTL/reset.
- Duplicate asset ancestor search (40fb74f): no human cached-miss incident; canonical realpath/wrapper discovery remains, while newly appearing packages need owner invalidation/restart.
- Presence logical clock (openclaw#134737): provenance is synthetic rollback/suspend tests; clock correction may temporarily retain or hide display rows until full update/reconnect, wall time catches up, or restart. TTL, capacity and connection privacy remain.
- Suspension timer generation (openclaw#130003): the removed test directly called a canceled callback; native timer cancellation and current-entry authority remain. An out-of-contract timer implementation could resume a renewed lease early.
- OS tuple-keyed cache (openclaw#135911): keep measured probe sharing and sticky labels; hot-patching OS identity needs restart rather than another namespace.
- Presence list type guards (3965f6b): callers supply validated arrays; existing normalization still owns their values.

Production +40/-228, net -188. Focused migration, asset/cache, presence/caller,
approval-publication and suspension/OS tests pass, as do production and infra-test
types, changed-file lint, assertion and suppression checks, and zero-cycle checks.
Independent final review has no actionable P0-P2 findings. No schema, durability,
retention, indexing, permission, recovery or public SDK change is intended.

Broad changed-check is not claimed green: the original base reproduces the
455-versus-454 environment budget failure. The initial Web Push Doctor timeout
remains unattributed; all Web Push production hunks were dropped and its exact
test passed on restored source. Full build and hosted CI remain unrun.

* refactor(agents): simplify reply preparation and refresh bookkeeping

Share typed actor-store adapters and prepared async auth reads. Reuse the
admitted memory-flush plan, retain last-good catalog views by provider, and
remove unused metadata bookkeeping and config projections. Preserve live
credential/effect authority, FIFO, transcript durability, and ordinary write
settlement. Net production reduction: 303 lines.

Best-effort tradeoffs accepted:
- Plugin-drain successors (openclaw#162301, synthetic): wait the current drain once;
  a later reload owns its own publication and recovery.
- A changed memory-flush plan during preparation (openclaw#162177/openclaw#121157, synthetic):
  finish with the admitted plan; the next turn resolves again.
- Per-row catalog freshness (openclaw#158113, synthetic): failed discovery retains
  the provider's last-good configured and supplemental overlays until success.
  Existing auth/profile/source gates and successful-empty replacement remain.
- MCP sibling invalidation during discovery (openclaw#138694, synthetic): a listing
  may briefly be stale; the next read observes the invalidation.
- Passive context metadata supersession (openclaw#119607, synthetic): late discovered
  metadata may win until refresh. Keep the single current-promise check before
  replacing configured limits, preserving the human capacity fix (openclaw#39857).
- Registration-time question answers (openclaw#110372/openclaw#134003, synthetic): a prompt
  can briefly race the answer; its terminal signal closes delivery.
- Duplicate or never-attached internal question registrations: both real
  producers attach once synchronously. Unsupported misuse loses its extra
  diagnostic/disposal wakeup; ordinary lifecycle rejection remains.
- Cancellation publication once/must-consume flags (openclaw#161124, synthetic): the
  sole internal producer invokes once. Keep active-scope/effect authority.
- In-flight placement-service replacement (openclaw#164744, synthetic): use the
  captured startup service, with its observation and writer authority intact.
- Compaction callback rebinding (openclaw#146732/openclaw#163264, synthetic): current work
  retains its captured callbacks and live assertion; later work captures anew.
- Re-entrant logging between synchronous run-owner checks: openclaw#162227 removed
  the awaited retry, making the second check redundant. Real post-await and
  mutation-effect checks remain.
- Startup diagnostic admission (openclaw#146792): the sole producer checks lifecycle
  immediately before recording. Remove only the recorder's duplicate check;
  preserve the human abort/recovery fix (openclaw#146692), reset, and admin redaction.

Release-note context: verbose diagnostics no longer include suppressed reply
text or background bash command contents. Execution and user replies remain
unchanged. Config show uses the same schema-aware redactor without cloning
an already detached result or redacting unused snapshot views.

Validation: touched core, messaging and Gateway-method type graphs passed;
49 changed TypeScript files passed targeted lint/format; runtime and Madge
cycles are both zero. Auth reader, question authority, memory flush, restart
claim, catalog worker, cancellation and compaction boundary proof is recorded
in the lane ledger. Final supplemental run: 392 tests passed, four failed
across 28 files, with final source verification. All 120 agents-support tests
passed, including refresh coalescing, publication, run-wait and compaction.
The four failures were an unchanged 120s ACP reset deadline and three MCP
fixtures settling before child startup markers (empty logs, existing 1-2s
connection/4s catalog deadlines). Narrow failed-case replay passed ACP reset
and two MCP cases; the one-second MCP retirement fixture still failed before
its first child marker. Clean lane-base comparison could not reach assertions:
the temporary checkout lacked workspace-local dependency links for worker
compilation. That case is unresolved, not proven inherited; coordinator-bundle
CI must adjudicate it. No deadline, retry, skip or assertion was weakened.
The final selected real-dispatch suppressed-reply logging regression passed
with completed source verification (one selected case, 202.58s wrapper).

Independent P0-P2 review completed four passes. Declined duplicate findings
about unsupported placement-service hot-swap (real observation/database/writer
authority remains) and alleged run-wait awaits (only synchronous logging lies
between the checks; real mutation and post-await checks remain).

Broad check-changed is NOT green: env-name budget 455/454 also fails on the
unchanged lane-base index, with no added env names; production/full-tree Knip
hit their existing 600s budget; the silent legacy-store scan was interrupted
after 782s. Those two scans are missing proof, not attributed inherited reds.
Hosted coordinator-bundle CI remains the broad gate. Owned mock/type/legacy
fixture findings were corrected and their targeted replays pass.

No changelog, dependency, database schema, durability, retention, permission,
or public API change is included. BELOW-500 branch-only coordinator handoff;
no lane PR or merge.

* chore: shrink stale reply assertion allowance

* test: align catalog publication calls with current contract
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL 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