Files
oh-my-opencode/src/hooks/prometheus-md-only/constants.ts
T

33 lines
1007 B
TypeScript
Raw Normal View History

import { createSystemDirective, SystemDirectiveTypes } from "../../shared/system-directive"
2026-01-09 02:24:43 +09:00
export const HOOK_NAME = "prometheus-md-only"
export const PROMETHEUS_AGENTS = ["Prometheus (Planner)"]
export const ALLOWED_EXTENSIONS = [".md"]
export const ALLOWED_PATH_PREFIX = ".sisyphus"
2026-01-09 02:24:43 +09:00
export const BLOCKED_TOOLS = ["Write", "Edit", "write", "edit"]
export const PLANNING_CONSULT_WARNING = `
---
${createSystemDirective(SystemDirectiveTypes.PROMETHEUS_READ_ONLY)}
2026-01-09 02:24:43 +09:00
You are being invoked by Prometheus (Planner), a READ-ONLY planning agent.
**CRITICAL CONSTRAINTS:**
- DO NOT modify any files (no Write, Edit, or any file mutations)
- DO NOT execute commands that change system state
- DO NOT create, delete, or rename files
- ONLY provide analysis, recommendations, and information
**YOUR ROLE**: Provide consultation, research, and analysis to assist with planning.
Return your findings and recommendations. The actual implementation will be handled separately after planning is complete.
---
`