name: author_bio
description: "Write a professional author bio and media kit for press, social, and book listings."
debug: true
system: agent_prompt
agent_prompt:
  - "= identity.md"

sections:
  - agent
  - project
  - rag
  - message

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

      AUTHOR BIO BRIEF: {task.message}

      Write a COMPLETE AUTHOR BIO & MEDIA KIT. Include all of the following sections:

      ## SHORT BIO (50 words)
      For jacket copy, social profiles, and press mentions.
      Third person. Hook first -- lead with what makes this author distinct, not where they grew up.
      End with one memorable detail or current project.

      ## MEDIUM BIO (150 words)
      For conference programs, podcast introductions, and speaking engagements.
      Third person. Opens with the strongest credential or angle.
      Covers: writing background, this book's significance, one or two humanizing details.
      Closes with location and current project.

      ## LONG BIO (300 words)
      For press kits, media pages, and grant applications.
      Third person. Full narrative arc: origin, journey, this work, where they're going.
      Integrate accolades, influences, and thematic obsessions naturally.

      ## FIRST-PERSON "ABOUT ME" (100 words)
      For author website "About" page.
      Conversational, warm, direct address ("I write...").
      Show personality -- not a CV recitation.

      ## SOCIAL HANDLE BIOS
      - Twitter/X (160 chars): punchy, personality-first, include main genre + book
      - Instagram (150 chars): voice-driven, can use line breaks and one or two emojis
      - LinkedIn (220 chars): professional framing, credentials first

      ## AUTHOR PHOTO CAPTION
      One sentence, third person, for photo credit lines.

      ## MEDIA CONTACT BLOCK
      Name / Email / Phone / Website / Social handles

      TONE RULES:
      - The author is a person, not a brand. Write with warmth and specificity.
      - Avoid: "award-winning", "debut novelist", "passionate about", "journey"
      - Every bio must mention the book title and one concrete detail about its content.
      - Read the RAG context for actual book/author details -- do NOT invent credentials.

  - type: document
    filename: "{{task_name_slug}}-author-bio"

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

  - type: close
    rag_update: true

adjudication:
  enabled: true
  pass_threshold: 75
  deliverable_type: marketing_copy
  criteria:
    voice_authenticity:
      weight: 30
      description: "Bio reads like a real person, not a press release -- specific details, no generic praise"
    length_variants:
      weight: 25
      description: "All four bio lengths are present and appropriately sized for their use case"
    social_optimization:
      weight: 25
      description: "Social bios fit platform character limits and match platform tone"
    completeness:
      weight: 20
      description: "All sections present: short/medium/long bio, first-person, social bios, contact block"
debug: true
