QuotaResumePolicy
Purpose and behavior
Section titled “Purpose and behavior”quotaResume option of defineAgentTask() and defineIsolatedTask(): how a task resumes after a quota pause. Values: “continue” (default; continue the captured conversation with a resume brief when the agent is resumable and passes is 1, and a fallback agent reruns the brief on the interrupted branch), “restart” (run the original brief in a new conversation).
Complete example and detailed rules.
Instructions added by Outpost
Section titled “Instructions added by Outpost”Templates below preserve the English text sent to the model. ${…} marks runtime substitutions, not brief template syntax.
Automatic continuation after a quota pause replaces the original brief with:
For ordinary agent tasks with a response tag, this line follows:
Dispatch then appends the complete response-format instructions. Interactive tasks use the same base quota message followed by their dialogue protocol.
For ordinary tasks, this replacement requires quotaResume: "continue" (the default), a captured quota conversation, a resumable non-fallback agent, one pass and no explicit continuation in the request. Otherwise the requested brief is kept. A fallback agent restarts with the original brief. Interactive tasks manage their quota continuation internally and do not expose quotaResume.
The resume text cannot be overridden. quotaResume: "restart" selects the original request instead of this automatic continuation; it does not edit the resume message.
Implementation: quota-resume.constants.ts · quota-resume.ts.

