Plan 7: Quota-aware resume — launchd/cron scheduler (stacks on Plan 6)#6
Open
fernandoleyra wants to merge 1 commit intofrinkloop/v0.6-learningfrom
Open
Plan 7: Quota-aware resume — launchd/cron scheduler (stacks on Plan 6)#6fernandoleyra wants to merge 1 commit intofrinkloop/v0.6-learningfrom
fernandoleyra wants to merge 1 commit intofrinkloop/v0.6-learningfrom
Conversation
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).
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Plan 7 of FrinkLoop. Stacks on Plan 6 (PR #5).
lib/quota.sh—quota_hit,resume_time_from_reset,schedule_quota_resume,cancel_scheduled_resumescripts/frinkloop_quota_resume.sh— scheduled-job entry point that clears quota-stopped state and re-opens a Claude Code sessionstate.schema.jsonbump: optionalquota_reset_atfieldFRINKLOOP_SKIP_SCHEDULER=1for 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