Files
crimson_leaf/templates/pulse_check.yml
2026-03-30 02:09:21 -04:00

48 lines
1.2 KiB
YAML

name: pulse_check
description: "Crimson Leaf holding company health scan — Edgar checks all subsidiaries every 3 hours."
debug: true
model: power
system: agent_prompt
agent_prompt:
- "= identity.md"
sections:
- agent
- project
- rag
- message
- instructions
builders:
message: |
*** PORTFOLIO REPORT ***
{steps[0].text}
steps:
- type: tool
action: get_portfolio_report
output_key: portfolio_data
- type: think
max_tokens: 4000
hint: |
You are Edgar, CEO of Crimson Leaf Holdings. You just received the portfolio report above.
Analyze it as a systems operator would:
1. Which companies are active? Which are idle (no recent activity)?
2. Are any tasks stuck (in_progress but old)? Any unusually high failure rates?
3. Are adjudication pass rates healthy (>65%) or concerning?
4. Is the system healthy (workers online, queue depth reasonable)?
Be concise and data-driven. Flag only what needs human attention.
For each issue, format as: "David, [action needed]: [details]"
If everything looks healthy, say so briefly — don't invent problems.
- type: reply
target: discussion
adjudication:
enabled: false