Skip to content

fix(memory): report only failed index refreshes - #133239

Merged
obviyus merged 3 commits into
mainfrom
codex/fix-memory-index-health-warning
Aug 30, 2026
Merged

obviyus merged 3 commits into
mainfrom
codex/fix-memory-index-health-warning

Conversation

@obviyus

@obviyus obviyus commented Aug 30, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

memory_search treated the manager's dirty work signal as a failed index. Routine transcript or memory writes could therefore return valid published results together with stale: true and a manual reindex command. The model then repeated that command to the user even though automatic maintenance was already running.

Root cause

dirty means that normal indexing work is pending. It does not record the outcome of automatic indexing. The shared staleness classifier inferred a failure from that boolean and used pendingSyncSources as a timing-based exception. That exception disappeared when a sync settled and did not cover mixed-source refreshes.

Fix

  • Keep dirty as an admin work signal and remove pendingSyncSources.
  • Record direct and detached sync outcomes in an in-memory failure tracker.
  • Clear only the failure visible when a successful retry started, so no-op or older work cannot hide a concurrent failure.
  • Return targeted fallback failures to the tracker when dirty session work remains.
  • Expose only the newest unsuperseded, redacted sync failure as lastSyncError.
  • Make model-visible staleness depend on lastSyncError or an incompatible index identity.
  • Keep failures process-local; memory status --index still reports its own retry failure, and identity blocks still show the repair command.
  • Reuse one index-identity classifier across the tool, CLI, and shared host contract.

Behavior proof

  • Red on 6ddd598683fa4db3186378034513bba47a6ae30b: the real built CLI searched a disposable SQLite-backed Memory Core index and returned the expected cobalt-orchid-7391 marker, plus stale: true, Memory index is dirty, and the manual reindex action.
  • Regression red on current main 8b7d685b2a9: the real-manager tool test failed because a held transcript refresh produced stale: true.
  • Green on exact head 5279f1067ba2ccb11af7c9e0e06c513fabe61912: the production tool and real manager returned the indexed marker without stale, warning, or action during routine maintenance.
  • Automatic sync failure, later recovery, incompatible identity precedence, and out-of-order direct/detached settlement have focused regression coverage.

Validation

  • 193 focused tests passed across Memory Core manager, targeted fallback, real tool, shared classifier, Gateway, and CLI surfaces.
  • Docs checks passed across formatting, Markdown, MDX, links, localization glossary, and config examples.
  • Assertion-safety, max-lines, plugin boundaries, dependency pins, deprecated API, dead exports, database-first, import-cycle, and related changed-surface guards passed.
  • Source lint and git diff --check passed. Hosted CI owns type-aware lint and type-checking for this repository.

Scope

  • No timer, periodic indexing, config, SQLite schema, or persistence change.
  • A later standalone memory status process does not inherit a live manager's failure; logs and the live search result own that diagnostic.
  • No open issue or pull request overlaps this warning repair.
  • Production: +125/-95, net +30. The new lines are the sync outcome tracker. The patch deletes the timing-based pending-source state and duplicate identity parsing.
  • Tests: +228/-69, net +159.

@clawsweeper

clawsweeper Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime extensions: memory-core Extension: memory-core size: L maintainer Maintainer-authored PR labels Aug 30, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 30, 2026
@clawsweeper

clawsweeper Bot commented Aug 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 30, 2026, 6:23 AM ET / 10:23 UTC.

ClawSweeper review

What this changes

The PR changes Memory Core search diagnostics so routine pending indexing stays silent while failed automatic refreshes and incompatible index identities warn that results may be incomplete.

Regression provenance

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

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep this PR open: the exact head addresses both prior P1 findings, and fetched current main still derives stale search warnings from routine dirty work. No new actionable defect was found; normal exact-head CI remains before merge.

Priority: P1
Reviewed head: 5279f1067ba2ccb11af7c9e0e06c513fabe61912

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The repaired exact head has no actionable finding and covers the changed owner plus its tool, CLI, and Gateway consumers.
Proof confidence 🌊 off-meta tidepool Not applicable: Repository state classifies the author as a MEMBER, so the external-contributor proof gate does not apply; the PR body additionally describes an exact-head real-manager scenario, but this read-only review did not execute it.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Repository state classifies the author as a MEMBER, so the external-contributor proof gate does not apply; the PR body additionally describes an exact-head real-manager scenario, but this read-only review did not execute it.
Evidence reviewed 6 items Current-main behavior remains unfixed: Fetched main still treats dirty state, except a narrow session-only timing case, as stale search output; the PR head instead bases the result on an identity problem or recorded sync error.
Canonical repaired classifier: The introduced classifier prioritizes incompatible index identity and otherwise emits a warning only for a non-empty process-local last sync error.
Prior fallback finding repaired: A targeted session refresh that falls back now returns its caught error, and the admitted manager records it while its outcome ledger is active.
Findings None None.
Security None None.

How this fits together

Memory Core indexes workspace and transcript content for the search tool, CLI, and Gateway API. Its manager status feeds a shared staleness classifier that controls whether those callers tell users and models that search results may be incomplete.

flowchart LR
  A[Workspace and transcripts] --> B[Memory index manager]
  B --> C[Background refresh]
  C --> D[Sync outcome ledger]
  B --> E[Search status]
  D --> E
  E --> F[Shared staleness decision]
  F --> G[Tool CLI and Gateway results]
Loading

Before merge

  • Resolve merge risk (P1) - Production code is net +30 lines; the retained ledger is justified because dirty state cannot represent an unsuperseded refresh outcome, so it should remain confined to the process-local manager owner.
  • Complete next step (P2) - No repair job is needed because the prior actionable findings are fixed; await normal exact-head CI before merge.
Agent review details

Security

None.

PR surface

Source +30, Tests +159, Docs 0, Other -1. Total +188 across 23 files.

View PR surface stats
Area Files Added Removed Net
Source 13 130 100 +30
Tests 8 223 64 +159
Docs 1 5 5 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 0 1 -1
Total 23 358 170 +188

Review metrics

Metric Value Why it matters
Production versus test LOC production +125/-95 (net +30); tests/test-support +228/-69 (net +159) The additional runtime state is limited to the outcome ledger while focused coverage expands across manager, tool, CLI, Gateway, and contract paths.

Stored data model

Persistent data-model change detected: unknown-data-model-change: extensions/memory-core/src/memory/manager.ts, unknown-data-model-change: packages/memory-host-sdk/src/host/types.ts, vector/embedding metadata: extensions/memory-core/src/memory/manager-search-maintenance.ts, vector/embedding metadata: extensions/memory-core/src/memory/manager-status-state.ts, vector/embedding metadata: extensions/memory-core/src/memory/manager-sync-outcome.ts, vector/embedding metadata: extensions/memory-core/src/memory/manager-targeted-sync.ts, and 2 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep one process-local sync-outcome ledger at the Memory Core manager and route every search surface through the shared classifier, so pending work never masquerades as failed indexing.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep one process-local sync-outcome ledger at the Memory Core manager and route every search surface through the shared classifier, so pending work never masquerades as failed indexing.

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

Yes. Fetched main's shared classifier directly turns dirty work into a stale warning, while the exact-head real-manager test holds routine transcript maintenance and asserts the warning is absent.

Is this the best way to solve the issue?

Yes. Recording the outcome at the sync owner and sharing one classifier across tool, CLI, and Gateway replaces the timing-derived dirty-state heuristic without adding persistence or configuration.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Repository state classifies the author as a MEMBER, so the external-contributor proof gate does not apply; the PR body additionally describes an exact-head real-manager scenario, but this read-only review did not execute it.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove merge-risk: 🚨 session-state: Current PR review selected no merge-risk labels.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P1: Misleading search warnings can cause agents and operators to perform unnecessary manual reindexing during routine Memory Core maintenance.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Repository state classifies the author as a MEMBER, so the external-contributor proof gate does not apply; the PR body additionally describes an exact-head real-manager scenario, but this read-only review did not execute it.

