Skip to content

fix(secrets): surface degradation in logs and doctor - #109792

Merged
steipete merged 15 commits into
mainfrom
fix/secrets-degraded-operator-view
Jul 18, 2026
Merged

steipete merged 15 commits into
mainfrom
fix/secrets-degraded-operator-view

Conversation

@steipete

@steipete steipete commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

Related: #101265

What Problem This Solves

SecretRef degradation can leave one owner cold at startup or keep a stale last-known-good value after reload, but the primary operator signal was easy to miss and could expose low-level resolution text.

Why This Change Was Made

  • Emits a warning-level structured secrets.degraded log at startup and reload with redacted owner kind, owner id, reason, cold/stale state, and the openclaw secrets reload retry hint.
  • Keeps exact owner isolation: a failed webhook route stays cold while unrelated routes remain available.
  • Makes doctor list degraded owners with the same redacted reason and retry guidance.
  • Attributes typed reload failures to the actual failed owner; an unmapped typed failure reports conservative unknown:unmapped / cold metadata without leaking the SecretRef id.

Per maintainer decision, this PR adds no secrets.degraded[] gateway protocol/status field, schema, generated Swift model, protocol version bump, config option, parameter, environment variable, UI, or new capability.

User Impact

Operators get a loud signal in the existing web UI log view and a human-readable doctor section. Public webhook requests remain generic 401 unauthorized; secret values and SecretRef ids are not logged.

Evidence

@steipete
steipete requested a review from a team as a code owner July 17, 2026 08:03
@steipete steipete self-assigned this Jul 17, 2026
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime commands Command implementations size: L maintainer Maintainer-authored PR labels Jul 17, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7db90ea8d0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +38 to +39
const hasActiveValue = owner.paths.some(
(path) => active && getPath(active.config, pathSegments(path)) !== undefined,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve stale state for active auth-profile secrets

When an account/auth-profile SecretRef reload fails, the recorded owner path comes from collectAuthStoreAssignments as ${agentDir}.auth-profiles.<profile>.<field>, but this check only looks in active.config. Active auth-profile credentials live under active.authStores, so a failed openclaw secrets reload for an already-active profile is reported as cold even though the gateway is still using the last-known-good credential; that misleads status/doctor about whether the owner is unavailable or stale.

Useful? React with 👍 / 👎.

@steipete
steipete force-pushed the fix/secrets-degraded-operator-view branch from 7db90ea to bc4f67f Compare July 17, 2026 08:10

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bc4f67f501

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/secrets/runtime-degraded-state.ts Outdated
activeDegradedOwners = owners.map(cloneOwner);
// Any successful activation replaces the last-known-good outage with the
// new snapshot, while its own unresolved owners remain cold below.
activeReloadDegradations = [];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve reload degradation across rollback activations

When a prior SecretRef reload failure is active, a later secrets.reload can resolve secrets and activate the prepared snapshot, then fail during the channel restart/finalize section in src/gateway/server-aux-handlers.ts; that catch restores the previous snapshot through the normal activation path. Because every activation now clears activeReloadDegradations, the rollback erases the stale-owner inventory and may leave status/doctor reporting no degraded secrets even though the runtime is back on the last-known-good snapshot after the reload failed. The clear needs to happen only after the overall reload/restart transaction commits, or the rollback path needs to restore the previous degradation state.

Useful? React with 👍 / 👎.

@steipete
steipete force-pushed the fix/secrets-degraded-operator-view branch from bc4f67f to 6006be0 Compare July 17, 2026 08:36

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6006be055f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

);
registerResolvedValuesForRedaction(resolved);
applyResolvedAssignments({ assignments: params.assignments, resolved });
} catch (error) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Record owners for post-resolution reload failures

If every SecretRef resolves and then the atomic reload later fails during channel restart/finalize, execution never enters this catch, so no owner metadata is associated with the attempted refresh. The aux/reload handlers roll back those already-prepared snapshots without another resolution error, leaving status/doctor with no affected owner paths even though the runtime is back on last-known-good values after a failed reload.

Useful? React with 👍 / 👎.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P2 Normal backlog priority with limited blast radius. 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. labels Jul 17, 2026
@clawsweeper

clawsweeper Bot commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 18, 2026, 6:30 AM ET / 10:30 UTC.

Summary
The branch adds redacted SecretRef degradation warnings to gateway logs and doctor output, while carrying cold-versus-stale owner attribution through secret reload and recovery paths.

PR surface: Source +974, Tests +1990, Docs +2. Total +2966 across 34 files.

Reproducibility: yes. from source and the supplied focused tests: a failed SecretRef during cold startup or reload reaches the active degraded-owner inventory and then status/doctor. A final-head live reproduction transcript has not been supplied for the complete cold, stale, recovery, and redaction sequence.

Review metrics: none identified.

Stored data model
Persistent data-model change detected: migration/backfill/repair: docs/cli/doctor.md, migration/backfill/repair: src/commands/doctor-gateway-health.test.ts, migration/backfill/repair: src/commands/doctor-gateway-health.ts, serialized state: src/secrets/runtime-auth-refresh-failure.test.ts, serialized state: src/secrets/runtime.test.ts, vector/embedding metadata: src/secrets/runtime-degraded-state.test.ts, and 2 more. Confirm migration or upgrade compatibility proof before merge.

Merge readiness
Overall: 🦪 silver shellfish
Proof: 🦪 silver shellfish
Patch quality: 🐚 platinum hermit
Result: blocked until stronger real behavior proof is added.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • [P1] Add one redacted final-head built-Gateway transcript covering startup, failed reload, recovery, doctor, and identifier/value absence.
  • Have the protected secret-boundary behavior accepted by a maintainer after the updated proof is visible.

Proof guidance:

  • [P1] Needs stronger real behavior proof before merge: The PR links a meaningful built-Gateway artifact, but it is explicitly tied to an earlier head rather than the current 49d0bc9 head; add redacted final-head output showing cold startup, failed reload/stale retention, recovery, doctor, and absence of SecretRef ids and values before merge. 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.

Risk before merge

  • [P1] Merging without exact-head runtime proof could leave operator-visible degradation output incorrectly exposing a SecretRef identifier or misreporting a cold owner as stale (or vice versa).
  • [P1] The branch changes reload/source-publication behavior around an existing last-known-good secret snapshot, so upgrade and recovery behavior needs maintainer acceptance after final-head proof.

Maintainer options:

  1. Capture exact-head Gateway proof (recommended)
    Before merge, run the current head through cold startup, failed reload/stale retention, recovery, and doctor output, with redacted output proving no SecretRef id or resolved value is displayed.
  2. Accept evidence drift deliberately
    A maintainer may accept the earlier runtime artifact as representative, while explicitly owning the lack of final-head security-boundary proof.
  3. Pause the diagnostic expansion
    Pause or close the branch if final-head proof cannot be produced without further secret-runtime churn.

Next step before merge

  • [P1] The protected secret-boundary change needs final-head real behavior proof and maintainer acceptance; there is no narrow automated repair to perform.

Maintainer decision needed

  • Question: Should maintainers accept the final owner-isolation and redacted diagnostic behavior for secret reloads after reviewing exact-head runtime evidence?
  • Rationale: This changes security-sensitive operational diagnostics and last-known-good reload reporting; final acceptance is a protected maintainer decision, not an automated proof substitution.
  • Likely owner: snowzlmbot — They introduced the merged SecretRef owner-isolation foundation that this PR extends, making them the strongest history-backed routing candidate.
  • Options:
    • Require final-head proof before acceptance (recommended): Request one redacted built-Gateway run from the current head that demonstrates cold, stale, recovery, doctor, and identifier/value-redaction behavior.
    • Accept the existing earlier proof: Treat the earlier built-Gateway artifact as sufficient despite later branch changes, accepting residual uncertainty about final-head behavior.

Security
Cleared: The diff adds redaction and does not introduce a dependency, permission, secret source, or execution-path expansion; the remaining concern is final-head proof of the sensitive diagnostic behavior.

Review details

Best possible solution:

Keep the existing fail-closed secret and generic webhook behavior, then provide a redacted final-head built-Gateway transcript covering cold startup, failed reload with stale retention, recovery, doctor output, and absence of both SecretRef identifiers and resolved values.

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

Yes from source and the supplied focused tests: a failed SecretRef during cold startup or reload reaches the active degraded-owner inventory and then status/doctor. A final-head live reproduction transcript has not been supplied for the complete cold, stale, recovery, and redaction sequence.

Is this the best way to solve the issue?

Unclear. Redacted structured logging plus doctor output is a focused operator-facing solution, but it is not ready to call the best fix until the current head proves that the changed reload attribution and redaction paths behave together safely.

AGENTS.md: found and applied where relevant.

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

Label changes

Label justifications:

  • P2: This is a bounded operator-diagnostic and reload-state change with meaningful but non-emergency blast radius.
  • merge-risk: 🚨 compatibility: The reload path changes how an existing active secret snapshot and its source publication are retained or committed after a no-effective-config-change reload.
  • merge-risk: 🚨 security-boundary: The patch carries secret-resolution failures into logs, status, and doctor, where redaction must remain correct on every final-head runtime path.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs stronger real behavior proof before merge: The PR links a meaningful built-Gateway artifact, but it is explicitly tied to an earlier head rather than the current 49d0bc9 head; add redacted final-head output showing cold startup, failed reload/stale retention, recovery, doctor, and absence of SecretRef ids and values before merge. 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

PR surface:

Source +974, Tests +1990, Docs +2. Total +2966 across 34 files.

View PR surface stats
Area Files Added Removed Net
Source 18 1219 245 +974
Tests 14 2171 181 +1990
Docs 2 5 3 +2
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 34 3395 429 +2966

What I checked:

  • Current proof does not identify the final head: The PR body identifies its real built-Gateway proof as head 7296c6bf718d92ecd069c5f21c965d7489ca6589, while the current PR head is 49d0bc99355d163c8d2c677cd65c44ddac4e9af1; the prior completed review also requested final-head behavior evidence. (49d0bc99355d)
  • Sensitive operator surfaces changed: The proposed status and doctor paths redact degradation reasons before displaying owner state, while the startup configuration path emits structured degradation warnings; this makes correctness depend on runtime absence of SecretRef identifiers and secret values. (src/commands/status.summary.ts:573, 49d0bc99355d)
  • Merged foundation is relevant but does not supersede this PR: Merged PR fix(secrets): keep startup alive when TTS SecretRefs are missing #101265 established cold-start SecretRef owner isolation and status/doctor inventory. This branch is a follow-up for degradation diagnostics and reload attribution rather than a duplicate. (src/secrets/runtime-degraded-state.ts:1, 17c2ce05d80a)
  • Protected maintainer handling remains active: The supplied live PR state includes the maintainer label, which requires explicit maintainer handling rather than automated close or repair routing. (49d0bc99355d)

Likely related people:

  • snowzlmbot: Authored the merged SecretRef owner-isolation foundation in PR 101265, whose runtime degraded-owner state and operator reporting this PR extends. (role: introduced merged foundation; confidence: high; commits: 17c2ce05d80a; files: src/secrets/runtime-degraded-state.ts, src/commands/status.summary.ts, src/commands/doctor-gateway-health.ts)
  • steipete: Authored the current branch and its secret-runtime, gateway reload, doctor, and documentation changes; no separate current-main history attribution was available in the supplied review context. (role: current change author; confidence: low; commits: 49d0bc99355d, 80f788a9cb4d; files: src/gateway/server-startup-config.ts, src/gateway/server-reload-handlers.ts, src/secrets/runtime-state.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

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.

How this review workflow works
  • 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.
Review history (21 earlier review cycles; latest 8 shown)
  • reviewed 2026-07-18T06:55:49.226Z sha d25ac751239b37c575080ff74b2c32c0658eef34 :: needs real behavior proof before merge. :: [P2] Preserve credential-file degradation reasons
  • reviewed 2026-07-18T07:10:48.927Z sha 3570bd4 :: needs real behavior proof before merge. :: [P2] Coerce shorthand SecretRefs before comparing reload contracts
  • reviewed 2026-07-18T07:59:19.385Z sha 58e51e7cd67a32ea95a7ff7088533eb0d0cc5c38 :: needs real behavior proof before merge. :: [P2] Coerce shorthand SecretRefs before comparing reload contracts
  • reviewed 2026-07-18T09:12:25.921Z sha aa75d9f :: needs real behavior proof before merge. :: [P2] Coerce shorthand SecretRefs before comparing reload contracts
  • reviewed 2026-07-18T09:21:29.666Z sha 60a8a88 :: needs real behavior proof before merge. :: [P2] Coerce shorthand SecretRefs in reload-contract scanning
  • reviewed 2026-07-18T09:44:08.527Z sha c5f6f87c0409446c0d64d167d71e3fe7a86cee3d :: needs real behavior proof before merge. :: [P2] Coerce shorthand SecretRefs before comparing reload contracts
  • reviewed 2026-07-18T09:57:52.946Z sha d1efc27 :: needs real behavior proof before merge. :: [P2] Coerce shorthand SecretRefs before scanning reload contracts
  • reviewed 2026-07-18T10:18:38.275Z sha 349f921d9bd9612e150bdf7200c61fe13d9f6de4 :: needs real behavior proof before merge. :: none

@steipete
steipete force-pushed the fix/secrets-degraded-operator-view branch from 6006be0 to 7296c6b Compare July 17, 2026 20:13
@openclaw-barnacle openclaw-barnacle Bot added size: L and removed app: web-ui App: web-ui size: XL labels Jul 17, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7296c6bf71

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/gateway/server-startup-config.ts Outdated
Comment on lines +328 to +330
const degradations = classifySecretResolutionErrorDegradations(err);
if (degradations.length > 0) {
for (const degradation of degradations) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve degradation state for invalid resolved values

When a SecretRef resolves but the value is invalid for its target, applyResolvedAssignments throws a plain Error (for example messages.tts.providers.elevenlabs.apiKey resolved to a non-string or empty value.), so classifySecretResolutionErrorDegradations(err) returns an empty list here. For reload/restart-check paths with publishFailureAsDegraded: true, the active snapshot is still left on last-known-good, but this guard skips the SECRETS_RELOADER_DEGRADED event/log and never sets secretsDegraded, so operators get no degraded or recovered signal for a real SecretRef outage. Consider falling back to the previous generic degraded event, or recording owner metadata for these post-resolution validation failures.

Useful? React with 👍 / 👎.

@steipete steipete changed the title feat(secrets): expose degraded owners to operators fix(secrets): surface degradation in logs and doctor Jul 17, 2026
@steipete
steipete force-pushed the fix/secrets-degraded-operator-view branch from 7296c6b to 30516e2 Compare July 17, 2026 21:12
@clawsweeper clawsweeper Bot added the rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. label Jul 18, 2026
@steipete
steipete force-pushed the fix/secrets-degraded-operator-view branch from c5f6f87 to d1efc27 Compare July 18, 2026 09:55

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d1efc2742f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +675 to +676
kind: "search",
providerId: "grok",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Track legacy x_search refs in web secret owners

When a shipped legacy tools.web.x_search.apiKey SecretRef resolves successfully, this branch materializes the value but never appends a web-search:grok entry to the new secretOwners inventory; if the same legacy ref later fails during reload, classifySecretOwnerDegradationState() cannot find an active owner/ref match and logs it as cold instead of stale even though the runtime is still using the last-known-good x_search credential. The modern web-search path pushes searchSelection.secretOwners, but legacy-only configs return before that path, as covered by src/secrets/runtime-legacy-x-search.test.ts.

Useful? React with 👍 / 👎.

@steipete
steipete force-pushed the fix/secrets-degraded-operator-view branch from d1efc27 to 349f921 Compare July 18, 2026 10:16
@steipete
steipete force-pushed the fix/secrets-degraded-operator-view branch from 349f921 to 49d0bc9 Compare July 18, 2026 10:27

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 49d0bc9935

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 674 to +676
const resolution = await resolveSecretInputWithEnvFallback({
kind: "search",
providerId: "grok",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Handle legacy x_search ref failures

When a shipped legacy tools.web.x_search.apiKey SecretRef is configured but cannot resolve, resolveSecretInputWithEnvFallback() returns a missing result with unresolvedRefReason; this legacy branch only handles resolution.value and otherwise falls through. Because the later modern tools.web.search selection is skipped for x_search-only configs, startup/reload neither fails nor records a degraded web-search:grok owner, so operators get no SECRETS_DEGRADED/doctor signal for the broken explicit SecretRef.

Useful? React with 👍 / 👎.

@steipete
steipete merged commit 347ee45 into main Jul 18, 2026
127 checks passed
@steipete
steipete deleted the fix/secrets-degraded-operator-view branch July 18, 2026 10:46
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 19, 2026
* fix(secrets): surface degraded owners safely

* fix(secrets): preserve degradation ownership across reloads

* fix(secrets): require cold ownership for source recovery

* refactor(secrets): keep assignment provenance internal

* test(secrets): use provider error contract

* fix(secrets): attribute provider failures to active co-owners

* test(secrets): clarify provider failure fixture

* fix(secrets): redact doctor degradation reasons

* test(secrets): align reload harness with runtime state

* test(secrets): cover atomic source publication

* fix(secrets): preserve web owner degradation context

* fix(secrets): retain active web degradation co-owners

* fix(secrets): keep web provider error internal

* refactor(secrets): unify reload degradation state

* refactor(config): remove obsolete source snapshot setter
zooqueen pushed a commit to zooqueen/openclaw that referenced this pull request Sep 11, 2026
* fix(secrets): surface degraded owners safely

* fix(secrets): preserve degradation ownership across reloads

* fix(secrets): require cold ownership for source recovery

* refactor(secrets): keep assignment provenance internal

* test(secrets): use provider error contract

* fix(secrets): attribute provider failures to active co-owners

* test(secrets): clarify provider failure fixture

* fix(secrets): redact doctor degradation reasons

* test(secrets): align reload harness with runtime state

* test(secrets): cover atomic source publication

* fix(secrets): preserve web owner degradation context

* fix(secrets): retain active web degradation co-owners

* fix(secrets): keep web provider error internal

* refactor(secrets): unify reload degradation state

* refactor(config): remove obsolete source snapshot setter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commands Command implementations docs Improvements or additions to documentation gateway Gateway runtime maintainer Maintainer-authored PR 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: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. 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.

1 participant