Back to Hooks
Sisyphus Orchestrator
Enforces the "Orchestrator" pattern for the Sisyphus agent. It prevents the orchestrator from directly modifying code (except for plan files) and mand...
Sisyphus Orchestrator
Description
Enforces the "Orchestrator" pattern for the Sisyphus agent. It prevents the orchestrator from directly modifying code (except for plan files) and mandates delegation to subagents. It also injects reminders for verification and task tracking.
Features
- Delegation Enforcement: Blocks the orchestrator from using
WriteorEdittools on source code, forcing the use ofsisyphus_task. - Single Task Directive: Injects instructions to ensure subagents are assigned one atomic task at a time.
- Boulder Integration: Automatically tracks session progress against "Boulder" plans (project management state).
- Verification Reminders: Prompts the orchestrator to verify subagent work with diagnostics, tests, and manual checks.
Trigger Events
tool.execute.before: Intercepts tool calls to enforce read-only mode for the orchestrator.tool.execute.after: Injects context and reminders after subagent tasks complete.session.idle: Checks for active plans and injects continuation prompts if tasks are incomplete.
Configuration
This hook is typically core to the Sisyphus workflow and requires the boulder-state feature.