Skip to content

fix(gateway): preserve concurrent empty session group creation - #186896

Merged
RomneyDa merged 3 commits into
openclaw:mainfrom
bkudiess:bkudiess-atomic-session-groups
Nov 2, 2026
Merged

RomneyDa merged 3 commits into
openclaw:mainfrom
bkudiess:bkudiess-atomic-session-groups

Conversation

@bkudiess

@bkudiess bkudiess commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Related: #106362 (API foundation only; bundled UI adoption is not included).

What Problem This Solves

Fixes: creating an empty session group from a cached catalog can remove an empty group another client just created.

User Impact

User impact: API clients that adopt sessions.groups.create can create empty groups without replacing another client's groups or changing saved defaults and sidebar order.

This is an additive Gateway API, not a change to existing sessions.groups.put replacement semantics. Clients must detect sessions.groups.create in the advertised methods and call it to benefit; existing clients are not automatically migrated. The operation requires operator.write or admin, not operator.sessions.write. No database migration or production Gateway changes are included.

Maintainer decision before merge: accept this as an API-only foundation, or include bundled group-creation adoption. The existing Control UI race is not fixed by this PR alone.

Why This Change Was Made

Expose sessions.groups.create({ name }) through the existing atomic catalog registration owner. Names are bounded, nonblank, trimmed, and idempotent; the response is { ok: true, groups, sectionOrder? }. The existing worker admission rechecks current request authority before committing, and successful requests publish the normal catalog-only sessions.changed notification. Refresh-then-put cannot eliminate the original race.

Regenerating protocol validators on Windows exposed backslashes in declaration import specifiers; normalize them in the generator rather than hand-editing generated output. The large generated predicate diff is automatic helper-index renumbering.

Simplification retained one storage owner and introduced no new state, cache, migration, compatibility fallback, or caller-side replacement path.

Excluding generated output, the production/tooling growth is the new public RPC boundary. Its test coverage exercises distinct validation, concurrency, notification, and live-authority regressions. The CI mock repair preserves real module exports and removes one obsolete closed-mock exemption.

Evidence

Conflict and CI-budget repair — 2026-11-02

Candidate 43d3636, rebased onto b8ed94f. Resolved conflicts by retaining main's appended method descriptors, moving the schema export into the current public-schema-sessions.ts owner, and regenerating the canonical protocol predicates. The runtime handler and regression semantics are unchanged. Independent inspection of the authored range-diff found no actionable conflict-resolution issue.

Passed on the exact final source: canonical validator generation/parity, protocol registry and since guards, test-line and mock-export guards; 43 tests across five files (85.59s wrapper wall time); Gateway-method-test and scripts typechecks; targeted lint/format; Gateway protocol package/declarations build and public-mutability contract; normal commit hook and whitespace checks. Compiler preparation dominates the 74.01s Gateway shard; the declaration and protocol-validation shards took 1.37s and 3.08s respectively. Hosted CI timing remains pending for this revision.

Proof used a fresh secretless AWS Crabbox m7a.xlarge with 4 CPUs / 15,614 MiB RAM, Node 24.22.1 and pnpm 12.15.0. Generation run: run_dbfff24c5d39b978577778a7a84f56c5; remaining checks continued through the lease's SSH transport after correcting the proof setup to track the two new test files. The first budget invocation counted only 30 lines because those files were untracked; the corrected final check passed at 6,408,379 counted lines with a 6,411,381 ceiling. No source assertions or guard thresholds were weakened. Final full-index patch SHA-256 against the pinned base matched remotely and locally: 4f1e0c19b7f0cb47b9af2e6be00f1458cb782c4edd9b2ca91e388415aa6ed367.

The unique config/test-lines-allocations/session-groups-create-186896.txt grants exactly +197 net regression-test lines, justified by distinct concurrent-creation/preservation, current-authority revocation, input validation, method advertisement and portable-declaration contracts. The shared baseline scalar is unchanged; inherited debt is not forgiven. This fixes the earlier PR-attributable budget failure under the current allocation policy.

The earlier live Gateway, restart and released-state upgrade evidence below remains bound to its tested revision; it is not represented as a fresh live execution on this rebase. The fresh exact-head ClawSweeper review completed with no code findings, diamond-lobster proof and platinum-hermit patch quality. Overall gold is capped solely by the unresolved API-only scope and current-head maintainer security decisions. Hosted CI is still running; no failed code jobs were observed at this update. The failing openclaw/ci-gate status currently states that a maintainer must approve this revision. This preparation supplies neither owner decision nor security approval and does not claim merge readiness.

Earlier CI repair — head 0a2bb47d720a300193ec511d34b97fa1111ac818

Fixed the actual mock-exports CI failure in the previous run. The group-handler test now spreads the real module through importOriginal and uses the real error classes exercised by the handlers’ instanceof checks. The exact obsolete closed-mock exception was removed from the baseline; no new exception, suppression, or weakened assertion was added.

Red/green proof: the guard reproduced the original failure on c9f1389fd5e606bb9bac310e6324c11df9454bef, then passed on the exact two-file patch committed as this head. 15 tests across the changed handler suite and the real create-dispatcher suite passed, together with the Gateway-method test typecheck, targeted formatting/lint, and whitespace checks. Independent helper-isolated P0–P2 review of this repair returned scoped-clean, no actionable findings, exit 0.

Executed in fresh secretless AWS Crabbox run run_d55f62fd71cba33cb15c9f42dc96c23f. The validated patch SHA-256 was 3507018b8472243d5f86f6568f87059d9e7fa627697e0d77ce2d75fe0902ee01 before and after remote validation. Only the test and its obsolete baseline entry changed from c9f1389fd5e6; the runtime implementation used by the live concurrency, restart, and released-state upgrade evidence below is unchanged. Those captures remain explicitly bound to their original tested head, not presented as a new execution on this commit.

Fresh hosted CI has completed with the result below. Current-revision security approval and the API-only scope decision remain maintainer-owned; this repair grants neither approval.

Earlier hosted CI result — head 0a2bb47d720a300193ec511d34b97fa1111ac818

CI run 40739732190 completed on this head. The original mock-exports failure is fixed and passed in CI. All affected Gateway test/type/lint lanes passed. The run has two remaining failures, neither waived here:

  • Test-line budget: the tested merge d75df1cfa7dfabb8ce82f08f93c209ad2d20cb1f has 6,310,574 counted lines against a 6,310,000 ceiling; the PR delta is +197. The tested base d86b978 therefore already contributes 6,310,377. The guard still intentionally rejects positive growth while over the ceiling. A bounded coverage audit found distinct error-mapping, workspace-policy, live-authority, and recovery contracts in the related tests; no safe 197-line consolidation was established. Necessary coverage and the shared ceiling were not reduced/raised just for green. Guard log
  • UI E2E: chat-selection-to-main.e2e.test.ts, “restores staged annotations and sends ordered read-only comments,” received a null preview bounding box at the bounds assertion (call at line 383). The same UI source is unchanged between the PR head and tested merge; this lane passed in the prior run. That is not sufficient to declare the new failure flaky or harmless. CI classified it unknown because the scheduled-main run had no matching job; no rerun or assertion weakening was used as a repair. Failure log

Bounded reproduction of the UI failure: one fresh secretless AWS run, run_8b527044ac31279367b31f1a7e10392b, tested the exact failed synthetic merge d75df1cfa7dfabb8ce82f08f93c209ad2d20cb1f. It replayed the same 22-file selection through the repository E2E wrapper and cold sequencer with four workers, matching the CI source, Node 24.22.1, pnpm 12.15.0, and selection flags. All 100 tests across 22 files passed, including the exact annotations test (10.94s), without changing source or assertions. The allocated AWS m7a.xlarge exposed four CPUs / 15,614 MiB RAM; the selected test invocation took 158.84s. This was an isolated reproduction, not a rerun of the hosted check, and does not establish a root cause or repair. The original hosted failure remains unresolved. No retries, timeout increases, or speculative UI changes were committed. The test lease was released.

The API-only scope decision and current-head maintainer security approval also remain open. This is an open, reviewable PR, not a claim of green required checks or merge readiness.

Earlier runtime validation — 2026-10-28 (unchanged runtime implementation)

Tested unchanged head c9f1389fd5e606bb9bac310e6324c11df9454bef (tree 2ab9157b6e2ab19ee9e20f0a06bc092c1444c6b2). Environment: Linux x86_64, Node 24.22.1, pnpm 12.15.0, fresh secretless AWS Crabbox m7a.xlarge (4 CPUs / 15,614 MiB RAM). Isolated synthetic state, real loopback Gateway, signed paired-device WebSocket clients; no operator state or provider credentials.

Reproduction and observed fix:

  1. Two clients read the same catalog containing Existing. Client A writes Existing + First using the unchanged replacement RPC; client B writes its stale Existing + Second. First disappears. This demonstrates why refresh-then-put is not safe creation; replacement semantics intentionally remain unchanged.
  2. Three separate write-scoped clients concurrently call the new create RPC with First, Second, and a whitespace-padded First. All three succeed; the final catalog contains exactly Existing, First, Second at positions 0, 1, 2.
  3. Existing working-directory/worktree defaults and section order remain exact. Responses are path-free; a separate read-scoped subscriber receives a catalog-only groups notification.
  4. Read-only and narrow session-write clients receive FORBIDDEN. Six malformed payloads receive INVALID_REQUEST without changing the catalog. An admin duplicate is a no-op.
  5. Stop the Gateway and start a new process on the same synthetic state. Reconnect with the same paired-device credential: the complete catalog, defaults, and section order survive.

Validation passed: 47 selected tests across seven files (22 unrelated catalog cases not selected); core, Gateway-method-test, root-tooling-test and scripts typechecks; generated-validator parity, protocol registry and since guards; runtime build; Gateway protocol package/declarations build and public-mutability checks; formatting for all 17 changed files; bounded core/tooling lint; changed-doc MDX; whitespace and clean-source checks.

Independent review: exact-head helper-isolated P0–P2 review across three diff partitions, with intact implementation/authority-owner context: no actionable findings, scoped-clean, exit 0. Regeneration parity was verified separately by the executed generator check.

Inspectable proof: live observations · complete reproduction script · validation results and run identities · reproduction instructions and qualifications. These artifact links expire after seven days; the core observations above remain in the PR.

The first manual probe used an incorrect whole-defaults-collection expectation; it was corrected to preserve existing entries while requiring the new groups’ expected name-only entries. The final probe passed in fresh synthetic state; no product code changed.

Released-state upgrade proof — 2026-10-28

Passed: official npm 2026.10.8, build dc2523e, to candidate c9f1389fd5e606bb9bac310e6324c11df9454bef. These builds share a version label, so the probe verifies and records distinct build commits.

The real released Gateway produced two groups, saved working-directory/default flags and sidebar order, and issued the paired-device credential. After stopping it, the candidate used the same state directory without resetting or reseeding it. The original device credential reconnected successfully; all baseline groups, defaults and order matched before any candidate write. Three concurrent distinct/duplicate create requests then preserved the original records and added exactly two groups. A further cold restart preserved the complete post-upgrade result.

Upgrade observations · complete upgrade probe · setup, build identities and qualifications. Fresh secretless AWS run run_e998754f6a47a6ee14afa9ddfc074d0f, exit 0; all owned Gateways and the lease were stopped. Links expire after seven days.

Remaining scope: no client/UI migration, fresh Windows rerun, full-suite claim, or model inference. The former draft CI was skipped; broad hosted CI completed with the two failures documented above. The security-sensitive review gate separately requires current-revision maintainer approval, and the API-only staging decision above remains open. Neither approval is supplied by this preparation.

Author’s original Windows validation and pre-fix evidence (retained)

The following records the original preparation before the fresh live validation above.

Pre-fix, the new production-dispatcher regression failed because the create method was absent, and the advertisement regression found no handler. The existing storage-owner overlap regression was already green, confirming that the missing boundary was the additive RPC.

The focused regressions exercise the real request dispatcher with isolated synthetic SQLite state: concurrent distinct and duplicate additions, preservation of existing defaults/order, catalog events, scope admission, and revocation at transaction/commit admission. No real Gateway or network server was started.

Independent review: one read-only Copilot reviewer covered all 17 changed files, including untracked tests and the complete generated artifact, at P0-P2; no actionable findings. Review snapshot: b46d011db972a982bf8b8b94331505473dd07851 plus the original local candidate, subsequently committed as 0272cf522c4. The rebased authored patch is unchanged by git range-diff; only generated predicates were regenerated to preserve upstream changes. Reviewer model identity is unverified; this was not a helper-isolated review.

Exact validation commands and results

Final candidate: c9f1389fd5e606bb9bac310e6324c11df9454bef, based on fd0403b40c980de2ab8fe8d20b3d49f06a488596.

Passed: 47 tests across seven files, with 22 unrelated catalog cases deliberately not selected. Exact command:

node scripts\run-vitest.mjs packages\gateway-protocol\src\sessions-groups-validators.test.ts src\gateway\server-methods\sessions-groups.create.test.ts src\gateway\server-methods\sessions-groups.test.ts src\gateway\server-methods-list.test.ts src\gateway\session-groups.registration.test.ts src\gateway\session-groups.test.ts test\scripts\gateway-validator-declarations.test.ts --maxWorkers=1 -t "session group validators|sessions\.groups\.|adds empty groups|requires broad write authority|refuses creation|keeps defaults, sidebar order|registration|applies discovery and authority policy|keeps read-only methods|preserves the legacy advertised|advertises and wires|portable module specifiers"

Windows ARM64 wrapper wall time: 879.75 seconds, mostly worker compilation. The seven new production-dispatcher tests took 9.66 seconds; the changed owner-overlap case took 1.87 seconds, protocol validator file 0.15 seconds, and declaration-portability test 0.05 seconds. Real worker admission and commit/reconciliation are necessary for the concurrency and revocation claims.

Exact command Result
node scripts\run-tsgo.mjs -p tsconfig.core.json --incremental Passed on final candidate
node scripts\run-tsgo.mjs -p test\tsconfig\tsconfig.core.test.gateway-methods.json --incremental Passed on final candidate
corepack pnpm gateway:validators:gen Passed; regenerated the conflict from merged canonical schemas
corepack pnpm gateway:validators:check Passed on final candidate
corepack pnpm protocol-registry:check Passed on final candidate
node --import $tsx scripts\check-protocol-since.mts Passed on final candidate: one new 2026.10 method
node --import $tsx scripts\check-docs-mdx.mts docs\gateway\protocol\rpc-session-control.md Passed on final candidate: one file
git diff --check fd0403b40c980de2ab8fe8d20b3d49f06a488596..HEAD Passed
node scripts\run-tsgo.mjs -p test\tsconfig\tsconfig.test.root.tooling.json --incremental Passed before the mechanical rebase; tooling change unchanged
node scripts\run-tsgo.mjs -p tsconfig.scripts.json --incremental Passed before the mechanical rebase; generator change unchanged
corepack pnpm --filter @openclaw/gateway-protocol build Passed before the mechanical rebase, including public mutability checks
corepack pnpm protocol:gen Passed before the mechanical rebase
node scripts\prepare-native-protocol.mjs Passed before the mechanical rebase
node scripts\prepare-native-protocol.mjs --check Passed before the mechanical rebase: Swift/Kotlin determinism

$tsx above was the file URI of the repository's existing loader, resolved on Windows as:

$tsx = ([System.Uri](Join-Path $PWD 'scripts\tsx.mjs')).AbsoluteUri

Formatting passed for all 17 final-candidate files:

$files = @(git diff --name-only fd0403b40c980de2ab8fe8d20b3d49f06a488596..HEAD)
corepack pnpm format:check -- $files

Bounded type-aware lint used the supported core and script configurations:

$base = 'fd0403b40c980de2ab8fe8d20b3d49f06a488596'
$coreFiles = @(git diff --name-only "$base..HEAD" | Where-Object { $_ -match '\.(ts|js)$' -and $_ -notmatch 'compiled/|^scripts/|^test/' })
node scripts\run-oxlint.mjs --tsconfig 'config/tsconfig/oxlint.core.json' $coreFiles
node scripts\run-oxlint.mjs --tsconfig 'config/tsconfig/oxlint.scripts.json' scripts\generate-gateway-validators.mts test\scripts\gateway-validator-declarations.test.ts

Both final-candidate lint commands passed.

Before the fix, this command failed at the production request boundary as expected:

node scripts\run-vitest.mjs src\gateway\server-methods\sessions-groups.create.test.ts --maxWorkers=1 -t "adds empty groups"

The earlier broad catalog test attempt was stopped after stalling in unrelated rename/member work; no full catalog-suite pass is claimed. The initial broad-root lint attempt timed out preparing unrelated plugin declarations; the supported bounded core and scripts lint configurations passed instead. Live Gateway, UI, and full-suite validation were not run. CI timing is not available before draft publication.

@clawsweeper

clawsweeper Bot commented Oct 28, 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 app: web-ui App: web-ui gateway Gateway runtime scripts Repository scripts size: XL labels Oct 28, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. 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-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 28, 2026
@clawsweeper

clawsweeper Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

Adds a write-scoped sessions.groups.create RPC that appends groups through the existing atomic catalog owner.

Example: Two clients independently create First and Second from a catalog containing Existing.

  • Before: Cached replacement requests can leave only Existing and Second.
  • After: Clients using sessions.groups.create retain Existing, First, and Second, including saved defaults and sidebar order.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Focused implementation and strong supplied behavior evidence; overall readiness is capped by the unresolved API-only product scope.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The supplied real loopback Gateway observations exercise paired-device WebSocket creation, concurrent distinct and duplicate names, denied read and narrow-write clients, notifications, and cold restart; production-dispatcher regressions additionally exercise scope and connection revocation before commit. The live-tested handler and revocation suite are byte-identical to this head, with fresh focused checks reported after regeneration; linked artifact access was blocked by the review environment.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Needs a maintainer decision · Fix scope: Partial
User problem: Concurrent clients can successfully create different empty groups and silently lose one.
Reason: The RPC preserves the existing storage and replacement contracts, but its API-only staging boundary needs owner direction.

Merge readiness

⛔ Blocked before merge - 2 items remain

This PR provides a useful atomic creation boundary with no actionable code findings; API-only scope and current-head security approval remain maintainer decisions.

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

Decision needed

  • Question: Should this PR land as an API-only foundation, or include bundled group-creation adoption before merge?
  • Recommendation: Include bundled caller adoption: Route sidebar and Sessions-page creation through the atomic operation and prove both groups survive concurrent submissions.
  • Why: The implementation is useful for adopting API clients, but neither bundled creation path changes, and no recorded owner decision accepts this staging boundary.

Before merge

  • Await maintainer action - A maintainer must review and approve revision 43d3636 through the enforced security-sensitive review gate.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.

Findings

None.

Agent review details

How this fits together

Authenticated Gateway requests pass through method-scope admission and parameter validation to the shared catalog worker, which commits SQLite changes and publishes path-free catalog notifications.

flowchart LR
  A[API clients] --> B[Gateway scope admission]
  B --> C[Create RPC handler]
  C --> D[Existing catalog owner]
  D --> E[SQLite transaction]
  E --> D
  D --> F[Response and catalog notification]
Loading

Technical review

Best possible solution:

Expose atomic registration through this RPC and adopt it in bundled creation callers while preserving intentional catalog replacement.

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

Current-main callers submit cached full-catalog replacements that can remove another client's empty group, matching the canonical report and supplied historical live reproduction.

Is this the best way to solve the issue?

Delegating to the existing atomic registration owner is the smallest server-side repair; completing the linked UI problem also requires caller adoption.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Catalog replacement semantics keeps the original intent (7ca3e14: Reject non-empty omission drops without turning stale replacement requests into member-session sweeps.)
  • Atomic category registration keeps the original intent (e2eae6a: Move registration to the shared-state worker while retaining atomic append order and committed catalog publication.)
  • Generated validator declarations keeps the original intent (f52fb07: Generate fixed-schema predicates and declarations through one canonical emitter rather than compiling validators at runtime.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

PR surface

Source +55, Tests +197, Docs +1, Other +4. Total +257 across 19 files. Added test files: 2.

View PR surface stats
Area Files Added Removed Net
Source 9 2206 2151 +55
Tests 6 211 14 +197
Docs 1 2 1 +1
Config 0 0 0 0
Generated 0 0 0 0
Other 3 6 2 +4
Total 19 2425 2168 +257

Review metrics

Metric Value Why it matters
Public RPC surface +1 write-scoped method Adds sessions.groups.create without new settings, persisted formats, or tables.

Root-cause cluster

Relationship: partial_overlap
Canonical: #106362
Summary: The canonical issue covers end-to-end Control UI group loss, while this PR supplies only the atomic API foundation.

Members:

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

Labels

Label changes:

No label changes.

Label justifications:

  • P2: A focused additive API prevents concurrent empty-group loss for adopting clients, while existing bundled behavior remains unchanged.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on maintainer: Only explicit maintainer approvals or decisions remain; merge is still blocked.
  • proof: sufficient: Contributor real behavior proof is sufficient.

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.

History

Review history (2 earlier review cycles)
  • reviewed 2026-10-28T16:45:13.672Z sha c9f1389fd5e606bb9bac310e6324c11df9454bef :: needs real behavior proof before merge. :: none
  • reviewed 2026-11-02T19:36:36.191Z sha 0a2bb47d720a300193ec511d34b97fa1111ac818 :: blocked before merge. :: none

Reviewed November 2, 2026, 2:53 PM ET / 19:53 UTC (Revision 3).

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Maintainer security review required

This external contributor PR changes sensitive security components. A maintainer must review these changes before merging.

Current SHA: 43d36364aeb85fb79c465aa702fb949f36dc44c1

These sensitive security changes were made:

  • src/gateway/methods/core-descriptors.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.

After reviewing the changes, post a new PR comment containing only approval commands, each on its own line:

/allow-security-sensitive-change

A later push requires a fresh approval comment.

@clawsweeper clawsweeper Bot 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 29, 2026
@RomneyDa

RomneyDa commented Nov 2, 2026

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

bkudiess and others added 2 commits November 2, 2026 11:28
Expose atomic sessions.groups.create through the existing catalog registration owner, with write authority and catalog-only notifications.

Co-authored-by: Copilot App <[email protected]>
Keep the real error classes used by handler instanceof checks and remove the now-obsolete closed-mock baseline exemption.

Co-authored-by: bkudiess <[email protected]>
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked. labels Nov 2, 2026
Regenerate canonical validators after integrating current protocol schemas. Allocate exactly 197 net regression-test lines for concurrency, authority, validation, method advertisement and portable declarations; preserve the shared scalar.
@RomneyDa
RomneyDa force-pushed the bkudiess-atomic-session-groups branch from 0a2bb47 to 43d3636 Compare November 2, 2026 19:45
@RomneyDa

RomneyDa commented Nov 2, 2026

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@RomneyDa
RomneyDa merged commit 43fb1fe into openclaw:main Nov 2, 2026
152 of 156 checks passed
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 3, 2026
…law#186896)

* fix(gateway): preserve concurrent empty session group creation

Expose atomic sessions.groups.create through the existing catalog registration owner, with write authority and catalog-only notifications.

Co-authored-by: Copilot App <[email protected]>

* test(gateway): preserve real exports in session group mocks

Keep the real error classes used by handler instanceof checks and remove the now-obsolete closed-mock baseline exemption.

Co-authored-by: bkudiess <[email protected]>

* fix(protocol): regenerate session group creation validators after rebase

Regenerate canonical validators after integrating current protocol schemas. Allocate exactly 197 net regression-test lines for concurrency, authority, validation, method advertisement and portable declarations; preserve the shared scalar.

---------

Co-authored-by: bkudiess <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation gateway Gateway runtime P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts security-review-required security-sensitive-changed size: XL status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants