Repository navigation
Conversation
|
Thanks for the contribution. This PR has been inactive for a while and still is not in a landable state. The branch has had no head activity for 50 days, is conflict-blocked and waiting on the author, and still carries the unresolved security-boundary and unrelated-scope problems from the prior review; current main intentionally keeps cron mutations admin-scoped. citeturn7search0turn5search1. So I’m closing this as inactive for now. If you pick the work back up, push a rebased branch with green checks and reopen (or open a fresh PR) and it will be reviewed again. Review detailsBest possible solution: Close this stalled mixed branch and invite a fresh focused PR that preserves Do we have a high-confidence way to reproduce the issue? Yes for the raw cron CLI scope-upgrade error path: the supplied live WebSocket transcript demonstrates it, but the full persisted Gateway device-upgrade flow was not reproduced. Is this the best way to solve the issue? No; actionable cron CLI recovery is useful, but lowering a persistent-control-plane authorization boundary and bundling unrelated automation churn is not the safest or narrowest fix. Security review: Security review needs attention: The patch lowers the authorization required for persistent cron scheduling and manual execution.
AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against efc12f2e3148. |
…-cli-scope-upgrade # Conflicts: # CHANGELOG.md
|
ClawSweeper PR egg 🔥 Warming up: real-behavior proof passed; findings, security review, or rank-up moves are still in progress. Hatch commandComment Hatchability rules:
What is this egg doing here?
|
|
Context on the deadcode allowlist: I restored it after confirming current On the cron scope: agreed this is the real maintainer/security call. This PR intentionally classifies persistent cron mutations as |
This comment was marked as spam.
This comment was marked as spam.
|
This pull request has been automatically marked as stale due to inactivity. |
|
ClawSweeper applied the proposed close for this PR.
|
Summary
operator.writeforcron.add,cron.update,cron.remove, andcron.runinstead ofoperator.admin, so local cron mutations fit the normal write-scoped operator baseline.openclaw devices approve ...andopenclaw devices listrecovery commands.Verification
node scripts/run-vitest.mjs src/cli/cron-cli.test.ts src/cli/cron-cli/shared.test.ts src/gateway/method-scopes.test.ts src/gateway/call.test.tsOPENCLAW_LOCAL_CHECK_MODE=throttled npx --yes [email protected] check:changednode scripts/format-docs.mjs --checknode scripts/check-docs-mdx.mjs docs/gateway/operator-scopes.mdgit diff --checkReal behavior proof
operator.writeaccess and, when the Gateway requires a scope upgrade approval, should show the exact device approval command instead of a raw WebSocket close error.openclaw cron addCLI entrypoint throughnpx --yes [email protected] openclaw, connected to a live local WebSocket listener that closes with the Gateway scope-upgrade close reason andrequestId.$ node tmp/proof-cron-scope-upgrade.mjsGateway scope upgrade pending approval.,openclaw devices approve req-proof-154, andopenclaw devices list; it no longer surfaces the raw Gateway transport close reason for this cron command path.Context: imperfect-co/tulgey#154