Skip to content

fix: avoid serializing plaintext model api keys - #84525

Closed
gKev1n wants to merge 2 commits into
openclaw:mainfrom
gKev1n:fix/models-json-api-key-redaction
Closed

gKev1n wants to merge 2 commits into
openclaw:mainfrom
gKev1n:fix/models-json-api-key-redaction

Conversation

@gKev1n

@gKev1n gKev1n commented May 20, 2026 •

Copy link
Copy Markdown

Summary

  • Prevent config/source-managed plaintext provider API keys from being serialized into generated models.json contents.
  • Preserve the models.json auth/registry contract by writing a non-secret openclaw-managed apiKey marker instead of deleting the field.
  • Keep existing models.json-only plaintext keys when no source config owns the credential, avoiding upgrade-time loss of the user's only auth source.
  • Add regression coverage for plaintext config values, managed env secret markers, existing models.json merges, the new marker, and pi-coding-agent registry acceptance.

Refs #11829.

Real behavior proof

Behavior or issue addressed: After the fix, a source-configured custom provider with a plaintext API key generates models.json without that plaintext key, while still keeping a non-empty apiKey marker so pi-coding-agent accepts the custom provider and model.

Real environment tested: Local Windows development checkout, commit dd10217e; temporary real OpenClaw agentDir under C:\Users\Lenovo\AppData\Local\Temp; actual planOpenClawModelsJsonWithDeps, discoverAuthStorage, and discoverModels were executed via node --import tsx --input-type=module. The credential value was a fake redacted proof key, not a real provider secret.

Exact steps or command run after this patch:

  1. Created a temporary agentDir.
  2. Planned models.json for a custom openai-completions provider whose source config contained fake plaintext apiKey: sk-live-proof-redacted.
  3. Wrote the planned contents to the temporary agentDir's models.json.
  4. Loaded that file through pi-coding-agent registry integration using discoverAuthStorage and discoverModels.
  5. Checked whether the plaintext appeared, what provider.apiKey serialized to, whether registry parsing failed, and whether the custom model was available.

Evidence after fix: Copied live terminal output from the command above:

agentDir=C:\Users\Lenovo\AppData\Local\Temp\openclaw-real-proof-WLWDam
plan.action=write
plaintextSerialized=false
provider.apiKey=openclaw-managed
expectedMarker=openclaw-managed
registry.error=none
registry.find=custom-model
registry.available=true

Observed result after fix: The plaintext key was not serialized; generated models.json used apiKey: openclaw-managed; pi-coding-agent reported no registry error; custom/custom-model was found and available.

What was not tested: No live external provider request was made with a real API key. The proof validates the changed persistence/registry boundary using actual OpenClaw planner and registry code with a fake proof key; supplemental tests/typechecks cover the code paths in CI-friendly form.

Verification

  • npm exec --yes [email protected] -- exec vitest run --config test/vitest/vitest.agents.config.ts src/agents/models-config.applies-config-env-vars.test.ts src/agents/models-config.merge.test.ts src/agents/models-config.providers.auth-provenance.test.ts src/agents/model-auth-markers.test.ts src/agents/pi-model-discovery.test.ts
  • npm exec --yes [email protected] -- tsgo:test
  • npm exec --yes [email protected] -- tsgo:core
  • git diff --check

Result: targeted Vitest run passed 5 files / 43 tests, tsgo:test passed, tsgo:core passed, and git diff --check passed.

Security Impact

  • New permissions/capabilities? No
  • Secrets/tokens handling changed? Yes
  • New/changed network calls? No
  • Command/tool execution surface changed? No
  • Data access scope changed? No

This reduces token persistence for generated config by replacing source-managed plaintext apiKey values with a non-secret marker, while preserving marker-based runtime auth references and the registry contract for custom providers.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: S triage: blank-template Candidate: PR template appears mostly untouched. triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. triage: refactor-only Candidate: refactor/cleanup-only PR without maintainer context. labels May 20, 2026
@clawsweeper

clawsweeper Bot commented May 20, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: found issues before merge. Reviewed June 30, 2026, 7:53 AM ET / 11:53 UTC.

Summary
The PR adds an openclaw-managed non-secret auth marker and sanitization coverage so generated models.json avoids source-configured plaintext provider API keys while preserving existing models.json-only keys.

PR surface: Source +87, Tests +267. Total +354 across 5 files.

Reproducibility: yes. Source inspection shows generated provider apiKey values flow through the catalog writer and current registry code consumes apiKey as request auth; the PR body also includes copied live output from the planner/discovery path with a fake key.

Review metrics: 1 noteworthy metric.

  • New persisted auth marker: 1 added. The PR adds a generated model-catalog marker that changes the contract between catalog validation and provider request authentication.

Root-cause cluster
Relationship: fixed_by_candidate
Canonical: #11829
Summary: This PR is one candidate fix for the open API-key protection roadmap's generated model catalog leak; several sibling PRs overlap, but none is a merged replacement for this branch.

Members:

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

Merge readiness
Overall: 🧂 unranked krab
Proof: 🦞 diamond lobster
Patch quality: 🧂 unranked krab
Result: blocked by patch quality or review findings.

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

Rank-up moves:

  • Separate catalog validation metadata from runtime apiKey request auth.
  • Rebase onto current main and cover both root and plugin-owned catalog writes.
  • [P2] Add a focused regression proving the marker is never returned or sent as provider request auth.

Risk before merge

  • [P1] The proposed openclaw-managed value can be treated as an actual provider API key when registry auth storage lacks a real credential, which can break provider requests and weakens the intended secret boundary.
  • [P1] The branch is currently CONFLICTING against main, and the current writer has both root and plugin-owned catalog outputs that must be handled together after rebase.
  • [P1] The PR intentionally preserves models.json-only plaintext keys to avoid upgrade auth loss, so maintainers still need to accept the remaining prompt-visible secret tradeoff or choose a migration path.

Maintainer options:

  1. Separate marker metadata from request auth (recommended)
    Change the design so registry validation can accept generated managed credentials without storing a marker in the runtime apiKey value that request code later resolves as a credential.
  2. Rebase onto split catalog writes
    Refresh the branch against current main and prove the same redaction behavior for root models.json and generated plugin-owned catalog shards.
  3. Accept plaintext-only compatibility explicitly
    Maintainers may choose to keep existing models.json-only plaintext keys during upgrade, but that should be an explicit compatibility decision with documented remaining exposure.

Next step before merge

  • [P2] The remaining blockers are security/auth-boundary design and a dirty branch against current main, so this needs human/contributor handling rather than an automated repair lane.

Security
Needs attention: The patch reduces plaintext persistence but introduces a concrete auth-boundary issue by placing a non-secret marker in the runtime credential field.

Review findings

  • [P1] Keep the managed marker out of request auth — src/agents/models-config.plan.ts:144
Review details

Best possible solution:

Rework the fix on current main so generated catalog validation metadata stays separate from runtime request auth, sanitizes both root and plugin-owned catalog writes, and has explicit upgrade behavior for existing plaintext-only models.json credentials.

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

Yes. Source inspection shows generated provider apiKey values flow through the catalog writer and current registry code consumes apiKey as request auth; the PR body also includes copied live output from the planner/discovery path with a fake key.

Is this the best way to solve the issue?

No. The redaction goal is right, but writing a generic managed marker into the runtime apiKey field is not the best fix because current registry code treats that field as request authentication.

Full review comments:

  • [P1] Keep the managed marker out of request auth — src/agents/models-config.plan.ts:144
    The patch writes OPENCLAW_MANAGED_AUTH_MARKER into provider.apiKey, but current ModelRegistry stores any provider apiKey and later resolves it as request auth when auth storage has no key. A generated catalog can therefore pass openclaw-managed as the provider credential instead of failing or resolving a real secret; keep validation metadata separate from runtime apiKey or teach the registry to reject this marker as request auth.
    Confidence: 0.88

Overall correctness: patch is incorrect
Overall confidence: 0.89

AGENTS.md: found and applied where relevant.

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

Label changes

Label justifications:

  • P1: The PR targets a high-impact auth-provider secret leak, but the current patch can still break real provider authentication on the same path.
  • merge-risk: 🚨 compatibility: The diff changes generated config persistence and preserves some existing plaintext models.json credentials during upgrade.
  • merge-risk: 🚨 auth-provider: The new marker is written into the provider apiKey field consumed by model registry auth resolution.
  • merge-risk: 🚨 security-boundary: The changed path decides whether provider secrets are persisted, hidden behind markers, or accidentally treated as runtime credentials.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🦞 diamond lobster and patch quality is 🧂 unranked krab.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (live_output): The PR body includes copied live terminal output from an actual planner plus model-discovery run showing a fake plaintext key omitted and the custom model accepted after the patch.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body includes copied live terminal output from an actual planner plus model-discovery run showing a fake plaintext key omitted and the custom model accepted after the patch.
Evidence reviewed

PR surface:

Source +87, Tests +267. Total +354 across 5 files.

View PR surface stats
Area Files Added Removed Net
Source 2 88 1 +87
Tests 3 269 2 +267
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 5 357 3 +354

Security concerns:

  • [high] Managed marker can become provider credential — src/agents/models-config.plan.ts:144
    The generated openclaw-managed marker is stored in apiKey; current registry code later treats provider apiKey as request auth when no stored credential is available, so the marker can be sent as a bearer/API key.
    Confidence: 0.88

What I checked:

  • Repository policy: Read the full root policy and scoped agents policy; auth/provider routing, persisted config, setup, and fallback behavior are compatibility-sensitive review surfaces. (AGENTS.md:1, 6cb82eaab865)
  • PR marker write: The PR writes OPENCLAW_MANAGED_AUTH_MARKER into provider apiKey for sanitized providers, making the marker occupy the same field as real request credentials. (src/agents/models-config.plan.ts:144, 254c4c22b41d)
  • Current request-auth fallback: Current main stores any provider apiKey from models.json as provider request config and resolves it through resolveConfigValueOrThrow when auth storage has no key. (src/agents/sessions/model-registry.ts:654, 6cb82eaab865)
  • Current provider API-key fallback: Current main also exposes providerRequestConfigs.get(provider)?.apiKey through getApiKeyForProvider, so an apiKey marker can become the returned provider credential. (src/agents/sessions/model-registry.ts:753, 6cb82eaab865)
  • Current catalog writer shape: Current main splits final providers into root and plugin-owned catalog writes before serializing, while the PR was authored against an older single-root writer and GitHub reports the branch as conflicting. (src/agents/models-config.plan.ts:283, 6cb82eaab865)
  • Canonical issue context: The linked roadmap issue remains open and explicitly tracks Layer 1 generated models.json API-key leakage alongside broader secret-isolation work.

Likely related people:

  • steipete: Peter Steinberger split the models.json planning path and carried later models-config planning refactors that now own the generated catalog serialization boundary. (role: major adjacent refactor author; confidence: high; commits: c29b09874416, 9e8151f34720, 53f6d962c25f; files: src/agents/models-config.plan.ts, src/agents/models-config.ts)
  • joshavant: Josh Avant authored SecretRef-safe models.json persistence and source-managed marker enforcement work on the affected auth boundary. (role: SecretRef marker contract contributor; confidence: high; commits: 36d2ae2a2235, 0bcb95e8fa5e, 8e20dd22d890; files: src/agents/model-auth-markers.ts, src/agents/models-config.merge.ts, src/agents/models-config.providers.source-managed.ts)
  • Pick-cat: Current shallow blame points to Pick-cat as the recent carrier for the involved models-config and registry files, and Pick-cat also authored the related mixed-case provider-key fix. (role: recent area contributor; confidence: medium; commits: eb5fb2aa69f4, 8efe396e41b0; files: src/agents/model-auth-markers.ts, src/agents/models-config.plan.ts, src/agents/sessions/model-registry.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.

@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. 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: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. labels May 20, 2026
@clawsweeper

clawsweeper Bot commented May 20, 2026 •

Copy link
Copy Markdown
Contributor

ClawSweeper PR egg

✨ Hatched: 🥚 common Gilded Test Hopper

Hatch command

Comment @clawsweeper hatch when this PR is hatchable.

Hatchability rules:

  • Merged PRs are hatchable.
  • Open PRs are hatchable when they are status: 👀 ready for maintainer look, status: 🚀 automerge armed, or labeled clawsweeper:automerge.
  • Closed unmerged PRs are hatchable only when one of those hatchable labels is still present in the durable record.

Rarity: 🥚 common.
Trait: finds missing screenshots.
Image traits: location workflow harbor; accessory shell-shaped keyboard; palette cobalt, lime, and pearl; mood focused; pose nestled inside a glowing shell; shell glossy opal shell; lighting soft underwater shimmer; background tiny artifact crates.
Share on X: post this hatch
Copy: My PR egg hatched a 🥚 common Gilded Test Hopper in ClawSweeper.

What is this egg doing here?
  • Eggs appear after the PR passes real-behavior proof. It is here for vibes, not verdicts: it does not change labels, ratings, merge decisions, or automation.
  • The shell reacts to review momentum: open follow-up work warms it up, re-review makes it wobble, and a clean final review lets it hatch.
  • Hatchability usually comes from sufficient real-behavior proof, no blocking P0/P1/P2 findings, no security attention needed, and clean correctness. A merged PR is already final, so merge makes the egg hatchable independently.
  • The hatch is seeded from this repository and PR number, so the same PR keeps the same creature; the reviewed head SHA can only change safe visual details.
  • Rarity is just collectible sparkle: 🥚 common, 🌱 uncommon, 💎 rare, ✨ glimmer, and 🌈 legendary.

@gKev1n

gKev1n commented May 21, 2026

Copy link
Copy Markdown
Author

Real behavior proof

I re-verified the affected serialization boundary locally after this patch.

Scenario checked

The regression coverage exercises the models.json write plan directly:

  • A provider configured with a plaintext apiKey such as sk-config-plaintext still keeps non-secret metadata like baseUrl.
  • The generated models.json contents do not contain that plaintext key.
  • A plaintext key carried in through an existing models.json merge is also removed.
  • Managed non-secret auth markers are preserved so env/secretref based auth can still work.

Relevant assertions in src/agents/models-config.applies-config-env-vars.test.ts include:

expect(parsed.providers?.custom?.apiKey).toBeUndefined();
expect(plan.contents).not.toContain("sk-config-plaintext");

Commands run

npm exec --yes [email protected] -- exec vitest run --config test/vitest/vitest.agents.config.ts src/agents/models-config.applies-config-env-vars.test.ts
npm exec --yes [email protected] -- tsgo:core
git diff --check

Observed result

Test Files  1 passed (1)
Tests       10 passed (10)

tsgo:core exited successfully, and git diff --check exited cleanly.

I used only fake test keys in this verification; no real provider credentials were used or exposed.

@gKev1n
gKev1n force-pushed the fix/models-json-api-key-redaction branch from 454c048 to dd10217 Compare May 21, 2026 06:24
@gKev1n
gKev1n requested a review from a team as a code owner May 21, 2026 06:24
@gKev1n

gKev1n commented May 21, 2026

Copy link
Copy Markdown
Author

Update: preserve models.json auth contract

Pushed dd10217e to address the P1 compatibility finding.

What changed:

  • Config/source-managed plaintext provider keys are no longer serialized into generated models.json.
  • Instead of deleting apiKey, generated entries now use the non-secret openclaw-managed marker so non-built-in custom providers with models still satisfy the pi-coding-agent registry contract.
  • Existing models.json-only plaintext keys are not erased when there is no source config owner, avoiding upgrade-time loss of a user's only credential source.
  • Added registry coverage proving the OpenClaw-managed marker is accepted for custom model entries.

Validation run locally:

npm exec --yes [email protected] -- exec vitest run --config test/vitest/vitest.agents.config.ts src/agents/models-config.applies-config-env-vars.test.ts src/agents/models-config.merge.test.ts src/agents/models-config.providers.auth-provenance.test.ts src/agents/model-auth-markers.test.ts src/agents/pi-model-discovery.test.ts
# Test Files  5 passed (5)
# Tests       43 passed (43)

npm exec --yes [email protected] -- tsgo:test
npm exec --yes [email protected] -- tsgo:core
git diff --check

All commands completed successfully.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented May 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 repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot added proof: supplied External PR includes structured after-fix real behavior proof. and removed triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. labels May 21, 2026
@gKev1n

gKev1n commented May 21, 2026

Copy link
Copy Markdown
Author

@clawsweeper re-review

@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: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels May 21, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 21, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. 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. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. 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 May 21, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 22, 2026
@gKev1n

gKev1n commented May 22, 2026

Copy link
Copy Markdown
Author

Update: normalize source provider ownership before redaction

Pushed 254c4c22 to address the P2 sanitizer gap from the latest ClawSweeper review.

What changed:

  • sanitizeProvidersForModelsJson now normalizes sourceProviders by trimmed provider key before deciding whether an existing plaintext models.json key is models.json-only.
  • Existing plaintext keys are no longer preserved when source config owns the provider under a whitespace-padded key such as " custom ".
  • Added a merge-mode regression test for that normalized-key path.

Validation run locally:

npm exec --yes [email protected] -- exec vitest run --config test/vitest/vitest.agents.config.ts src/agents/models-config.applies-config-env-vars.test.ts
# Test Files  1 passed (1)
# Tests       12 passed (12)

npm exec --yes [email protected] -- exec vitest run --config test/vitest/vitest.agents.config.ts src/agents/models-config.applies-config-env-vars.test.ts src/agents/models-config.merge.test.ts src/agents/models-config.providers.auth-provenance.test.ts src/agents/model-auth-markers.test.ts src/agents/pi-model-discovery.test.ts
# Test Files  5 passed (5)
# Tests       44 passed (44)

npm exec --yes [email protected] -- tsgo:core
npm exec --yes [email protected] -- tsgo:test
git diff --check

All commands completed successfully.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented May 22, 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 repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@clawsweeper clawsweeper Bot added 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: 🦐 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. labels May 22, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Jun 19, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed 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 Jun 19, 2026
@steipete

Copy link
Copy Markdown
Contributor

Thanks for the careful work and follow-up tests here. We’re consolidating the #11829 Layer 1 design in maintainer-owned #87166, which is intentionally waiting for the PI-removal work so validation metadata can be separated from runtime request auth. This branch now conflicts with current main, predates the root plus plugin-owned catalog split, and its managed marker can still flow through the current registry’s apiKey request-auth path. Closing this parallel implementation as superseded; #11829 and #87166 remain open, and the normalized-provider regression here can still inform the canonical rewrite.

@steipete steipete closed this Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling 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. 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. proof: supplied External PR includes structured after-fix real behavior proof. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: M status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. triage: blank-template Candidate: PR template appears mostly untouched. triage: refactor-only Candidate: refactor/cleanup-only PR without maintainer context.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants