Back to Hooks
Prometheus Md Only
Restricts the "Prometheus" planner agent to a read-only role with limited write access. It ensures that the planner only modifies markdown files withi...
Prometheus MD Only
Description
Restricts the "Prometheus" planner agent to a read-only role with limited write access. It ensures that the planner only modifies markdown files within the .sisyphus/ directory (e.g., plans, notepads), preventing it from accidentally changing source code.
Features
- Write Protection: Blocks write operations to files outside
.sisyphus/or with extensions other than.md. - Read-Only Warning: Injects warnings into task prompts to remind the agent of its planning-only role.
- Path Validation: Cross-platform validation to prevent directory traversal attacks.
Trigger Events
tool.execute.before: InterceptsWrite,Edit, and other file modification tools to validate the target path and agent identity.
Configuration
- Allowed Agents: Defaults to
["Prometheus (Planner)"]. - Allowed Paths:
.sisyphus/*.md.