Skip to content

Plan 7: Quota-aware resume — launchd/cron scheduler (stacks on Plan 6) - #6

Merged
fernandoleyra merged 1 commit into
mainfrom
frinkloop/v0.7-quota-resume
Jun 25, 2026
Merged

Plan 7: Quota-aware resume — launchd/cron scheduler (stacks on Plan 6)#6
fernandoleyra merged 1 commit into
mainfrom
frinkloop/v0.7-quota-resume

Conversation

@fernandoleyra

Copy link
Copy Markdown
Owner

Summary

Plan 7 of FrinkLoop. Stacks on Plan 6 (PR #5).

  • lib/quota.shquota_hit, resume_time_from_reset, schedule_quota_resume, cancel_scheduled_resume
  • scripts/frinkloop_quota_resume.sh — scheduled-job entry point that clears quota-stopped state and re-opens a Claude Code session
  • state.schema.json bump: optional quota_reset_at field
  • Cross-platform: launchd on macOS, crontab on Linux. FRINKLOOP_SKIP_SCHEDULER=1 for tests.

8 new tests, 129 total passing.

Test plan

  • bats tests/plan-1/ … tests/plan-7/ → 129/129

🤖 Generated with Claude Code


Generated by Claude Code

quota_hit / resume_time_from_reset / schedule_quota_resume / cancel_scheduled_resume.
state.schema.json: adds optional quota_reset_at field.
frinkloop_quota_resume.sh: scheduled-job entry point (launchd/cron).
129 tests passing (121 plan-1..6 + 8 new).
Base automatically changed from frinkloop/v0.6-learning to mainJune 25, 2026 07:55
@fernandoleyra
fernandoleyra merged commit 830199c into mainJun 25, 2026
@fernandoleyra
fernandoleyra deleted the frinkloop/v0.7-quota-resume branch June 25, 2026 07:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@fernandoleyra@claude