Skip to content

fix: honor plugin auth markers from manifests - #88913

Closed
LDMB123 wants to merge 4 commits into
openclaw:mainfrom
LDMB123:codex/upstream-plugin-auth-markers
Closed

LDMB123 wants to merge 4 commits into
openclaw:mainfrom
LDMB123:codex/upstream-plugin-auth-markers

Conversation

@LDMB123

@LDMB123 LDMB123 commented Jun 1, 2026 •

Copy link
Copy Markdown

Summary

  • Honor non-secret auth markers supplied by enabled external plugin manifests.
  • Keep marker discovery process-stable, with lifecycle cache clearing on plugin metadata/index writes.
  • Exclude disabled installed plugin roots from fallback manifest scanning so disabled plugins cannot continue to own marker values.
  • Use this branch only as a temporary upstream review vehicle; the durable target is upstream openclaw/openclaw.

Verification

  • git diff --check
  • node scripts/run-vitest.mjs src/agents/model-auth-markers.test.ts src/plugins/manifest-metadata-scan.test.ts
  • node scripts/run-vitest.mjs --reporter=verbose src/agents/model-auth-markers.test.ts src/plugins/manifest-metadata-scan.test.ts
  • env OPENCLAW_CHECK_CHANGED_REMOTE_CHILD=1 OPENCLAW_CHANGED_LANES_RAW_SYNC=1 CI=1 PNPM_CONFIG_VERIFY_DEPS_BEFORE_RUN=false corepack pnpm check:changed

Real Behavior Proof

Behavior addressed: model/auth marker handling now respects enabled installed external plugin manifest metadata, ignores disabled installed plugin marker metadata, and refreshes marker lookup only through the plugin metadata lifecycle path.

Real environment tested: local OpenClaw source checkout on macOS at PR head bdc8191cdbd7926f68fc918563a7eeb8cee7a6e0. The proof used repository production modules for persisted installed-plugin index writes, manifest metadata scanning, lifecycle cache clearing, and model auth marker lookup. No .dev.vars, live credentials, or private plugin config were read.

Exact steps or command run after this patch: node --import tsx - with a redacted temp-home script that created enabled and disabled plugin manifests under /private/tmp/openclaw-pr-88913-proof-*/home/.openclaw/extensions, wrote the persisted installed-plugin index with writePersistedInstalledPluginIndexSync(...), then called listOpenClawPluginManifestMetadata(), isNonSecretApiKeyMarker(...), and the lifecycle-cleared marker path against OPENCLAW_HOME=<tmp>/home and OPENCLAW_DISABLE_BUNDLED_PLUGINS=1.

Evidence after fix: terminal output from the current-head temp-home proof:

proof: temp home=<tmp>/home
proof: enabled manifest discovered=true
proof: disabled manifest discovered=false
proof: enabled marker accepted=true
proof: disabled marker accepted=false
proof: v2 marker before lifecycle clear=false
proof: v2 marker after index lifecycle clear=true
proof: v1 marker after index lifecycle clear=false

Observed result after fix: the enabled installed plugin manifest was discovered and its marker was accepted; the disabled installed plugin manifest was filtered and its marker was rejected; marker lookup stayed process-stable until the installed-index write cleared plugin metadata lifecycle caches, after which the new marker was accepted and the old marker was no longer accepted.

What was not tested: no networked marketplace/plugin registry install and no live third-party credentials were used; the proof exercises the installed-plugin index and manifest metadata production path with redacted temp files.

@LDMB123
LDMB123 requested a review from a team as a code owner June 1, 2026 04:42
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation agents Agent runtime and tooling size: XS triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. labels Jun 1, 2026
@clawsweeper

clawsweeper Bot commented Jun 1, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed June 1, 2026, 4:49 PM ET / 20:49 UTC.

Summary
The PR lets enabled installed plugin manifests contribute nonSecretAuthMarkers, filters disabled installed plugin roots from fallback metadata scanning, clears marker caches through plugin metadata lifecycle hooks, and updates the manifest docs/type comment.

PR surface: Source +31, Tests +109, Docs 0. Total +140 across 6 files.

Reproducibility: yes. at source level: current main filters manifest nonSecretAuthMarkers to bundled origins in src/agents/model-auth-markers.ts, so a global installed plugin marker is ignored. I did not run tests because this was a read-only review.

Review metrics: 2 noteworthy metrics.

  • Manifest auth-marker authority: 1 public manifest field broadened. nonSecretAuthMarkers changes from bundled-plugin-only runtime behavior to enabled plugin-owned behavior, which affects plugin API and credential handling semantics.
  • Metadata refresh model: 1 cache changed to lifecycle-cleared process stability. Removing manifest fingerprint freshness makes plugin metadata updates depend on install/disable/doctor/reload/restart lifecycle paths rather than direct file edits.

Merge readiness
Overall: 🐚 platinum hermit
Proof: 🦞 diamond lobster
Patch quality: 🐚 platinum hermit
Result: ready for maintainer review.

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

Rank-up moves:

  • Get explicit plugin/auth-security maintainer approval for external plugin manifests owning non-secret auth markers.

Risk before merge

  • [P1] Enabled external plugin manifests would become authority for values that model merge, runtime auth, and secrets audit treat as non-secret; maintainers should explicitly accept that trust boundary before merge.
  • [P1] Manifest metadata freshness changes from per-call manifest fingerprint polling to lifecycle-cleared process stability, so direct manifest edits outside install, disable, doctor, reload, or restart will not be observed immediately.
  • [P1] The supplied proof uses production modules in a temp-home setup and is strong for the code path, but it does not include a networked marketplace install or live credential flow.

Maintainer options:

  1. Approve the manifest trust boundary (recommended)
    Maintainers can explicitly accept that enabled external plugin manifests may define non-secret placeholder auth markers and proceed with the lifecycle-cleared implementation.
  2. Narrow the authority before merge
    If external plugins should not own marker classification broadly, constrain the source to a trusted plugin class or add a stricter documented approval path before landing.
  3. Pause for plugin API design
    If the permanent plugin contract is unclear, pause this PR and resolve the manifest/API direction before changing secrets-audit behavior.

Next step before merge

  • [P2] The remaining blocker is maintainer plugin/auth-security approval, not a narrow automated code repair.

Security
Needs attention: The patch intentionally broadens a credential-classification trust boundary and should get maintainer security approval before merge.

Review details

Best possible solution:

Merge only after maintainer approval of the external-plugin marker trust boundary; if accepted, this manifest-metadata plus lifecycle-cache shape is the maintainable owner-boundary direction.

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

Yes, at source level: current main filters manifest nonSecretAuthMarkers to bundled origins in src/agents/model-auth-markers.ts, so a global installed plugin marker is ignored. I did not run tests because this was a read-only review.

Is this the best way to solve the issue?

Conditionally yes: if maintainers accept the external plugin trust boundary, using manifest metadata with lifecycle-cleared caches is the clean owner-boundary fix. Without that decision, the safer alternative is to keep bundled-only markers or gate external markers behind a narrower trusted contract.

AGENTS.md: found and applied where relevant.

Codex review notes: model gpt-5.5, reasoning high; reviewed against f8d5f162a129.

Label changes

Label justifications:

  • P2: This is a normal-priority plugin/auth improvement with limited blast radius but security-sensitive maintainer review needed.
  • merge-risk: 🚨 compatibility: The PR changes manifest metadata freshness and disabled-plugin marker behavior, which can affect existing installed plugin setups during upgrade or operator edits.
  • merge-risk: 🚨 auth-provider: The PR changes which plugin manifests can supply auth placeholder markers used by provider auth and model config paths.
  • merge-risk: 🚨 security-boundary: Manifest marker values can cause secrets audit and auth code to treat matching strings as non-secret, so broadening marker authority changes a credential trust boundary.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (terminal): The PR body includes structured terminal proof from a temp-home run using production installed-plugin index, manifest metadata scanning, lifecycle cache clearing, and marker lookup modules; it does not need contributor action for this gate.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body includes structured terminal proof from a temp-home run using production installed-plugin index, manifest metadata scanning, lifecycle cache clearing, and marker lookup modules; it does not need contributor action for this gate.
Evidence reviewed

PR surface:

Source +31, Tests +109, Docs 0. Total +140 across 6 files.

View PR surface stats
Area Files Added Removed Net
Source 3 55 24 +31
Tests 2 109 0 +109
Docs 1 1 1 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 6 165 25 +140

Security concerns:

  • [medium] External manifests can mark strings as non-secret — src/agents/model-auth-markers.ts:60
    By accepting nonSecretAuthMarkers from enabled external plugin manifests, a trusted installed plugin can make matching provider apiKey values bypass plaintext-secret handling in audit and auth paths; that may be acceptable, but it is a real security-boundary decision.
    Confidence: 0.86

What I checked:

  • Current main only trusts bundled manifest markers: On current main, listKnownNonSecretApiKeyMarkers() includes manifest nonSecretAuthMarkers only when plugin.origin === "bundled", so an enabled external installed plugin manifest marker is ignored. (src/agents/model-auth-markers.ts:56, f8d5f162a129)
  • PR broadens marker source to all discovered plugin metadata: At PR head, the bundled-origin guard is removed and the marker list is cached until plugin metadata lifecycle clear, so enabled external manifests can contribute marker values. (src/agents/model-auth-markers.ts:57, daf68a5f3152)
  • PR filters disabled installed plugin roots: At PR head, disabled persisted plugin records are excluded from persisted candidates and their root paths are used to suppress the global extensions fallback scan. (src/plugins/manifest-metadata-scan.ts:150, daf68a5f3152)
  • Auth and secrets paths treat accepted markers as non-secret: The secrets audit path suppresses PLAINTEXT_FOUND when isNonSecretApiKeyMarker(apiKey) returns true, making the manifest-marker authority security-sensitive. (src/secrets/audit.ts:381, f8d5f162a129)
  • Focused regression coverage was added: The PR adds coverage for installed plugin-owned markers, lifecycle-cleared marker stability, and disabled installed plugin records in the metadata scanner. (src/agents/model-auth-markers.test.ts:95, daf68a5f3152)
  • Repository policy makes this compatibility/security-sensitive: The plugin guide says metadata should be stable while the gateway runs, but manifest contract changes that affect plugin authors must align with public SDK/docs and contract tests. (src/plugins/AGENTS.md:10, f8d5f162a129)

Likely related people:

  • steipete: Recent GitHub history shows Peter Steinberger authored the SQLite installed-plugin index change that introduced or maintained the persisted plugin metadata/index surface this PR relies on. (role: recent area contributor; confidence: high; commits: 5443baa8527e, 00d8d7ead059; files: src/plugins/manifest-metadata-scan.ts, src/plugins/manifest.ts, docs/plugins/manifest.md)
  • joshavant: Recent history on model auth and SecretRef-safe provider persistence is directly adjacent to the marker handling and secrets-audit trust boundary changed here. (role: adjacent auth/security owner; confidence: medium; commits: 36d2ae2a2235, 8e20dd22d890; files: src/agents/model-auth-markers.ts, src/agents/models-config.merge.ts, src/secrets/audit.ts)
  • vortexopenclaw: Recent commit history for src/agents/model-auth-markers.ts includes the Codex app-server non-secret marker fix, which is the same marker classification mechanism this PR broadens. (role: recent marker behavior contributor; confidence: medium; commits: fa0a323ebdc0; files: src/agents/model-auth-markers.ts)
  • vincentkoc: Local blame in the shallow checkout and recent GitHub history both show Vincent Koc touching plugin and current-main surfaces near this area, though the full feature provenance is better represented by the GitHub API commits above. (role: recent adjacent plugin contributor; confidence: low; commits: f8d5f162a129, d2e0a8231f88; files: src/plugins/manifest-metadata-scan.ts, src/plugins/install.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.

@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: 6100de63c3

ℹ️ 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/agents/model-auth-markers.ts Resolved
Comment thread src/agents/model-auth-markers.ts Resolved
@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. labels Jun 1, 2026
@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 Jun 1, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. labels Jun 1, 2026
@LDMB123

LDMB123 commented Jun 1, 2026

Copy link
Copy Markdown
Author

@codex review

@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: b5cf9508a7

ℹ️ 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/plugins/manifest-metadata-scan.ts Resolved
Comment thread src/agents/model-auth-markers.ts Resolved
@LDMB123

LDMB123 commented Jun 1, 2026

Copy link
Copy Markdown
Author

@codex review

@LDMB123

LDMB123 commented Jun 1, 2026

Copy link
Copy Markdown
Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jun 1, 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:

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. Keep it up!

ℹ️ 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".

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Jun 1, 2026
@LDMB123

LDMB123 commented Jun 1, 2026

Copy link
Copy Markdown
Author

@codex review

Latest update: pushed bdc8191cdb to align the PluginManifest source contract with the docs/runtime contract after the P3 review note. Local proof: git diff --check; node scripts/run-vitest.mjs src/agents/model-auth-markers.test.ts src/plugins/manifest-metadata-scan.test.ts; env OPENCLAW_CHECK_CHANGED_REMOTE_CHILD=1 OPENCLAW_CHANGED_LANES_RAW_SYNC=1 CI=1 PNPM_CONFIG_VERIFY_DEPS_BEFORE_RUN=false corepack pnpm check:changed.

@LDMB123

LDMB123 commented Jun 1, 2026

Copy link
Copy Markdown
Author

@clawsweeper re-review

Latest update: pushed bdc8191cdb to align the PluginManifest source contract with the docs/runtime contract after the P3 review note. Local proof: git diff --check; node scripts/run-vitest.mjs src/agents/model-auth-markers.test.ts src/plugins/manifest-metadata-scan.test.ts; env OPENCLAW_CHECK_CHANGED_REMOTE_CHILD=1 OPENCLAW_CHANGED_LANES_RAW_SYNC=1 CI=1 PNPM_CONFIG_VERIFY_DEPS_BEFORE_RUN=false corepack pnpm check:changed.

@clawsweeper

clawsweeper Bot commented Jun 1, 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:

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. What shall we delve into next?

ℹ️ 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".

@openclaw-barnacle openclaw-barnacle Bot added triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. and removed proof: supplied External PR includes structured after-fix real behavior proof. labels Jun 1, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. and removed 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 Jun 1, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Jun 1, 2026
@LDMB123

LDMB123 commented Jun 1, 2026

Copy link
Copy Markdown
Author

@codex review
@clawsweeper re-review

Rebased onto current upstream main and force-with-lease pushed refreshed head .

Verification after rebase:

RUN v4.1.7 /Users/louisherman/Projects/openclaw-wt-plugin-auth-review

Test Files 1 passed (1)
Tests 10 passed (10)
Start at 06:32:03
Duration 426ms (transform 108ms, setup 57ms, import 4ms, tests 307ms, environment 0ms)

RUN v4.1.7 /Users/louisherman/Projects/openclaw-wt-plugin-auth-review

Test Files 1 passed (1)
Tests 2 passed (2)
Start at 06:32:04
Duration 266ms (transform 92ms, setup 54ms, import 120ms, tests 37ms, environment 0ms) (10 agents + 2 plugins tests)

@clawsweeper

clawsweeper Bot commented Jun 1, 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:

@LDMB123

LDMB123 commented Jun 1, 2026

Copy link
Copy Markdown
Author

Correction to the previous rebase note: shell backticks in the inline body were interpreted locally before posting.

Actual refreshed head: 57579be178.
Verification after rebase:

  • git diff --check
  • node scripts/run-vitest.mjs src/agents/model-auth-markers.test.ts src/plugins/manifest-metadata-scan.test.ts (10 agents + 2 plugins tests)

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. 🎉

ℹ️ 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".

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: M and removed size: S labels Jun 1, 2026
@LDMB123

LDMB123 commented Jun 1, 2026

Copy link
Copy Markdown
Author

@codex review
@clawsweeper re-review

Added the same test-only CI stabilizers already proven on #88911 after the rebase exposed shared upstream CI failures on this PR:

  • media-ui gateway chat refresh expectation alignment
  • watch-node mock child exit handling for file-safety shard completion

Refreshed head: 1c80fe96dc.
Local verification:

  • node scripts/run-vitest.mjs ui/src/ui/app-gateway.node.test.ts src/infra/watch-node.test.ts (15 infra + 61 UI tests)
  • earlier branch verification after rebase: git diff --check; node scripts/run-vitest.mjs src/agents/model-auth-markers.test.ts src/plugins/manifest-metadata-scan.test.ts (10 agents + 2 plugins tests)

@clawsweeper

clawsweeper Bot commented Jun 1, 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:

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. Bravo.

ℹ️ 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".

@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Jun 1, 2026
@LDMB123

LDMB123 commented Jun 1, 2026

Copy link
Copy Markdown
Author

Status check:

  • Current head: 1c80fe96dc357517ad3a0542c0588c563c596842
  • mergeStateStatus: CLEAN
  • Checks: 162 total, 133 SUCCESS, 28 SKIPPED, 1 NEUTRAL, 0 failing
  • Review threads: all resolved

I attempted to merge, but GitHub rejected it with: LDMB123 does not have the correct permissions to execute MergePullRequest.

LDMB123 added 4 commits June 1, 2026 14:41
Drop the extra non-secret marker cache so plugin manifest marker changes are visible on subsequent reads, and skip disabled persisted plugin records before manifest metadata contributes markers.

Verification:
- node scripts/run-vitest.mjs src/agents/model-auth-markers.test.ts src/plugins/manifest-metadata-scan.test.ts
- env OPENCLAW_CHECK_CHANGED_REMOTE_CHILD=1 OPENCLAW_CHANGED_LANES_RAW_SYNC=1 CI=1 PNPM_CONFIG_VERIFY_DEPS_BEFORE_RUN=false corepack pnpm check:changed
- git diff --cached --check
Keep plugin manifest metadata process-stable by removing per-call manifest
file fingerprint polling, and refresh the manifest/auth-marker caches through
the plugin metadata lifecycle clear.

Exclude disabled persisted plugin roots from the global extensions fallback so
disabled installed plugins cannot contribute manifest-owned auth markers.

Verification:
- node scripts/run-vitest.mjs src/agents/model-auth-markers.test.ts src/plugins/manifest-metadata-scan.test.ts
- env OPENCLAW_CHECK_CHANGED_REMOTE_CHILD=1 OPENCLAW_CHANGED_LANES_RAW_SYNC=1 CI=1 PNPM_CONFIG_VERIFY_DEPS_BEFORE_RUN=false corepack pnpm check:changed
- git diff --check
Update the PluginManifest source comment for nonSecretAuthMarkers to match the runtime and docs contract that enabled plugin manifests can own non-secret placeholder auth markers.

Verification:
- git diff --check
- node scripts/run-vitest.mjs src/agents/model-auth-markers.test.ts src/plugins/manifest-metadata-scan.test.ts
- env OPENCLAW_CHECK_CHANGED_REMOTE_CHILD=1 OPENCLAW_CHANGED_LANES_RAW_SYNC=1 CI=1 PNPM_CONFIG_VERIFY_DEPS_BEFORE_RUN=false corepack pnpm check:changed
@LDMB123

LDMB123 commented Jun 1, 2026

Copy link
Copy Markdown
Author

Superseded by consolidated fork-main PR #89224, which carries this branch payload on top of current upstream main.

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

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation 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. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: supplied External PR includes structured after-fix real behavior proof. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant