Skip to content

[Feature Request] ZCode: Option to automatically consume reset coupons when quota limits are reached #923

Description

@romangalaxys10-spec

Summary

Community request from Discord user a [ᓚᘏᗢ]:

"have a option to auto use resets when usage limits hit so autonomous work can be done in zcode"

Problem Statement

When running autonomous, multi-step agent tasks in ZCode (such as /goal, deep refactoring loops, or long-running builds), the agent often reaches the 5-hour or daily usage limit while working unattended.

Currently, even if the user owns unused quota reset coupons or cards:

  1. The agent abruptly halts and waits for manual human intervention.
  2. The user must manually navigate to the billing or usage page to redeem the reset coupon before resuming the task.
  3. This breaks unattended workflows and overnight automation.

Proposed Solution

Add an opt-in toggle in ZCode Settings (e.g., under Settings -> Usage / Quota or in session options):

  • Setting: Auto-consume quota reset cards when limit is reached (Toggle: On/Off).
  • Safety Cap (Optional): A dropdown allowing users to limit consumption (e.g., "Auto-consume up to 1 / 2 resets per autonomous session").
  • Behavior: When ZCode receives a quota exhaustion error (429 or quota limit code) during an active run, it checks whether auto-reset is enabled and a valid reset coupon is available. If so, it redeems the card and automatically continues execution without stopping the agent turn.

User Impact & Benefits

  • Enables truly unattended and overnight agent workflows.
  • Prevents hours of idle time waiting for manual coupon clicks.
  • Gives users full control via an explicit toggle so resets are not spent unintentionally.

Activity

  1. github-actions commented on Oct 5, 2026

    @github-actions

    👋 感谢你的反馈,我们已经收到。

    • 维护者看到后会尽快回复你。
    • 状态保持为 status: 待评估,你可以随时补充信息。
    • 信息不全时我们会打上 needs: 更多信息 标签并 @ 你。

    👋 Thanks — we've received your issue.

    • A maintainer will get back to you as soon as we can.
    • Status stays at status: 待评估 (Triage); feel free to add context.
    • If we need more details, we'll add needs: 更多信息 and ping you.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions