Continuous autopilot mode with hourly planning#3
Merged
Conversation
The deployed Pulumi stack uses "agent-task-bot" but sst.config.ts said "task-forge", causing fresh deploys to fail with "Table already exists". Default to "agent-task-bot", allow override via SST_APP_NAME env var. Also document AutopilotPlan cron in the deploy skill. Made-with: Cursor
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
continuousmode (alongside the existingdailymode). In continuous mode, the Autopilot Lambda fires hourly and auto-approves plans — no human gate per plan. A timed cycle (configurable hours) runs until the window expires, the agent is fully blocked on human tasks, or a failure circuit breaker trips, at which point the cycle pauses and notifies via Discord.PLAN#YYYY-MM-DDtoPLAN#YYYY-MM-DDTHH:MM:SSfor continuous mode (backward-compatible — daily mode still uses date-only keys).next_check_hours(1–8) to defer the next invocation when no work is needed, avoiding unnecessary Opus calls.POST /cycle/start,POST /cycle/stop,POST /cycle/reviewfor managing continuous cycles with feedback injection.SST_APP_NAMEenv var (defaults toagent-task-botto match the deployed Pulumi stack).Edge cases addressed
cycle_started_atcan't cause immediate expiry when switching back to continuouscycle/stopvalidates continuous mode before allowing stopTest plan
Made with Cursor