Skip to content

refactor: prepare bundled callers for async SDK removal - #175199

Merged
steipete merged 6 commits into
mainfrom
dbasync/sdkprep2
Oct 17, 2026
Merged

steipete merged 6 commits into
mainfrom
dbasync/sdkprep2

Conversation

@steipete

@steipete steipete commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Bundled sandbox and discussion operations still called deprecated synchronous storage readers, and several SDK declarations lacked the announced removal window.

User Impact

Sandbox and ClickClack operations prepare authority through existing async owners and keep receipt-backed checks at provisioning, channel updates, history disclosure, and destructive cleanup. The built-in memory manager now warns legacy status() callers to use statusAsync().

No shipped methods are removed. The final compatibility day is December 31, 2026, with removal planned for the first January 2027 stable release after a stable release has shipped the deprecation and working async replacement. Third-party memory managers retain the documented synchronous fallback during that period.

Why This Change Was Made

The existing session and plugin-state owners already publish committed changes. These consumers retain those facts through the operation and release them afterward instead of rereading SQLite at each boundary. Attachment and detached-marker bookkeeping use the existing exact-row CAS. No new schema, authority store, cache, or cross-thread handshake is introduced.

Removed checks and accepted edges:

  • Post-HTTP metadata authority reread: delivered metadata can be recorded after policy changes during HTTP; ordinary reconciliation handles the policy change, and CAS protects a successor binding.
  • Attachment and detached-marker session rereads: a reset can leave bookkeeping temporarily stale until the next refresh; external effects and destructive pruning retain their own authority checks.
  • Duplicate same-room binding reads: stale bookkeeping can reach CAS and return a conflict instead of failing an earlier duplicate read.

The remaining synchronous session-share disclosure, realtime voice overlay, and discussion-opening callers need changes in their existing owners. Session-share must preserve batched policy selection, voice needs a lazy prepared-overlay lifetime, and discussion opening deliberately follows resets during HTTP. Shipped synchronous visibility providers and custom adapters remain compatible. Telegram's adapter is deferred: needs Telegram Test Server live proof (coordinator-run, Molty QA Convex broker). This PR does not claim that January removal is already mechanical.

Evidence

Validation is complete at 695483aae431266cabd4ac4ee65eeaf1ae4a4f44, based on 1eedd741c6d4a58c12240dcd60b67740efd2386a. No SQL or latency saving is claimed.

Measurement Base Candidate
Warmed raw all-thread statements, median [min–max] 62 [62–64] 62 [62–96]
Warmed raw requests, median [min–max] 17 [17–19] 17 [17–22]
Warmed raw MAIN statements, median [min–max] 0 [0–0] 0 [0–13]
Turn-caused statements 62 [62–63] 62 [62–63]
Turn-caused requests 17 [17–18] 17 [17–18]
Turn-caused MAIN statements 0 [0–0] 0 [0–0]
Whole-workload statements / requests / MAIN 3553 / 908 / 151 3551 / 908 / 152
Changed subsystem operations Not exercised by harness Not exercised by harness
Canonical T1 call count (CI merge context) 182 182
Direct inventory primitives in changed production files 0 0

One unchanged shared-v3 M/C pair passes: all 14 top-level turns succeed in each arm, causal coverage is complete, both shutdowns/restart succeed, and observer errors and remaining fixture children are zero. Calibration passes on MAIN and worker (7 statements / 8 native calls / 2 prepares each). Every turn-caused warm count matches. The candidate first warm window includes 33 background statements (13 MAIN lease-expiry reads and 20 worker plugin-index/config/lease operations); the same SQL/thread cohort occurs during the base first turn. Whole-workload MAIN rises by one cold restart-admission busy-timeout pragma. This is warm non-regression evidence only: the standard harness does not exercise the changed sandbox provisioning or ClickClack channel effects, and the shared host does not support latency claims. New regressions cover sandbox authority after an in-process write, ClickClack plugin-state receipts across awaited effects, withholding history after revocation/reset, and the actual memory-manager warning. The ClickClack session fixture is contract proof; core session-owner integration tests supply receipt-publication proof.

Changed-file formatting, basic lint, and git diff --check passed. Two isolated Codex reviews completed without actionable P0/P1 findings. The subsequent P1 history finding is fixed: retained authority is checked before the credentialed HTTP fetch and before disclosure, and the zero-fetch-after-revocation regression passes.

Final-head CI 39013658010 passes production/test typechecks, type-aware lint, source contracts/export guards, architecture/Madge and baseline ratchets. All 154 cases in the ten changed test files pass, plus five cases in the existing changed-export mock consumer. The obsolete sandbox mock baseline entry was pruned; no allowance was added. T1 compatibility entries remain 10 → 10, and all three changed-production dialect groups remain 0 → 0. Canonical SDK comparison finds no added or removed entrypoints and no changed public call signatures. All 193 affected exports are reachable-type changes from the optional createdActor receipt field and the new memory-manager-sync-status compatibility record (four unique declaration changes). The SDK surface check passes for 375 entrypoints against the shipped v2026.10.4 surface, and all seven runtime API guardrail tests pass. Knip exits 1 on both exact base and candidate with identical 26 production / 16 full-tree / 0 script unused-export tuples, all three scans complete and no new findings. This is an inherited static failure, not a passing scan.

CI remains failed (89 successful jobs, four failed test jobs plus the aggregate gate, 22 skipped). Landing uses the authorized v4 inherited-failure exception; failures are recorded individually:

  • OAuth cleanup and reply admission match the same tests/error signatures on scheduled main run 39010956087 (jobs 117333372944 and 117333373103). OAuth ran under Bun in this PR and Node on main; this is matching-signature attribution, not a same-runtime reproduction or a claim that the failure is fixed.
  • The agent-deletion product test's missing memory-core/worker-api.js surface and worker exit match current main run 39013936147, job 117342199582, under Node.
  • Two PostgreSQL memory-search cases (vector replacement and bounded snippets) match main run 39013936147, job 117342198401. The body/path failure is attributed to the upstream watcher fixture defect repaired by 90e9222398af: events were injected into a process-local mock after observation moved to a worker. A controlled upstream diagnostic proved the missing subscription, and the test-only fix retains real indexing/retrieval assertions. Upstream run 39015209653 passes all seven memory cases and 728 PostgreSQL tests. The earlier upstream body/path failure reached deletion line 261; this candidate failed replacement line 250, so this is source/fixture attribution, not an identical assertion replay. Candidate infrastructure passes all 291 cases; its original integrations result remains failed.

No update/Doctor/schema/plugin-loading/service-lifecycle behavior changes are included, so the update cell is not applicable. LOC: production +410/−309; tests +308/−99; docs +5/−0; baseline −1 (58 files, total +723/−409).

@clawsweeper

clawsweeper Bot commented Oct 17, 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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-17T07:30:38.979891Z 695483a New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components.

No secops approval is required. This comment is informational because the PR author has Maintain or Admin access.

  • Current SHA: 695483aae431266cabd4ac4ee65eeaf1ae4a4f44
  • Maintainer: @steipete
  • Repository role: admin

These security sensitive changes were made:

  • src/agents/auth-profiles/profiles.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/runtime-read.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/runtime-snapshots.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/store-read.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/store-runtime.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/store.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/model-auth-model.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.

Carefully review these changes before merging.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation channel: matrix Channel integration: matrix extensions: memory-core Extension: memory-core agents Agent runtime and tooling extensions: clickclack size: XL labels Oct 17, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6a9490ce4a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

) {
return { text: "No discussion is bound to this session." };
}
const history = await client.latestChannelMessages(binding.channelId, limit);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Validate discussion authority before fetching history

When a channel revocation, binding replacement, or session reset is published after the earlier attachment refresh, this still issues the authenticated latestChannelMessages request before checking the retained binding, session, and revocation facts; the checks below only suppress the returned text after private channel contents have already been fetched. Revalidate these prepared facts immediately before the HTTP request, while retaining the existing post-await check for changes during the request.

AGENTS.md reference: AGENTS.md:L71-L71

Useful? React with 👍 / 👎.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 17, 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. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 17, 2026
@clawsweeper

clawsweeper Bot commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge.

What this changes

Moves bundled sandbox and ClickClack callers to prepared async authority checks and completes SDK deprecation notices.

Example: A ClickClack session resets while its discussion history request is in flight.

  • Before: History could be returned after the earlier session-authority check became stale.
  • After: The retained authority is checked again before returning history, withholding the result after reset.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Useful, owner-directed refactoring with no discrete finding, but final-effect authority evidence remains incomplete.
Proof confidence 🦪 silver shellfish (2/6) Real behavior proof is necessary before merge. See Before merge.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Product

Kind: Refactor · Worth it: Yes · Fix scope: Complete
User problem: Bundled operations still use deprecated synchronous storage readers, and legacy memory-status callers lack an actionable runtime migration notice.
Reason: The maintainer-directed change advances an approved migration while preserving released interfaces and explicitly recording recoverable bookkeeping tradeoffs.

Merge readiness

⛔ Blocked before merge - 4 items remain

Keep this PR open: it advances the approved async SDK migration, preserves shipped compatibility, and has no definite introduced defect established by this review.

Priority: P2
Reviewed head: fe2a0f1bea5aab6749d6682011c5562f81b9557d

Before merge

  • Add real behavior proof - Authority-chain proof required: supplied tests replace sandbox provisioning and ClickClack session-authority preparation, and no linked runtime trace exercises the complete changed chain. Provide production-owner evidence of an allowed operation, denial before provisioning or authenticated HTTP after revocation/replacement/reset, withholding history after an in-flight reset, and preservation of reattached bindings during pruning. Redact IPs, API keys, phone numbers, and non-public endpoints. After adding proof, update the PR body, then request a new review with @clawsweeper re-review. The PR author or someone with repository write access can request it.
  • Resolve security review attention item - No concrete bypass was established, but the changed authority chain still needs final-effect validation.
  • Resolve merge risk - Before merge, establish that replacing synchronous authority reads preserves rejection of revoked or reassigned authority at the real sandbox and ClickClack effect boundaries.
  • Complete next step - Have the CI owner classify the failed core test typecheck, OAuth-cleanup test, and reply-admission cancellation test; request author repairs only for failures caused by this diff.

Findings

None.

Tests

  • Missing end-to-end proof: Show allowed and revoked/reset operations through the production session owner and real final effects; base-fails/head-passes execution is not supplied for the new regression cases.
Agent review details

How this fits together

Plugin runtime operations consume session and plugin-state facts from existing storage owners, then authorize sandbox provisioning, ClickClack requests, history disclosure, and binding cleanup.

flowchart TD
  A[Bundled plugin callers] --> B[Async authority preparation]
  C[Session storage owner] --> B
  D[Plugin state owner] --> B
  B --> E[Current authority checks]
  E --> F[Sandbox provisioning]
  E --> G[ClickClack effects and history]
Loading

Technical review

Best possible solution:

Use the existing async storage owners and receipt-backed effect checks while preserving shipped SDK methods through the approved compatibility window.

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

This is a migration refactor rather than a reported current-release bug; source inspection confirms the synchronous caller paths being replaced, and no target code was executed.

Is this the best way to solve the issue?

The implementation follows existing session and plugin-state owners, retains final-effect assertions, and explains the bookkeeping checks it removes without introducing another state owner.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 4a2c8498afcb.

Merge-risk options

Maintainer options:

  1. Validate the complete authority chain (recommended)
    Exercise permitted operations and denial after policy changes, binding revocation or replacement, and session reset through production owners and the actual provisioning or HTTP boundary.

Provenance checked

  • Sandbox workspace authority keeps the original intent (0ecbbe2: Keep restricted Workboard dispatch within the caller's workspace authority; subsequent session-owner changes retained live final-effect checks.)
  • ClickClack durable attachments and retention changes intended behavior with a stated reason (0b68f8e: Keep remote discussion rooms durable while sessions remain replaceable attachments, with inactive sessions denied access.)
  • ClickClack prepared binding and revocation facts keeps the original intent (ad76238: Use owner-published facts for warmed authority checks while preserving denial during pending or unknown writes.)
  • Memory status compatibility keeps the original intent (05848c1: Move bundled status reads into workers while retaining released synchronous status and third-party manager compatibility.)
  • SDK removal annotations keeps the original intent (418f32e: Align migration guidance and warnings on the approved December compatibility deadline and January stable removal.)

Testing

Proof path: in-process harness.

Security

Needs attention: No concrete bypass was established, but the changed authority chain still needs final-effect validation.

Evidence

What I checked:

  • Pinned introduced change: Reviewed the merge-base-to-head hunks rather than attributing base-branch movement to this PR; the checkout matches the verified original head. (fe2a0f1bea5a)
  • Existing authority owner reused: Sandbox preparation retains the existing session-currentness owner, passes its source assertion into provisioning, and releases it afterward; that owner includes session identity and lifecycle revision by default. (src/plugins/runtime/index.ts:234, fe2a0f1bea5a)
  • Earlier history finding addressed: The earlier discussion finding is addressed: current binding, session, account, and revocation facts are checked before the authenticated history request and again before disclosure. (extensions/clickclack/src/discussions/service-history.ts:79, fe2a0f1bea5a)
  • Authority proof boundary: The sandbox regression substitutes resolveSandboxContext, and ClickClack tests substitute the new session-authority module; these support individual contracts but do not exercise the complete changed authority chain through real final effects. (extensions/clickclack/src/discussions/session-authority.test-support.ts:7, fe2a0f1bea5a)
  • Maintainer direction and accepted tradeoffs: The maintainer-authored body explicitly accepts temporary attachment bookkeeping staleness and recording already-delivered metadata after policy changes, while retaining CAS and effect checks. The full live body and comments were read; captured body sourceRevision is 3055259392a7c6a3a32186e266678d93115a274abe891390bc33e26e1147c3f2. (fe2a0f1bea5a)
  • Approved compatibility window: The merged migration work at refactor: prepare synchronous SQLite SDK retirement #171775 and the SDK instructions establish December 31 compatibility followed by January stable removal; this PR preserves methods and the third-party synchronous memory fallback. (src/plugin-sdk/AGENTS.md, 418f32e2468b)

Likely related people:

  • Peter Steinberger: Raw commit 6af860c adds src/plugins/runtime/index.ts:256 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 6af860cacd86; files: src/plugins/runtime/index.ts)
  • Shakker: Raw commit 0b68f8e adds extensions/clickclack/src/discussions/binding-retention.ts:18 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 0b68f8e1ed5f; files: extensions/clickclack/src/discussions/binding-retention.ts)
  • Vignesh Natarajan: Raw commit 5d3af3b adds src/memory/manager.ts:408 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: low; commits: 5d3af3bc6226; files: src/memory/manager.ts)

PR surface

Source +101, Tests +207, Docs +5, Other -1. Total +312 across 58 files. Added test files: 2.

View PR surface stats
Area Files Added Removed Net
Source 44 410 309 +101
Tests 12 306 99 +207
Docs 1 5 0 +5
Config 0 0 0 0
Generated 0 0 0 0
Other 1 0 1 -1
Total 58 721 409 +312

Labels

Label changes:

  • add P2: This is planned internal SDK migration work with no established urgent user-facing regression.
  • add merge-risk: 🚨 compatibility: The patch adds an SDK export and memory-status deprecation behavior under the already approved removal schedule; shipped methods and the third-party fallback remain available.
  • add merge-risk: 🚨 security-boundary: Prepared authority now governs sandbox provisioning, authenticated discussion requests, disclosure, and destructive binding cleanup across awaited work.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦐 gold shrimp.
  • add status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Label justifications:

  • P2: This is planned internal SDK migration work with no established urgent user-facing regression.
  • merge-risk: 🚨 security-boundary: Prepared authority now governs sandbox provisioning, authenticated discussion requests, disclosure, and destructive binding cleanup across awaited work.
  • merge-risk: 🚨 compatibility: The patch adds an SDK export and memory-status deprecation behavior under the already approved removal schedule; shipped methods and the third-party fallback remain available.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦐 gold shrimp.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Add final-effect proof for revoked discussion authority and changed sandbox policy, including session reset or binding reassignment before I/O.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 17, 2026, 2:34 AM ET / 06:34 UTC.

@steipete

Copy link
Copy Markdown
Contributor Author

The credentialed-history P1 is fixed: retained authority is checked before the HTTP fetch and again before disclosure. The zero-fetch-after-revocation regression and the in-flight reset/revocation cases pass in final-head CI.

ClawSweeper found no remaining discrete defect. Its broader production-owner/final-effect end-to-end proof request remains a follow-up under the maintainer-authorized relaxed landing policy. The current evidence is scoped owner-contract tests plus existing receipt-publication integration tests; it is not a live ClickClack or sandbox provisioning trace. The latest automatic Codex review at 695483aa has no findings. No re-review is requested.

The earlier core type failure was repaired upstream and integrated. OAuth, reply admission, and worker-surface failures have qualified main attribution in the PR body. The PostgreSQL watcher-fixture defect is repaired on main by 90e9222398af, with all seven memory cases and 728 PostgreSQL tests passing upstream; this does not change the recorded failed result of the original candidate CI run.

@steipete
steipete merged commit 1a2494e into main Oct 17, 2026
178 of 184 checks passed
@steipete
steipete deleted the dbasync/sdkprep2 branch October 17, 2026 08:51
steipete added a commit that referenced this pull request Oct 17, 2026
…175424)

The legacy Memory Core fixture installed its runtime capability without the
loaded plugin record needed to resolve memory-core/search-api.js. Include
that existing public-surface metadata so the real legacy response path also
works when global bundled discovery is disabled. Response and authority
assertions are unchanged. PR #175199 explicitly says "No shipped methods are
removed" and retains third-party managers' synchronous fallback.

PR #175352 defines "live connection rows plus at most one recent offline row
per operator identity". These sockets share a signed device. On disconnect,
a live sibling intentionally causes the closed row to disappear. Assert that
removal in the emitted presence snapshot instead of waiting for an offline
row. Preserve the per-connection replace-set, narration isolation, invalid
input and presence-version checks, with unchanged deadlines.

Both assigned hourly failures were reproduced before the fixture repairs.
The full affected-file Node run with bundled discovery disabled passed 40/41
cases, including all memory authority cases and the repaired viewer case.
Its unchanged session-scoped chat-delivery case timed out and failed cleanup;
that case passed alone in the normal environment (186.24 s). This additional
failure is recorded, not treated as a clean full-file run. Both targeted test
type graphs and type-aware lint/format pass. P0-P2 autoreview found no findings.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 18, 2026
)

Migrate bundled sandbox and ClickClack operations to existing async session and plugin-state authority receipts. Retain effect-time authority for provisioning, authenticated HTTP, history disclosure, and destructive cleanup while removing redundant bookkeeping rereads.

Complete SDK deprecation wording and warn legacy built-in memory status callers. Preserve all shipped methods through December 31, 2026, with removal eligible for the first January 2027 stable after the deprecation and working replacement ship stable.

Keep Telegram migration and the remaining session-share, voice-overlay, discussion-opening, and authentication cutovers separate; the removal checklist records those prerequisites.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 18, 2026
…penclaw#175424)

The legacy Memory Core fixture installed its runtime capability without the
loaded plugin record needed to resolve memory-core/search-api.js. Include
that existing public-surface metadata so the real legacy response path also
works when global bundled discovery is disabled. Response and authority
assertions are unchanged. PR openclaw#175199 explicitly says "No shipped methods are
removed" and retains third-party managers' synchronous fallback.

PR openclaw#175352 defines "live connection rows plus at most one recent offline row
per operator identity". These sockets share a signed device. On disconnect,
a live sibling intentionally causes the closed row to disappear. Assert that
removal in the emitted presence snapshot instead of waiting for an offline
row. Preserve the per-connection replace-set, narration isolation, invalid
input and presence-version checks, with unchanged deadlines.

Both assigned hourly failures were reproduced before the fixture repairs.
The full affected-file Node run with bundled discovery disabled passed 40/41
cases, including all memory authority cases and the repaired viewer case.
Its unchanged session-scoped chat-delivery case timed out and failed cleanup;
that case passed alone in the normal environment (186.24 s). This additional
failure is recorded, not treated as a clean full-file run. Both targeted test
type graphs and type-aware lint/format pass. P0-P2 autoreview found no findings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling channel: matrix Channel integration: matrix docs Improvements or additions to documentation extensions: clickclack extensions: memory-core Extension: memory-core 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. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. security-sensitive-changed size: XL status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant