0ae4812bee
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
24 lines
856 B
TypeScript
24 lines
856 B
TypeScript
import { createSystemDirective, SystemDirectiveTypes } from "../../shared/system-directive"
|
|
|
|
export const HOOK_NAME = "todo-continuation-enforcer"
|
|
|
|
export const DEFAULT_SKIP_AGENTS = ["prometheus", "compaction"]
|
|
|
|
export const CONTINUATION_PROMPT = `${createSystemDirective(SystemDirectiveTypes.TODO_CONTINUATION)}
|
|
|
|
Incomplete tasks remain in your todo list. Continue working on the next pending task.
|
|
|
|
- Proceed without asking for permission
|
|
- Mark each task complete when finished
|
|
- Do not stop until all tasks are done`
|
|
|
|
export const COUNTDOWN_SECONDS = 2
|
|
export const TOAST_DURATION_MS = 900
|
|
export const COUNTDOWN_GRACE_PERIOD_MS = 500
|
|
|
|
export const ABORT_WINDOW_MS = 3000
|
|
export const CONTINUATION_COOLDOWN_MS = 5_000
|
|
export const MAX_STAGNATION_COUNT = 3
|
|
export const MAX_CONSECUTIVE_FAILURES = 5
|
|
export const FAILURE_RESET_WINDOW_MS = 5 * 60 * 1000
|