Skip to content

feat(packages): move Plugin Inspector to post-acceptance monitoring - #4383

Merged
Patrick-Erichsen merged 3 commits into
mainfrom
plugin-inspector-monitoring
Nov 4, 2026
Merged

Patrick-Erichsen merged 3 commits into
mainfrom
plugin-inspector-monitoring

Conversation

@Patrick-Erichsen

@Patrick-Erichsen Patrick-Erichsen commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

PR 2 of 2. #4379 (advisory Inspector and entrypoint validation) has merged; this PR's base is now main.

#4379 made Plugin Inspector advisory and moved its one real check, missing declared entrypoints, into package validation. This PR takes Inspector out of the publish request entirely. It now runs as monitoring after a release is accepted, using the repo's existing plugin-inspector-bulk-scan.yml workflow:

  • one targeted run is dispatched for each accepted plugin release;
  • the existing nightly sweep covers anything a dispatch misses.

Behavior

  • Publish: no Inspector in the request.
    • Code and bundle plugin publishes no longer call a Node Inspector action.
    • There is no 120 s budget to wait out.
    • The publish response has no inspectorFindings. The CLI still prints them if an older server returns them.
    • Package validation, including the entrypoint check, is unchanged.
  • After acceptance:
    • finalizePackagePublishAttemptInternal publishes the release and records the attempt finalized.
    • It then schedules pluginInspectorDispatch:dispatchPluginInspectorReleaseScanInternal.
    • That action sends the clawhub-plugin-inspector-release-scan repository_dispatch event (payload: package_name, version, release_id).
    • Only the latest public plugin release is dispatched, because targeted scans inspect the latest release.
    • A failed dispatch retries after 1, 5 and 15 minutes; after that the nightly sweep covers it.
    • Scheduling errors are logged and never affect finalization.
  • Gating: no new env vars.
    • Dispatch reuses the deployment's existing SECURITY_SCAN_EVENT_DISPATCH_ENABLED switch and GitHub App credentials (contents: write is already required for security-scan dispatch).
    • Only the production deployment dispatches (CLAWHUB_ENV unset or production, and not a preview), because the workflow scans the production site.
  • Workflow (plugin-inspector-bulk-scan.yml):
    • Adds a repository_dispatch trigger that maps client_payload.package_name to PLUGIN_INSPECTOR_PACKAGE_NAMES.
    • A dispatch has no inputs, so release scans persist results (dry_run is 0) and never email owners. Notify and notification-only stay 0.
    • Release scans:
      • queue per package (clawhub-plugin-inspector-release-scan-<package>), so a burst of publishes is not collapsed into one pending run;
      • fail fast without a package name;
      • have a 30-minute job timeout.
    • Nightly, manual and notification runs are unchanged, including their concurrency group, lease and reviewed-notification flow.
  • Outcomes: the clean / findings / tool_failure / timeout outcomes from fix(packages): make Plugin Inspector advisory and validate declared entrypoints #4379 are recorded by the bulk-scan ingest. A failed rescan never replaces a completed verdict, and tool failures never become findings.
  • Removed:
    • convex/packageInspectorNode.ts (the publish-time Node action);
    • convex/lib/openClawInspectorTarget.ts (the ClawHub-prepared OpenClaw target cache that existed only to fit the 512 MiB action);
    • their tests;
    • the publish-time advisory runner.
  • Back-compat:
    • Attempts staged before this deploy, within the 30-day attempt TTL, still apply their staged Inspector findings and outcome at finalization.
    • The @openclaw/plugin-inspector dependency and its version are unchanged; the bulk scan still uses it.

Authority-chain proof

This answers the ClawSweeper proof request. The question: does an accepted public release go through finalization, queued dispatch and the worker, and is a release made private before its queued retry refused before any credentialed effect or artifact read?

Where: convex/pluginInspectorReleaseScan.chain.runtime.test.ts, run in a disposable in-process convex-test backend. Nothing reaches GitHub, a ClawHub deployment or production data. No production release was created.

Real in the proof:

  • The POST /api/v1/packages publish route (code-plugin ClawPack).
  • claimPrePublicationChecks / completePrePublicationChecks.
  • Scheduled finalizePackagePublishAttemptInternal.
  • The scheduled dispatchPluginInspectorReleaseScanInternal and its 60 s retry.
  • getPluginInspectorReleaseScanTargetInternal.
  • The protected /api/v1/package-inspector/artifact route.
  • The monitoring worker scripts/package-inspector-nightly-scan.ts.
    • With CLAWHUB_PLUGIN_INSPECTOR_CHAIN_PROOF=1: the full script runs as a child process, with the real Plugin Inspector and its public npm OpenClaw beta target, over a loopback HTTP bridge to the backend.
    • In CI, without the flag: the worker's own resolveTargetPackageItems and downloadPackageArtifactForScan run in-process.

Simulated external boundary (labeled; task-only fixtures):

  • GitHub's App installation-token API and repository_dispatch API. The App key is generated per run, and the token is ghs_SIMULATED_REDACTED.
  • The GitHub Actions runner. The worker env comes from evaluating the real plugin-inspector-bulk-scan.yml step expressions for the captured dispatch event; only CLAWHUB_SITE_URL (the bridge) and the artifact directory are substituted.

Any other outbound fetch fails the test.

How effects are observed:

  • Artifact I/O is counted at the Convex storage/getBlob syscall, tagged by phase.
  • GitHub calls are attributed to the dispatcher by its clawhub/plugin-inspector-release-scan-dispatch User-Agent. The existing security-scan dispatch shares the App, so it shows up separately as unrelated.

How privatization is applied: no owner flow switches an existing public package to private, so the proof sets packages.channel = "private". That is the same field a private-channel publish writes, and the field every eligibility check reads.

Redacted run at f76aaf1a621abc2c6cf352d5b7c055e600e15716, clean tree, full worker
# revision f76aaf1a621abc2c6cf352d5b7c055e600e15716 (clean tree: 0 changes)
# node v24.22.1, CLAWHUB_PLUGIN_INSPECTOR_CHAIN_PROOF=1
�[22m�[39m[chain-proof] publish accepted for checks {"package":"chain-proof-public","publicationStatus":"pending"}
�[22m�[39m[chain-proof] simulated-github: App installation token minted {"userAgent":"clawhub/plugin-inspector-release-scan-dispatch"}
�[22m�[39m[chain-proof] simulated-github: repository_dispatch accepted {"userAgent":"clawhub/plugin-inspector-release-scan-dispatch","event_type":"clawhub-plugin-inspector-release-scan","client_payload":{"package_name":"chain-proof-public","version":"1.0.0","release_id":"00000000000010016packageReleases"}}
�[22m�[39m[chain-proof] accepted release finalized {"package":"chain-proof-public","attempt":"finalized","release":"published","channel":"community"}
�[22m�[39m[chain-proof] monitoring worker exited {"status":0,"reports":["chain-proof-public-1.0.0","initial-roster.json","run-summary.json","run-summary.md"]}
[chain-proof][worker] Uploaded chain-proof-public@1.0.0: findings=0, inserted=0, shouldEmailOwner=false
[chain-proof][worker] Bulk scan target OpenClaw 2026.11.5-beta.1: scanned=1, skippedUnchanged=0, errors=0, warnings=0.
�[22m�[39m[chain-proof] worker persisted scan state {"states":[{"outcome":"clean","scanSource":"nightly","targetOpenClawVersion":"2026.11.5-beta.1"}]}
[chain-proof] protected artifact storage reads during worker {"reads":1}
�[22m�[39m[chain-proof] publish accepted for checks {"package":"chain-proof-private","publicationStatus":"pending"}
�[22m�[39m[chain-proof] simulated-github: App installation token minted {"userAgent":"clawhub/plugin-inspector-release-scan-dispatch"}
�[22m�[39m[chain-proof] simulated-github: repository_dispatch rejected (forced 503) {"userAgent":"clawhub/plugin-inspector-release-scan-dispatch","event_type":"clawhub-plugin-inspector-release-scan","client_payload":{"package_name":"chain-proof-private","version":"1.0.0","release_id":"00000000000010016packageReleases"}}
�[22m�[39m[chain-proof] accepted release finalized {"package":"chain-proof-private","attempt":"finalized","release":"published","channel":"community"}
�[22m�[39m[chain-proof] retry queued after forced dispatch failure {"retryCount":1,"delayMs":60000}
�[22m�[39m[chain-proof] package made private before retry {"package":"chain-proof-private","channel":"private"}
�[22m�[39m[chain-proof] simulated-github: App installation token minted {"userAgent":"clawhub/security-scan-dispatch"}
�[22m�[39m[chain-proof] simulated-github: repository_dispatch accepted {"userAgent":"clawhub/security-scan-dispatch","event_type":"clawhub-security-scan","client_payload":{"batch_limit":"4","max_runtime_minutes":"12"}}
�[22m�[39m[chain-proof] queued retry ran after privatization {"inspectorAppTokensMinted":0,"inspectorRepositoryDispatches":0,"unrelatedGitHubCalls":[{"kind":"app-token","userAgent":"clawhub/security-scan-dispatch"},{"kind":"repository-dispatch","userAgent":"clawhub/security-scan-dispatch","eventType":"clawhub-security-scan"}],"storageReads":0}
�[22m�[39m[chain-proof] stale monitoring worker exited {"status":1}
[chain-proof][worker] Error: package lookup failed for chain-proof-private 404: Package not found
[chain-proof][worker]     at resolveTargetPackageItems (file://~/.codex/worktrees/inspector-monitoring/scripts/package-inspector-nightly-scan.ts:881:13)
[chain-proof][worker]     at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
[chain-proof][worker]     at async runPackageInspectorNightlyScan (file://~/.codex/worktrees/inspector-monitoring/scripts/package-inspector-nightly-scan.ts:236:19)
[chain-proof][worker]     at async file://~/.codex/worktrees/inspector-monitoring/scripts/package-inspector-nightly-scan.ts:836:3
[chain-proof][worker] Node.js v24.22.1
�[22m�[39m[chain-proof] protected artifact route with worker token after privatization {"status":404,"storageReads":0}
 �[32m✓�[39m convex/pluginInspectorReleaseScan.chain.runtime.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[33m 1975�[2mms�[22m�[39m
   �[32m✓�[39m Plugin Inspector release-scan authority chain �[2m(2)�[22m
     �[33m�[2m✓�[22m�[39m monitors an accepted public release: finalization -> queued dispatch -> worker artifact read�[33m 1408�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m rejects a release made private before its queued retry, before GitHub credentials and artifact reads�[33m 566�[2mms�[22m�[39m
�[2m      Tests �[22m �[1m�[32m2 passed�[39m�[22m�[90m (2)�[39m
�[2m   Duration �[22m 2.83s�[2m (tests 72%, import 21%, transform 7%)�[22m
Negative controls (same head, each check removed in turn, then restored)
## control 1: dispatcher eligibility recheck removed
�[22m�[39m[chain-proof] queued retry ran after privatization {"inspectorAppTokensMinted":1,"inspectorRepositoryDispatches":1,"unrelatedGitHubCalls":[{"kind":"app-token","userAgent":"clawhub/security-scan-dispatch"},{"kind":"repository-dispatch","userAgent":"clawhub/security-scan-dispatch","eventType":"clawhub-security-scan"}],"storageReads":0}
�[31m⎯⎯⎯⎯⎯⎯⎯�[39m�[1m�[41m Failed Tests 1 �[49m�[22m�[31m⎯⎯⎯⎯⎯⎯⎯�[39m
�[31m�[1mAssertionError�[22m: expected [ { kind: 'app-token' }, { …(3) } ] to deeply equal []�[39m
�[2m      Tests �[22m �[1m�[31m1 failed�[39m�[22m�[2m | �[22m�[1m�[32m1 passed�[39m�[22m�[90m (2)�[39m
## control 2: artifact route privacy check removed
�[22m�[39m[chain-proof] protected artifact route with worker token after privatization {"status":200,"storageReads":1}
�[31m⎯⎯⎯⎯⎯⎯⎯�[39m�[1m�[41m Failed Tests 1 �[49m�[22m�[31m⎯⎯⎯⎯⎯⎯⎯�[39m
�[31m�[1mAssertionError�[22m: expected 200 to be 404 // Object.is equality�[39m
�[2m      Tests �[22m �[1m�[31m1 failed�[39m�[22m�[2m | �[22m�[1m�[32m1 passed�[39m�[22m�[90m (2)�[39m

Result:

  • Public release: it is dispatched once with the exact payload (package_name, version, release_id). The real worker downloads the protected artifact (1 storage read), runs Inspector, and records a clean nightly scan state.
  • Private before retry: the first dispatch got a forced 503 and the retry was queued. The package was then made private. When the retry ran, it minted no App token, sent no repository_dispatch, and read no storage.
  • Stale worker run (for example, a run dispatched before the change): it fails at the public package lookup (404). The protected artifact route, called with the worker token, returns 404 with 0 storage reads.

Boundary limits: this proof does not exercise the real GitHub App, real GitHub Actions, or a deployed Convex backend. It also does not exercise the Convex Node runtime; convex-test runs the functions in Node.

Tests

  • convex/pluginInspectorReleaseScan.chain.runtime.test.ts: the chain proof above. In CI it runs without the flag.
  • convex/packages.public.test.ts ("Plugin Inspector stays out of the publish request"):
    • One no-invocation case replaces the three stubbed failure variants. Any Inspector call fails the test. Nothing Inspector-related is staged.
    • A missing declared entrypoint is rejected.
    • A valid plugin publishes.
  • convex/packageInspectorAdvisory.runtime.test.ts (convex-test):
    • Finalization schedules exactly one dispatchPluginInspectorReleaseScanInternal({ releaseId, retryCount: 0 }).
    • Legacy staged attempts finalize as before.
    • A failed rescan keeps the completed verdict.
    • A nightly timeout keeps the release claimable.
  • convex/pluginInspectorDispatch.test.ts: production-only gating, the dispatch payload, bounded retries, and latest-public targeting.
  • src/__tests__/package-publish-workflow.test.ts: the assertions that pinned YAML expression text are gone.
    • The workflow's real if:, env:, timeout-minutes and concurrency expressions are now evaluated for repository_dispatch, manual-dispatch defaults, and schedule. The evaluator is src/__tests__/helpers/githubWorkflowExpression.ts.
    • The package-name guard step's script is run under bash.
  • e2e/local-auth/plugin-inspector-findings.pw.test.ts: warning findings are asserted after the targeted monitoring scan.

Commands at f76aaf1a:

  • bunx tsc --noEmit, bunx tsc -p convex/tsconfig.json --noEmit, bun run ci:types:packages (schema, CLI, admin): pass.
  • bun run ci:static: pass.
  • Focused suites (chain proof, dispatch, advisory runtime, workflow, nightly scan, inspector HTTP, SDK usage, outcome, schema contract, packages.public): 510 tests pass.
  • bun run ci:unit: all touched suites pass. The only local failures are timing-sensitive scanner and Endor wrapper tests in untouched files; they also fail on main under local load.
  • The Vercel preview check fails with Convex DeploymentQuotaReached (300 preview deployments). That is infrastructure, not this patch.

Spec: specs/plugin-inspector-reliability.md. Docs: docs/publishing.md.

Follow-ups

  • The first production release scans will show whether per-release volume needs throttling or batching. The nightly sweep remains the backstop.

@Patrick-Erichsen
Patrick-Erichsen requested a review from a team as a code owner November 4, 2026 01:52
@clawsweeper

clawsweeper Bot commented Nov 4, 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.

@vercel

vercel Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
clawhub Error Error Nov 4, 2026 8:04am UTC

Request Review

@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Nov 4, 2026
@Patrick-Erichsen
Patrick-Erichsen force-pushed the plugin-inspector-advisory branch from 81e9ef6 to a9954fd Compare November 4, 2026 02:06
@clawsweeper

clawsweeper Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR moves Plugin Inspector from publication requests into targeted post-acceptance monitoring through the existing bulk-scan workflow.

Example: chain-proof-public@1.0.0 is accepted after security checks.

  • Before: Publishing runs Plugin Inspector and can wait for its 120-second advisory budget.
  • After: Publishing skips Inspector; a scheduled dispatch starts monitoring, whose recorded worker run downloads the artifact and persists a clean scan.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful, focused cutover with sufficient production-path authority evidence and no blocking findings; real GitHub execution is simulated and validation is still finishing.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (terminal): The supplied head-specific terminal logs exercise the real publish route, scheduled finalization, dispatcher, and full worker against a disposable convex-test backend over loopback. A public release produces a persisted scan; privatization before retry prevents Inspector token minting and dispatch, while a stale worker and direct artifact request are refused before storage reads. This addresses the previous review's requested scenario. GitHub APIs and Actions execution are simulated, and no deployed Convex backend is claimed.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Performance · Worth it: Yes · Fix scope: Complete
User problem: Plugin publishers still wait for expensive advisory inspection before their upload enters the publication pipeline.
Reason: The collaborator-authored direction is explicit and follows the merged plan, reuses existing monitoring infrastructure, and retires the replaced implementation.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-directed follow-up removes work that current main still performs during publishing. No blocking code findings; the updated evidence satisfies the prior authority-chain proof request.

Priority: P2
Reviewed head: f76aaf1a621abc2c6cf352d5b7c055e600e15716

Before merge

None.

Findings

None.

Tests

  • Low-value test convex/pluginInspectorDispatch.test.ts: Remove the payload-only 'sends the targeted bulk scan event' case: the new authority-chain test already asserts that exact payload through scheduled finalization and the real dispatcher.
Agent review details

How this fits together

Package publication validates uploads and finalizes releases after security checks; the new dispatcher sends eligible public releases to the existing monitoring worker, which stores findings and SDK inventories.

flowchart TD
  A[Package upload] --> B[Validation and security checks]
  B --> C[Release finalization]
  C --> D[Eligibility checked dispatch]
  D --> E[Bulk scan workflow]
  F[Nightly sweep] --> E
  E --> G[Protected artifact and Inspector]
  G --> H[Findings and SDK inventory]
Loading

Technical review

Best possible solution:

Land the focused cutover through the existing monitoring worker while preserving validation, security gating, and legacy attempt finalization.

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

Current main visibly invokes Inspector during publication with a 120-second budget; no target code was executed during this read-only review.

Is this the best way to solve the issue?

Best-fix verdict: best; reusing the existing worker removes the expensive work from its problematic runtime, whereas further cache tuning or a shorter request timeout would retain it.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 11e957e751a2.

Provenance checked

  • Publish-time Inspector execution and findings changes intended behavior with a stated reason (be70ae5: Provide compatibility findings during publication; the merged advisory follow-up explicitly planned moving inspection into post-acceptance monitoring.)
  • ClawHub-prepared OpenClaw target cache changes intended behavior with a stated reason (7428920: Fit target preparation within the publish action's memory and temporary-storage limits; removing that action removes the cache's purpose.)
  • Bulk-scan concurrency changes intended behavior with a stated reason (5f8bb3d: Serialize side-effecting bulk scans; this PR retains the sweep group and gives targeted package scans separate groups to avoid collapsing unrelated publication events.)
  • Legacy staged Inspector results keeps the original intent (aebfd33: Persist advisory outcomes and findings without blocking publication; existing stored attempts retain their reader and finalization behavior.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Repository policy applied: Read the complete root AGENTS.md and Convex guidelines; no nested AGENTS.md, maintainer-notes directory, or pr-simplify skill was present. Review remained read-only, with no tests or review helper executed. (AGENTS.md:1, f76aaf1a621a)
  • Current main still needs the change: Fetched main still calls runPackageInspectorAdvisory during plugin publication and has no release-scan repository_dispatch trigger. (convex/packages.ts:8314, 11e957e751a2)
  • Verified introduced change: The pinned introduced diff removes the publish-time Inspector invocation, action, and target cache; it schedules monitoring after the finalized attempt is recorded and catches scheduling failures. (convex/packages.ts:9370, f76aaf1a621a)
  • Authority-chain proof addressed: Read the complete live PR body and its terminal logs, including text omitted from the supplied excerpt, and inspected the full harness. At the reviewed head, the full worker records a public scan; privatization before retry yields zero Inspector credential or dispatch effects, and the protected artifact route returns 404 before storage reads. Negative controls fail when the respective checks are removed. GitHub APIs and the Actions runner are explicitly simulated. (convex/pluginInspectorReleaseScan.chain.runtime.test.ts:541, f76aaf1a621a)
  • Existing authorization owners reused: Each dispatch attempt queries latest-public eligibility before requesting an App token; the existing protected artifact route independently checks release eligibility before reading storage. (convex/pluginInspectorDispatch.ts:64, f76aaf1a621a)
  • Legacy stored attempts preserved: No schema or persisted format changes are introduced. Existing staged findings, outcomes, and inventories retain their finalization reader, with legacy-attempt coverage retained in the runtime suite. (convex/packages.ts:9575, f76aaf1a621a)

Review metrics

Metric Value Why it matters
Patch size +1619 / -2074 across 22 files The cutover removes the old action and target-preparation implementation.
Production and test balance Production/config/generated +185/-997; tests/helpers +1358/-1003; docs/specs +76/-74 Most added test code supports the requested authority-chain proof and workflow evaluation; production machinery shrinks substantially.

Labels

Label changes:

  • add P2: This removes bounded publication latency and resource-heavy advisory work while retaining the existing security and package-validation gates.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: This removes bounded publication latency and resource-heavy advisory work while retaining the existing security and package-validation gates.
  • 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.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (1 earlier review cycle)
  • reviewed 2026-11-04T02:06:56.486Z sha 2d1a246 :: needs real behavior proof before merge. :: none

Reviewed November 4, 2026, 3:08 AM ET / 08:08 UTC (Revision 2).

Plugin Inspector no longer runs in the publish request. After a plugin
release is accepted, the production deployment dispatches a targeted,
persisted, email-free run of the existing Plugin Inspector Bulk Scan
workflow; the nightly sweep covers anything a dispatch misses. The
publish-time Node action and its ClawHub-prepared OpenClaw target are
removed.
Add a disposable convex-test proof that drives an accepted public plugin
release through the real publish route, check completion, scheduled
finalization, the scheduled release-scan dispatcher, and the monitoring
worker's artifact download, then forces a dispatch failure, makes the
package private before the queued retry, and shows the retry mints no
GitHub App token, sends no repository_dispatch, and the protected artifact
route reads no storage. GitHub is a simulated boundary; the Actions runner
is replaced by evaluating the workflow's real step expressions. Setting
CLAWHUB_PLUGIN_INSPECTOR_CHAIN_PROOF=1 also runs the full worker script
with the real Inspector over a loopback bridge.

Replace workflow tests that pinned expression source text with tests that
evaluate those expressions per event, and collapse the publish-path
Inspector variants into one no-invocation case.
@Patrick-Erichsen

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: sufficient Contributor real behavior proof is sufficient. 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 clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 4, 2026
@Patrick-Erichsen
Patrick-Erichsen merged commit 612ab44 into main Nov 4, 2026
68 of 70 checks passed
@Patrick-Erichsen
Patrick-Erichsen deleted the plugin-inspector-monitoring branch November 4, 2026 08:45

This branch had an error being deployed

1 failed deployment
Preview – clawhub — f76aaf1a Deployed Nov 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. proof: sufficient Contributor real behavior proof is sufficient. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant