Skip to content

feat: prepare cloud workers for enterprise repositories - #160108

Merged
roboclaw-bot merged 32 commits into
mainfrom
galiniliev/teamclaw-upstream-enterprise-worker
Oct 3, 2026
Merged

roboclaw-bot merged 32 commits into
mainfrom
galiniliev/teamclaw-upstream-enterprise-worker

Conversation

@galiniliev

@galiniliev galiniliev commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Private GitHub Enterprise repositories need a complete discovery, New Session default, and prepared cloud-worker workflow that remains bound to the selected host, repository, and current authority.

User Impact

Operators can configure gateway.github.host / gateway.github.apiBaseUrl, select a default repository through gateway.projects.defaultRepository, and use the existing cloudWorkers.projectProfiles mapping to prepare capacity while an authenticated, session-creating Control UI browser is connected. Readers do not receive the private default or sustain preparation. Unused reserves retire after the last eligible browser leaves; active sessions retain their workers.

Explicit user destinations and accepted HTTPS/SSH/SCP Git URLs are preserved. Session PR data follows the recorded repository host, while public OAuth, public Actions capabilities, and sign-in identity lookup remain bound to github.com. Enterprise service credentials must declare their matching host; native discovery is an explicit opt-in.

Worker-side stock GitHub-client authentication is separately tracked in #157500; transferring repository content does not claim that dependency is complete.

Why This Change Was Made

The existing repository, identity, preference, preparation, and transport owners carry the configured host throughout discovery and preparation. Private/Enterprise source is transferred as an authenticated pinned Git pack, without embedding tokens in worker images or setup files. Host/credential-scoped caches and final-effect checks prevent stale configuration or revoked authority from authorizing new work.

Presence follows canonical client invalidation, not only socket removal. A held or failed repository admission does not block unrelated cleanup or independently authorized refill. Actual activation timestamps are tracked separately from newer spare-worker demand and scoped to the exact preparation generation.

Demand uses a key in the existing SQLite machine-state table and its read-worker/write-broker owners. Remote choices use existing authenticated per-person preferences, not shared browser fallback. No SQLite schema, updater, package/lock, or checkpoint-path change is authored by this PR.

Evidence

Current candidate: 99502c3ca1c0bbb165719de3bf5331ec74c0d87b, rebased onto main 60e849f1a4aa2101382883e91e97f87aaf297451 with contributor history preserved. The original six-fix commit remains patch-identical. Conflict resolution retains main’s Git-cache ownership, bootstrap subprocess cleanup and sanitized diagnostics while preserving Enterprise host binding and the verified worker-tool path. A follow-up correction keeps Azure force recovery within the original stop deadline.

Current repair proof

  • Current rebase: 315 tests across 12 focused files passed in 264.06s (GitHub PR/host/cache readers, repository state, worker recovery and Crabbox lifecycle).

  • Deadline correction: both mocked-clock regressions failed before the fix; 77 tests across five stop/retry/error files passed afterward in 35.32s. Native independent review was scoped-clean through P2.

  • Core production types, plugin production/test types, targeted plugin typed lint, formatting and diff checks passed. One inherited max-lines failure remains in src/state/openclaw-state-read.worker.ts: this PR only removes 18 lines from main’s already-over-limit file; no suppression or baseline relaxation was added.

  • On prior published cb7d9c2b6686c78b01fdafe90dacd1085310bda6: all 123 focused picker/default-selection/submission/worker-bootstrap/presence-effect cases passed in 63.37s, and all 10 real Control UI/mock-Gateway repository-flow cases passed in 31.35s. Core and UI production types, scoped typed lint/formatting, canonical config generation/check, and authored-diff sanity passed.

  • Regressions failed before the fixes for browser revocation before reserve admission/effects, failed/held presence admission blocking cleanup, overwritten execution destinations, discarded SCP URLs, public Actions under Enterprise configuration, and lost search rate-limit cooldowns.

  • During the repair sequence, 304 integrated tests passed in 127.63s before the final activation refinements. The final pre-rebase repair tree (64889c17e0b798420ca9795fd11c75fe41dc2c41) then passed 65 final-correction/registered Enterprise-boundary cases in 85.53s. Activation controls additionally cover a spare created after activation, the original activation deadline, and a different preparation generation. These are local production-owner and synthetic transport fixtures, not live cloud acceptance.

  • All 10 actual Control UI/mock-Gateway browser cases passed in 29.84s wrapper wall. The explicit-destination case failed original source with default-worker replacing selected-worker, then passed after repair. Inspected synthetic before/after captures were delivered in the originating conversation. The UI repair is unchanged in this rebase.

  • Pre-rebase staged checks passed: core/UI production types, all 27 core test-type graphs, lint, formatting, configuration and source guards, dead-export scans, and runtime import-cycle checks. Core lint retained three line-length warnings in untouched files and no errors. Affected types/lint/line-cap checks were rerun after the final two-file activation correction.

  • Independent native review identified the activation/refill gap, which was reproduced and repaired. Final pool review is scoped-clean at P0–P2 with source hashes matched during integration. A proposed Enterprise URL mismatch was rejected against the actual Gateway facade getter and passing Enterprise host-switch/registered-handler controls; the facade does not use the plugin's fixed public constant.

  • On prior published dd93aa74d675090f58af64fbe17fa975bdd053e6: 91 focused cases across registered project methods, validated-handler authority, Enterprise search, public sign-in/roles, presence invalidation, private-Git lifecycle boundaries, and activation generations passed in 97.50s wrapper wall. Core production types and Gateway root/server/other test types passed, as did scoped typed lint, canonical config-baseline verification, and diff sanity.

  • Additional prior-head (dd93aa74d675) bounded checks: Dockerfile bootstrap/import closure (33), prepared-demand state-worker persistence/admission (5), and personal preference isolation/migration (28) all passed: 66 cases, 29.66s combined wrapper wall. These establish those local boundaries, not an image build, live provider acceptance, or an installed-driver upgrade/rollback matrix.

Earlier scoped changed test-file cost samples: search 16 cases / 2.74s wrapper; read identity 44 / 23.86s (including 20.13s subprocess compilation); Actions board 27 / 11.73s; UI default-selection file 11 / 4.46s. Four activation ordering/expiry controls took 3.636s test-body time in their focused run. The attempt-1 Android test step took 414 seconds (Gradle 6m53s); changed-file-specific Node/UI CI timings were not present in the inspected failure evidence and have not been claimed. Prior-head CI is not current-head proof.

Remaining acceptance and landing status

At Galin’s explicit request, the failed jobs were rerun on unchanged head dd93aa74d675090f58af64fbe17fa975bdd053e6. CI attempt 2 passed, including Android third-party and the required CI gate. Its complete inventory is 105 successful jobs and 12 skips, including successes carried forward from attempt 1; it was not a full reexecution.

Attempt 1 remains evidence: one of 3691 Android tests timed out in progress-card fixture setup before recording/rendering assertions; the aggregate gate failed downstream. The unchanged third-party class subsequently passed all 113 cases locally in the same order. Neither that local pass nor the successful requested rerun establishes a code fix or the exact timing cause. No timeouts, assertions, or exclusions were weakened.

Fresh CI run 37128161104, attempt 1 passed on exact head 99502c3ca1c0bbb165719de3bf5331ec74c0d87b: 105 jobs succeeded, 12 skipped, none failed or pending. Both the Actions CI-gate job and the independently published required openclaw/ci-gate status passed; dependency and security-sensitive statuses also passed. Android native 16-KiB, native 4-KiB, and third-party tests all passed on this head. This is new-head proof, not reused old-head green. The separate shared-kit iOS scan was still running at final verification; no claim is made that every broader check is terminal. The maintainer has explicitly requested landing.

Earlier run 37094098348 on cb7d9c2b6686 failed on inherited recovery-test fixtures and Android native plugin resolution. Latest main now includes phase-based recovery-test correction 4ec1118e7cc084651811ce52b5b4f2763df96e87, and the previously failing lifecycle file passes in the current focused run. The separate proposed fix #164029 was not merged by this task. The prior Android resolver failure did not identify an HTTP/DNS/TLS/cache cause; this rebase does not claim that failure was a product fix.

The last independently audited automated ClawSweeper state was an input-safety hold on older fefd70e9b6b5 source; this rebase does not claim a fresh completed review. The retained diagnostic exposes only one of two findings, so complete-input review and any exact fixture qualification belong to the scanner host owner. No target-repository ignore or scanner bypass was added. The current native completion-marker check accepts the older review with a head-mismatch warning; it does not impose a score or 12-hour expiry. That acceptance is not a completed fresh review of this head. The earlier substantive presence-revocation finding is repaired and covered by the production-boundary tests above.

Maintainer @galiniliev confirms validation in an existing deployment and explicitly requests landing. This is maintainer-reported deployment evidence, separate from the local and CI runs recorded above. This task did not independently rerun the complete authenticated Enterprise/Azure or published-driver fresh-install/upgrade/rollback matrix, and no exact external deployment revision/scenario inventory is claimed. No paid compute or live Gateway mutation was performed by this task.

Contributor

Original implementation and task direction: @galiniliev. Repair commits retain the verified human co-author credit.

Work sessions

Screenshots

Actual Chromium UI with synthetic data. Before: late repository discovery replaces the explicitly selected worker. After: the selected worker and draft are preserved.

Before: explicit destination overwritten

After: explicit destination preserved

Earlier source-bound UI evidence

The following captures document earlier repository-default, validation, ref-selection, and host-switch repairs. They are retained as historical evidence, not new execution of the current candidate.

Before: local workspace selected

After: configured repository selected

Before: premature enabled Start during remembered Git validation

After: Start stays disabled during remembered Git validation

Before: unrelated Gateway ref on the configured repository

After: configured repository ref selected

Before host change: selected repository and preserved draft

After host change: stale remote cleared and draft preserved

@clawsweeper

clawsweeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review blocked

Automated review did not run, so no review verdict was produced.

Reason: The input-safety check rejected material in this revision. No detected value, path, or scanner output is reproduced here.

Automatic review is on hold, including after source changes. Request a fresh re-review after resolving the failure; maintainers can also release the hold through an intentional scanner-policy update.

Next step: If this is a genuine credential, remove and rotate it. If it is an intentional test fixture, a maintainer must review and qualify it.

View the workflow run.

@galiniliev
galiniliev force-pushed the galiniliev/teamclaw-upstream-enterprise-worker branch from 79c1e7a to 27bfdfb Compare September 28, 2026 04:44
@galiniliev
galiniliev marked this pull request as ready for review September 28, 2026 04:46
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime docker Docker and sandbox tooling agents Agent runtime and tooling extensions: crabbox extensions: github GitHub plugin: link previews and reader size: XL labels Sep 28, 2026
@clawsweeper

clawsweeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed October 2, 2026, 11:22 AM ET / 15:22 UTC (Revision 31).

ClawSweeper review

What this changes

Adds GitHub Enterprise repository discovery, saved New Session repository defaults, and presence-driven cloud-worker preparation with host-aware credentials, publication, and recovery.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⛔ Blocked before merge - 9 items remain

Keep open: the prior Azure diagnostic finding is repaired, but a newly identified presence-revocation defect blocks merge. The Enterprise preparation capability remains distinct from current main and the related identity-delivery PR.

Priority: P2
Reviewed head: fefd70e9b6b5cef21ad1b85f17c6e5a3c4ebfbb0

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Substantial boundary evidence is preserved, but the newly identified revocation defect and independent compatibility gaps prevent merge readiness.
Proof confidence 🦐 gold shrimp (3/6) Needs stronger real behavior proof before merge: Authority-chain proof required: exercise revocation of the last session-creating browser while its socket remains registered and preparation is paused, then show rejection before reserve commit and provider allocation. Preserve the existing production-owner Git transfer, identity-revocation controls, and inspected UI screenshots; they do not cover this client-invalidation path. Separately, candidate-bound stored-state upgrade/rollback and authenticated Enterprise/Azure acceptance remain unrun. Redact private details in new receipts and update the body for re-review; a maintainer can use @clawsweeper re-review if needed. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Needs proof Needs stronger real behavior proof before merge: Authority-chain proof required: exercise revocation of the last session-creating browser while its socket remains registered and preparation is paused, then show rejection before reserve commit and provider allocation. Preserve the existing production-owner Git transfer, identity-revocation controls, and inspected UI screenshots; they do not cover this client-invalidation path. Separately, candidate-bound stored-state upgrade/rollback and authenticated Enterprise/Azure acceptance remain unrun. Redact private details in new receipts and update the body for re-review; a maintainer can use @clawsweeper re-review if needed. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 12 items Pinned introduction and parentage: Reviewed the introduced delta from ee578bc to the pinned head. Raw head records contain parents f31d761 and ee578bc; this is the original PR head, not a verified test merge.
Previous finding repaired: The recovery condition now matches the bare create-intent-loss diagnostic while retaining Azure, normal-exit, and code-4 guards. Both stop attempts retain the same explicit lease ID. GitHub's corrective commit patch also replaces the invented ID-prefixed fixture.
Verified dependency contract: Verified repository ownership through its GitHub metadata. The changed stop adapter executes Crabbox, whose Azure producer emits the bare diagnostic at line 228. ReclaimAndStop validates canonical IDs, resource labels, provider scope, and exact claims before release.
Findings 1 actionable finding [P2] [P2] Publish presence loss when browser authority is invalidated
Security Needs attention Revoked browser retains preparation demand: The new presence owner observes registry membership changes but does not consume immediate policy invalidation, leaving a window for new preparation under a revoked client's cached eligibility.

How this fits together

The Gateway combines repository settings, GitHub credentials, and authenticated Control UI presence to prepare cloud workers. Those workers receive repository content and later serve session execution, while the UI displays repository and pull-request information.

flowchart TD
  A[Repository settings] --> C[Gateway repository admission]
  B[Authenticated browser presence] --> D[Prepared worker pool]
  C --> D
  E[GitHub credentials] --> C
  D --> F[Cloud provider and Git transfer]
  F --> G[Session worker]
  C --> H[Repository picker and PR details]
Loading

Before merge

  • Add real behavior proof - Needs stronger real behavior proof before merge: Authority-chain proof required: exercise revocation of the last session-creating browser while its socket remains registered and preparation is paused, then show rejection before reserve commit and provider allocation. Preserve the existing production-owner Git transfer, identity-revocation controls, and inspected UI screenshots; they do not cover this client-invalidation path. Separately, candidate-bound stored-state upgrade/rollback and authenticated Enterprise/Azure acceptance remain unrun. Redact private details in new receipts and update the body for re-review; a maintainer can use @clawsweeper re-review if needed. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • [P2] Publish presence loss when browser authority is invalidated (P2) - The projection recomputes eligibility only when the registry adds or removes a client. disconnectClientsForUserProfile instead marks the client invalid through invalidateGatewayPolicyClient, and socket closure can be deferred while a policy response is held. If the last eligible browser loses its role while prepareIntent is awaiting work, humanPresent and its version remain unchanged, so resumed preparation can commit new reserves after revocation. Subscribe to the existing authority-invalidation owner and fence subsequent admission before effects. This code is unchanged from the previously reviewed head; this concern was missed earlier.
  • Resolve security concern: Revoked browser retains preparation demand - The new presence owner observes registry membership changes but does not consume immediate policy invalidation, leaving a window for new preparation under a revoked client's cached eligibility.
  • Resolve merge risk (P1) - Candidate-specific fresh-install and published-driver upgrade/rollback proof has not established preservation of demand records, personal repository preferences, and reserve retirement.
  • Resolve merge risk (P1) - Authenticated Enterprise transfer and Azure capture, recovery, and cleanup acceptance remain explicitly unrun.
  • Resolve merge risk (P1) - Final-effect proof does not cover revoking the last eligible browser while its socket remains registered and preparation is awaiting work.
  • Complete next step (P2) - Repair presence revocation, add final-effect rejection proof, complete the outstanding candidate-bound acceptance receipts, and resolve the verified current merge conflicts 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.

Findings

  • [P2] [P2] Publish presence loss when browser authority is invalidated — src/gateway/server/client-human-presence.ts:27-34
  • [medium] Revoked browser retains preparation demand — src/gateway/server/client-human-presence.ts:28
Agent review details

Security

Needs attention: Browser authority invalidation does not immediately revoke cached preparation demand.

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

Metric Value Why it matters
Configuration surface 6 new configuration leaves Host/API selection, repository defaults, native discovery, and service-host binding introduce operator-visible policy.
Production versus tests production net +2037; tests and test support net +3616 The growth supports the stated cross-owner Enterprise capability and its boundary coverage; tooling and docs are excluded.

Stored data model

Persistent data-model change detected: serialized state: scripts/docker/copy-bootstrap-scripts.mjs, unknown-data-model-change: src/config/schema.help.runtime.ts, unknown-truncated-pull-files. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Repair revocation and finish acceptance (recommended)
    Connect presence to the existing invalidation owner, prove rejection before reserve admission and allocation, and complete candidate-bound upgrade and Enterprise/Azure acceptance.
  2. Keep the proof-owner hold
    Keep this PR open without landing while the authority repair and outstanding compatibility and provider receipts are completed.

Technical review

Best possible solution:

Bind preparation demand to live session-creation authority through revocation and final effects, preserving idle-grace semantics and verifying existing-state upgrades.

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

Yes, source establishes a focused path: pause presence preparation, invalidate the last eligible browser before registry removal, then resume; the cached presence generation still permits reserve admission. This review did not execute that path.

Is this the best way to solve the issue?

Unclear until the revocation defect is repaired; extending the existing repository, credential, and pool owners is coherent, but registry membership alone cannot represent current browser authority.

Full review comments:

  • [P2] [P2] Publish presence loss when browser authority is invalidated — src/gateway/server/client-human-presence.ts:27-34
    The projection recomputes eligibility only when the registry adds or removes a client. disconnectClientsForUserProfile instead marks the client invalid through invalidateGatewayPolicyClient, and socket closure can be deferred while a policy response is held. If the last eligible browser loses its role while prepareIntent is awaiting work, humanPresent and its version remain unchanged, so resumed preparation can commit new reserves after revocation. Subscribe to the existing authority-invalidation owner and fence subsequent admission before effects. This code is unchanged from the previously reviewed head; this concern was missed earlier.
    Confidence: 0.91
    Late finding: first raised on code an earlier review cycle already covered.

Overall correctness: patch is incorrect
Overall confidence: 0.87

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a bounded Enterprise/cloud-worker improvement with a concrete preparation-revocation defect.
  • merge-risk: 🚨 compatibility: New durable demand and personal preference fields lack candidate-specific installed-driver upgrade and rollback acceptance.
  • merge-risk: 🚨 availability: Azure capture and recovery change cloud-resource lifecycle behavior without authenticated candidate acceptance.
  • merge-risk: 🚨 security-boundary: Cached browser presence can continue authorizing new preparation after the contributing client is invalidated.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🦐 gold shrimp.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs stronger real behavior proof before merge: Authority-chain proof required: exercise revocation of the last session-creating browser while its socket remains registered and preparation is paused, then show rejection before reserve commit and provider allocation. Preserve the existing production-owner Git transfer, identity-revocation controls, and inspected UI screenshots; they do not cover this client-invalidation path. Separately, candidate-bound stored-state upgrade/rollback and authenticated Enterprise/Azure acceptance remain unrun. Redact private details in new receipts and update the body for re-review; a maintainer can use @clawsweeper re-review if needed. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

Security concerns:

  • [medium] Revoked browser retains preparation demand — src/gateway/server/client-human-presence.ts:28
    The new presence owner observes registry membership changes but does not consume immediate policy invalidation, leaving a window for new preparation under a revoked client's cached eligibility.
    Confidence: 0.91

What I checked:

  • Pinned introduction and parentage: Reviewed the introduced delta from ee578bc to the pinned head. Raw head records contain parents f31d761 and ee578bc; this is the original PR head, not a verified test merge. (fefd70e9b6b5)
  • Previous finding repaired: The recovery condition now matches the bare create-intent-loss diagnostic while retaining Azure, normal-exit, and code-4 guards. Both stop attempts retain the same explicit lease ID. GitHub's corrective commit patch also replaces the invented ID-prefixed fixture. (extensions/crabbox/src/crabbox-worker-command.ts:204, f31d761dbdfb)
  • Verified dependency contract: Verified repository ownership through its GitHub metadata. The changed stop adapter executes Crabbox, whose Azure producer emits the bare diagnostic at line 228. ReclaimAndStop validates canonical IDs, resource labels, provider scope, and exact claims before release. (internal/providers/azure/fixed.go:228, f614b4c2e016)
  • Introduced stale presence projection: The new projection caches eligible browser presence and recomputes it only through registry subscriptions. Registry notifications occur on add, delete, and clear; authority invalidation does not publish one. Pool admission subsequently checks the cached humanPresent flag and version. (src/gateway/server/client-human-presence.ts:28, fefd70e9b6b5)
  • Reachable revocation interval: Role changes call disconnectClientsForUserProfile, which marks matching clients invalid through the policy owner. That owner publishes invalidation immediately but can defer socket closure while a policy response is held. The client remains registered, allowing paused presence preparation to resume without changing its cached presence generation. (src/gateway/server/ws-policy-close.ts:120, fefd70e9b6b5)
  • Late-finding continuity: The presence projection and registry are byte-identical to the previous completed review's head. The targeted comparison returns no diff, so the new finding concerns previously visible code. (src/gateway/server/client-human-presence.ts:28, fefd70e9b6b5)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • shakkernerd: 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.

  • Repair presence invalidation and prove the revoked last browser cannot cause reserve commits or provider allocation before its socket is removed.
  • Record candidate-specific fresh-install and published-driver upgrade/rollback preservation of demand, preferences, and reserve retirement.
  • Complete authenticated Enterprise/Azure transfer, capture, recovery, and cleanup acceptance.

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 (30 earlier review cycles; latest 8 shown)
  • reviewed 2026-10-01T22:58:45.719Z sha 407a1f5 :: blocked before merge. :: none
  • reviewed 2026-10-02T00:03:22.473Z sha 24f4851 :: blocked before merge. :: none
  • reviewed 2026-10-02T00:12:23.092Z sha 24f4851 :: needs real behavior proof before merge. :: [P1] Keep public OAuth verification bound to its issuer
  • reviewed 2026-10-02T00:29:01.883Z sha 03e219e :: needs real behavior proof before merge. :: [P1] [P1] Keep public OAuth verification bound to its issuer
  • reviewed 2026-10-02T01:34:26.559Z sha 3fc43ee :: blocked before merge. :: none
  • reviewed 2026-10-02T02:04:45.872Z sha 8159bd8 :: blocked before merge. :: none
  • reviewed 2026-10-02T02:38:13.582Z sha 7263358 :: blocked before merge. :: none
  • reviewed 2026-10-02T02:56:29.162Z sha 7263358 :: blocked before merge. :: [P2] [P2] Match the actual Azure create-intent-loss diagnostic

@github-actions

github-actions Bot commented Sep 28, 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: 99502c3ca1c0bbb165719de3bf5331ec74c0d87b
  • Maintainer: @galiniliev
  • Repository role: maintain

These security sensitive changes were made:

  • src/agents/github-oauth-client.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.

Carefully review these changes before merging.

@galiniliev
galiniliev force-pushed the galiniliev/teamclaw-upstream-enterprise-worker branch from c83b792 to bd7ac6a Compare September 28, 2026 05:08
@openclaw-barnacle openclaw-barnacle Bot added app: android App: android scripts Repository scripts labels Sep 28, 2026
@galiniliev
galiniliev force-pushed the galiniliev/teamclaw-upstream-enterprise-worker branch 2 times, most recently from fd0e48a to be8058f Compare September 29, 2026 06:58
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. 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 29, 2026
@galiniliev
galiniliev force-pushed the galiniliev/teamclaw-upstream-enterprise-worker branch from 0cd7374 to 7f3ec73 Compare September 30, 2026 18:25
@galiniliev

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Current head: 7f3ec7359c4e8b6960de381a1cb476111a752739. The host/token-cache, checked default snapshot, and stale-demand findings are repaired, with registered final-fetch negative controls and actual read-only-worker persistence/retirement proof. The updated body includes current synthetic UI captures and explicit local build/lint, external Enterprise, and published-driver proof limits. Please assess the current coherent repair; no autofix or automerge is requested.

@clawsweeper clawsweeper Bot added the rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. label Oct 2, 2026
Galin Iliev and others added 3 commits October 3, 2026 13:52
Fence presence on policy invalidation and keep pool cleanup and activation-backed refill independent of repository admission. Preserve explicit destinations and supported Git URLs, bind Actions reads to their public issuer, and retain search quota cooldowns.

Co-authored-by: galiniliev <[email protected]>
Share the provider cleanup allowance across normal stop and fixed-lease recovery, retaining the original failure when no time remains. Cover elapsed and exhausted budgets with mocked-clock regressions.

Co-authored-by: galiniliev <[email protected]>
@roboclaw-bot

Copy link
Copy Markdown
Collaborator

Merged via squash.

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 docker Docker and sandbox tooling docs Improvements or additions to documentation extensions: crabbox extensions: github GitHub plugin: link previews and reader gateway Gateway runtime merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts security-sensitive-changed size: XL status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants