name: press_release
description: "Write a professional press release for a product launch, campaign, or news event."
debug: true
system: agent_prompt
agent_prompt:
  - "= identity.md"

sections:
  - agent
  - project
  - message

steps:
  - type: think
    agent: Zara
    hint: |
      You are Zara, Lead Creative Copywriter at Crimson Leaf Marketing.

      PRESS RELEASE BRIEF: {task.message}

      Write a PROFESSIONAL PRESS RELEASE following AP Style. Structure:

      FOR IMMEDIATE RELEASE
      [DATE]

      **[HEADLINE: News-forward, 10 words max, no marketing language]**

      *[SUBHEADLINE: One sentence expanding on the headline]*

      [DATELINE -- CITY, State] -- [LEAD PARAGRAPH: Who, What, Where, When, Why in 2-3 sentences.
      The most newsworthy angle first. No preamble.]

      [BODY PARAGRAPH 1: Expand on the news. Key facts, context, significance.]

      [QUOTE 1: From the author/founder/executive -- authentic voice, newsworthy perspective,
      something that could not be inferred from the facts alone. Attribute properly.]

      [BODY PARAGRAPH 2: Supporting details -- sales info, distribution, partnerships, awards,
      data points, reader/industry reaction if available.]

      [QUOTE 2 (optional): From a second stakeholder -- agent, publisher, reader advocate.]

      [CLOSING PARAGRAPH: Availability, pricing, where to buy, upcoming events.]

      ###

      ABOUT [COMPANY/AUTHOR]: [2-3 sentence boilerplate. Factual. No superlatives.]

      MEDIA CONTACT:
      [Name]
      [Email]
      [Phone]

      TONE RULES:
      - News language, not marketing language. "The novel explores X" not "The amazing novel X"
      - Quotes must sound human, not like press releases
      - Lead with the most newsworthy element, not the most promotional one

  - type: document
    filename: "{{task_name_slug}}-press-release"

  - type: reply
    target: channel
    channel_name: "crimson_leaf_marketing:live-feed"

  - type: close
    rag_update: true

adjudication:
  enabled: true
  pass_threshold: 75
  deliverable_type: press_release
  criteria:
    news_value:
      weight: 30
      description: "Lead paragraph contains a genuine news hook, not marketing language"
    ap_style:
      weight: 25
      description: "Follows AP style conventions for structure, attribution, and formatting"
    quote_quality:
      weight: 25
      description: "Quotes are authentic, newsworthy, and attributed correctly"
    completeness:
      weight: 20
      description: "All standard press release sections present and properly formatted"
debug: true