Evidence

What I checked:

Likely related people:

  • Hoi Hin Adrian Ip: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: 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 (2 earlier review cycles)
  • reviewed 2026-08-30T09:54:06.013Z sha c36468b :: found issues before merge. :: [P1] Record fallback-handled targeted sync failures
  • reviewed 2026-08-30T10:04:54.291Z sha 53f0271 :: needs changes before merge. :: [P1] Record targeted fallback failures before marking sync successful | [P1] Do not let no-op syncs supersede restored maintenance failures

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Aug 30, 2026
@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. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 30, 2026
@obviyus

obviyus commented Aug 30, 2026

Copy link
Copy Markdown
Collaborator Author

Proof: A real SQLite-backed memory search returned the indexed marker during routine pending maintenance without stale, warning, or action; forced sync failures and incompatible index identities remain actionable.

  • Bug: Normal dirty work looked like failed indexing, so models repeated a manual reindex command.
  • Fix: Memory Core now separates pending work from process-local sync failures and preserves failures across fallback and concurrent settlement.

Example

Before After
Valid results plus a manual reindex warning during normal refresh Valid results without a warning; actual failures still report recovery guidance

@obviyus
obviyus merged commit 162df44 into main Aug 30, 2026
432 of 436 checks passed
@obviyus
obviyus deleted the codex/fix-memory-index-health-warning branch August 30, 2026 10:42
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 31, 2026
Routine memory and transcript refreshes no longer produce model-visible stale-index warnings or manual reindex requests.

Memory Core now reports only incompatible index identity or a process-local automatic sync failure. A later successful retry clears that failure without hiding concurrent or fallback-retained work.

Co-authored-by: Ayaan Zaidi <[email protected]>
steipete added a commit that referenced this pull request Oct 15, 2026
Share Google SSE startup, OpenAI voice configuration preparation and MiniMax
request credentials. Reuse the SDK FIFO permit pool for Session Share and
return Logbook's committed standup receipt instead of rereading its write.
Remove repeated ONNX validation after the existing schema boundary and unused
response/header copies. Preserve public surfaces, auth, resource bounds,
snapshot limits, user-data durability and shutdown settlement. Phase E stays
untouched. Simplify ordinary Memory Core sync-error bookkeeping and remove
late-probe cache fencing and synthetic multi-process LanceDB startup retries.
Remove redundant Bonjour sentinel/cleanup/listener defenses while retaining
network-error handling and stop settlement.
Net production reduction: 217 lines;
test reduction: 204 lines.

Best-effort tradeoffs accepted:
- Active Memory's synthetic maximum-Date clock no longer bypasses caching;
  d649548 introduced the forced-clock fixture, not a human-use report.
- Voice Call's synthetic maximum-Date clock uses numeric expiry and always
  admits the cache entry before native Promise rejection cleanup;
  55d4456 introduced the forced-clock fixture, not a human-use report.
- Future mutation of an internal webhook response is not isolated by copies;
  #118754 records synthetic HTTP proof, and no current consumer mutates it.
- A publication racing compiled-cache reconciliation is picked up on the next
  lifecycle refresh; #110167 pins a synthetic lookup interleaving, not an incident.
- A later parallel standup may overwrite the stored day, while each caller gets
  its own committed receipt; #99930/#144982 add the self-reread without an incident.
- Deliberate mutation of Fal's internal image array during credential lookup may
  reach provider validation; migration 0f54ca2 already had a guarded caller.
- Future mutation of Comfy's internal GET headers is not isolated by extra copies;
  #167205 retained these copies, but the current consumers are read-only.
- An embedding probe finishing during adapter replacement can cache old
  availability for the existing 30-second TTL or until invalidation; #144252
  and related #135599/#141280 describe architecture/synthetic lifecycle proof,
  not a human incident. Provider authority and shutdown drainage stay intact.
- A competing LanceDB initializer exposing a table before its first readable
  version may fail startup and need the next invocation/restart. #105896's
  retry proof coordinates six processes; #105680 describes source inference,
  and its review explicitly notes that no actual failure log was supplied.
  Atomic existOk creation, schema/agent checks and user-data durability stay.
- Internal handled-sync failure calls no longer re-check a tracked-active flag;
  #133239 introduced the bookkeeping, but every production caller is already
  inside tracked sync. A future untracked internal caller records its advisory
  failure directly. Deferred work and real overlapping failure identity stay.
- Nonfinite ONNX logits still fail at the TypeBox IPC schema boundary; #153476
  redundantly scanned the same validated vector a second time. No malformed
  network/worker input is newly admitted.
- Bonjour's fixed-path existsSync no longer catches impossible filesystem
  exceptions; direct 989cfd1 cites no incident and Node already returns false.
  A throwing monkey-patch now fails startup visibly.
- Bonjour cleanup no longer repeats stopPromise's once-only bookkeeping;
  ddc2036 added the flag for smoke stabilization without a user incident.
  Failed startup cannot expose a stop handle; SDK unsubscribe is idempotent.
- Bonjour's fixed EventEmitter listeners no longer swallow attachment errors;
  direct 7389fc0 cites no incident, and pinned Ciao inherits ordinary on().
  A future dependency-contract violation follows existing startup cleanup.

Proof: targeted production/test types, syntax lint, formatting, zero runtime
and Madge cycles, SDK source boundaries, lint-suppressions and focused plugin
owner/sibling suites. Fresh independent review's sole ONNX finding is disproved
by actual parseWorkerReply rejecting NaN and both infinities, as the installed
TypeBox validator calls Number.isFinite. No accepted finding remains.

One kept Memory Core generation-lease case hits its unchanged five-second
embedding-start deadline on both candidate and unchanged task base 9e3e16c.
It bypasses changed outcome/probe bookkeeping. It is not claimed passing or
fixed. Typed-lint declaration preparation and full Active Memory suite startup
also exceeded unchanged deadlines. Broad build/check-changed and PR CI unrun.
Below-500 branch-only packet for bundling; Phase E remains untouched.
steipete added a commit that referenced this pull request Oct 15, 2026
* refactor(plugins): consolidate provider and feature paths

Share Google SSE startup, OpenAI voice configuration preparation and MiniMax
request credentials. Reuse the SDK FIFO permit pool for Session Share and
return Logbook's committed standup receipt instead of rereading its write.
Remove repeated ONNX validation after the existing schema boundary and unused
response/header copies. Preserve public surfaces, auth, resource bounds,
snapshot limits, user-data durability and shutdown settlement. Phase E stays
untouched. Simplify ordinary Memory Core sync-error bookkeeping and remove
late-probe cache fencing and synthetic multi-process LanceDB startup retries.
Remove redundant Bonjour sentinel/cleanup/listener defenses while retaining
network-error handling and stop settlement.
Net production reduction: 217 lines;
test reduction: 204 lines.

Best-effort tradeoffs accepted:
- Active Memory's synthetic maximum-Date clock no longer bypasses caching;
  d649548 introduced the forced-clock fixture, not a human-use report.
- Voice Call's synthetic maximum-Date clock uses numeric expiry and always
  admits the cache entry before native Promise rejection cleanup;
  55d4456 introduced the forced-clock fixture, not a human-use report.
- Future mutation of an internal webhook response is not isolated by copies;
  #118754 records synthetic HTTP proof, and no current consumer mutates it.
- A publication racing compiled-cache reconciliation is picked up on the next
  lifecycle refresh; #110167 pins a synthetic lookup interleaving, not an incident.
- A later parallel standup may overwrite the stored day, while each caller gets
  its own committed receipt; #99930/#144982 add the self-reread without an incident.
- Deliberate mutation of Fal's internal image array during credential lookup may
  reach provider validation; migration 0f54ca2 already had a guarded caller.
- Future mutation of Comfy's internal GET headers is not isolated by extra copies;
  #167205 retained these copies, but the current consumers are read-only.
- An embedding probe finishing during adapter replacement can cache old
  availability for the existing 30-second TTL or until invalidation; #144252
  and related #135599/#141280 describe architecture/synthetic lifecycle proof,
  not a human incident. Provider authority and shutdown drainage stay intact.
- A competing LanceDB initializer exposing a table before its first readable
  version may fail startup and need the next invocation/restart. #105896's
  retry proof coordinates six processes; #105680 describes source inference,
  and its review explicitly notes that no actual failure log was supplied.
  Atomic existOk creation, schema/agent checks and user-data durability stay.
- Internal handled-sync failure calls no longer re-check a tracked-active flag;
  #133239 introduced the bookkeeping, but every production caller is already
  inside tracked sync. A future untracked internal caller records its advisory
  failure directly. Deferred work and real overlapping failure identity stay.
- Nonfinite ONNX logits still fail at the TypeBox IPC schema boundary; #153476
  redundantly scanned the same validated vector a second time. No malformed
  network/worker input is newly admitted.
- Bonjour's fixed-path existsSync no longer catches impossible filesystem
  exceptions; direct 989cfd1 cites no incident and Node already returns false.
  A throwing monkey-patch now fails startup visibly.
- Bonjour cleanup no longer repeats stopPromise's once-only bookkeeping;
  ddc2036 added the flag for smoke stabilization without a user incident.
  Failed startup cannot expose a stop handle; SDK unsubscribe is idempotent.
- Bonjour's fixed EventEmitter listeners no longer swallow attachment errors;
  direct 7389fc0 cites no incident, and pinned Ciao inherits ordinary on().
  A future dependency-contract violation follows existing startup cleanup.

Proof: targeted production/test types, syntax lint, formatting, zero runtime
and Madge cycles, SDK source boundaries, lint-suppressions and focused plugin
owner/sibling suites. Fresh independent review's sole ONNX finding is disproved
by actual parseWorkerReply rejecting NaN and both infinities, as the installed
TypeBox validator calls Number.isFinite. No accepted finding remains.

One kept Memory Core generation-lease case hits its unchanged five-second
embedding-start deadline on both candidate and unchanged task base 9e3e16c.
It bypasses changed outcome/probe bookkeeping. It is not claimed passing or
fixed. Typed-lint declaration preparation and full Active Memory suite startup
also exceeded unchanged deadlines. Broad build/check-changed and PR CI unrun.
Below-500 branch-only packet for bundling; Phase E remains untouched.

* refactor(plugins): consolidate remaining feature and provider owners

Replace ACPX trust scanning with the existing TOML parser, consolidate Logbook operation dispatch, reuse SDK FIFO playback admission, and prepare wiki claims once. Remove repeated internal validation and redundant copies while retaining external validation, live authority, resource bounds, durability and Phase E. Shrink only the assertion allowances eliminated by these removals. The complete branch removes 750 net production lines. Accepted timing and internal-mutation tradeoffs, provenance, review decisions and proof are recorded in the PR body and requested local ledger.

* test(plugins): align checks with simplified owners
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 16, 2026
…aw#173064)

* refactor(plugins): consolidate provider and feature paths

Share Google SSE startup, OpenAI voice configuration preparation and MiniMax
request credentials. Reuse the SDK FIFO permit pool for Session Share and
return Logbook's committed standup receipt instead of rereading its write.
Remove repeated ONNX validation after the existing schema boundary and unused
response/header copies. Preserve public surfaces, auth, resource bounds,
snapshot limits, user-data durability and shutdown settlement. Phase E stays
untouched. Simplify ordinary Memory Core sync-error bookkeeping and remove
late-probe cache fencing and synthetic multi-process LanceDB startup retries.
Remove redundant Bonjour sentinel/cleanup/listener defenses while retaining
network-error handling and stop settlement.
Net production reduction: 217 lines;
test reduction: 204 lines.

Best-effort tradeoffs accepted:
- Active Memory's synthetic maximum-Date clock no longer bypasses caching;
  1802f6b introduced the forced-clock fixture, not a human-use report.
- Voice Call's synthetic maximum-Date clock uses numeric expiry and always
  admits the cache entry before native Promise rejection cleanup;
  c7b888b introduced the forced-clock fixture, not a human-use report.
- Future mutation of an internal webhook response is not isolated by copies;
  openclaw#118754 records synthetic HTTP proof, and no current consumer mutates it.
- A publication racing compiled-cache reconciliation is picked up on the next
  lifecycle refresh; openclaw#110167 pins a synthetic lookup interleaving, not an incident.
- A later parallel standup may overwrite the stored day, while each caller gets
  its own committed receipt; openclaw#99930/openclaw#144982 add the self-reread without an incident.
- Deliberate mutation of Fal's internal image array during credential lookup may
  reach provider validation; migration d365cd8 already had a guarded caller.
- Future mutation of Comfy's internal GET headers is not isolated by extra copies;
  openclaw#167205 retained these copies, but the current consumers are read-only.
- An embedding probe finishing during adapter replacement can cache old
  availability for the existing 30-second TTL or until invalidation; openclaw#144252
  and related openclaw#135599/openclaw#141280 describe architecture/synthetic lifecycle proof,
  not a human incident. Provider authority and shutdown drainage stay intact.
- A competing LanceDB initializer exposing a table before its first readable
  version may fail startup and need the next invocation/restart. openclaw#105896's
  retry proof coordinates six processes; openclaw#105680 describes source inference,
  and its review explicitly notes that no actual failure log was supplied.
  Atomic existOk creation, schema/agent checks and user-data durability stay.
- Internal handled-sync failure calls no longer re-check a tracked-active flag;
  openclaw#133239 introduced the bookkeeping, but every production caller is already
  inside tracked sync. A future untracked internal caller records its advisory
  failure directly. Deferred work and real overlapping failure identity stay.
- Nonfinite ONNX logits still fail at the TypeBox IPC schema boundary; openclaw#153476
  redundantly scanned the same validated vector a second time. No malformed
  network/worker input is newly admitted.
- Bonjour's fixed-path existsSync no longer catches impossible filesystem
  exceptions; direct 1fa8665 cites no incident and Node already returns false.
  A throwing monkey-patch now fails startup visibly.
- Bonjour cleanup no longer repeats stopPromise's once-only bookkeeping;
  2ef6daa added the flag for smoke stabilization without a user incident.
  Failed startup cannot expose a stop handle; SDK unsubscribe is idempotent.
- Bonjour's fixed EventEmitter listeners no longer swallow attachment errors;
  direct 836f011 cites no incident, and pinned Ciao inherits ordinary on().
  A future dependency-contract violation follows existing startup cleanup.

Proof: targeted production/test types, syntax lint, formatting, zero runtime
and Madge cycles, SDK source boundaries, lint-suppressions and focused plugin
owner/sibling suites. Fresh independent review's sole ONNX finding is disproved
by actual parseWorkerReply rejecting NaN and both infinities, as the installed
TypeBox validator calls Number.isFinite. No accepted finding remains.

One kept Memory Core generation-lease case hits its unchanged five-second
embedding-start deadline on both candidate and unchanged task base d6898f3.
It bypasses changed outcome/probe bookkeeping. It is not claimed passing or
fixed. Typed-lint declaration preparation and full Active Memory suite startup
also exceeded unchanged deadlines. Broad build/check-changed and PR CI unrun.
Below-500 branch-only packet for bundling; Phase E remains untouched.

* refactor(plugins): consolidate remaining feature and provider owners

Replace ACPX trust scanning with the existing TOML parser, consolidate Logbook operation dispatch, reuse SDK FIFO playback admission, and prepare wiki claims once. Remove repeated internal validation and redundant copies while retaining external validation, live authority, resource bounds, durability and Phase E. Shrink only the assertion allowances eliminated by these removals. The complete branch removes 750 net production lines. Accepted timing and internal-mutation tradeoffs, provenance, review decisions and proof are recorded in the PR body and requested local ledger.

* test(plugins): align checks with simplified owners
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-core Extension: memory-core gateway Gateway runtime maintainer Maintainer-authored PR P1 High-priority user-facing bug, regression, or broken workflow. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: L 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