Repository navigation
Description
Summary
Track a future Maple Agent Mode scheduler/automation feature based on Goose's recurring recipe scheduler.
Goose already provides useful primitives, but turning them on is not sufficient for a dependable or safe Maple product. This issue is intended to keep the feature and its product/runtime requirements visible.
What Goose provides
Goose can associate a recipe snapshot with a cron schedule. Each occurrence:
- Creates a fresh scheduled Goose session.
- Loads the recipe and its extensions.
- Runs the recipe prompt/instructions.
- Retains the resulting session history under the schedule.
Goose exposes controls for creating, editing, pausing/resuming, running immediately, deleting, and inspecting prior scheduled sessions.
Potential Maple uses include recurring research, daily summaries, project maintenance checks, connector monitoring, and scheduled report generation.
Important runtime limitation
Goose's scheduler is in-process, not a persistent daemon or cloud service:
- Schedules are persisted, but they execute only while the Goose backend process is running.
- Quitting the application stops future execution.
- There is no dependable missed-run catch-up behavior.
- It should not currently be presented as a guaranteed cron service.
Maple currently supplies no scheduler to its embedded Goose runtime, so none of this is active today.
Maple product and architecture questions
- Should an MVP explicitly require Maple to remain open?
- If not, should Maple use a macOS background helper/launch agent or a server-side scheduler?
- How should Windows, Linux, and mobile platforms behave?
- What project root and branch/worktree context does a schedule use?
- Which model, Skills, MCP servers, connector identities, and recipe version are captured?
- How are credentials made available safely for unattended runs?
- How do scheduled calls flow through Maple's authenticated proxy and billing?
- What happens when the user logs out, loses entitlement, revokes a connector, or deletes a project?
- How are missed runs, retries, time zones, daylight-saving changes, concurrency, and cancellation handled?
- What notifications and result/history UI should Maple provide?
Unattended permission model
Interactive permission cards do not work when nobody is present. Every schedule will need an explicit, reviewable policy such as:
- Selected tool/MCP allowlist.
- Read-only versus permitted mutations.
- Project/filesystem scope.
- Network and connector scope.
- Per-run and recurring token/cost budgets.
- Maximum turns and wall-clock duration.
- Failure and escalation behavior.
This policy should be attached to the schedule and visible before it is enabled. It should not silently inherit broad Allow all state from an unrelated interactive task.
Possible first experiment
A constrained prototype could run only while Maple is open and support:
- One explicitly selected project and recipe.
- Read-only tools/connectors only.
- A clear local-time schedule and Run now action.
- Per-run budget and duration limits.
- Desktop notification plus a linked Agent Mode result task.
- Clear messaging that missed occurrences are not run while Maple is closed.
That experiment could inform whether Maple should later build a durable background or server-side automation service.
Activity