name: project_review
description: "Review a CLM marketing project's current state and post status to live-feed."
debug: true
model: power
system: agent_prompt
agent_prompt:
  - "= identity.md"
sections:
  - agent
  - project
  - deliverables
  - rag
  - message
  - instructions
steps:
  - type: think
    max_tokens: 150
    output_key: project_phase
    hint: |
      You are {agent.name}, reviewing the {project.name} marketing project.
      Look at PROJECT DELIVERABLES above. Determine current status:
      - ACTIVE: campaign deliverables exist and campaigns are being produced
      - COMPLETE: all major campaign assets present (strategy, social, email, press release, ad copy)
      - IDLE: no campaign deliverables exist yet
      Output ONLY the status word. No explanation.

  - type: reply
    target: channel
    channel_name: "crimson_leaf_marketing:live-feed"
    hint: |
      Post one line: [{project.name}] {project_phase}

adjudication:
  enabled: false