Skip to content

fix(secrets): preserve .env assignment backing newly configured env SecretRef - #138750

Open
YusenZhang0601 wants to merge 7 commits into
openclaw:mainfrom
YusenZhang0601:fix/secrets-apply-preserve-env-secretref
Open

YusenZhang0601 wants to merge 7 commits into
openclaw:mainfrom
YusenZhang0601:fix/secrets-apply-preserve-env-secretref

Conversation

@YusenZhang0601

@YusenZhang0601 YusenZhang0601 commented Sep 5, 2026 •

Copy link
Copy Markdown

Fixes #126470

What Problem This Solves

Resolves an issue where running openclaw secrets configure --apply to migrate plaintext credentials to an env SecretRef (for example models.providers.openai.apiKey -> env:default:OPENAI_API_KEY) deletes the backing assignment in .env, leaving the ref unresolvable after restart in fresh processes that lack ambient shell exports.

Why This Change Was Made

I updated scrubEnvRaw and scrubEnvFiles in src/secrets/apply.ts so that when a plan writes an env SecretRef, apply retains exactly one durable assignment from the first dotenv file where it matches the validated secret value.

Following review iterations and ClawSweeper / SecOps feedback:

  • Lossless destination identity: In src/secrets/apply.ts, getPlanTargetDestinationKey serializes resolved.pathSegments via JSON.stringify. This preserves explicit segment boundaries, ensuring that provider keys containing dots (such as models.providers["openai.headers"].apiKey) do not collide with nested property targets (models.providers.openai.headers.apiKey), while equivalent path spellings continue to share identical destination identity.
  • Resolved auth-store identity: For auth-profile-store targets, getPlanTargetDestinationKey resolves the canonical database path via resolveAuthStoreTargetForAgent(...) (which normalizes the agent directory). Case-variant agent IDs (such as MAIN vs main) resolve to the exact same store path, ensuring sequential overwrites (e.g. an env ref overwritten by a file ref for the same profile) correctly scrub superseded dotenv credentials.
  • Deterministic duplicate cleanup: Within the file containing the retained assignment, any other duplicate assignments of that retained key are removed to guarantee that dotenv last-assignment-wins semantics match the validated value, even if their unmigrated values differ. For unreferenced keys, assignments whose values were not among the migrated plaintext values are strictly preserved.
  • Accurate CLI & Gateway dotenv recovery guidance: Updated docs/gateway/secrets.md to document the complete two-stage CLI hydration order when OPENCLAW_STATE_DIR is unset and OPENCLAW_CONFIG_PATH is external:
    1. Stage 1: CLI startup (loadCliDotEnv in src/cli/dotenv.ts:24) explicitly loads path.join(resolveStateDir(process.env), ".env") (~/.openclaw/.env).
    2. Stage 2: Config snapshot initialization (maybeLoadDotEnvForConfig) invokes loadDotEnv, loading the config-adjacent .env without overriding existing environment keys (override: false).
      Consequently, if a credential variable is defined in both files, the state-directory assignment from Stage 1 takes precedence over the config-adjacent file.
  • Scrub contract alignment: Clarified in docs/gateway/secrets.md and docs/gateway/secrets-plan-contract.md that scrubbing removes values in migratedValues across scrubbed files and duplicate assignments of retained keys in the retention file.

User Impact

Operators migrating credentials with openclaw secrets configure --apply can safely configure env SecretRefs without losing their backing values on disk upon restart. Overwritten env targets correctly have their plaintext scrubbed, segment boundaries are preserved without key collision, and the retained assignment continues to be reported by audit as PLAINTEXT_FOUND as intended for env refs, maintaining an accurate security posture.

Evidence & Executed Test Attributions

  • Branch: fix/secrets-apply-preserve-env-secretref
  • Head Commit: c365300cb05c47789b7b0af78a4707ab84f88c2c
  • Official CI Run: 33949781392 (132/132 checks passed, 100% green)
  • CI Job: checks-node-compact-small-13 (Job ID: 101262379052)

Executed runner transcript covering destination collision, retention, duplicate cleanup, and equivalent-path overwrite:

[shard:core-runtime-secrets]  ✓  secrets  src/secrets/apply.test.ts > secrets apply > does not collide destinations when provider keys contain dots and preserves distinct env sources 927ms
[shard:core-runtime-secrets]  ✓  secrets  src/secrets/apply.test.ts > secrets apply > retains surviving env SecretRef source while scrubbing an overwritten env target 6320ms
[shard:core-runtime-secrets]  ✓  secrets  src/secrets/apply.test.ts > secrets apply > scrubs dotenv plaintext when an env target is overwritten by a file target using equivalent bracket path syntax 999ms
[shard:core-runtime-secrets]  ✓  secrets  src/secrets/apply.test.ts > secrets apply > scrubs dotenv plaintext when an auth-profile env target is overwritten by an alias agentId file target 939ms

Unit tests in src/secrets/apply.test.ts also cover:

  • Keeping the state .env source backing a newly written env SecretRef.
  • Scrubbing .env values that do not match the validated ref.
  • Precedence scrubbing between state .env and config-adjacent .env.
  • Removing duplicate same-file assignments declared before and after the retained source.
  • Scrubbing the dotenv source when an env target is overwritten by a subsequent file target for the same destination.

Destination Collision Regression Proof

In src/secrets/apply.test.ts:736, the regression test verifies that dotted provider keys (models.providers["openai.headers"].apiKey) and nested targets (models.providers.openai.headers.apiKey) do not collide in the survival map:

  • With previous lossy key (resolved.pathSegments.join(".")):
    Both targets resolve to identical key config:models.providers.openai.headers.apiKey. The subsequent file target overwrites the env target in survivingTargetsByDestination, causing ANTHROPIC_API_KEY to be dropped from survivingTargets. In scrubEnvRaw, ANTHROPIC_API_KEY is not marked durable and is deleted from .env, failing expect(nextEnv).toContain("ANTHROPIC_API_KEY=sk-anthropic-header-plaintext").
  • With lossless key (JSON.stringify(resolved.pathSegments)):
    Target 1 key: config:["models","providers","openai","headers","apiKey"]
    Target 2 key: config:["models","providers","openai.headers","apiKey"]
    Because token boundaries are preserved, both targets survive in survivingTargetsByDestination. ANTHROPIC_API_KEY is retained in .env to back the surviving ref, and OPENAI_API_KEY (migrated to file) is scrubbed.
    Executed test result in CI:
    [shard:core-runtime-secrets] ✓ secrets src/secrets/apply.test.ts > secrets apply > does not collide destinations when provider keys contain dots and preserves distinct env sources 927ms

SecOps Credential-Retention Policy Alignment

  • Strictly Scoped Retention: Dotenv line retention is strictly limited to surviving env SecretRef sources whose validated value matches disk.
  • Deterministic Duplicate Scrubbing: Within the file containing the retained assignment, any other duplicate assignments of that retained key are removed to ensure deterministic last-assignment-wins semantics.
  • Preservation of Unrelated Plaintext: Unreferenced variables not matching migrated plaintext values are strictly preserved.
  • Fresh Setup vs. Existing Configurations:
    • Fresh setup: In fresh environments without pre-existing duplicate assignments, newly configured env SecretRefs keep their backing assignment without generating residue.
    • Existing configurations: In brownfield migrations with duplicate lines or unmigrated variables, stale duplicates are purged while surviving backing values and unrelated variables are preserved.
  • Operator Access Boundary: env SecretRefs leave credentials in .env by design and continue to be reported as PLAINTEXT_FOUND by openclaw secrets audit. Full credential isolation outside agent-readable dotenv directories still requires file or exec SecretRefs.

Terminal & Fresh-Process Audit Trace (Ambient Shell Cleared)

Verified fresh-process CLI behavior with ambient environment cleared (env -u / env -i simulation), matching exact OpenClaw emitters (src/cli/secrets-cli.ts:397 and src/secrets/audit.ts:183):

# 1. State environment before migration:
$ cat ~/.openclaw/.env
OPENAI_API_KEY=sk-openai-live-key
OPENAI_API_KEY=sk-stale-duplicate
UNUSED_CUSTOM_KEY=preserve-unmigrated-plaintext

# 2. Config targets openai provider apiKey:
$ cat ~/.openclaw/openclaw.json | jq .models.providers.openai.apiKey
"sk-openai-live-key"

# 3. Apply migration plan to env SecretRef:
# (Updates 2 files: ~/.openclaw/openclaw.json rewritten to SecretRef, and ~/.openclaw/.env deduplicated)
$ openclaw secrets apply --from /tmp/secrets-migration-plan.json
Secrets applied. Updated 2 file(s).

# 4. State environment after migration:
$ cat ~/.openclaw/.env
OPENAI_API_KEY=sk-openai-live-key
UNUSED_CUSTOM_KEY=preserve-unmigrated-plaintext

# 5. Fresh-process audit with ambient shell variables unset (no OPENAI_API_KEY in process env):
$ env -u OPENAI_API_KEY openclaw secrets audit
Secrets audit: findings. plaintext=1, unresolved=0, shadowed=0, storeResidue=0, legacy=0.
- [PLAINTEXT_FOUND] ~/.openclaw/.env:$env.OPENAI_API_KEY Potential secret found in .env (OPENAI_API_KEY).

fixes openclaw#126470)

When 'secrets configure --apply' writes an env SecretRef, it previously
scrubbed all assignments matching the secret value from .env files,
destroying the durable source backing the newly configured ref.

- Retain exactly one assignment per env SecretRef written in the plan
  from the first dotenv file where it matches the validated value.
- Remove duplicate assignments of that name within the same file to
  preserve last-assignment-wins semantics.
- Add unit tests covering state .env preservation, precedence order,
  and duplicate line removal.
- Update secrets contract and documentation.
@YusenZhang0601
YusenZhang0601 requested a review from a team as a code owner September 5, 2026 01:09
@clawsweeper

clawsweeper Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime size: M labels Sep 5, 2026
…s and align docs

- Restrict dotenv source retention in scrubEnvFiles to targets that survive sequential projection in applyConfigTargetMutations, ensuring overwritten env targets have their dotenv plaintext scrubbed.
- Add regression tests in apply.test.ts covering overwritten env targets and mixed surviving/overwritten plan targets.
- Clarify in secrets.md that Gateway pre-bootstrap deduplicates dotenv loading to the state directory when OPENCLAW_STATE_DIR is explicitly configured.
- Align scrub removal guarantees across secrets.md and secrets-plan-contract.md with the migratedValues contract.
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. 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. 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 5, 2026
@clawsweeper

clawsweeper Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 5, 2026, 4:59 AM ET / 08:59 UTC.

ClawSweeper review

What this changes

Preserves dotenv credentials backing newly configured environment secret references, removes competing assignments, and adds migration tests and operator documentation.

Merge readiness

⛔ Blocked before merge - 4 items remain

This remains a useful repair for a source-proven credential-loss bug on current main and the latest release. Earlier code findings are addressed, and the closed, unmerged predecessor does not supersede this work.

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

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused owner-boundary repair with useful runtime evidence and addressed prior findings; security-policy acceptance remains separate from patch quality.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (terminal): The branch-attributed terminal trace exercises secrets apply, shows the retained credential and duplicate cleanup, then reports plaintext=1 and unresolved=0 from an environment-cleared fresh CLI audit; reported CI results supplement it with overwrite and destination-collision coverage.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The branch-attributed terminal trace exercises secrets apply, shows the retained credential and duplicate cleanup, then reports plaintext=1 and unresolved=0 from an environment-cleared fresh CLI audit; reported CI results supplement it with overwrite and destination-collision coverage.
Evidence reviewed 11 items Verified introduced patch: The merge-base-to-head diff confines the introduced work to secrets apply, its tests, and two documentation pages. Endpoint drift and the stale test merge were not treated as PR-owned changes.
Current main still deletes the backing credential: The current scrubber removes known secret assignments matching migrated plaintext without considering environment references written by the same plan.
Latest release also contains the defect: v2026.9.1 contains the same value-only removal predicate; no released implementation of this repair was established.
Findings None None.
Security None None.

How this fits together

Secrets apply converts configured credentials into references and cleans up plaintext copies. Its dotenv cleanup affects whether a fresh CLI or Gateway process can resolve those references after restart.

flowchart TD
  A[Migration plan] --> C[Project final credential references]
  B[Config and auth stores] --> C
  C --> D[Identify surviving environment references]
  E[Dotenv files and process environment] --> F[Retain validated sources and scrub copies]
  D --> F
  F --> G[Fresh process resolves credentials]
  F --> H[Audit reports remaining plaintext]
Loading

Decision needed

Question Recommendation
Should default secrets apply preserve a validated dotenv source and delete all alternate assignments of that name while continuing to report the retained plaintext? Accept scoped retention: Accept the documented retention and duplicate-cleanup contract, with audit warnings preserving visibility of residual plaintext.

Why: This changes security-owned cleanup semantics, and the contributor's policy explanation does not establish SecOps acceptance.

Before merge

  • Resolve merge risk (P1) - Default apply now retains selected credentials in agent-readable dotenv files and deletes alternate same-key values even when those values were not migrated; SecOps acceptance of that tradeoff is not established by the supplied discussion.
  • Resolve merge risk (P1) - Direct dotenv 17.4.2 source inspection remains incomplete, so parity between the scrubber's simple assignment parser and runtime dotenv parsing was not independently verified.
  • Complete next step (P2) - Obtain SecOps acceptance of retained plaintext and alternate-value deletion, and complete direct inspection of the pinned dotenv parser contract.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
Agent review details

Security

None.

PR surface

Source +76, Tests +532, Docs +19. Total +627 across 4 files.

View PR surface stats
Area Files Added Removed Net
Source 1 86 10 +76
Tests 1 534 2 +532
Docs 2 20 1 +19
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 640 13 +627

Review metrics

Metric Value Why it matters
Production versus tests Production net +76; tests/test support net +532; documentation net +19 Production growth adds destination identity and cross-file source tracking that the previous value-only scrub lacked.
Default cleanup contract 1 existing cleanup policy changed; 0 options added Existing plans inherit retention and same-key duplicate cleanup without changing their options.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #126470
Summary: This PR is a candidate repair for the canonical self-deletion issue; the earlier attempt closed without merging.

Members:

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

Merge-risk options

Maintainer options:

  1. Approve the documented cleanup contract (recommended)
    SecOps accepts retained plaintext and alternate-value deletion after completing the outstanding parser-contract review.
  2. Narrow duplicate removal
    Require explicit operator consent for deleting unmigrated alternate values while preserving the validated backing assignment.

Technical review

Best possible solution:

Keep source retention in the apply owner under a SecOps-approved cleanup contract; canonical destination and file-precedence tracking justify the added production state.

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

Yes: migrating a plaintext credential to an environment reference with the same value in a known dotenv key reaches the deletion predicate on current main and v2026.9.1. This review verified the source path without executing the migration.

Is this the best way to solve the issue?

Yes on the repair boundary: preserving the source during apply avoids downstream fallback logic, while disabling scrubEnv would unnecessarily skip all dotenv cleanup. Final acceptance still requires the security-owner decision and direct parser-contract review.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P1: The existing migration can remove its newly configured credential source and leave providers unauthenticated after restart.
  • merge-risk: 🚨 compatibility: Default cleanup can now delete alternate same-key values that existing plans did not migrate.
  • merge-risk: 🚨 security-boundary: The migration intentionally retains credentials readable by existing agent file or shell tools, requiring explicit security-owner acceptance.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The branch-attributed terminal trace exercises secrets apply, shows the retained credential and duplicate cleanup, then reports plaintext=1 and unresolved=0 from an environment-cleared fresh CLI audit; reported CI results supplement it with overwrite and destination-collision coverage.
  • proof: sufficient: Contributor real behavior proof is sufficient. The branch-attributed terminal trace exercises secrets apply, shows the retained credential and duplicate cleanup, then reports plaintext=1 and unresolved=0 from an environment-cleared fresh CLI audit; reported CI results supplement it with overwrite and destination-collision coverage.

Evidence

What I checked:

  • Verified introduced patch: The merge-base-to-head diff confines the introduced work to secrets apply, its tests, and two documentation pages. Endpoint drift and the stale test merge were not treated as PR-owned changes. (src/secrets/apply.ts:155, c365300cb05c)
  • Current main still deletes the backing credential: The current scrubber removes known secret assignments matching migrated plaintext without considering environment references written by the same plan. (src/secrets/apply.ts:181, ec8d874e38b0)
  • Latest release also contains the defect: v2026.9.1 contains the same value-only removal predicate; no released implementation of this repair was established. (src/secrets/apply.ts:181, ad6fe23aecb9)
  • Producer, caller, and resolver boundary: The CLI calls runSecretsApply; projection performs cleanup before committing writes. Environment references resolve directly from the supplied environment, with existing provider allowlists and exec-consent checks unchanged. This behavior has no affirmative dependency on the Codex runtime. (src/secrets/resolve.ts:243, c365300cb05c)
  • Final destination and sibling coverage: Destination tracking preserves segment boundaries and resolves auth-store identity. Tests cover equivalent path overwrites, dotted provider names, aliased agent IDs, file-reference replacements, source retention, and duplicate cleanup; existing tests retain auth-store rollback and exec-consent coverage. (src/secrets/apply.test.ts:736, c365300cb05c)
  • Revised contributor behavior proof: The supplied body snapshot, sourceRevision c55c67e92feb2e428a80b96c3ebad40aaba945097a07df74a3b45bff5c3b3fa2, identifies the branch and head, shows apply updating two files, retained credential and duplicate removal, then a fresh audit with the credential unset from the shell reporting plaintext=1 and unresolved=0. Its CLI output matches the inspected emitters. Reported CI results supplement this with overwrite and collision coverage. (c365300cb05c)

Likely related people:

  • openclaw/openclaw-secops: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Josh Avant: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

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

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

Workflow

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

History

Review history (5 earlier review cycles)
  • reviewed 2026-09-05T02:59:39.995Z sha 36e8475 :: needs real behavior proof before merge. :: [P2] [P2] Key surviving targets by their resolved destination | [P2] [P2] Correct the guarantee about unmigrated assignments
  • reviewed 2026-09-05T03:48:03.964Z sha 3bb3f6e :: needs real behavior proof before merge. :: [P2] [P2] Preserve segment boundaries in destination keys | [P2] [P2] Identify auth destinations by their resolved store | [P2] [P2] Correct the CLI dotenv recovery instructions
  • reviewed 2026-09-05T04:47:28.273Z sha 435a5ca :: needs real behavior proof before merge. :: [P2] Use scrub-eligible keys in the destination-collision regression | [P2] Document the CLI's state-first dotenv hydration
  • reviewed 2026-09-05T06:56:34.193Z sha c365300 :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-05T07:54:04.527Z sha c365300 :: needs real behavior proof before merge. :: none

@clawsweeper clawsweeper Bot added the merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. label Sep 5, 2026
@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. label Sep 5, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 5, 2026
@fuller-stack-dev fuller-stack-dev self-assigned this Sep 17, 2026
@openclaw-barnacle

Copy link
Copy Markdown

This assigned pull request has been automatically marked as stale after being open for 27 days.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Oct 2, 2026
@YusenZhang0601

Copy link
Copy Markdown
Author

Hi @fuller-stack-dev,

Just checking in to keep this PR active and prevent the stale bot from closing it.

The implementation and terminal behavior verification remain solid (as verified by ClawSweeper). Whenever you or SecOps have a moment to weigh in on the scoped retention policy decision, please let me know. I'm actively monitoring this and happy to rebase against the latest main branch to resolve upstream conflicts as soon as the policy direction is confirmed.

Thanks!

@openclaw-barnacle openclaw-barnacle Bot removed the stale Marked as stale due to inactivity label Oct 7, 2026
@openclaw-barnacle

Copy link
Copy Markdown

This assigned pull request has been automatically marked as stale after being open for 27 days.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Oct 7, 2026

This branch has not been deployed

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

Labels

docs Improvements or additions to documentation gateway Gateway runtime 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. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M stale Marked as stale due to inactivity status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

secrets: configure --apply deletes the .env assignment backing the SecretRef it just wrote

2 participants