Sprint 61k — Template & Pipeline Correctness Audit

- Fix {task.prompt} → {task.message} in all marketing templates (6 files)
- Add author_bio.yml and ad_copy.yml templates for crimson_leaf_marketing
- Add author_bio task_type to marketing_campaign.yml package schema
- Fix book_outline.yml: remove {prose_style} literal, add anti-truncation rule, fix scifi routing
- Fix InputFromUser.yml: echo full operator message in think output
- Fix planning.yml: add agent:Nova top-level field to lock chair
- Fix publishing genesis.yml: fix {task.message} variable and hardcode Nova title
- Add professional_title to AgentContext and build_state_map
- Increase _DEFAULT_MAX_RAG_CHARS from 4000 to 8000
- Fix adj_pass_rate=0.0: thread adjudication criteria through C# and Python

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
David Baity
2026-03-30 10:35:51 -04:00
parent 8eacfe0cd9
commit b4616ea027
7 changed files with 193 additions and 6 deletions

83
templates/author_bio.yml Normal file
View File

@@ -0,0 +1,83 @@
name: author_bio
description: "Write a professional author bio and media kit for press, social, and book listings."
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: 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"