Skip to content

fix: narrow unconfigured GitHub tools in the built-in harness - #197594

Merged
roboclaw-bot merged 11 commits into
mainfrom
openclaw/grand-shell-4
Nov 12, 2026
Merged

roboclaw-bot merged 11 commits into
mainfrom
openclaw/grand-shell-4

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #197592 (earlier publication of this change; this PR contains the current-main integration).

What Problem This Solves

Fixes the built-in OpenClaw harness offering authenticated GitHub operations after the GitHub owner has confirmed that no publishing identity is configured.

User Impact

Unconfigured built-in listings keep credential-free readiness, setup/status, and original publication-receipt observation without advertising unsupported writes. Public GitHub read/search remain available. Native-default authentication, configured but unhealthy identities, unknown discovery, and possible delegated publishers are preserved; no migration or new setting is required.

Scope: Codex and other native/SDK harnesses without the embedded declaration pin retain their existing listings. Omission there is deferred rather than risking warm-thread rotation or adding a native custody lifecycle. Another configured agent conservatively retains the broader surface because it may own a delegated publishing target.

Why This Change Was Made

The existing GitHub lifecycle publishes authoritative configuration facts off the turn path. Tool construction consumes them without reading credentials or probing authentication. Known absence selects a compact readiness-only schema; failed discovery is unknown, not absence. A linked human GitHub account is not treated as the managed bot publisher.

The existing session-prompt owner pins the declaration before catalog compaction, so background discovery cannot rewrite an established provider prefix. Configuration/support changes and explicit refresh re-evaluate it. Fresh execution closures, current authority, private access, direct-only handoffs, and accepted-operation settlement remain with their existing owners.

Evidence

Matched built-product before/after

Historical matched qualification used BASE 24819901d92ee379b5b36a957276d3b3657d7b79 and the pre-integration production tree in bb2b031c95d5869dfb2bec33f8ddd7d2b898e06f. Both used the actual built Gateway and served Control UI, a separately paired synthetic test viewer, visible composer/Send, and the same neutral loopback provider. No mocked baseline Gateway. Counts are original UTF-8 HTTP body bytes, not JSON reserialization.

In this table, “Native empty/configured/unknown” refers to the native GitHub credential backend within the built-in pinned harness, not reduced listings in native/Codex harnesses, which remain deferred.

Workload BASE body bytes FIX body bytes GitHub actions
Native empty 160,902 154,773 9 → 1
Native configured 160,902 160,902 9 → 9
Native unknown/error 160,902 160,902 9 → 9
Managed configured/unhealthy 160,902 160,902 9 → 9
Existing synthetic uncertain receipt 160,942 154,813 9 → 1
Code Mode, native empty 47,359 41,230 9 → 1
Code Mode, native configured 47,359 47,359 9 → 9

Exactly 6,129 bytes are removed from the publisher definition: 6,954 → 825 bytes. Direct tool JSON is 126,204 → 120,075 bytes; system JSON stays 31,911 and remaining bytes 2,787 (2,827 for the receipt case). Code Mode tool JSON is 16,832 → 10,703; system JSON stays 27,740 and remaining bytes 2,787. These scopes are not added together.

  • Direct mode retains 57 tools. Code Mode retains 6 direct tools and 54 catalog targets; publishing stays direct-only and public read/search/identity status stay discoverable. Unrelated catalog names were not exhaustively queried.
  • Steady-state construction adds zero native GitHub commands and zero publication-preparation actions. Off-turn sampling adds two commands for empty/unknown, one for configured, and zero for managed-only; explicit status and UI account reads are counted separately.
  • Forty-seven raw bodies are hash-verified across 15 owned test instances. The synthetic failed/dispatched receipt is observed twice with its original request ID, without resubmission; no push occurred.
  • Actual FIX system/tool JSON stays byte-identical after background discovery. Legitimate fixture configuration refresh restores the full declaration. Four catalog and three pin runs have successful terminal receipts. Event-wake/checkpoint reload is separately covered by the committed production-composition regression.

Current integration and checks

Integrated main c7962d6a108ca4f3f46a76e254bf29a487e5145f to resolve the published conflict. The identity import resolution preserves main's worker-backed credential reads, fs-safe policy and redaction alongside this PR's pure selector. Main's prepared-prefix reuse and the publication-listing pin coexist. At that integration, twenty-nine of 31 reviewed PR-file blobs were unchanged.

Current publication: 30369593fd36822548b25f4fd6428582c951e7b3 is an empty publication child of tested/reviewed 6ebcb0abddba4a2cc90947ed3fa626b21c23387d; both have verified tree 930c12fb3beaf704ebaaf8d6e45f0b1be3dc4617. The final delta changes only two positive observer-readiness waits in one UI test file to canonical waitForSolid, preserving the assertions and immediate negative detachment assertion. Production/runtime behavior and timeout configuration are unchanged. Current-head CI completed FAILURE, with the three root failures independently reproduced on actual main as detailed below; no all-green or fresh build/browser claim is made. Under Vincent's scoped finalize-and-land instruction, the lead has selected the native inherited-failure landing route and owns exact-head preparation/evidence binding and execution. This metadata update is not a merge receipt.

  • Final-head CI: run 43180496930, attempt 1, completed FAILURE with 94 jobs, all terminal, on 30369593fd36822548b25f4fd6428582c951e7b3. Three root failures remain: build-artifacts (job 131055724373), only Check generated schema, reporting stale packages/gateway-protocol/src/compiled/protocol.generated/predicates.js; updater checks-node-changed-compact-large-8 (job 131055725637), the same expected 2026.5.20 missing/invalid version and postinstall-inventory case; and UI E2E 5/7 (job 131055724727), the cold-load anchor case at line 267, timing out on exact text Worked for 3m 30s. Derived ci-gate also failed (job 131061985758). The repaired position-rail UI unit tests passed in this run; no additional task defect was identified.
  • Three qualified actual-main reproductions: independent main 9fe59d5e7ef063a15c39523386c15c0b68b733f3, with exact Node 24.22.1 and the verified project-pinned Bun 1.4.4 canary 191755, reproduces all three root signatures. Native PR evidence: .local/baseline-validators24.log exits 1 with the same stale predicates; .local/baseline-updater24.log records 1 failed / 11 filtered, the exact missing version/inventory failure; .local/baseline-cold-load24.log records 1 failed / 2 filtered, the same Worked for 3m 30s timeout at line 267. Preliminary Node 26 failures are not the qualifying proof: the exact Node 24 replays are. Relevant failure-owner, test and generator blobs were verified unchanged from CI parent ff8d8d2cac5b20f81364c241294eb09c796ca591 to both main baseline 9fe59d5e7ef063a15c39523386c15c0b68b733f3 and tested merge eb4bac034ed74b3d8b3854840f7005540974b415. The lead is binding the native exception artifact to published head 30369593fd36822548b25f4fd6428582c951e7b3, run 43180496930 attempt 1, that CI parent and exact tested merge. These are attributed inherited failures, not green checks or a waiver of remaining enforced review/security gates; landing is unconfirmed until its execution receipt.
  • Reused integration-input proof: 97 source tests passed, including both Code Mode pin/discovery compositions and the supported Bun native-worker policy case. The real built-Gateway/browser workload passed with two provider requests. Prior unchanged owner proof (120 tests) and public-reader proof (174 tests) remain prior-input evidence. These are reused results, not fresh test/build/browser executions on e930f31df6f94d8b2b3cb3f11b4e59c07cf6cee2 or the new published head.
  • Publisher objects checked at integration were byte-identical to the matched qualification: 825/6,954 bytes, with 1/9 actions. Integration smaller-workload bodies were 143,360/149,489 bytes. These are integration controls, not a newly matched BASE/FIX body comparison; the historical whole-body table is not relabeled current-head evidence.
  • Core/touched-test types, scoped lint, format and diff checks passed at integration. Canonical runtime build and canonical private-QA preparation passed without output/stamp edits or skip flags, with matching signatures for those integration inputs. The later safety-comment change alters raw source hashes: no fresh build or current-head signature match is claimed for e930f31df6f94d8b2b3cb3f11b4e59c07cf6cee2 or the new published head.
  • Historical pinned-main budget debt, not a current CI red: the local integration test-line ratchet was 25 pinned-main lines over: 6,671,497 > 6,671,472. Task growth was +618, covered by existing 411 + 207 allocations; pinned main itself was 25 over. The later 552b2bca90248d51e49101bec9932f983e70474d CI merge-tree test-line check passed: 6,672,146 ≤ 6,672,197, with 51 lines of slack. No allocation, scalar, baseline, ignore, suppression or waiver was changed to obtain that pass. This is prior-head CI evidence, not an e930 or current-head check result.
  • Review history: full-range local Autoreview (Codex, P0–P3), c7962d6a108ca4f3f46a76e254bf29a487e5145f → b89852b39648cfd30c7890a4e8eac5689f0297dd, was scoped-clean, with no findings; 539d2ef01d93018ff22b71c54d77e2f64ad1b980 was an empty publication child of that reviewed tree. A subsequent full-range Autoreview, c7962d6a108ca4f3f46a76e254bf29a487e5145f → 7c397401079c82d1155a6f3e1307e7e34f5da828, was also scoped-clean, covering the first workload-inventory ordering repair. Fresh independent incremental Autoreview (Codex, P0–P3) of the exact 552b2bca90248d51e49101bec9932f983e70474d → 9ea97ec3588c14d18a41d447d471b0006a18c276 working-tree snapshot, with complete checkpoint-writer and CI-configuration context, was scoped-clean, with no findings (ci552-owner-status.json, ci552-owner-review.md). Published e930f31df6f94d8b2b3cb3f11b4e59c07cf6cee2 is an empty child of tested/reviewed 9ea97ec3588c14d18a41d447d471b0006a18c276; both have verified tree 0edcddc2a2036a0a13ad46e03fddd2f66ec0bbd0. A final independent incremental Autoreview (Codex, P0–P3), e930f31df6f94d8b2b3cb3f11b4e59c07cf6cee2 → 6ebcb0abddba4a2cc90947ed3fa626b21c23387d, with the complete position-rail owner and Solid settle-helper context, was scoped-clean, with no findings (rail-final-status.json, rail-final-review.md). Simplification review found the delta minimal, with no added machinery.
  • Task-caused CI contract repairs: the assertion-safety guard went from 1 violation → 0 by placing the existing checkpoint-writer invariant in an immediate SAFETY comment at the assertion. UI resource-ownership inventory tests went from 3 failed / 12 passed → 15 passed by adding the real new workload to the independent expected inventory. The earlier workload-inventory ordering guard was reproduced red and then passed after moving the entry to its sorted position. Targeted types, lint, format and diff checks pass for the repair; production executable behavior is unchanged. The frozen repair receipt is ci552-repair-receipt.json in the implementation evidence.
  • Update-CLI failure, now baseline-qualified: prior-head e930f31df6f94d8b2b3cb3f11b4e59c07cf6cee2 job checks-node-changed-compact-small-1 (job 131033680797) failed src/cli/update-cli.fresh-doctor.test.ts split-root writable-override package verification on missing version/postinstall inventory, repeating the prior 552 signature. The original terminal classifier labeled it UNKNOWN, with no matching main job. Subsequent actual-main reproduction on 611bea727f21c2f901f5f6d963aa2b5c5553b4ea, using CI=true, GITHUB_ACTIONS=true and the verified repository-pinned CI Bun, reproduced the same missing version/postinstall inventory signature: 1 failed / 11 filtered (.local/baseline-updater-pinned.log in the native PR evidence). The lead verified relevant CLI owner, fixture and pin blobs unchanged across the qualified main baseline and actual previously tested merge 8bf6621fefe93530e183da0c23ed3834da9c5c48. This supersedes the earlier unknown attribution with a reproduced baseline failure; the lead owns the native inherited-failure evidence and landing decision. It does not relabel a failed check green or claim an updater fix.
  • Historical update-CLI attempts retained: a frozen Node focused reproduction on 9ea97ec3588c14d18a41d447d471b0006a18c276 passed (1 passed / 11 filtered); the later frozen Bun focused reproduction also passed (1 passed / 11 filtered, e930-updater-bun-focused.log). The exact nine-file CI-cohort Bun replay exceeded its bounded 360 seconds before reaching the failing test and was terminated (e930-bun-cohort-repro.log): no verdict. An earlier parent reproduction attempt was refused by the source-change compiler and is retained separately as setup failure, not a product verdict. No timeout increase, CI rerun or updater source fix was made. Passing replays were not fixes; baseline qualification comes from the actual-main failing reproduction above, not these passes.
  • UI failure and final observer-readiness repair: prior-head job checks-ui 2/3 (job 131033679753) failed chat-position-rail.test.tsx:694, in the test keeping the focused run marker through streaming: observed.has(streamBubble) expected true, received false. The original terminal classifier marked it new against a matching passing main job, not proof of PR causation. The initial bounded Bun whole-file replay passed 19 testswithout a fix, which alone did not resolve CI timing uncertainty. The final repair replaces fixed-frame waits before two positive observer assertions with canonical waitForSolid; the exact assertions and immediate negative detachment check remain. The full file passes 19 tests on Node and 19 tests on verified pinned CI Bun (1.4.4 canary 191755). A negative control that never registers the observer fails the original positive assertion; it was then restored. Targeted types, lint, format and diff checks pass. The frozen evidence is ui-rail-readiness-receipt.json. This is a test-readiness repair only: no product/runtime/timeout configuration changes, no weakened assertions.
  • Historical terminal CI snapshot, November 12 at 07:33 UTC: the prior-head watcher for CI run 43173752610 completed FAILURE. Complete REST inventory for e930f31df6f94d8b2b3cb3f11b4e59c07cf6cee2: 157 check runs = 92 success, 61 skipped, 1 neutral, 3 failed, 0 pending. Failures were the update-CLI and UI jobs above plus derived ci-gate (job 131038667373). Dependency/security combined-status contexts succeeded; combined ci-gate failed. Classification evidence is retained in e930-terminal-classification.json in the implementation work session. This remains prior-head failure evidence, not the new head's CI result; final-head results and qualified baseline attribution are recorded above.
  • Completed prior-head hosted review: ClawSweeper workflow 43175375747 completed SUCCESS. Its durable review comment explicitly identifies reviewed head e930f31df6f94d8b2b3cb3f11b4e59c07cf6cee2, reports Findings: None, and finds no actionable code issue in patch quality. Its outcome was Ready for maintainer review, not a CI pass or merge receipt. The unchanged production change retains that review evidence; the final test-only delta has the fresh independent local review above. No additional hosted review was requested. The earlier local ClawSweeper process failed with exit 101/no verdict and remains historical evidence.
  • The maintained browser workload passes on selected BASE and FIX artifacts: two provider POSTs, read/search/status retained, absent publisher 9 → 1 and configured-unhealthy 9 → 9. Those smaller invocations differ by six system-fragment bytes, so only tool-object bytes are compared. A replay exposed an announcement/visible-reply locator ambiguity; the locator now targets a rendered paragraph in the active pane and passes. Original failure evidence is retained.
  • Owned Gateways, observers, state roots, fixture providers and Chromium are cleaned up; test TLS private key removed. An earlier cleanup-deadline failure is recorded separately, not relabeled a pass.

Rerunnable workload: OPENCLAW_E2E_USE_PREBUILT_DIST=1 node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/chat-github-tool-surface.real-gateway.e2e.test.ts --maxWorkers=1. OPENCLAW_GITHUB_TOOL_BUILD_ROOT selects a qualified build; OPENCLAW_GITHUB_TOOL_STAGE=base|fix selects expected declarations. Evidence and commands are retained in the implementation work session.

Limits: synthetic provider, not real-model quality or live GitHub authentication/private-access proof. The task's own publication used the configured managed roboclaw-bot; synthetic workload cases made no GitHub writes. No latency, token, billing or cache-performance claim. Matched captures reused audited byte-identical outputs with matching production-source signatures and preserved original producer metadata. The rejected CLI/agent-exec case remains stopped/unqualified; the independent browser fixture used its own canonical local owner and preserved attribution markers.

Contributor credit

Requested by @vincentkoc, based on the original idea from @jalehman. Commit coauthor credit also includes @GrahamMcBain.

Work sessions

Linked for team reference; these sessions aren’t public.

Worked on by

roboclaw-bot and others added 5 commits November 12, 2026 04:49
Keep credential-free readiness and original receipt observation when the built-in listing owner knows no publisher is configured. Preserve unknown/native/managed selections and pin discovery-dependent declarations through the existing prompt owner. Native harness omission remains deferred.

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>
Exercise an absent publisher and configured-unhealthy identity through a paired synthetic browser and the actual built Gateway. Capture original provider request bytes and action counts without live credentials or publication.

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>
Worked on by:
- @jalehman
- @GrahamMcBain
- @vincentkoc

Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 46ccf8c9-3348-8666-b35f-4e205cbb1daf
Integrate pinned main c7962d6 to resolve the published PR conflict. Preserve worker-backed credential reads and prepared-prefix reuse alongside the existing configuration selector and publication listing pin.

The inherited test-line gate remains 25 lines over its ceiling; task growth is exactly covered by the existing 411 and 207 allocations, with zero merge-repair test growth.

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>
Worked on by:
- @jalehman
- @GrahamMcBain
- @vincentkoc

Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 87791c30-f9ca-89bb-a8bc-b571cf3e6908
@clawsweeper

clawsweeper Bot commented Nov 12, 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 agents Agent runtime and tooling extensions: codex size: XL labels Nov 12, 2026
@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components.

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

  • Current SHA: 30369593fd36822548b25f4fd6428582c951e7b3
  • Maintainer: @roboclaw-bot
  • Repository role: maintain

These security sensitive changes were made:

  • src/gateway/github-oauth-lifecycle-helpers.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/github-oauth-lifecycle.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.

Carefully review these changes before merging.

@roboclaw-bot roboclaw-bot changed the title Publish openclaw/grand-shell-4 fix: narrow unconfigured GitHub tools in the built-in harness Nov 12, 2026
roboclaw-bot and others added 2 commits November 12, 2026 06:57
The existing CI ownership guard requires the private-server inventory in its canonical sorted order. Move the GitHub workload entry without changing membership, assertions or production behavior.

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>
Worked on by:
- @jalehman
- @GrahamMcBain
- @vincentkoc

Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 72534aee-21f5-4321-8e43-35ef484fc0be
@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. labels Nov 12, 2026
roboclaw-bot and others added 2 commits November 12, 2026 07:13
Document the internal publication-listing checkpoint assertion and include the new private serial Gateway workload in the independent exact inventory expectation.

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

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

Co-authored-by: GrahamMcBain <[email protected]>
Worked on by:
- @jalehman
- @GrahamMcBain
- @vincentkoc

Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: a50d8f29-075b-4d82-b29a-14140f62cdfa
@clawsweeper clawsweeper Bot removed the clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. label Nov 12, 2026
@clawsweeper

clawsweeper Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR narrows built-in GitHub publication declarations when no publisher is configured while preserving session-stable listings and receipt observation.

Example: A new built-in session has confirmed empty native GitHub configuration.

  • Before: github_publish advertises nine actions, including publish.
  • After: github_publish advertises readiness only; public read, search, and identity status remain available.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A coherent owner-based fix with detailed shipped-entry-point evidence and no actionable finding; current-head CI is unresolved.
Proof confidence 🐚 platinum hermit (4/6) The contributor-proof gate exempts this maintainer-authored PR; its public body nevertheless reports built-Gateway/browser provider captures covering absence, configured and unknown identities, receipt observation, and prefix stability, with historical-input and synthetic-provider limits stated.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: The built-in harness advertises authenticated GitHub operations even when its owner has confirmed that no publisher is configured.
Reason: The maintainer-authored direction improves capability accuracy while preserving unknown identities, public readers, accepted receipts, and established session prefixes.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR addresses a concrete tool-listing problem absent from current main. No actionable code defect was found; current-head CI failures still need attribution before landing.

Priority: P2
Reviewed head: e930f31df6f94d8b2b3cb3f11b4e59c07cf6cee2

Before merge

None.

Findings

None.

Agent review details

How this fits together

The GitHub lifecycle supplies configuration facts to tool assembly, and the session-prompt owner pins the resulting declarations before catalog compaction and provider submission.

flowchart LR
  A[GitHub configuration] --> B[GitHub lifecycle]
  B --> C[Tool assembly]
  C --> D[Session declaration pin]
  D --> E[Tool catalog and provider request]
  E --> F[Gateway action authorization]
Loading

Technical review

Best possible solution:

Land the focused lifecycle-backed selector and session-owned declaration pin after resolving current-head CI attribution.

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

Current main constructs the full publication declaration without consulting confirmed publisher absence; the PR body supplies matched built-product observations, and no target code was executed during this review.

Is this the best way to solve the issue?

The smallest complete fix uses the existing GitHub lifecycle for absence facts and the existing session-prompt owner for declaration stability; the added selector and catalog wiring serve those responsibilities.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 0950f7a77e98.

Provenance checked

  • GitHub publication listings keeps the original intent (77d0f72: Keep declarations stable across operator, scheduled, and senderless turns while retaining execution-time authorization.)
  • Transcript-backed tool pin keeps the original intent (1f7b2f1: Preserve provider prefixes across event turns, restarts, and tool reconstruction without retaining revoked executors.)
  • GitHub identity selection keeps the original intent (6e458d8: Support system and per-agent managed identities while preserving native authentication as the unconfigured default.)
  • Credential-worker and prepared-prefix integration keeps the original intent (441878b: Keep credential status work off the Gateway thread; the PR preserves worker-backed credential reads and current-main prepared-prefix reuse.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit f322e38 adds src/agents/github-read-identity.ts:25 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: f322e3898602; files: src/agents/github-read-identity.ts)

PR surface

Source +298, Tests +620, Docs +17, Other +4. Total +939 across 32 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 18 415 117 +298
Tests 11 680 60 +620
Docs 1 17 0 +17
Config 0 0 0 0
Generated 0 0 0 0
Other 2 4 0 +4
Total 32 1116 177 +939

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Root-cause cluster

Relationship: canonical
Canonical: #197594
Summary: This PR carries the earlier publication's change plus main integration and subsequent CI-contract repairs.

Members:

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

Labels

Label changes:

  • add P2: Incorrectly advertised GitHub actions add avoidable model context and failed-action opportunities, with limited impact on configured workflows.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: Incorrectly advertised GitHub actions add avoidable model context and failed-action opportunities, with limited impact on configured workflows.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

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

Workflow

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

Reviewed November 12, 2026, 2:33 AM ET / 07:33 UTC.

roboclaw-bot and others added 2 commits November 12, 2026 08:07
Keep the existing observer and detachment assertions while awaiting their actual asynchronous readiness instead of assuming two animation frames have completed registration.

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

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

Co-authored-by: GrahamMcBain <[email protected]>
Worked on by:
- @jalehman
- @GrahamMcBain
- @vincentkoc

Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 1c1da582-1abc-4ffe-8128-c99865ac0334
@roboclaw-bot
roboclaw-bot merged commit dcac946 into main Nov 12, 2026
161 of 166 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/grand-shell-4 branch November 12, 2026 08:41
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 13, 2026
…aw#197594)

* fix: trim unavailable GitHub actions without changing session tools

Keep credential-free readiness and original receipt observation when the built-in listing owner knows no publisher is configured. Preserve unknown/native/managed selections and pin discovery-dependent declarations through the existing prompt owner. Native harness omission remains deferred.

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>

* test: retain built GitHub declaration workload

Exercise an absent publisher and configured-unhealthy identity through a paired synthetic browser and the actual built Gateway. Capture original provider request bytes and action counts without live credentials or publication.

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>

* fix: narrow unconfigured GitHub tools in the built-in harness

Worked on by:
- @jalehman
- @GrahamMcBain
- @vincentkoc

Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 46ccf8c9-3348-8666-b35f-4e205cbb1daf

* Publish openclaw/grand-shell-4

Worked on by:
- @jalehman
- @GrahamMcBain
- @vincentkoc

Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 87791c30-f9ca-89bb-a8bc-b571cf3e6908

* fix: keep private browser inventory in canonical order

The existing CI ownership guard requires the private-server inventory in its canonical sorted order. Move the GitHub workload entry without changing membership, assertions or production behavior.

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>

* Publish openclaw/grand-shell-4

Worked on by:
- @jalehman
- @GrahamMcBain
- @vincentkoc

Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 72534aee-21f5-4321-8e43-35ef484fc0be

* fix: align GitHub workload CI contracts

Document the internal publication-listing checkpoint assertion and include the new private serial Gateway workload in the independent exact inventory expectation.

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

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

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

* Publish openclaw/grand-shell-4

Worked on by:
- @jalehman
- @GrahamMcBain
- @vincentkoc

Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: a50d8f29-075b-4d82-b29a-14140f62cdfa

* test(ui): wait for position rail observer readiness

Keep the existing observer and detachment assertions while awaiting their actual asynchronous readiness instead of assuming two animation frames have completed registration.

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

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

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

* Publish openclaw/grand-shell-4

Worked on by:
- @jalehman
- @GrahamMcBain
- @vincentkoc

Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 1c1da582-1abc-4ffe-8128-c99865ac0334

---------

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: jalehman <[email protected]>
Co-authored-by: GrahamMcBain <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 17, 2026
Allow initial guest PR preparation from the recorded project's published
history while preserving unpublished work and original PR identity.

(cherry picked from commit 2757947)

Stable adaptation: preserve the existing linked-identity fixture; expand
its options type and allocate exactly 89 regression LF instead of 84.
Production and documentation patches are unchanged from the source.

Companions: #188785 is present-equivalent. Later #188784, #190223,
#190576, #190542, #195413, #197229, #197243, #199717, #195787,
#197510, #193664, #199851, #199864, #197656, #198851, #193873,
#197594, #189006, #188904, #194025, #196200, #192283, #189010,
#188816 and e0466ff are not prerequisites to this scoped repair;
retain their separate intake dispositions. No later PR-number mentions.

Proof: baseline 4 failed/20 passed through registered agent action;
fixed 41/41 across preparation, refresh and base-action suites.
Type-aware lint4, formatting5, docs MDX1419 and diff check pass.
No live GitHub or full release qualification claim.

Co-authored-by: RomneyDa <[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: web-ui App: web-ui clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. docs Improvements or additions to documentation extensions: codex gateway Gateway runtime security-sensitive-changed size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant