fix(book-pipeline): inference hints + LLM-filled context vars + roster roundtable

- book_research.yml: add inference hint when genre_name/genre_audience/research_focus are empty
- book_outline.yml: add inference hint for genre/audience; change package schema to ask LLM
  to FILL genre_name/genre_audience/prose_style/chapter_target_words from the outline text
  (was using {template_vars} which stay empty unless planning sets them)
- devon/agent.yml: add chapter_roundtable to supported_templates
- lane/agent.yml: add chapter_roundtable to supported_templates
  (all three editors now participate in roundtable — roster-driven, not hardcoded)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
David Baity
2026-03-12 02:16:18 -04:00
parent dd00c07a90
commit df62a19c3f
4 changed files with 28 additions and 14 deletions

View File

@@ -26,14 +26,17 @@ builders:
steps:
- type: think
hint: |
You are researching the current {genre_name} fiction landscape.
You are researching the current fiction landscape for this book project.
TARGET AUDIENCE: {genre_audience}
GENRE: {genre_name}
RESEARCH FOCUS: {research_focus}
GENRE: {genre_name|[infer from the project description above]}
TARGET AUDIENCE: {genre_audience|[infer from the project description above]}
RESEARCH FOCUS: {research_focus|[infer: what trends, tropes, and reader expectations matter most for this project?]}
NOTE: If GENRE, TARGET AUDIENCE, or RESEARCH FOCUS are blank above, read the
PROJECT DESCRIPTION section and infer them from the project's stated goal.
Your mission: identify the single best search query to find what's TRENDING RIGHT NOW
in {genre_name} fiction in 20252026.
in this fiction genre in 20252026.
State your analysis, then on the last line write:
SEARCH QUERY: [your query here]
@@ -49,7 +52,9 @@ steps:
You have live search results above (in PRIOR RESULTS).
If the web search results are empty or unavailable, use your expert training knowledge.
Synthesize the findings into an actionable publishing brief for a {genre_name} book:
Infer the GENRE and AUDIENCE from the PROJECT DESCRIPTION if not explicitly provided above.
Synthesize the findings into an actionable publishing brief for this book:
1. TOP TRENDING — What sub-genres and themes are hot right now? Rank them.
2. AUDIENCE INSIGHTS — What does the target reader ({genre_audience}) demand?