Skip to content

feat(gateway): bind requests to selected profiles - #143587

Merged
vincentkoc merged 26 commits into
mainfrom
feat/gateway-profile-binding-20260909
Sep 14, 2026
Merged

vincentkoc merged 26 commits into
mainfrom
feat/gateway-profile-binding-20260909

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Sep 10, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Native actions need an atomic selected-account precondition and truthful receipts when an accepted request outlives a later account selection or connection change.

User Impact

Requests can bind to the intended profile at Gateway admission. New actions check the selected account; accepted work stays with its original session and admission while that captured authority remains valid. Revocation, cancellation, and host retirement still prevent later effects. Callers receive explicit rejection or the original accepted-run receipt instead of silently switching accounts.

The owner has accepted this custody contract for the native action stack. This resolves the previous product-discussion hold; current-head validation remains a separate landing gate. No new operator configuration or storage migration is introduced.

Why This Change Was Made

Use the existing Gateway admission and transcript persistence owners to carry accepted authority and original-run identity through completion. Runtime callbacks and private symbols are not serialized transcript message fields or SQLite schema changes.

The current signed head 76ee05c40b1c69e5e5a970d05a99d595420c11e4 preserves the original PR ancestry and composes pinned main e2b0038cafd54c552874381e9026ae99b202f53f, including the landed wait and glyph-test repairs. This merge required no conflict edits. The admitted-authority guard, separate completion fence, completion tracking, session activity summaries, profile refresh, and normalized public errors remain intact.

Related: #142950. This prerequisite precedes #143610 and #143615, then Ask #147668. The separate voice PR #143631 remains outside this landing sequence.

Credit is preserved for the original contributors, including Peter Steinberger's worker fixture and navigation corrections from #143666 and #144002.

Evidence

  • Independent composition review verified tree ac5559d30a8a9217e63e03407d97b7e7e1830709 and preservation of all 79 prior feature/test payloads. The latest correction supplies the canonical subscription signal and profile-refresh mock in the two composed fixtures; production ordering and requirements are unchanged. The config test inspects its actual consumed snapshot and selected include leaf without changing reads, locks, retries, the 250 ms exclusion assertion or cleanup. The repair is test-only. Full feature delta remains production +489/-100 (net +389), generated clients +18, proof tooling +31, tests/support +3,052 and docs +44. Source reviews, formatting/privacy checks and scoped-clean P0–P2 autoreview passed before signed publication.
  • Current normal CI, attempt 1 is successful; required gate passed at 04:08:23 UTC. It tested merge 59225a4e38e9376918019e03efdc5897408be4b0, with parents cf56057e5f8b276b4b2b84f18c22f7cedd736d71 and this exact head 76ee05c40b1c69e5e5a970d05a99d595420c11e4. This is PR-merge proof, distinct from the exact-source wire run below.
  • The two composition omissions now have current execution proof: 22 request-context cases, including the real merge's first notification and contained resolution failure, plus both subscription-shutdown cases, covering cancellation before startup and before inherited connection drain. Test types, production types, protocol checks and the iOS build passed.
  • The delegated-include case passed in its original config stripe in 383 ms; all 15 write-lock cases and 2,302 runtime-config tests passed. Its consumed-snapshot validity, ordered provenance and canonical leaf assertions executed. The previous failure's cause remains unclassified; the diagnostic is not described as a config fix.
  • Current normal UI proof: cloud passed its exact safe-sync/resume/true-failure case; website passed both storage/refresh/focus and external-link cases. The cloud fixture installs coherent failed chat.history.sessionInfo before emitting the placement event. No assertion, timeout or runtime behavior was relaxed. Their broader E2E results are recorded separately below.
  • Current desktop artifact was independently verified against the same merge: the named resize/controller-ownership case passed once for node and once for SSH, zero skips, all five geometry stages through 900×500, complete joined cleanup. Archive SHA256 e1ce9c01a27eeb7b44608d5e2967d8c7b81ff60e07b478abc846abe2340f2acf; receipt SHA256 39f24cc43ba4d6cdd5d38a5f37130621819c22386f274f76361728f147258079. Successful output contains no failed-viewer close diagnostic; it proves neither the old disconnect cause nor zero socket closes. This is Ubuntu synthetic-worker proof with real node/SSH carriers and emulated mobile viewport, not physical-mobile or installer/cloud provisioning proof.
  • Current profile/custody wire cases, attempt 1, passed 2/2 with zero target skips at exact source 76ee05c40b1c69e5e5a970d05a99d595420c11e4. Original-socket profile merge/rejected effects passed in 12,427 ms at 04:06:59.705 UTC; accepted custody/reconnect/profile mismatch passed in 11,017 ms at 04:07:10.635 UTC. Validator 103851351563 admitted this source under actual trusted tooling bd463dc1fed8e188c03443bb831c64c387dec016; workflow SHA256 3936ffdac346aacf0f3e0f2e1613d3f591605a296a55e4838548319ceb9fef75. Full Gateway build passed before execution. The owning broad shard remained red with 393 passed, 8 failed and 7 skipped tests; named target success is not aggregate E2E success.
  • Current ClawSweeper review, revision 43 at 03:58:09.924 UTC, reviewed this exact head with no source/security finding and judged the canonical owner boundary the best fix. Its refreshed-wire move is satisfied by the current receipt above; relevant wider-failure dispositions follow below. Its config/data-model notes do not require migration work: this introduces two optional protocol fields and capability advertisement, zero operator settings, and runtime-only callbacks/private symbols. No new serialized transcript message field or SQLite schema is added. Requests omitting the profile precondition retain the existing path. The review host's artifact-domain restriction prevented its own linked-log retrieval. Maintainer observation subsequently read the exact executed wire job and relevant completed failure logs, and independently verified the existing desktop archive; this supplies the current execution evidence without claiming the review host retrieved it.

Wider-suite disposition and follow-ups

The optional broad E2E run contains failed jobs and was retired after required target and completed failure receipts were captured. Its terminal workflow conclusion is cancelled (04:25:10 UTC); only non-target Gateway 3/4 was still running at the guarded cancellation. No result is inferred for that incomplete shard. Required normal CI and the named wire pair are green; no global E2E success or blanket failure waiver is claimed.

  • Gateway 2/4 has 697 passed, 5 failed and 11 skipped tests. Wizard src/gateway/gateway.test.ts:914 expects an Error: prefix after canonical error normalization; the follow-up is to correct that expectation while preserving completion/status/configuration/health assertions. Discord test/e2e/gateway-transcripts-discord-capture.e2e.test.ts:565 fails provider reference identity before the agent/capture turn; diagnose the registry reuse predicate and provider instance without weakening toBe. Both reproduce independently without G1 at artifact source f0a202b31ccc01bca37d1e7f7349994014bd7476 (job) and historical G1 0577f9d6b1c74e00c2aae14b54621efb511fb43e (job); the tests and 12 relevant owner modules are byte-identical. These two failures predate G1. The other three current failures are --plain stdout assertions after successful CLI exit. The fixture seeds a pending state-schema migration; nested model commands enter the default config guard, whose health persistence opens the shared SQLite worker. Its logger does not inherit the parent stderr-routing state, and Node workers route default worker stdout to parent stdout. All 27 relevant owner/test blobs match no-G1 main e2b0038cafd54c552874381e9026ae99b202f53f and fb8; worker persistence PR147256 predates all three heads. This is an inherited diagnostic-routing mechanism outside G1 admission, not a retained no-G1 runtime reproduction or logged emitting-thread identity. Named follow-up: propagate CLI stderr diagnostic routing into SQLite workers; preserve the exact stdout assertion.
  • Gateway 4/4 retains eight named failures: PR142176 request count, cron callback accounting, updater commit/rollback lease recovery, three native-hook-pressure cases, and timeout-recovery missing numeric compactionStartedAt. These failure classes repeat the prior fb8 run; repetition alone does not establish a baseline or harmlessness. Native-hook output records a bwrap loopback permission error, not a Codex dependency verdict. Remaining owner/cause limits are preserved.
  • Broad UI 3/4 has 588 passed and 2 failed tests: cloud Runner failed visibility and website iframe Service details visibility. Both named cases passed in current normal CI above. Both use browser MockWebSocket with no passthrough, so their chat/session RPCs do not execute the changed Gateway authority handlers. The touched cloud fixture now updates failed history and list coherently before the event. Its equal queued/resumed/failed timestamps predate G1 in 0278bf26e9901b90ff45e0dc0b39baadf1af1357; the row owner rejects an inactive snapshot at or before an active row timestamp. Record cloud fixture ordering/timestamp fidelity as a follow-up, without claiming the unavailable triggering row/order. The website follow-up is iframe navigation after mobile split restoration. Retained failures show connection/document completion but lack row/response/iframe-navigation evidence; no browser-load cause, flakiness or exact M-byte equivalence is claimed.
  • Current Gateway 1/4 has 386 passed, 4 failed and 2 skipped tests. test/system-agent-managed-auth.e2e.test.ts:130 expects “Let's hatch a new agent” and receives canonical “Let's create an agent”; this precedes credential-rotation assertions and does not establish a provider-key defect. The named follow-up is to align the welcome fixture with the canonical producer. test/e2e/qa-lab/runtime/webhooks-taskflow-cancellation-authz.e2e.test.ts:680 receives two identical turn/interrupt records for thread-process-1 / turn-process-1, rather than one; diagnose the cancellation owner without weakening the assertion or inferring successor confusion. Both observations match historical fb8 Gateway 1/4, where the NewAgent action and session ID matched and only the reply differed. The other current failures are the synthetic refusal continuation case at line 218 and isolated quota-reset recovery; the exact quota assertion frame is unverified. Follow-ups retain those original failed cases and missing first-boundary evidence. The same job reports an unhandled ACP_BACKEND_MISSING at registry.ts:100; Vitest's last-file attribution does not identify its originating thread or cause. No Codex, backend or dependency verdict is made.

Historical qualification stays attached to its source. The 0577 wire pair and fb8 wire pair also passed 2/2; their wider failures remain historical. The old fb8 normal run exposed the two now-corrected fixture omissions and the unexplained include refusal. Its prior desktop artifact remains distinct from the current archive above. Superseded old-source workflows were retired only after relevant receipts were captured.

Native artifacts for the earlier b3bceecf integration were populated after publication; that sequencing gap remains recorded. Current repair source reviews preceded publication. Current required qualification and the ClawSweeper proof/disposition requests are complete. Broader failure causes still marked unknown remain named follow-ups, not a claim of global E2E success. Native prepare/merge owns fresh head, review, gate and mergeability admission; the dependent native/installed-action proof remains with its own PRs.

@vincentkoc vincentkoc self-assigned this Sep 10, 2026
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: android App: android app: web-ui App: web-ui gateway Gateway runtime agents Agent runtime and tooling size: XL maintainer Maintainer-authored PR labels Sep 10, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 10, 2026
@clawsweeper

clawsweeper Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 13, 2026, 11:58 PM ET / September 14, 2026, 03:58 UTC (Revision 43).

ClawSweeper review

What this changes

Adds optional profile-bound Gateway requests and recipient-stamped events, preserves accepted input ownership and receipts, and updates protocol clients, documentation, and validation fixtures.

Merge readiness

⛔ Blocked before merge - 5 items remain

This remains a useful prerequisite for the native-action stack: current main and the latest release lack the selected-profile contract. No actionable introduced defect was found, and the captured body resolves the earlier custody-policy hold.

Priority: P2
Reviewed head: 76ee05c40b1c69e5e5a970d05a99d595420c11e4

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A coherent owner-level implementation with meaningful retained behavior proof and no actionable source finding.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (linked_artifact): Retained child-Gateway wire evidence exercises permitted and forbidden profiles through real WebSockets, provider HTTP, transcript persistence, and filesystem effects, plus reconnect replay of the original run. Its recorded pass belongs to 0577f9d; current-head qualification remains separate, and the host's blocked log retrieval does not invalidate that evidence.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (linked_artifact): Retained child-Gateway wire evidence exercises permitted and forbidden profiles through real WebSockets, provider HTTP, transcript persistence, and filesystem effects, plus reconnect replay of the original run. Its recorded pass belongs to 0577f9d; current-head qualification remains separate, and the host's blocked log retrieval does not invalidate that evidence.
Evidence reviewed 9 items Pinned introduction and clean checkout: The checkout matches the original head. Raw commit records identify fb8a119 and e2b0038 as its parents. The complete local introduced file list was inspected; diff whitespace checks passed and the checkout remained clean. The supplied stale test merge was not used to infer removal of main behavior.
Still absent from main and release: Current-main request and event schemas omit expectedProfileId and recipientProfileId; searches of the relevant main protocol, Gateway, and transport documentation found no profile-binding-v1 contract. A separate GitHub contents read of v2026.9.4 confirms that its frame schemas also omit these fields.
Dispatch and publication ownership: The dispatcher shares the binding with response publication, checks it after asynchronous preparation, and composes it with existing session mutation guards. The binding reports per-attempt execution uncertainty without converting a mismatch into rollback evidence.
Findings None None.
Security None None.

How this fits together

The Gateway receives authenticated requests from OpenClaw clients and dispatches them to session and agent owners. Profile binding checks the selected account while existing custody and authorization owners govern persistence, execution, and response delivery.

flowchart TD
  A[Authenticated client request] --> B[Selected profile check]
  B -->|Mismatch| C[Explicit rejection]
  B -->|Match or omitted| D[Session and run authorization]
  D --> E[Input custody and transcript commit]
  E --> F[Agent execution and original receipt]
  F --> G[Guarded response publication]
  D --> H[Recipient stamped events]
Loading

Before merge

  • Resolve merge risk (P1) - The captured body leaves composed-head qualification incomplete and several wider-suite failures unclassified; the new include diagnostic does not establish their cause.
  • Resolve merge risk (P1) - The review host could inspect the wire harness and job metadata but could not retrieve the linked execution log through its artifact-domain allowlist.
  • Complete next step (P2) - Complete the recorded composed-head qualification and document dispositions for the remaining relevant wider-suite failures before landing.
  • Review config compatibility - Confirm compatibility and upgrade impact for the changed config or default surface before merge.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

Metric Value Why it matters
Opt-in protocol surface 2 optional frame fields, 1 capability advertisement, 0 new operator settings Clients can discover the binding contract while requests that omit it retain the existing path.

Stored data model

Persistent data-model change detected: serialized state: src/sessions/user-turn-transcript.ts, unknown-truncated-pull-files. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #142950
Summary: This PR supplies the Gateway prerequisite for the broader native-action request; the native clients remain separate dependent work.

Members:

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

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep profile selection in Gateway admission and publication, while original live session/run authority governs accepted work and its recorded outcome.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep profile selection in Gateway admission and publication, while original live session/run authority governs accepted work and its recorded outcome.

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

Not applicable as a shipped-bug reproduction: this adds an opt-in contract absent from main and v2026.9.4; the inspected wire scenarios define its observable behavior.

Is this the best way to solve the issue?

Yes: extending existing dispatch, custody, and transcript owners is a coherent solution, with explicit capability negotiation and preserved unbound behavior.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 65710d3e8bac.

Labels

Label justifications:

  • P2: This is a bounded Gateway capability supporting selected-account native actions, with no demonstrated urgent shipped regression.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (linked_artifact): Retained child-Gateway wire evidence exercises permitted and forbidden profiles through real WebSockets, provider HTTP, transcript persistence, and filesystem effects, plus reconnect replay of the original run. Its recorded pass belongs to 0577f9d; current-head qualification remains separate, and the host's blocked log retrieval does not invalidate that evidence.
  • proof: sufficient: Contributor real behavior proof is sufficient. Retained child-Gateway wire evidence exercises permitted and forbidden profiles through real WebSockets, provider HTTP, transcript persistence, and filesystem effects, plus reconnect replay of the original run. Its recorded pass belongs to 0577f9d; current-head qualification remains separate, and the host's blocked log retrieval does not invalidate that evidence.

Evidence

What I checked:

  • Pinned introduction and clean checkout: The checkout matches the original head. Raw commit records identify fb8a119 and e2b0038 as its parents. The complete local introduced file list was inspected; diff whitespace checks passed and the checkout remained clean. The supplied stale test merge was not used to infer removal of main behavior. (76ee05c40b1c)
  • Still absent from main and release: Current-main request and event schemas omit expectedProfileId and recipientProfileId; searches of the relevant main protocol, Gateway, and transport documentation found no profile-binding-v1 contract. A separate GitHub contents read of v2026.9.4 confirms that its frame schemas also omit these fields. (packages/gateway-protocol/src/schema/frames.ts:180, 65710d3e8bac)
  • Dispatch and publication ownership: The dispatcher shares the binding with response publication, checks it after asynchronous preparation, and composes it with existing session mutation guards. The binding reports per-attempt execution uncertainty without converting a mismatch into rollback evidence. (src/gateway/server-methods.ts:513, 76ee05c40b1c)
  • Fresh commitment versus accepted custody: Fresh transcript insertion invokes the synchronous assertion after replay lookup and preparation. Pending input retains its existing custody checks; stageSessionPendingInput installs the admitted assertion only after its custody transaction succeeds. These additions are runtime callbacks, not new serialized fields or SQL schema changes. (src/config/sessions/session-accessor.sqlite-transcript-message-append.ts:145, 76ee05c40b1c)
  • Recorded wire proof and implementation boundary: The captured body records both profile/custody cases passing at 0577f9d in https://github.com/openclaw/openclaw/actions/runs/34797386929/job/103836696110. The inspected harness runs a child Gateway with authenticated WebSockets, the OpenClaw agent runtime, and an HTTP provider fixture; it checks forbidden-profile sentinel/provider/transcript non-effects, permitted execution, profile merging, and reconnect replay without another provider request. It explicitly selects the OpenClaw runtime and disables Code Mode, so this proof does not depend on the Codex implementation. Direct log retrieval was blocked by the host's artifact-domain allowlist; the recorded positive evidence retains its original revision limits. (test/e2e/qa-lab/runtime/gateway-profile-binding-wire.e2e.test.ts:205, 76ee05c40b1c)
  • Re-review continuity: The previous completed review had no findings and requested refreshed qualification plus relevant failure dispositions. Comparing its fb8a119 head with this head showed no changes in the selected binding, dispatch, custody, injection, and wire-proof files. The new subscription fixtures supply their required signal/callback, and the include diagnostic preserves the exclusion assertion. The captured body still explicitly leaves qualification incomplete. (src/config/io.write-lock.test.ts:447, 76ee05c40b1c)

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

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

  • Record the scheduled composed-head wire result and disposition of remaining relevant wider-suite failures, preserving historical receipts with their original source revisions.

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 (42 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-13T20:11:13.305Z sha 98a283e :: blocked before merge. :: none
  • reviewed 2026-09-13T20:27:08.758Z sha c9e90e57c314cb17d88fb62e9b9f099e8f2a2e17 :: blocked before merge. :: none
  • reviewed 2026-09-13T20:52:39.635Z sha 06117e8 :: blocked before merge. :: none
  • reviewed 2026-09-13T21:03:37.476Z sha 845147c :: blocked before merge. :: none
  • reviewed 2026-09-13T21:26:32.545Z sha 845147c :: blocked before merge. :: none
  • reviewed 2026-09-14T01:42:29.041Z sha b3bceec :: blocked before merge. :: none
  • reviewed 2026-09-14T02:08:04.968Z sha 0577f9d :: blocked before merge. :: none
  • reviewed 2026-09-14T03:24:33.954Z sha fb8a119 :: blocked before merge. :: none

@vincentkoc
vincentkoc force-pushed the feat/gateway-profile-binding-20260909 branch from 4d52f72 to 9d6f1d0 Compare September 10, 2026 03:57
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Sep 10, 2026
@vincentkoc
vincentkoc force-pushed the feat/gateway-profile-binding-20260909 branch from c9e90e5 to 06117e8 Compare September 13, 2026 20:41
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. labels Sep 14, 2026
@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Sep 14, 2026
@vincentkoc
vincentkoc merged commit 3de18f6 into main Sep 14, 2026
209 checks passed
@vincentkoc
vincentkoc deleted the feat/gateway-profile-binding-20260909 branch September 14, 2026 04:35
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

steipete added a commit that referenced this pull request Sep 14, 2026
Carry the bounded consumed-snapshot, provenance, and include-boundary assertions from 3de18f6 (#143587). Preserve the observed snapshot and all existing writer/exclusion assertions. The hosted failure cause remains unresolved.

Co-authored-by: Vincent Koc <[email protected]>
steipete added a commit that referenced this pull request Sep 14, 2026
…47866)

* refactor(runtime): probe SQLite startup capabilities in a worker

Move current-runtime capability SQL off the main thread and share one pending result across launcher and runtime callers. Await worker exit before admission, preserve failure caching and Bun library selection, and retain the native SQLite SDK and foreign-runtime probe contracts.

* test(config): expose include provenance in writer failures

Carry the bounded consumed-snapshot, provenance, and include-boundary assertions from 3de18f6 (#143587). Preserve the observed snapshot and all existing writer/exclusion assertions. The hosted failure cause remains unresolved.

Co-authored-by: Vincent Koc <[email protected]>

---------

Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 15, 2026
* feat(gateway): bind requests to selected profiles

Punchcard-Session: amber-timber-workshop-bk

* test(gateway): verify profile-bound wire admission and replay

Punchcard-Session: amber-timber-workshop-bk

* fix(gateway): preserve idle presence during profile refresh

Keep unchanged profiles out of presence writes while retaining explicit refresh and recipient preparation. Complete profile-bound test fixtures and regenerate the dependent Workboard asset pointers.

Punchcard-Session: amber-timber-workshop-bk

* test(gateway): repair context and loading-state fixtures

Punchcard-Session: amber-timber-workshop-bk

* test(gateway): verify instance retirement before agent dispatch

Punchcard-Session: amber-timber-workshop-bk

* test(gateway): verify session revocation during accepted steering

Punchcard-Session: amber-timber-workshop-bk

* chore(gateway): refresh embedded protocol assets

* test(ui): await Inbox fixture preload

* test(transcripts): bind Discord lifecycle fixture generation

* test(gateway): drain task fixture notifications

* fix(protocol): exclude profile ID primitive from generated registry

* test(gateway): simplify subscription fixture state setup

* test(gateway): preserve authority refusal through terminal admission

* fix(gateway): retain live profile refresh after runtime extraction

* test(agents): cover redaction with fresh transcript admission

* refactor(gateway): inline release version checks

* test(gateway): observe async runtime lease disposal

* test(gateway): supply profile refresh callbacks in lifecycle fixtures

* test(agents): assert recorder admission callback availability

* test(gateway): model native profile fixture node subscribers

* test(desktop): retain bounded viewer close diagnostics

* test(ui): keep cloud history aligned with placement failure

* test(ui): brace the desktop close bound
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 15, 2026
…enclaw#147866)

* refactor(runtime): probe SQLite startup capabilities in a worker

Move current-runtime capability SQL off the main thread and share one pending result across launcher and runtime callers. Await worker exit before admission, preserve failure caching and Bun library selection, and retain the native SQLite SDK and foreign-runtime probe contracts.

* test(config): expose include provenance in writer failures

Carry the bounded consumed-snapshot, provenance, and include-boundary assertions from 66ab4fd (openclaw#143587). Preserve the observed snapshot and all existing writer/exclusion assertions. The hosted failure cause remains unresolved.

Co-authored-by: Vincent Koc <[email protected]>

---------

Co-authored-by: Vincent Koc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: android App: android app: web-ui App: web-ui docs Improvements or additions to documentation gateway Gateway runtime maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. plugin: workboard proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant