Skip to content

fix(auth): reset only the profile replaced by a successful login - #124014

Merged
clawsweeper[bot] merged 2 commits into
mainfrom
codex/auth-reauth-state-reset
Aug 27, 2026
Merged

clawsweeper[bot] merged 2 commits into
mainfrom
codex/auth-reauth-state-reset

Conversation

@jesse-merhi

@jesse-merhi jesse-merhi commented Aug 15, 2026 •

Copy link
Copy Markdown
Member

Related: #70903

What Problem This Solves

Fixes an issue where users attempting provider login could have every disabled or cooling-down profile for that provider cleared before the provider returned a successful result. A failed or cancelled login therefore changed durable routing state even though no credential was replaced.

Why This Change Was Made

Provider login now leaves auth state untouched until the provider succeeds. The successful persistence boundary replaces the exact returned profile and clears only that profile's existing failure windows in the same locked SQLite transaction. Explicit --force provider removal is unchanged.

This PR intentionally does not add request-generation fencing, multi-agent owner redirection, new Plugin SDK surface, or bundled-provider writer migrations. Those are separate invariants and need separate review.

User Impact

Failed or cancelled login attempts no longer silently re-enable unrelated profiles. A successful login immediately makes only the replaced profile usable while preserving sibling credentials, order, last-good selection, and unrelated usage history.

Evidence

Pre-fix focused command coverage failed because login loaded and cleared provider-wide state before calling the provider and persisted success through the generic writer.

Exact replacement proof:

node scripts/run-vitest.mjs src/commands/models/auth.test.ts
node scripts/run-vitest.mjs src/agents/auth-profiles/upsert-with-lock.sqlite.test.ts src/agents/auth-profiles/profiles.test.ts src/agents/auth-profiles/usage.test.ts

4 files, 187 tests passed

The SQLite regression proves credential replacement and exact-profile failure reset commit together, sibling profile/state/order remain unchanged, and an injected state-write failure rolls the credential and state back together.

Additional checks:

oxfmt --check: passed
oxlint --type-aware --deny-warnings: passed
git diff --check: passed
autoreview --mode commit: clean, patch correct (0.98)

Production delta: net 0 lines. Test delta: net -1 line.

@clawsweeper

clawsweeper Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@openclaw-barnacle openclaw-barnacle Bot added commands Command implementations agents Agent runtime and tooling size: M maintainer Maintainer-authored PR labels Aug 15, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 15, 2026
@clawsweeper

clawsweeper Bot commented Aug 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: passed. Reviewed August 27, 2026, 12:34 AM ET / 04:34 UTC.

ClawSweeper review

What this changes

The PR postpones auth-profile mutation until login succeeds, then replaces each returned profile and clears failure state only for that profile.

Regression provenance

Possible regression — probable (reviewed change; failure trace). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open for listed auth-owner review: this member-authored, maintainer-labeled PR changes durable profile recovery semantics and remains a viable focused fix; no blocking source-level defect was found at the PR head.

Priority: P1
Reviewed head: 4b604a6150e3513ad37a2e234f7dc5fdd473933b
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch is focused and has strong owner-boundary regression coverage, with the remaining blocker being an intentional compatibility decision.
Proof confidence 🌊 off-meta tidepool Not applicable: The contributor is a repository member, so the external-contributor real-behavior-proof gate does not apply; focused command and SQLite owner-boundary evidence is present.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The contributor is a repository member, so the external-contributor real-behavior-proof gate does not apply; focused command and SQLite owner-boundary evidence is present.
Evidence reviewed 7 items Successful-login boundary: The command calls the provider login method before resolving returned profiles and persisting them; an unsuccessful or cancelled run cannot reach the profile write.
Atomic scoped persistence: The dedicated post-login writer replaces the credential and resets only matching existing usage state through the shared locked store updater.
SQLite owner transaction: The shared updater loads, applies the mutation, saves in the SQLite transaction, and publishes runtime snapshots only after commit.
Findings None None.
Security None None.

Live Verification

Command: pnpm openclaw models auth login --help

Result: PASS (completed)

$ node scripts/run-node.mjs models auth login --help
[openclaw] Building TypeScript (dist is stale: missing_build_stamp - build stamp missing).
[openclaw] Building bundled plugin assets.
[canvas] build: node scripts/bundle-a2ui.mjs
[log] ‹DIR›/a2ui.bundle.js  chunk │ size: 399.96 kB
[log] ‹DIR›/a2ui-v0.9.bundle.js  chunk │ size: 615.66 kB
[log]
[success] rolldown v1.2.0 Finished in 109.07 ms
[diffs] build: node --import tsx ../../scripts/build-diffs-viewer-runtime.mts curated
[diffs-language-pack] build: node --import tsx ../../scripts/build-diffs-viewer-runtime.mts full
[discord] build: node --import tsx ../../scripts/build-discord-activity-sdk.mts
[tsdown-build] invocation 1/2 finished in 0.7s
node_modules/playwright-core/lib/coreBundle.js (65821:28) [EVAL] Use of direct ˋevalˋ function is strongly discouraged as it poses security risks and may cause
issues with minification.
       ╭─[ node_modules/playwright-core/lib/coreBundle.js:65821:29 ]
       │
 65821 │               const value = eval(ˋ(${expr})ˋ);
       │                             ──┬─
       │                               ╰─── Use of direct ˋevalˋ here.
       │
       │ Help: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval
───────╯

node_modules/playwright-core/lib/coreBundle.js (65828:28) [EVAL] Use of direct ˋevalˋ function is strongly discouraged as it poses security risks and may cause
issues with minification.
       ╭─[ node_modules/playwright-core/lib/coreBundle.js:65828:29 ]
       │
 65828 │               const value = eval(ˋ(${expr})ˋ);
       │                             ──┬─
       │                               ╰─── Use of direct ˋevalˋ here.
       │
       │ Help: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval
───────╯

node_modules/web-tree-sitter/web-tree-sitter.js (2343:30) [EVAL] Use o
… output truncated …
oubleshooting#avoiding-direct-eval
──────╯

[tsdown-build] invocation 2/2 finished in 14.7s
[plugin-control-plane-loads] verified 35 built modules with native require and checked doctor closures
runtime-postbuild: 11 phases completed in 4455ms (slowest: built plugin control-plane loads 3664ms)
│
◇

OpenClaw 2026.8.1 (4b604a6) — All your chats, one OpenClaw.

Usage: openclaw models auth login [options]

Run a provider plugin auth flow (OAuth/API key)

Options:
  --agent ‹id›       Agent id (default: configured default agent)
  --device-code      Use the provider device-code auth method (default: false)
  --force            Remove existing profiles for the provider before logging in (use when a cached OAuth profile is stuck or you want to switch accounts)
                     (default: false)
  -h, --help         Display help for command
  --method ‹id›      Provider auth method id
  --profile-id ‹id›  Auth profile id override for single-profile login methods
  --provider ‹id›    Provider id registered by a plugin
  --set-default      Apply the provider's default model recommendation (default: false)
$ node scripts/run-node.mjs models auth login --help
│
◇

OpenClaw 2026.8.1 (4b604a6) — All your chats, one OpenClaw.

Usage: openclaw models auth login [options]

Run a provider plugin auth flow (OAuth/API key)

Options:
  --agent ‹id›       Agent id (default: configured default agent)
  --device-code      Use the provider device-code auth method (default: false)
  --force            Remove existing profiles for the provider before logging in (use when a cached OAuth profile is stuck or you want to switch accounts)
                     (default: false)
  -h, --help         Display help for command
  --method ‹id›      Provider auth method id
  --profile-id ‹id›  Auth profile id override for single-profile login methods
  --provider ‹id›    Provider id registered by a plugin
  --set-default      Apply the provider's default model recommendation (default: false)

Assertions:

  • PASS expect_output: --force

How this fits together

The models-auth command invokes a provider-owned login flow, writes returned credentials and profile usage state into the agent SQLite store, then refreshes gateway auth selection. This change narrows successful-login recovery so unrelated provider profiles retain their cooldown and disabled state.

flowchart LR
  A[Operator starts provider login] --> B[Models auth command]
  B --> C[Provider login flow]
  C --> D{Login succeeds?}
  D -- No --> E[Leave stored profiles unchanged]
  D -- Yes --> F[Locked SQLite profile update]
  F --> G[Preserve sibling state and order]
  G --> H[Refresh gateway auth state]
Loading

Decision needed

Question Recommendation
Should successful provider login retain unrelated profiles’ cooldown and disabled state, leaving provider-wide recovery solely to explicit --force? Adopt scoped recovery: Merge the PR’s behavior so a successful login clears only the profile whose credential was replaced, while --force remains the explicit broad recovery action.

Why: This is an intentional compatibility choice for persisted auth routing state, not a mechanical correctness question.

Before merge

  • Resolve merge risk (P1) - Successful re-login will no longer act as an implicit provider-wide cooldown reset; existing operators needing that recovery path must intentionally use --force, so the auth owner should confirm that compatibility tradeoff before merge.
  • Complete next step (P2) - The remaining action is explicit listed-owner confirmation of intentional persisted-auth recovery behavior; no repair lane is needed.
Agent review details

Security

None.

PR surface

Source 0, Tests -1. Total -1 across 6 files.

View PR surface stats
Area Files Added Removed Net
Source 4 73 73 0
Tests 2 157 158 -1
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 6 230 231 -1

Review metrics

Metric Value Why it matters
Production versus test delta production +73/-73 (net 0); tests +157/-158 (net -1) The scoped persistence behavior is absorbed without production growth, while regression coverage shifts to the SQLite owner boundary and command flow.

Merge-risk options

Maintainer options:

  1. Confirm scoped login recovery (recommended)
    Have the listed auth owner confirm that preserving sibling cooldowns is the intended upgrade behavior before merge.
  2. Restore broad recovery semantics
    If successful login must remain a provider-wide recovery action, revise the writer and tests to preserve that documented behavior.

Technical review

Best possible solution:

Keep failed and ordinary successful logins scoped to returned profiles, with explicit provider-wide removal remaining the opt-in recovery path once the listed auth owner confirms it.

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

Yes, source and focused regression coverage provide a high-confidence path: make provider login fail or cancel and verify no profile write occurs, then successfully replace one blocked profile and verify sibling state remains intact.

Is this the best way to solve the issue?

Yes, subject to the explicit recovery-semantics decision: moving the reset into the locked successful credential-replacement boundary is narrower and safer than clearing provider-wide state before provider login.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 71d4a8c3e305.

Labels

Label changes:

  • remove status: 🚀 automerge armed: Current PR status no longer selects a status label.

Label justifications:

  • P1: The fix addresses a real provider-login path that can silently alter other usable profiles’ durable routing state.
  • merge-risk: 🚨 compatibility: Existing operators may have relied on an ordinary successful login to clear provider-wide failure windows.
  • merge-risk: 🚨 auth-provider: The changed state determines which provider credentials are eligible for routing after login.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.

Evidence

What I checked:

  • Successful-login boundary: The command calls the provider login method before resolving returned profiles and persisting them; an unsuccessful or cancelled run cannot reach the profile write. (src/commands/models/auth.ts:537, 4b604a6150e3)
  • Atomic scoped persistence: The dedicated post-login writer replaces the credential and resets only matching existing usage state through the shared locked store updater. (src/agents/auth-profiles/upsert-with-lock.ts:174, 4b604a6150e3)
  • SQLite owner transaction: The shared updater loads, applies the mutation, saves in the SQLite transaction, and publishes runtime snapshots only after commit. (src/agents/auth-profiles/store.ts:866, 4b604a6150e3)
  • Regression coverage: The persistence test preserves the sibling credential, order, last-good selection, and sibling block while resetting the replaced profile, and separately proves rollback on an injected state-write failure. (src/agents/auth-profiles/upsert-with-lock.sqlite.test.ts:177, 4b604a6150e3)
  • Failure and force paths: Command tests assert that a failed login performs no post-login upsert, while explicit --force continues to purge provider profiles before a valid login flow. (src/commands/models/auth.test.ts:1134, 4b604a6150e3)
  • Current-main comparison unavailable locally: This checkout is a grafted PR-head snapshot with no parent; reading the supplied main object triggered an unavailable promisor fetch because GitHub DNS could not resolve, so no current-main or release equivalence is claimed.

Likely related people:

  • openclaw/openclaw-secops: CODEOWNERS assigns both agent auth-profile files and agent auth command paths to this team. (role: listed restricted auth-surface owner; confidence: high; files: src/agents/auth-profiles/upsert-with-lock.ts, src/agents/auth-profiles/store.ts, src/commands/models/auth.ts)

Rank-up moves

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

  • Obtain listed auth-owner confirmation that scoped successful-login recovery is the desired upgrade behavior.

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 (37 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-23T13:06:46.326Z sha d13ec46 :: needs changes before merge. :: [P1] Resolve explicit-root profiles through the shared owner
  • reviewed 2026-08-23T13:28:23.763Z sha 7d8f1dc :: needs maintainer review before merge. :: none
  • reviewed 2026-08-23T13:42:38.367Z sha 7d8f1dc :: needs changes before merge. :: [P1] Preserve the requesting agent’s inherited profile order
  • reviewed 2026-08-23T13:54:18.113Z sha a88a739 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-23T14:37:23.684Z sha a88a739 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-23T14:58:14.869Z sha a88a739 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-24T12:16:01.621Z sha 28374c3 :: passed. :: none
  • reviewed 2026-08-24T13:04:58.580Z sha 28374c3 :: passed. :: none

@clawsweeper clawsweeper Bot added merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Aug 16, 2026
@jesse-merhi
jesse-merhi force-pushed the codex/auth-reauth-state-reset branch from 5aa560c to 691ecf2 Compare August 17, 2026 06:12
@jesse-merhi jesse-merhi changed the title codex/auth reauth state reset fix(auth): reset only the profile replaced by a successful login Aug 17, 2026
@jesse-merhi

Copy link
Copy Markdown
Member Author

/clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 17, 2026
@jesse-merhi
jesse-merhi force-pushed the codex/auth-reauth-state-reset branch from 691ecf2 to 9420fea Compare August 17, 2026 06:36
@jesse-merhi

Copy link
Copy Markdown
Member Author

/clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@jesse-merhi

Copy link
Copy Markdown
Member Author

/clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. and removed 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. labels Aug 17, 2026
@clawsweeper

Copy link
Copy Markdown
Contributor

/clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper

Copy link
Copy Markdown
Contributor

/clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper

Copy link
Copy Markdown
Contributor

/clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper

clawsweeper Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

🦞✅
ClawSweeper is pausing this repair loop for human review.

Source: clawsweeper[bot]
Reason: - [ ] Resolve merge risk (P1) - Exact-head required checks currently report failures, so the armed automerge gate is not satisfied. (sha=a89cef51d317d721e682c6fd6ad78bec30f32468)

Why human review is needed:
ClawSweeper found a blocker that should be resolved or accepted by a maintainer before the repair or automerge loop continues.

What the maintainer can do as a next step:
If the maintainer accepts the current risk and wants ClawSweeper to continue merge gates, comment @clawsweeper approve. If more work is needed, resolve the blocker first, then comment @clawsweeper automerge to re-review and continue. If automation should stay paused, leave clawsweeper:human-review in place or comment @clawsweeper stop.

I added clawsweeper:human-review and left the final call with a maintainer.

@clawsweeper

Copy link
Copy Markdown
Contributor

/clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper

Copy link
Copy Markdown
Contributor

/clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper

Copy link
Copy Markdown
Contributor

/clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

@clawsweeper

Copy link
Copy Markdown
Contributor

/clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper

Copy link
Copy Markdown
Contributor

/clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper

Copy link
Copy Markdown
Contributor

/clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper

clawsweeper Bot commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞✅
ClawSweeper is pausing this repair loop for human review.

Source: clawsweeper[bot]
Reason: - [ ] Resolve merge risk (P1) - The PR adds persisted credential-generation state and is behind current main, so inherited-owner and old-reader behavior must be rerun on the exact merge head. (sha=a88a739e217ab2f16a9ff84315473190fa4c15cf)

Why human review is needed:
This item has security-sensitive risk. ClawSweeper is pausing instead of making an autonomous change that could affect trust, credentials, permissions, or exposure.

What the maintainer can do as a next step:
If the maintainer accepts the current risk and wants ClawSweeper to continue merge gates, comment @clawsweeper approve. If the security-sensitive detail still needs changes, describe the safe path or push the fix, then comment @clawsweeper automerge. If the risk should not be automated, keep the PR paused for manual review or comment @clawsweeper stop.

I added clawsweeper:human-review and left the final call with a maintainer.

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper

clawsweeper Bot commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞✅
ClawSweeper is pausing this repair loop for human review.

Source: clawsweeper[bot]
Reason: - [ ] Resolve merge risk (P1) - Successful re-login will no longer clear sibling profiles’ cooldowns or disables; operators who require provider-wide recovery must use the documented --force path, so listed auth-own... (sha=28374c3df277809dba5278f96722303b3b95e562)

Why human review is needed:
ClawSweeper found a blocker that should be resolved or accepted by a maintainer before the repair or automerge loop continues.

What the maintainer can do as a next step:
If the maintainer accepts the current risk and wants ClawSweeper to continue merge gates, comment @clawsweeper approve. If more work is needed, resolve the blocker first, then comment @clawsweeper automerge to re-review and continue. If automation should stay paused, leave clawsweeper:human-review in place or comment @clawsweeper stop.

I added clawsweeper:human-review and left the final call with a maintainer.

@clawsweeper

clawsweeper Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

🦞✅
ClawSweeper is pausing this repair loop for human review.

Source: clawsweeper[bot]
Reason: - [ ] Resolve merge risk (P1) - Successful re-login will no longer act as an implicit provider-wide cooldown reset; existing operators needing that recovery path must intentionally use --force, so the auth owner sho... (sha=4b604a6150e3513ad37a2e234f7dc5fdd473933b)

Why human review is needed:
ClawSweeper found a blocker that should be resolved or accepted by a maintainer before the repair or automerge loop continues.

What the maintainer can do as a next step:
If the maintainer accepts the current risk and wants ClawSweeper to continue merge gates, comment @clawsweeper approve. If more work is needed, resolve the blocker first, then comment @clawsweeper automerge to re-review and continue. If automation should stay paused, leave clawsweeper:human-review in place or comment @clawsweeper stop.

I added clawsweeper:human-review and left the final call with a maintainer.

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

Labels

agents Agent runtime and tooling clawsweeper:automerge Maintainer opted this PR into bounded ClawSweeper-reviewed automerge commands Command implementations maintainer Maintainer-authored PR merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants