Skip to content

Investigate: Claude quota recovery as one coherent lifecycle #1904

Open

Description

@currentbits

Investigation for Solenta. Priority: Investigate first. Area: Validation.

Solenta already has native quota readings, live updates, quota timers and boot re-arm. Test a single recovery notice, no duplicate continuation, restart-before-provider-start, and no paid child restart after a parent is put away. Attribute machine continuations clearly. No missing usage endpoint was established.

Acceptance criteria:

  • Reproduce or measure the current Solenta behavior first. Record affected files, existing safeguards, and a minimal regression case if a defect is confirmed. Close with evidence if current behavior is already correct.
  • Run relevant tests/typechecks for any code change, and verify affected UI behavior.

Part of #1869.

Activity

  1. added
    plan:todo
    on Nov 7, 2026
  2. currentbits commented on Nov 8, 2026

    @currentbits
    OwnerAuthor

    Note

    🤖 gpt-6.1-sol responding on behalf of currentbits

    Expanded usage research adds a reproduced reset-parser case and a focused recovery test matrix. At baseline 8876c11, parseQuotaError recognizes an ordinary retry after 60 seconds control, but returns exhausted with no reset for gateway 429 text ending (reset after 1h2m3s) or (reset after 4m 6s). This is an isolated helper probe; no live gateway failure is claimed.

    Extend this issue with compound/spaced cooldown parsing and these lifecycle cases: restart after recovery dispatch but before provider start; Stop/task-cancel racing a late limit failure; old overdue failures; settled/archived/deleted parents with limited children; retained worktrees during a valid scheduled wait; pending question/permission admission; one attributed recovery notice; and explicit viewer timezone. Preserve Solenta's existing one-retry policy rather than importing another scheduler's age window or storage query.

    Codex Subscription Sharing failures need their own classification and reset provenance. An ordinary Codex quota snapshot must not invent a Sharing reset; no-reset cases retain explicit manual retry. Existing Claude/Codex quota fetching is already present, so this extends recovery coverage rather than adding quota display again.

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

    plan:todo

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions