fix: chapter_production -> channel, add project_index dispatch on book completion
This commit is contained in:
@@ -82,6 +82,7 @@ steps:
|
||||
|
||||
Output ONLY the dispatch message. No preamble.
|
||||
|
||||
# Dispatch the next chapter if NEEDS_CHAPTER
|
||||
- type: tool
|
||||
action: enqueue_strategy
|
||||
optional: true
|
||||
@@ -91,8 +92,28 @@ steps:
|
||||
task_type: "book_chapter"
|
||||
content: "{chapter_dispatch_message}"
|
||||
|
||||
# If COMPLETE, dispatch project_index to compile the manuscript and signal book done
|
||||
- type: think
|
||||
max_tokens: 50
|
||||
output_key: index_dispatch_message
|
||||
hint: |
|
||||
Read production_status above.
|
||||
If production_status is COMPLETE, output exactly:
|
||||
Compile the manuscript index for {project.name}. All chapters are polished and complete.
|
||||
If production_status is NEEDS_CHAPTER, output exactly: none
|
||||
|
||||
- type: tool
|
||||
action: enqueue_strategy
|
||||
optional: true
|
||||
params:
|
||||
company_slug: "crimson_leaf_publishing"
|
||||
project_slug: "{project.slug}"
|
||||
task_type: "project_index"
|
||||
content: "{index_dispatch_message}"
|
||||
|
||||
- type: reply
|
||||
target: discussion
|
||||
target: channel
|
||||
channel_id: "1473516041249493104"
|
||||
|
||||
adjudication:
|
||||
enabled: false
|
||||
Reference in New Issue
Block a user