Skip to content

[Feature]: Configurable Exec Approval timeout #51287

Description

@fyzycyst

Summary

Allow user to override default timeouts for Exec Approvals.

Problem to solve

The current two minute approval timeout is short enough that it is easy to miss.

Proposed solution

Expose the DEFAULT_APPROVAL_TIMEOUT_MS and DEVAULT_APPROVAL_REQUEST_TIMEOUT_MS settings (found in /usr/local/lib/node_modules/openclaw/dist/plugin-sdk/model-auth-CutSHvqz.js ) to allow changes, presumably in the openclaw.json file.

Alternatives considered

I'm setting up my Mission Control page to alert me to reduce the chances of missing an approval, but that's no help if I'm distracted for any reason.

Impact

Affected: All users who have tool exec permission on allowlist.
Severity: Low (annoying)
Frequency: Almost daily
Consequence: Requires re-issuing the failed command when an Exec Approval gets missed

Evidence/examples

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low-priority cleanup, docs, polish, ergonomics, or speculative work.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.enhancementNew feature or requestimpact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions