Skip to content

feat: inspect and edit plugin credentials in settings - #149286

Merged
Patrick-Erichsen merged 7 commits into
mainfrom
codex/claw-880-credentials
Sep 16, 2026
Merged

Patrick-Erichsen merged 7 commits into
mainfrom
codex/claw-880-credentials

Conversation

@Patrick-Erichsen

@Patrick-Erichsen Patrick-Erichsen commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

API-key fields do not explain their credential source, and SecretRef values cannot be inspected or edited. A rejected reference Save also leaves its draft behind, allowing a later sibling save to persist a value the user canceled.

User Impact

Credentials use ordinary settings rows. Literal keys stay masked; replacements do not expose stored values, and the signup link stays with the input. References show their source and open an editor for source, provider and identifier. Save remains pending until acknowledged; Cancel/Escape cannot dismiss an outstanding write. After rejection, Cancel removes only that field’s unsaved intent and preserves other edits.

Why This Change Was Made

Plugin-owned metadata identifies credentials. Administrator-only inspection returns source/reference metadata at the current configuration revision without resolving secrets or activating the plugin. Reads and actions are fenced to the connection and field. Environment credentials show management guidance; SecretRefs remain atomic while closed nested settings flatten into readable rows.

The shared config owner serializes cancellation behind existing writes, holds trailing autosaves, refreshes authoritative state and replays surviving edits. Overlapping edits or connection changes retire cancellation. Existing empty-container sanitization avoids a redundant save. Pure replay/conflict and whole-draft discard helpers are separated from queue ownership; no second writer or store is introduced.

If a transport failure leaves the outcome unknown, cancellation requires authoritative confirmation. Credential reads redact reference identifiers and writes may stamp metadata, so a lost credential acknowledgement normally retains the draft and visible recovery error until operator reload. Numeric fixture recovery is not claimed as live credential timeout recovery.

This follows grouped Settings. Production +1,376/−166 (net +1,210), including existing-function moves, adds private inspection and field-scoped draft lifecycle. No defaults, permissions, validation or storage schema change; the RPC method appends to preserve existing advertised positions.

Evidence

  • Rejected Save→Cancel→sibling save, pending Escape, overlapping edits, reconnect and uncertain acknowledgements have failing-before/passing-after coverage. 150 config cases, 18 Chromium credential cases and 4 built routes pass; the later owner extraction passes all 242 configuration cases plus the 4 routes.
  • A real authenticated loopback Gateway passes 12 isolated scenarios, including grouped schema lookup, ordinary/literal/env-reference saves, redacted sibling preservation, stale revisions, admin inspection, read-only denial and nonactivation. File/exec/store references have unit/browser coverage; the real-server roundtrip uses env. No operator configuration or real credentials were used.
  • Existing method-list regressions preserve append order. Dev-Gateway fixture repair passes 16 port and 8 transport cases with clean shutdown, using an owned port and no watcher for HTTP/WebSocket-only tests. It does not change production watching or the worker pool; the Node/fsevents defect remains an upstream issue. The separate config.patch timeout did not reproduce in 79 original-order tests; its exact hosted head is not claimed passing.
  • Integrated local validation passes 128 focused tests and the 59-step static plan, including core/core-test/UI types, full typed lint, three dead-export scans, styles and repository guards. Madge reports zero cycles. The later numeric keyboard repair passes 98 focused cases, all 7 integrated built keyboard flows, and the final changed-path gate (core-test/UI types, typed lint, formatting, i18n and all three dead-export scans). Hosted CI for the refreshed heads remains pending. Prior unchanged native evidence includes Android/Swift lint and 1,157 macOS tests; it was not rerun for these fixture repairs.

Real Control UI with the same isolated synthetic Gateway; phone/desktop captures have no page errors or overflow. Browser/mock-Gateway proof is separate from the authenticated server roundtrip.

Desktop before Desktop after
Previous credential layout Credential source and edit action
Phone before Phone after
Previous phone credential layout Phone credential row

Reference editor

Cancel→edit sibling→reload: before, the canceled fixture reference /search/cancelled is saved; after, /search/apiKey is preserved. The sibling saves in both cases, and the harness checks complete submitted configuration.

Viewport Before After
1174×900 Before: canceled reference persisted After: saved reference preserved
390×900 Before: canceled reference persisted After: saved reference preserved

Tracks CLAW-880, Cycle 3.

Punchcard-Session: crisp-summit-lantern-qk

Complete production browser→real authenticated Gateway proof: reference before → saved identifier reopened after reload. An ordinary sibling save preserves the exact reference. Three real config.set acknowledgements across the combined flow; no resolved credential bytes, user message, install or enablement change; fixture cleanup completes. Tested build cf4b66819ade; the only later production change is the separately tested numeric keyboard predicate.

Final landing validation

The method registry's append-only literal table remains in core-descriptors.ts; derived lookup, authorization, startup and dispatch policy move together to core-method-policy.ts. Callers and code generators use that single owner. All nine function bodies and the table are unchanged; all 462 method-policy records and the generated protocol JSON match byte-for-byte. The existing protocol-since parser and enforcement remain unchanged.

The previous line-cap failure now passes. All 533 focused tests, the complete changed-file static plan, protocol:check and fresh P0 review pass. A full default build with this repair and the preceding manifest extraction passes, including 52 built control-plane import checks. No permissions, method order, protocol version, schema or operator settings change. Production growth is two lines of module import wiring after discounting moved code.

The generated storage-migration checklist does not apply: this layer inspects credential metadata and edits existing configuration through its existing owner; it adds no SQLite schema or storage migration. Hosted CI for the refreshed head remains pending.

@clawsweeper

clawsweeper Bot commented Sep 15, 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: android App: android app: web-ui App: web-ui gateway Gateway runtime size: XL maintainer Maintainer-authored PR labels Sep 15, 2026
@Patrick-Erichsen
Patrick-Erichsen marked this pull request as ready for review September 15, 2026 17:07
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 15, 2026
@clawsweeper

clawsweeper Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 16, 2026, 6:56 PM ET / 22:56 UTC (Revision 11).

ClawSweeper review

What this changes

Adds masked plugin credential controls and administrator-only secret-reference inspection and editing, with acknowledged saves and field-specific cancellation.

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep open: this remains useful work absent from current main, with no blocking defect found. The previous migration checklist is not applicable: the added schema describes RPC messages, while saved configuration retains its existing format.

Priority: P2
Reviewed head: e724660eda23f4695a1120bf85d80b80c8d2d3a7

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful, coherent implementation with strong supplied behavior evidence and no remaining actionable finding.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (linked_artifact): The supplied production browser→authenticated Gateway results cover saved references surviving reload and sibling writes, with separate denial and stale-revision scenarios; inspected desktop/mobile screenshots support the visible layout change. Screenshot inspection alone is not the basis for the authorization assessment.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (linked_artifact): The supplied production browser→authenticated Gateway results cover saved references surviving reload and sibling writes, with separate denial and stale-revision scenarios; inspected desktop/mobile screenshots support the visible layout change. Screenshot inspection alone is not the basis for the authorization assessment.
Evidence reviewed 9 items Current main still lacks credential inspection: The fetched main method table contains plugin inspection and management methods but no plugins.credentials.inspect; neither fetched main nor the supplied latest release contains the new credential editor or inspection module. The merged grouped-settings predecessor therefore does not supersede this capability.
Inspection preserves the authorization boundary: The handler requires current administrator access before and after the snapshot read, checks the public config revision, and restricts inspection to the installed plugin's advertised credential path. Its projection returns reference metadata or credential kind, never resolved secret values; loader errors are bounded.
Final response retains live authority: The production WebSocket dispatcher supplies hasCurrentClientAuthority, checks shared-auth generation and invalidation, and suppresses responses from retired clients. The new handler consumes that existing authority rather than creating a transferable authorization token.
Findings None None.
Security None None.

How this fits together

Plugin Settings combines plugin-declared metadata with Gateway configuration to render credential controls. Inspection returns reference metadata without resolving secrets, while edits pass through the existing Settings writer.

flowchart TD
  A[Plugin credential metadata] --> B[Settings credential controls]
  C[Administrator and config revision] --> D[Gateway inspection]
  D --> E[Reference metadata only]
  E --> B
  B --> F[Shared Settings writer]
  F --> G[Saved configuration]
  G --> B
Loading

Before merge

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

Security

None.

PR surface

Source +1213, Tests +1231, Docs +18, Other +5. Total +2467 across 63 files.

View PR surface stats
Area Files Added Removed Net
Source 33 1505 292 +1213
Tests 25 1268 37 +1231
Docs 1 18 0 +18
Config 0 0 0 0
Generated 0 0 0 0
Other 4 7 2 +5
Total 63 2798 331 +2467

Review metrics

Metric Value Why it matters
Credential API 1 administrator-only inspection RPC; 0 new credential-write RPCs Editing continues through the existing configuration contract.
Production versus test growth Production/tooling +1,218 net; tests/support +1,231 net Growth includes moved functions and is justified by credential inspection, editing, and field-specific draft recovery.

Stored data model

Persistent data-model change detected: database schema: packages/gateway-protocol/src/schema/plugin-credentials.ts, unknown-data-model-change: packages/gateway-protocol/src/schema/plugin-credentials.ts. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Retain one Settings writer and the canonical SecretRef contract, with metadata-only inspection and acknowledged, field-scoped recovery.

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

Not applicable to the primary feature request. The rejected-save cancellation sequence has concrete regression coverage and reported before/after results; this review did not execute it.

Is this the best way to solve the issue?

Yes: the patch extends existing plugin metadata and Settings ownership, reuses SecretRef validation, and avoids a second credential store or write path.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 57beb816a813.

Labels

Label justifications:

  • P2: This is a bounded improvement to plugin credential settings and cancellation behavior.
  • 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): The supplied production browser→authenticated Gateway results cover saved references surviving reload and sibling writes, with separate denial and stale-revision scenarios; inspected desktop/mobile screenshots support the visible layout change. Screenshot inspection alone is not the basis for the authorization assessment.
  • proof: sufficient: Contributor real behavior proof is sufficient. The supplied production browser→authenticated Gateway results cover saved references surviving reload and sibling writes, with separate denial and stale-revision scenarios; inspected desktop/mobile screenshots support the visible layout change. Screenshot inspection alone is not the basis for the authorization assessment.

Evidence

What I checked:

  • Current main still lacks credential inspection: The fetched main method table contains plugin inspection and management methods but no plugins.credentials.inspect; neither fetched main nor the supplied latest release contains the new credential editor or inspection module. The merged grouped-settings predecessor therefore does not supersede this capability. (src/gateway/methods/core-descriptors.ts:588, 57beb816a813)
  • Inspection preserves the authorization boundary: The handler requires current administrator access before and after the snapshot read, checks the public config revision, and restricts inspection to the installed plugin's advertised credential path. Its projection returns reference metadata or credential kind, never resolved secret values; loader errors are bounded. (src/gateway/server-methods/plugins.credentials.ts:32, e724660eda23)
  • Final response retains live authority: The production WebSocket dispatcher supplies hasCurrentClientAuthority, checks shared-auth generation and invalidation, and suppresses responses from retired clients. The new handler consumes that existing authority rather than creating a transferable authorization token. (src/gateway/server/ws-connection/authenticated-request-dispatch.ts:111, e724660eda23)
  • Prior cancellation concern addressed: Cancel serializes behind existing writes, refreshes authoritative configuration, rejects uncertain outcomes without confirmation, and removes only the selected field's intent. Reviewed regressions cover rejected Save→Cancel→sibling save, pending acknowledgements, overlapping edits, reconnects, and redacted unknown outcomes. (ui/src/lib/config/config-field-discard.ts:54, e724660eda23)
  • Migration checklist resolved by source: The new TypeBox schema validates an additive inspection RPC. The UI adapter still stages changes through the existing configuration capability, and the editor imports the canonical SecretRef validator. No stored schema, credential format, default, or new credential-write RPC is introduced; the author's compatibility explanations match the diff. (ui/src/pages/plugins/plugin-settings-controller.ts:49, e724660eda23)
  • Visual and real Gateway evidence: Inspected all four prepared images: desktop and phone before/after pairs visibly show readable credential rows and the reference-edit action. The captured PR body separately reports 12 authenticated loopback scenarios, read-only denial, stale-revision rejection, nonactivation, and a production browser flow with three config.set acknowledgements and reference persistence after reload. Its tested build is cf4b66819ade; file/exec/store resolution is not claimed as live proof. Later editor/reload images were not included in the prepared manifest and were not independently inspected.

Likely related people:

  • Patrick Erichsen: Raw commit 1710fed adds ui/src/pages/plugins/settings-editor.ts:37 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 1710fede5dfa; files: ui/src/pages/plugins/settings-editor.ts)
  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (10 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-15T20:56:04.970Z sha 6973f05 :: blocked before merge. :: none
  • reviewed 2026-09-15T22:47:10.518Z sha a9527f3 :: blocked before merge. :: none
  • reviewed 2026-09-16T18:39:58.643Z sha 660dbce03bf492fd67fa7151d574a6a05bd4e89e :: blocked before merge. :: none
  • reviewed 2026-09-16T18:52:27.907Z sha 660dbce03bf492fd67fa7151d574a6a05bd4e89e :: blocked before merge. :: none
  • reviewed 2026-09-16T19:27:04.845Z sha 0113824a7fff825e74dfab4302c840a80b46f778 :: blocked before merge. :: none
  • reviewed 2026-09-16T19:54:52.301Z sha 2c7934f :: blocked before merge. :: none
  • reviewed 2026-09-16T20:27:18.918Z sha 3100d9e6a3ede7d2f965411b6f15a6cf66d6be27 :: blocked before merge. :: none
  • reviewed 2026-09-16T20:50:19.897Z sha e724660 :: blocked before merge. :: none

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Addressed the canceled-reference finding and matching rank-up move in b1ad363. Cancel now withdraws the rejected field intent through the shared configuration draft owner, preserving unrelated edits. The existing writer queue, snapshot/conflict replay, submission observer and sanitizer own reconciliation; there is no second writer. Pending Save cannot be dismissed with Cancel or Escape.

The actual rejected Save → Cancel → sibling save sequence fails before repair and passes afterward at 390px and 1174px. Coverage includes missing ancestor cleanup, concurrent edits, acknowledgments, read failure/retry and unknown writes: 150 shared config cases, 18 Chromium credential cases and four built routes pass. The small follow-up fbc944f uses the existing deferred helper for browser-test target compatibility.

When the existing Gateway cannot confirm an uncertain write, the dialog retains the draft and explains that it could not discard it; cancellation is not falsely reported as successful. No stored schema, runtime default or new config option is introduced. The flagged plugin-credentials schema describes an additive request/response contract, not a database migration. Before/after proof and the concrete production-growth justification are in the body.

The final owner extraction in abc3686 keeps queue and admission in the coordinator, moves unchanged replay/conflict logic and full-draft discard into focused modules, and reuses one autosave hold. All 242 config cases and four built credential routes pass after extraction; typed lint passes without file-size suppressions.

@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-880-credentials branch from abc3686 to a43e1e8 Compare September 15, 2026 18:40
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 15, 2026
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Compatibility proof for the remaining data-model checklist: packages/gateway-protocol/src/schema/plugin-credentials.ts defines TypeBox request/response validation for the additive plugins.credentials.inspect RPC. It is a wire schema, not a database schema. Inspection returns credential-source metadata and does not resolve or expose credential values.

There are no tables, indexes, storage-format changes, schema-version bumps, migrations, new configuration keys, or new credential write RPCs. Saving retains the existing configuration writer and canonical SecretRef shape; cancellation now withdraws only rejected local intent through that same owner. The final owner extraction passes 242 configuration cases plus four built credential routes, including preserved sibling edits and unchanged persisted references after a rejected Save → Cancel. The real authenticated Gateway proof in the PR body covers existing literal/environment/reference shapes, redacted reads, stale revisions, and read-only access. No persisted-data migration is needed.

@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-880-credentials branch 2 times, most recently from 3b3e5e7 to 6973f05 Compare September 15, 2026 20:33
Use the shared deterministic listener pool and omit filesystem watching from the HTTP/WebSocket transport fixture. Preserve all eight transport assertions and the canonical worker pool.

Punchcard-Session: crisp-summit-lantern-qk
Keep the append-only literal descriptor table at its canonical path for historical release-train validation. Derive lookup, authorization, startup, and handler descriptors in one sibling and migrate internal callers and generators.

Punchcard-Session: crisp-summit-lantern-qk
Bind Vite's exposed native HTTP server directly so the kernel allocates and retains the port. Preserve Vite initialization, watcher cleanup, and all transport assertions.

Punchcard-Session: crisp-summit-lantern-qk
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-880-credentials branch from 3100d9e to e724660 Compare September 16, 2026 20:42
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

The previous credential-head CI run had one config.patch request exceed its unchanged 10-second deadline in server.config-patch.test.ts (accepts exact numeric record keys in replacePaths). Failed job.

The original 79-case file passes in the same order on the exact candidate locally (89.00s; affected case 1.36s). The already-green parent Linux job also passed all 79 cases (107.05s; affected case 1.52s), and all seven relevant test/request/config-write/runtime-application owner files are byte-identical. Parent Linux proof.

No timeout or assertion was weakened, and no product repair is justified by this evidence. The stalled await is still unknown because the test suppresses Gateway logs. Named follow-up: Investigate the intermittent config.patch runtime-application timeout in the Gateway test, adding owner-stage diagnostics if it recurs.

The required parent-merge rebase preserves identical credential-layer patch bytes and has started fresh current-head CI at e724660. The obsolete run was canceled by the existing per-PR workflow; no extra rerun or cancellation was requested. This note does not waive current-head CI or claim the timing cause is proven.

@Patrick-Erichsen

Patrick-Erichsen commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor Author

Current-head CI diagnosis for e724660eda23f4695a1120bf85d80b80c8d2d3a7: run35148199205, original iOS smoke job104970321571.

The focused simulator run passed70 of71 tests. TalkRealtimeConsultCancellationTests.testHistoryFallbackWaitsForTheAcknowledgedRunInsteadOfANewerForeignReply missed its existing five-second Listening expectation at apps/ios/Tests/TalkRealtimeConsultCancellationTests.swift:52. App build, Swift lint, and the real-Gateway checks passed.

The root agent independently compared the test, voice implementation and CI workflow across parent1710, currente724, CIbaseb8dd and actual CI merge8d208; every compared source hash matches. This PR’s native delta is an optional generated plugin-inspection credential field. The parent iOS job was skipped, so it is not a passing baseline.

The failed fixture selected the owned-run reply and reached tool-result tracing. It never starts its realtime session or assigns its synthetic channel to the session; the send helper returns before RTC readyState/sendData. The remaining status path has no await. The logs do not timestamp Listening entry/fulfillment, so they cannot distinguish a missing callback from late fulfillment or establish the cause of the deadline miss.

The isolated canonical four-suite run passed71/71 tests, with the previously failed case completing in0.370seconds. The root independently parsed its xcresult and checked the original-order log. This ran at exacte724 with no source, timeout, assertion or test-order changes; the owned simulator was removed afterward. Both use Xcode26.6, but local simulator iOS26.5 differs from hosted26.4.1. The first local attempt stopped before tests at missing Rust; the canonical pinned toolchain was then installed only inside the task-owned clone. Hosted attempt2 stopped before compilation or tests because SwiftPM could not connect to github.com while cloning swift-cmark; it does not repeat or resolve the original voice-test result.

Named diagnostic follow-up: capture consult Listening callback entry/fulfillment timing relative to the XCTest deadline if this recurs. The current evidence does not justify a production repair or a longer timeout.

Attempt2’s distinct build failure (job104983165605): SwiftPM failed to clone swiftlang/swift-cmark after two GitHub port443 connection failures (about17seconds each), then xcodebuild exited74 during dependency resolution. The root read the failed log and both package manifests: OpenClawKit pins swift-markdown0.8.0, whose upstream manifest depends on swift-cmark from0.8.0. The original hosted attempt fetched that dependency and built successfully; the unchanged local71-test run also passed. A current local git ls-remote resolves tag0.8.0 to924936d0, which proves local reachability only. The hosted transport failure’s deeper cause remains unknown; no package pin, source or timeout change is justified. After workflow completion, one targeted retry of the failed iOS network setup was submitted as attempt3 on unchanged heade724; it completed with the same voice-test failure. The original test failure has not been hidden or classified as repaired.

Attempt 3 (job104986353127) repeated the same Listening timeout: 70/71 tests passed, affected case 7.541 seconds. Required CI gate failed. Root independently parsed the exact new xcresult artifact10470449151. The log narrows the delay: the same synchronous trace emits GatewayDiag “chat result ready” at +622ms and its TalkRealtimeWebRTC counterpart at +5521ms, a 4.899-second interval before the result-send/status path. No await separates those sinks.

Root inspected the installed Swift OSLog interface and independently ran a controlled subprocess probe: with developer logging enabled and a prefilled stderr pipe held for two seconds, actual Logger.info blocked for 2.014 seconds; the same call with a draining pipe took 0.000244 seconds. A sampled probe stack locates the wait in libtrace’s stderr mirror/writev. This proves a synchronous dependency hazard, not the exact hosted syscall or environment. Investigation is now testing the original iOS flow; no further hosted rerun or timeout/source change has been made.

Contemporaneous controls remain useful but do not waive this failure: UI job104978521241 and progress job104978455133 each passed all71 canonical voice tests on the original Xcode26.6/iOS26.4.1 combination (affectedcase0.602s/0.855s), with an identical apps/ios source tree.

Deterministic reproduction and isolated repair: the unchanged original71-test suite passes with normal output, but an eight-second downstream output stall reproduces the same Listening assertion failure (70/71; affected case8.696s). Applying only the two production-file changes in #150338 makes the same stalled run pass71/71, with the affected case0.355s; the repaired normal run also passes71/71. No test timeout/assertion/order or XCTest environment changes. The actual-owner OSLog probe also returns before drain and persists afterward. This confirms the reproduced owner-boundary defect; it does not claim a sampled blocked thread from the original hosted runner. The separate repair is awaiting its own current-head CI/native landing, after which this layer will be refreshed so its required CI includes the fix. No fourth retry of the unchanged failing head is planned.

Fresh CI 35159492410 completed successfully:164 jobs passed,9 skipped, required openclaw/ci-gate passed. The actual checkout fbe67d3b08c6 includes the landed iOS repair; the unchanged canonical four suites passed71/71 and the affected Listening case passed in0.423s. The old failed run remains historical evidence.

This PR merged as 04ce8678363227c819ddca56373bacc3baeb093c after native preparation and merge gates. Native outcome is complete/accepted for exact head e724660eda23f4695a1120bf85d80b80c8d2d3a7; the landed patch matches the approved change apart from Git indexes and hunk coordinates.

@Patrick-Erichsen
Patrick-Erichsen merged commit 04ce867 into main Sep 16, 2026
781 of 787 checks passed
@Patrick-Erichsen
Patrick-Erichsen deleted the codex/claw-880-credentials branch September 16, 2026 23:31
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 17, 2026
* feat: inspect and edit plugin credentials in settings

Punchcard-Session: crisp-summit-lantern-qk

* fix: discard rejected credential edits through the config owner

Punchcard-Session: crisp-summit-lantern-qk

* test: use the shared deferred helper for credential saves

Punchcard-Session: crisp-summit-lantern-qk

* refactor: separate configuration draft discard and replay

Punchcard-Session: crisp-summit-lantern-qk

* test: scope dev gateway fixture ports and watchers

Use the shared deterministic listener pool and omit filesystem watching from the HTTP/WebSocket transport fixture. Preserve all eight transport assertions and the canonical worker pool.

Punchcard-Session: crisp-summit-lantern-qk

* refactor(gateway): separate core method lookup policy

Keep the append-only literal descriptor table at its canonical path for historical release-train validation. Derive lookup, authorization, startup, and handler descriptors in one sibling and migrate internal callers and generators.

Punchcard-Session: crisp-summit-lantern-qk

* test(ui): retain the dev Gateway fixture listener port

Bind Vite's exposed native HTTP server directly so the kernel allocates and retains the port. Preserve Vite initialization, watcher cleanup, and all transport assertions.

Punchcard-Session: crisp-summit-lantern-qk
threely-lab pushed a commit to threely-lab/openclaw that referenced this pull request Sep 17, 2026
…9287/openclaw#149286/openclaw#148070/openclaw#146672)

Adds missing GatewayMethod entries for protocol parity with upstream openclaw:
- PluginsSkillsRead (plugins.skills.read)  [openclaw#149287]
- PluginsCredentialsInspect (plugins.credentials.inspect)  [openclaw#149286]
- ControlUiSessionPullRequestsChecks (controlUi.sessionPullRequests.checks)  [openclaw#148070]
- CanvasDocumentPreview (canvas.document.preview)  [openclaw#146672]
SessionsActivitySummaryEnsure / ComputerStatus / ComputerInvoke were already present.

version 2026.9.17.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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. 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